Package org.exoplatform.ecms.xcmis.sp
Class DriveCmisRegistry
- java.lang.Object
-
- org.xcmis.spi.CmisRegistry
-
- org.exoplatform.ecms.xcmis.sp.JcrCmisRegistry
-
- org.exoplatform.ecms.xcmis.sp.DriveCmisRegistry
-
- All Implemented Interfaces:
org.picocontainer.Startable,org.xcmis.spi.CmisRegistryFactory
public class DriveCmisRegistry extends JcrCmisRegistry
- Version:
- $Id$
- Author:
- Andrey Parfonov
-
-
Field Summary
-
Fields inherited from class org.exoplatform.ecms.xcmis.sp.JcrCmisRegistry
initParams, rootIndexDir
-
-
Constructor Summary
Constructors Constructor Description DriveCmisRegistry(org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.container.xml.InitParams initParams, org.exoplatform.services.cms.drives.ManageDriveService driveService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAffectedWorkspaceNames()org.xcmis.spi.ConnectiongetConnection(String storageId)Set<org.xcmis.spi.model.RepositoryShortInfo>getStorageInfos()protected booleanisPrivateDrive(org.exoplatform.services.cms.drives.DriveData drive)voidstart()-
Methods inherited from class org.exoplatform.ecms.xcmis.sp.JcrCmisRegistry
addStorage, getRegistry, getSearchService, getStorageProviders, getValueParameter, stop
-
-
-
-
Method Detail
-
getConnection
public org.xcmis.spi.Connection getConnection(String storageId)
- Overrides:
getConnectionin classorg.xcmis.spi.CmisRegistry
-
getStorageInfos
public Set<org.xcmis.spi.model.RepositoryShortInfo> getStorageInfos()
- Overrides:
getStorageInfosin classorg.xcmis.spi.CmisRegistry
-
getAffectedWorkspaceNames
public String[] getAffectedWorkspaceNames() throws javax.jcr.RepositoryException
- Overrides:
getAffectedWorkspaceNamesin classJcrCmisRegistry- Returns:
- list of workspace
- Throws:
javax.jcr.RepositoryException- See Also:
JcrCmisRegistry.getAffectedWorkspaceNames()
-
start
public void start()
- Specified by:
startin interfaceorg.picocontainer.Startable- Overrides:
startin classJcrCmisRegistry
-
isPrivateDrive
protected boolean isPrivateDrive(org.exoplatform.services.cms.drives.DriveData drive)
-
-