org.apache.chemistry.opencmis.commons.spi
Interface CmisBinding


public interface CmisBinding

Entry point for all CMIS binding related operations. It provides access to the service interface objects which are very similar to the CMIS 1.0 domain model.

Each instance of this class represents a session. A session comprises of a connection to one CMIS endpoint over one binding for one particular user and a set of caches. All repositories that are exposed by this CMIS endpoint are accessible in this session. All CMIS operations and extension points are provided if they are supported by the underlying binding.


Method Summary
 void clearAllCaches()
          Clears all caches of the current CMIS binding session.
 void clearRepositoryCache(String repositoryId)
          Clears all caches of the current CMIS binding session that are related to the given repository.
 void close()
          Releases all resources assigned to this binding instance.
 AclService getAclService()
          Gets an ACL Service interface object.
 AuthenticationProvider getAuthenticationProvider()
          Gets the authentication provider.
 DiscoveryService getDiscoveryService()
          Gets a Discovery Service interface object.
 MultiFilingService getMultiFilingService()
          Gets a Multifiling Service interface object.
 NavigationService getNavigationService()
          Gets a Navigation Service interface object.
 BindingsObjectFactory getObjectFactory()
          Gets a factory for CMIS binding specific objects.
 ObjectService getObjectService()
          Gets an Object Service interface object.
 PolicyService getPolicyService()
          Gets a Policy Service interface object.
 RelationshipService getRelationshipService()
          Gets a Relationship Service interface object.
 RepositoryService getRepositoryService()
          Gets a Repository Service interface object.
 VersioningService getVersioningService()
          Gets a Versioning Service interface object.
 

Method Detail

getRepositoryService

RepositoryService getRepositoryService()
Gets a Repository Service interface object.


getNavigationService

NavigationService getNavigationService()
Gets a Navigation Service interface object.


getObjectService

ObjectService getObjectService()
Gets an Object Service interface object.


getVersioningService

VersioningService getVersioningService()
Gets a Versioning Service interface object.


getRelationshipService

RelationshipService getRelationshipService()
Gets a Relationship Service interface object.


getDiscoveryService

DiscoveryService getDiscoveryService()
Gets a Discovery Service interface object.


getMultiFilingService

MultiFilingService getMultiFilingService()
Gets a Multifiling Service interface object.


getAclService

AclService getAclService()
Gets an ACL Service interface object.


getPolicyService

PolicyService getPolicyService()
Gets a Policy Service interface object.


getObjectFactory

BindingsObjectFactory getObjectFactory()
Gets a factory for CMIS binding specific objects.


getAuthenticationProvider

AuthenticationProvider getAuthenticationProvider()
Gets the authentication provider.


clearAllCaches

void clearAllCaches()
Clears all caches of the current CMIS binding session.


clearRepositoryCache

void clearRepositoryCache(String repositoryId)
Clears all caches of the current CMIS binding session that are related to the given repository.

Parameters:
repositoryId - the repository id

close

void close()
Releases all resources assigned to this binding instance.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.