org.apache.chemistry.opencmis.client.bindings.impl
Class CmisBindingImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl
All Implemented Interfaces:
Serializable, CmisBinding

public class CmisBindingImpl
extends Object
implements CmisBinding, Serializable

CMIS binding implementation.

See Also:
Serialized Form

Constructor Summary
CmisBindingImpl(Map<String,String> sessionParameters)
          Constructor.
CmisBindingImpl(Map<String,String> sessionParameters, AuthenticationProvider authenticationProvider)
          Constructor.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmisBindingImpl

public CmisBindingImpl(Map<String,String> sessionParameters)
Constructor.

Parameters:
sessionParameters - the session parameters

CmisBindingImpl

public CmisBindingImpl(Map<String,String> sessionParameters,
                       AuthenticationProvider authenticationProvider)
Constructor.

Parameters:
sessionParameters - the session parameters
authenticationProvider - an authentication provider instance
Method Detail

getRepositoryService

public RepositoryService getRepositoryService()
Description copied from interface: CmisBinding
Gets a Repository Service interface object.

Specified by:
getRepositoryService in interface CmisBinding

getNavigationService

public NavigationService getNavigationService()
Description copied from interface: CmisBinding
Gets a Navigation Service interface object.

Specified by:
getNavigationService in interface CmisBinding

getObjectService

public ObjectService getObjectService()
Description copied from interface: CmisBinding
Gets an Object Service interface object.

Specified by:
getObjectService in interface CmisBinding

getDiscoveryService

public DiscoveryService getDiscoveryService()
Description copied from interface: CmisBinding
Gets a Discovery Service interface object.

Specified by:
getDiscoveryService in interface CmisBinding

getRelationshipService

public RelationshipService getRelationshipService()
Description copied from interface: CmisBinding
Gets a Relationship Service interface object.

Specified by:
getRelationshipService in interface CmisBinding

getVersioningService

public VersioningService getVersioningService()
Description copied from interface: CmisBinding
Gets a Versioning Service interface object.

Specified by:
getVersioningService in interface CmisBinding

getAclService

public AclService getAclService()
Description copied from interface: CmisBinding
Gets an ACL Service interface object.

Specified by:
getAclService in interface CmisBinding

getMultiFilingService

public MultiFilingService getMultiFilingService()
Description copied from interface: CmisBinding
Gets a Multifiling Service interface object.

Specified by:
getMultiFilingService in interface CmisBinding

getPolicyService

public PolicyService getPolicyService()
Description copied from interface: CmisBinding
Gets a Policy Service interface object.

Specified by:
getPolicyService in interface CmisBinding

getObjectFactory

public BindingsObjectFactory getObjectFactory()
Description copied from interface: CmisBinding
Gets a factory for CMIS binding specific objects.

Specified by:
getObjectFactory in interface CmisBinding

getAuthenticationProvider

public AuthenticationProvider getAuthenticationProvider()
Description copied from interface: CmisBinding
Gets the authentication provider.

Specified by:
getAuthenticationProvider in interface CmisBinding

clearAllCaches

public void clearAllCaches()
Description copied from interface: CmisBinding
Clears all caches of the current CMIS binding session.

Specified by:
clearAllCaches in interface CmisBinding

clearRepositoryCache

public void clearRepositoryCache(String repositoryId)
Description copied from interface: CmisBinding
Clears all caches of the current CMIS binding session that are related to the given repository.

Specified by:
clearRepositoryCache in interface CmisBinding
Parameters:
repositoryId - the repository id

close

public void close()
Description copied from interface: CmisBinding
Releases all resources assigned to this binding instance.

Specified by:
close in interface CmisBinding


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