org.exoplatform.ecms.xcmis.sp
Class DriveCmisRegistry

java.lang.Object
  extended by org.xcmis.spi.CmisRegistry
      extended by org.exoplatform.ecms.xcmis.sp.JcrCmisRegistry
          extended by org.exoplatform.ecms.xcmis.sp.DriveCmisRegistry
All Implemented Interfaces:
org.picocontainer.Startable, org.xcmis.spi.CmisRegistryFactory

public class DriveCmisRegistry
extends JcrCmisRegistry

Version:
$Id: DriveCmisRegistry.java 50694 2010-08-12 15:16:33Z ksm $
Author:
Andrey Parfonov

Field Summary
 
Fields inherited from class org.exoplatform.ecms.xcmis.sp.JcrCmisRegistry
initParams, rootIndexDir
 
Fields inherited from class org.xcmis.spi.CmisRegistry
renditionProviders, storageProviders
 
Constructor Summary
DriveCmisRegistry(org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService, org.exoplatform.services.document.DocumentReaderService documentReaderService, org.exoplatform.container.xml.InitParams initParams, ManageDriveService driveService, DMSConfiguration dmsConfiguration)
           
DriveCmisRegistry(org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService, org.exoplatform.container.xml.InitParams initParams, ManageDriveService driveService, DMSConfiguration dmsConfiguration)
           
 
Method Summary
 java.lang.String[] getAffectedWorkspaceNames()
           
 org.xcmis.spi.Connection getConnection(java.lang.String storageId)
          
 java.util.Set<org.xcmis.spi.model.RepositoryShortInfo> getStorageInfos()
          
protected  boolean isPrivateDrive(DriveData drive)
           
 void start()
          
 
Methods inherited from class org.exoplatform.ecms.xcmis.sp.JcrCmisRegistry
addListener, addSearchService, addStorage, getIndexConfiguration, getRegistry, getSearchService, getStorageProviders, getValueParameter, stop
 
Methods inherited from class org.xcmis.spi.CmisRegistry
addRenditionProvider, getInstance, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriveCmisRegistry

public DriveCmisRegistry(org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService,
                         org.exoplatform.services.document.DocumentReaderService documentReaderService,
                         org.exoplatform.container.xml.InitParams initParams,
                         ManageDriveService driveService,
                         DMSConfiguration dmsConfiguration)

DriveCmisRegistry

public DriveCmisRegistry(org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService,
                         org.exoplatform.container.xml.InitParams initParams,
                         ManageDriveService driveService,
                         DMSConfiguration dmsConfiguration)
Method Detail

getConnection

public org.xcmis.spi.Connection getConnection(java.lang.String storageId)

Overrides:
getConnection in class org.xcmis.spi.CmisRegistry

getStorageInfos

public java.util.Set<org.xcmis.spi.model.RepositoryShortInfo> getStorageInfos()

Overrides:
getStorageInfos in class org.xcmis.spi.CmisRegistry

getAffectedWorkspaceNames

public java.lang.String[] getAffectedWorkspaceNames()
                                             throws javax.jcr.RepositoryException
Overrides:
getAffectedWorkspaceNames in class JcrCmisRegistry
Returns:
list of workp
Throws:
javax.jcr.RepositoryException
See Also:
JcrCmisRegistry.getAffectedWorkspaceNames()

start

public void start()

Specified by:
start in interface org.picocontainer.Startable
Overrides:
start in class JcrCmisRegistry
See Also:
org.xcmis.spi.deploy.ExoContainerCmisRegistry#start()

isPrivateDrive

protected boolean isPrivateDrive(DriveData drive)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.