public class CMISPluginServiceCallbacks
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.chemistry.opencmis.client.api.Document |
getCMISDocument(java.lang.String repositoryId,
java.lang.String documentId)
Retrieves a CMIS document.
|
org.apache.chemistry.opencmis.client.api.Session |
getCMISSession(java.lang.String repositoryId)
Returns a session to a Content Management Interoperability Services source for the given repository.
The returned session should only be used within a synchronized block using the object returned by: getSynchObject(String repositoryId, String repositoryType) |
public org.apache.chemistry.opencmis.client.api.Session getCMISSession(java.lang.String repositoryId)
repositoryId - The repository identifier, as defined in IBM Content Navigator.org.apache.chemistry.opencmis.client.api.Session object that provides a connection to the
Content Management Interoperability Services source. If the server is not found, this method returns
null.public org.apache.chemistry.opencmis.client.api.Document getCMISDocument(java.lang.String repositoryId,
java.lang.String documentId)
repositoryId - The repository identifier, as defined in IBM Content Navigator.documentId - The document ID.