public class CMISConnectionImpl extends java.lang.Object implements CMISConnection
| Constructor and Description |
|---|
CMISConnectionImpl(AbstractCMISConnectionManagerImpl connectionManager,
java.lang.String id,
org.apache.chemistry.opencmis.client.api.Session session,
CMISServer server,
java.lang.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) |
java.lang.String |
getId()
Gets the connection id.
|
java.lang.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.
|
java.lang.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(AbstractCMISConnectionManagerImpl connectionManager, java.lang.String id, org.apache.chemistry.opencmis.client.api.Session session, CMISServer server, java.lang.String username, boolean isDefault, boolean isShared)
public java.lang.String getId()
CMISConnectiongetId in interface CMISConnectionpublic java.lang.String getInternalId()
CMISConnectiongetInternalId in interface CMISConnectionpublic org.apache.chemistry.opencmis.client.api.Session getSession()
CMISConnectiongetSession in interface CMISConnectionpublic CMISServer getServer()
CMISConnectiongetServer in interface CMISConnectionpublic java.lang.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 java.lang.ComparableCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.