org.exoplatform.application.gadget.jcr
Class SourceStorageImpl

java.lang.Object
  extended by org.exoplatform.application.gadget.jcr.SourceStorageImpl
All Implemented Interfaces:
SourceStorage

public class SourceStorageImpl
extends java.lang.Object
implements SourceStorage

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)
           
 java.lang.String getSourceURI(java.lang.String sourcePath)
           
 void removeSource(java.lang.String sourcePath)
           
 void saveSource(java.lang.String dirPath, Source source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceStorageImpl

public SourceStorageImpl(org.exoplatform.container.xml.InitParams params,
                         org.exoplatform.services.jcr.RepositoryService service)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getSource

public Source getSource(java.lang.String sourcePath)
                 throws java.lang.Exception
Specified by:
getSource in interface SourceStorage
Throws:
java.lang.Exception

saveSource

public void saveSource(java.lang.String dirPath,
                       Source source)
                throws java.lang.Exception
Specified by:
saveSource in interface SourceStorage
Throws:
java.lang.Exception

removeSource

public void removeSource(java.lang.String sourcePath)
                  throws java.lang.Exception
Specified by:
removeSource in interface SourceStorage
Throws:
java.lang.Exception

getSourceURI

public java.lang.String getSourceURI(java.lang.String sourcePath)
Specified by:
getSourceURI in interface SourceStorage


Copyright © 2010 eXo Platform SAS. All Rights Reserved.