|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.application.gadget.jcr.SourceStorageImpl
public class SourceStorageImpl
Created by The eXo Platform SAS Author : Pham Thanh Tung thanhtungty@gmail.com Aug 6, 2008
| Constructor Summary | |
|---|---|
SourceStorageImpl(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService service)
|
|
| Method Summary | |
|---|---|
Source |
getSource(java.lang.String sourcePath)
Return Source object which is retrieved from db |
java.lang.String |
getSourceURI(java.lang.String sourcePath)
Return uri to source |
void |
removeSource(java.lang.String sourcePath)
delete source node from db |
void |
saveSource(java.lang.String dirPath,
Source source)
create or update a Source node in db |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourceStorageImpl(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService service)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public Source getSource(java.lang.String sourcePath)
throws java.lang.Exception
SourceStorage
getSource in interface SourceStoragejava.lang.Exception
public void saveSource(java.lang.String dirPath,
Source source)
throws java.lang.Exception
SourceStorage
saveSource in interface SourceStoragedirPath - - if not null, path to node will be created in dbsource - - Source object that will be saved
java.lang.Exception
public void removeSource(java.lang.String sourcePath)
throws java.lang.Exception
SourceStorage
removeSource in interface SourceStoragesourcePath - - path to node
java.lang.Exceptionpublic java.lang.String getSourceURI(java.lang.String sourcePath)
SourceStorage
getSourceURI in interface SourceStorage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||