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$
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.RepositoryService repositoryService, org.exoplatform.container.xml.InitParams initParams, ManageDriveService driveService)
           
 
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
addStorage, 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.RepositoryService repositoryService,
                         org.exoplatform.container.xml.InitParams initParams,
                         ManageDriveService driveService)
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 workspace
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 © 2013 eXo Platform SAS. All Rights Reserved.