public abstract class AbstractAsyncSession extends Object implements AsyncSession
AsyncSession interface providing
convenience implementations.| Constructor and Description |
|---|
AbstractAsyncSession(Session session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAcl, applyPolicy, createDocument, createDocumentFromSource, createFolder, createItem, createPolicy, createRelationship, createType, delete, deleteTree, deleteType, getContentStream, getLatestDocumentVersion, getLatestDocumentVersion, getObject, getObject, getObjectByPath, getObjectByPath, getTypeDefinition, removePolicy, setAcl, storeContentStream, updateTypeprotected Session session
public AbstractAsyncSession(Session session)
public Session getSession()
getSession in interface AsyncSessionpublic Future<CmisObject> getObject(ObjectId objectId)
getObject in interface AsyncSessionpublic Future<CmisObject> getObject(String objectId)
getObject in interface AsyncSessionpublic Future<CmisObject> getObjectByPath(String path)
getObjectByPath in interface AsyncSessionpublic Future<CmisObject> getObjectByPath(String parentPath, String name)
getObjectByPath in interface AsyncSessionpublic Future<Document> getLatestDocumentVersion(ObjectId objectId)
getLatestDocumentVersion in interface AsyncSessionpublic Future<Document> getLatestDocumentVersion(ObjectId objectId, OperationContext context)
getLatestDocumentVersion in interface AsyncSessionpublic Future<Document> getLatestDocumentVersion(String objectId)
getLatestDocumentVersion in interface AsyncSessionpublic Future<Document> getLatestDocumentVersion(String objectId, OperationContext context)
getLatestDocumentVersion in interface AsyncSessionpublic Future<ObjectId> createDocument(Map<String,?> properties, ObjectId folderId, ContentStream contentStream, VersioningState versioningState)
createDocument in interface AsyncSessionpublic Future<ObjectId> createDocumentFromSource(ObjectId source, Map<String,?> properties, ObjectId folderId, VersioningState versioningState)
createDocumentFromSource in interface AsyncSessionpublic Future<ObjectId> createFolder(Map<String,?> properties, ObjectId folderId)
createFolder in interface AsyncSessionpublic Future<ObjectId> createPolicy(Map<String,?> properties, ObjectId folderId)
createPolicy in interface AsyncSessionpublic Future<ObjectId> createItem(Map<String,?> properties, ObjectId folderId)
createItem in interface AsyncSessionpublic Future<ObjectId> createRelationship(Map<String,?> properties)
createRelationship in interface AsyncSessionpublic Future<ContentStream> getContentStream(ObjectId docId)
getContentStream in interface AsyncSessionpublic Future<ContentStream> storeContentStream(ObjectId docId, OutputStream target)
storeContentStream in interface AsyncSessionpublic Future<?> delete(ObjectId objectId)
delete in interface AsyncSessionCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.