org.alfresco.repo.cmis.client
Class CMISLocalConnectionManagerImpl

java.lang.Object
  extended by org.alfresco.repo.cmis.client.CMISHelper
      extended by org.alfresco.repo.cmis.client.AbstractCMISConnectionManagerImpl
          extended by org.alfresco.repo.cmis.client.CMISLocalConnectionManagerImpl
All Implemented Interfaces:
CMISConnectionManager

public class CMISLocalConnectionManagerImpl
extends AbstractCMISConnectionManagerImpl
implements CMISConnectionManager

CMIS Connection manager with a local default connection.


Field Summary
 
Fields inherited from class org.alfresco.repo.cmis.client.AbstractCMISConnectionManagerImpl
authenticationService, configService, DEFAULT_CONNECTION_ID, lock, RESERVED_ID_CHAR, SERVER_DESCRIPTION, SERVER_NAME, servers, sessionFactory, sharedConnections, sharedConnectionsCapacity, userConnections, userConnectionsCapacity
 
Constructor Summary
CMISLocalConnectionManagerImpl()
           
 
Method Summary
 CMISConnection createDefaultConnection(CMISServer server)
          Creates a new default connection that is only visible to the current user.
 CMISConnection getConnection()
          Creates a local connection.
 void setCmisConnector(org.alfresco.opencmis.CMISConnector connector)
          Sets the CMIS connector.
 
Methods inherited from class org.alfresco.repo.cmis.client.AbstractCMISConnectionManagerImpl
createConnection, createServerDefinition, createServerDefinition, createServerDefinition, createServerDefinition, createSession, createSharedConnection, createUserConnection, createUserConnectionId, getConnection, getRepositories, getServerDefinition, getServerDefinitions, getSharedConnections, getUserConnections, init, removeConnection, setAuthenticationService, setConfigService, setSharedConnectionsCapacity, setUserConnectionsCapacity
 
Methods inherited from class org.alfresco.repo.cmis.client.CMISHelper
createContentStream, createContentStream, createMap, isDocument, isFolder, isPolicy, isRelationship
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.repo.cmis.client.CMISConnectionManager
createServerDefinition, createServerDefinition, createServerDefinition, createSharedConnection, createUserConnection, getConnection, getRepositories, getServerDefinition, getServerDefinitions, getSharedConnections, getUserConnections
 

Constructor Detail

CMISLocalConnectionManagerImpl

public CMISLocalConnectionManagerImpl()
Method Detail

setCmisConnector

public void setCmisConnector(org.alfresco.opencmis.CMISConnector connector)
Sets the CMIS connector.


createDefaultConnection

public CMISConnection createDefaultConnection(CMISServer server)
Description copied from interface: CMISConnectionManager
Creates a new default connection that is only visible to the current user.

Specified by:
createDefaultConnection in interface CMISConnectionManager

getConnection

public CMISConnection getConnection()
Creates a local connection.

Specified by:
getConnection in interface CMISConnectionManager
Specified by:
getConnection in class AbstractCMISConnectionManagerImpl


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.