|
|||||||||
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 CMISConnection
public java.lang.String getInternalId()
CMISConnection
getInternalId
in interface CMISConnection
public org.apache.chemistry.opencmis.client.api.Session getSession()
CMISConnection
getSession
in interface CMISConnection
public CMISServer getServer()
CMISConnection
getServer
in interface CMISConnection
public java.lang.String getUserName()
CMISConnection
getUserName
in interface CMISConnection
public boolean isDefault()
CMISConnection
isDefault
in interface CMISConnection
public boolean isShared()
CMISConnection
isShared
in interface CMISConnection
public boolean supportsQuery()
CMISConnection
supportsQuery
in interface CMISConnection
public void close()
CMISConnection
close
in interface CMISConnection
public 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 |