Class CloseableCmisSession

  • All Implemented Interfaces:
    Serializable, AutoCloseable, org.apache.chemistry.opencmis.client.api.Session

    public class CloseableCmisSession
    extends org.apache.chemistry.opencmis.client.runtime.SessionImpl
    implements AutoCloseable
    Subclass of CMIS SessionImpl that is closeable so it can clean up closeable items in the session binding map.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class org.apache.chemistry.opencmis.client.runtime.SessionImpl

        applyAcl, applyPolicy, buildPath, bulkUpdateProperties, checkCmisVersion, checkContext, checkDocumentId, checkDocumentId, checkFolderId, checkObjectId, checkObjectId, checkPath, checkProperties, clear, connect, createDocument, createDocument, createDocumentFromSource, createDocumentFromSource, createFolder, createFolder, createItem, createItem, createObjectId, createOperationContext, createOperationContext, createPath, createPath, createPath, createPath, createPath, createPolicy, createPolicy, createQueryStatement, createQueryStatement, createRelationship, createRelationship, createType, delete, delete, deleteByPath, deleteByPath, deleteByPath, deleteTree, deleteTreebyPath, deleteTreebyPath, deleteType, exists, exists, existsPath, existsPath, getAcl, getBinding, getCache, getCheckedOutDocs, getCheckedOutDocs, getContentChanges, getContentChanges, getContentChanges, getContentChanges, getContentStream, getContentStream, getContentStreamByPath, getContentStreamByPath, getDefaultContext, getLatestChangeLogToken, getLatestDocumentVersion, getLatestDocumentVersion, getLatestDocumentVersion, getLatestDocumentVersion, getLatestDocumentVersion, getLatestDocumentVersion, getLocale, getObject, getObject, getObject, getObject, getObjectByPath, getObjectByPath, getObjectByPath, getObjectByPath, getObjectFactory, getObjectIdByPath, getRelationships, getRepositoryId, getRepositoryInfo, getRootFolder, getRootFolder, getSessionParameters, getTypeChildren, getTypeDefinition, getTypeDefinition, getTypeDescendants, query, query, queryObjects, removeObjectFromCache, removeObjectFromCache, removePolicy, setAcl, setDefaultContext, toString, updateType
    • Constructor Detail

      • CloseableCmisSession

        public CloseableCmisSession​(Map<String,​String> parameters)