|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.cmis.client.CMISConnectionImpl
public class CMISConnectionImpl
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public java.lang.String getId()
CMISConnection
getId in interface CMISConnectionpublic java.lang.String getInternalId()
CMISConnection
getInternalId in interface CMISConnectionpublic org.apache.chemistry.opencmis.client.api.Session getSession()
CMISConnection
getSession in interface CMISConnectionpublic CMISServer getServer()
CMISConnection
getServer in interface CMISConnectionpublic java.lang.String getUserName()
CMISConnection
getUserName in interface CMISConnectionpublic boolean isDefault()
CMISConnection
isDefault in interface CMISConnectionpublic boolean isShared()
CMISConnection
isShared in interface CMISConnectionpublic boolean supportsQuery()
CMISConnection
supportsQuery in interface CMISConnectionpublic void close()
CMISConnection
close in interface CMISConnectionpublic int compareTo(CMISConnection conn)
compareTo in interface java.lang.Comparable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||