public interface CMISConnectionManager
| Modifier and Type | Method and Description |
|---|---|
CMISConnection |
createDefaultConnection(CMISServer server)
Creates a new default connection that is only visible to the current user.
|
CMISServer |
createServerDefinition(CMISServer server,
String username,
String password)
Creates a new server definition from a template.
|
CMISServer |
createServerDefinition(CMISServer server,
String username,
String password,
String repositoryId)
Creates a new server definition from a template.
|
CMISServer |
createServerDefinition(String serverName,
Map<String,String> parameters)
Creates a new server definition.
|
CMISConnection |
createSharedConnection(CMISServer server,
String connectionId)
Creates a new connection that is visible to all users.
|
CMISConnection |
createUserConnection(CMISServer server,
String connectionId)
Creates a new connection that is only visible to the current user.
|
CMISConnection |
getConnection()
Gets or creates a connection to the local server or a default server.
|
CMISConnection |
getConnection(String connectionId)
Returns a specific connection or
null if the connection id
is unknown. |
List<org.apache.chemistry.opencmis.client.api.Repository> |
getRepositories(CMISServer server)
Returns all repositories available at this server.
|
CMISServer |
getServerDefinition(String serverName)
Gets a server definitions by name.
|
List<CMISServer> |
getServerDefinitions()
Returns all configured server definitions.
|
List<CMISConnection> |
getSharedConnections()
Returns all shared connections.
|
List<CMISConnection> |
getUserConnections()
Returns all user connections.
|
CMISConnection createDefaultConnection(CMISServer server)
CMISConnection createUserConnection(CMISServer server, String connectionId)
CMISConnection createSharedConnection(CMISServer server, String connectionId)
CMISConnection getConnection()
CMISConnection getConnection(String connectionId)
null if the connection id
is unknown.List<CMISConnection> getUserConnections()
List<CMISConnection> getSharedConnections()
List<CMISServer> getServerDefinitions()
CMISServer getServerDefinition(String serverName)
CMISServer createServerDefinition(String serverName, Map<String,String> parameters)
CMISServer createServerDefinition(CMISServer server, String username, String password)
CMISServer createServerDefinition(CMISServer server, String username, String password, String repositoryId)
List<org.apache.chemistry.opencmis.client.api.Repository> getRepositories(CMISServer server)
Copyright © 2005–2015 Alfresco Software. All rights reserved.