public class CMISConnectionImpl extends Object implements CMISConnection
| Constructor and Description |
|---|
CMISConnectionImpl(CMISConnectionManagerImpl connectionManager,
String id,
org.apache.chemistry.opencmis.client.api.Session session,
CMISServer server,
String username,
boolean isDefault,
boolean isShared) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases the CMIS session and removes the connection from connection
manager.
|
int |
compareTo(CMISConnection conn) |
String |
getId()
Gets the connection id.
|
String |
getInternalId()
Gets the internal connection id.
|
CMISServer |
getServer()
Gets the CMIS Server.
|
org.apache.chemistry.opencmis.client.api.Session |
getSession()
Gets the OpenCMIS Session.
|
String |
getUserName()
Gets the user name.
|
boolean |
isDefault()
Indicates if the connection is the default connection.
|
boolean |
isShared()
Indicates if the connection is shared by multiple users.
|
boolean |
supportsQuery()
Indicates is the repository supports queries.
|
public CMISConnectionImpl(CMISConnectionManagerImpl connectionManager, String id, org.apache.chemistry.opencmis.client.api.Session session, CMISServer server, String username, boolean isDefault, boolean isShared)
public String getId()
CMISConnectiongetId in interface CMISConnectionpublic String getInternalId()
CMISConnectiongetInternalId in interface CMISConnectionpublic org.apache.chemistry.opencmis.client.api.Session getSession()
CMISConnectiongetSession in interface CMISConnectionpublic CMISServer getServer()
CMISConnectiongetServer in interface CMISConnectionpublic String getUserName()
CMISConnectiongetUserName in interface CMISConnectionpublic boolean isDefault()
CMISConnectionisDefault in interface CMISConnectionpublic boolean isShared()
CMISConnectionisShared in interface CMISConnectionpublic boolean supportsQuery()
CMISConnectionsupportsQuery in interface CMISConnectionpublic void close()
CMISConnectionclose in interface CMISConnectionpublic int compareTo(CMISConnection conn)
compareTo in interface Comparable<CMISConnection>Copyright © 2005–2015 Alfresco Software. All rights reserved.