public class NuxeoSession extends Object implements org.apache.chemistry.opencmis.client.api.Session
CoreSession.| Modifier and Type | Field and Description |
|---|---|
static org.apache.chemistry.opencmis.client.api.OperationContext |
DEFAULT_CONTEXT |
| Constructor and Description |
|---|
NuxeoSession(CoreSession coreSession,
NuxeoRepository repository,
org.apache.chemistry.opencmis.commons.server.CallContext context) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.chemistry.opencmis.commons.data.Acl |
applyAcl(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
void |
applyPolicy(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
org.apache.chemistry.opencmis.client.api.ObjectId... policyIds) |
List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> |
bulkUpdateProperties(List<org.apache.chemistry.opencmis.client.api.CmisObject> objects,
Map<String,?> properties,
List<String> addSecondaryTypeIds,
List<String> removeSecondaryTypeIds) |
void |
clear() |
org.apache.chemistry.opencmis.client.api.ObjectId |
createDocument(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createDocument(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source,
Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source,
Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createFolder(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createFolder(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createItem(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createItem(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createObjectId(String id) |
org.apache.chemistry.opencmis.client.api.OperationContext |
createOperationContext() |
org.apache.chemistry.opencmis.client.api.OperationContext |
createOperationContext(Set<String> filter,
boolean includeAcls,
boolean includeAllowableActions,
boolean includePolicies,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
Set<String> renditionFilter,
boolean includePathSegments,
String orderBy,
boolean cacheEnabled,
int maxItemsPerPage) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createPolicy(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createPolicy(Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces) |
org.apache.chemistry.opencmis.client.api.QueryStatement |
createQueryStatement(String statement) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createRelationship(Map<String,?> properties) |
org.apache.chemistry.opencmis.client.api.ObjectId |
createRelationship(Map<String,?> properties,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces) |
org.apache.chemistry.opencmis.client.api.ObjectType |
createType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type) |
void |
delete(org.apache.chemistry.opencmis.client.api.ObjectId objectId) |
void |
delete(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
boolean allVersions) |
void |
deleteType(String typeId) |
org.apache.chemistry.opencmis.commons.data.Acl |
getAcl(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
boolean onlyBasicPermissions) |
NuxeoBinding |
getBinding() |
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> |
getCheckedOutDocs() |
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> |
getCheckedOutDocs(org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.client.api.ChangeEvents |
getContentChanges(String changeLogToken,
boolean includeProperties,
long maxNumItems) |
org.apache.chemistry.opencmis.client.api.ChangeEvents |
getContentChanges(String changeLogToken,
boolean includeProperties,
long maxNumItems,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(org.apache.chemistry.opencmis.client.api.ObjectId docId) |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(org.apache.chemistry.opencmis.client.api.ObjectId docId,
String streamId,
BigInteger offset,
BigInteger length) |
org.apache.chemistry.opencmis.client.api.OperationContext |
getDefaultContext() |
Locale |
getLocale() |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObject(DocumentModel doc,
org.apache.chemistry.opencmis.client.api.OperationContext context)
Gets a CMIS object given a Nuxeo
DocumentModel. |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObject(org.apache.chemistry.opencmis.client.api.ObjectId objectId) |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObject(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObject(String objectId) |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObject(String objectId,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObjectByPath(String path) |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObjectByPath(String path,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
NuxeoObjectFactory |
getObjectFactory() |
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Relationship> |
getRelationships(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
boolean includeSubRelationshipTypes,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
org.apache.chemistry.opencmis.client.api.ObjectType type,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo() |
org.apache.chemistry.opencmis.client.api.Folder |
getRootFolder() |
org.apache.chemistry.opencmis.client.api.Folder |
getRootFolder(org.apache.chemistry.opencmis.client.api.OperationContext context) |
NuxeoCmisService |
getService() |
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.ObjectType> |
getTypeChildren(String typeId,
boolean includePropertyDefinitions) |
org.apache.chemistry.opencmis.client.api.ObjectType |
getTypeDefinition(String typeId) |
List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.ObjectType>> |
getTypeDescendants(String typeId,
int depth,
boolean includePropertyDefinitions) |
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.QueryResult> |
query(String statement,
boolean searchAllVersions) |
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.QueryResult> |
query(String statement,
boolean searchAllVersions,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> |
queryObjects(String typeId,
String where,
boolean searchAllVersions,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
void |
removeObjectFromCache(org.apache.chemistry.opencmis.client.api.ObjectId objectId) |
void |
removeObjectFromCache(String objectId) |
void |
removePolicy(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
org.apache.chemistry.opencmis.client.api.ObjectId... policyIds) |
void |
save() |
org.apache.chemistry.opencmis.commons.data.Acl |
setAcl(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
List<org.apache.chemistry.opencmis.commons.data.Ace> aces) |
void |
setDefaultContext(org.apache.chemistry.opencmis.client.api.OperationContext defaultContext) |
org.apache.chemistry.opencmis.client.api.ObjectType |
updateType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type) |
public static final org.apache.chemistry.opencmis.client.api.OperationContext DEFAULT_CONTEXT
public NuxeoSession(CoreSession coreSession, NuxeoRepository repository, org.apache.chemistry.opencmis.commons.server.CallContext context)
public NuxeoObjectFactory getObjectFactory()
getObjectFactory in interface org.apache.chemistry.opencmis.client.api.Sessionpublic NuxeoBinding getBinding()
getBinding in interface org.apache.chemistry.opencmis.client.api.Sessionpublic NuxeoCmisService getService()
public void clear()
clear in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void save()
public void setDefaultContext(org.apache.chemistry.opencmis.client.api.OperationContext defaultContext)
setDefaultContext in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.OperationContext getDefaultContext()
getDefaultContext in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createObjectId(String id)
createObjectId in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
createDocument in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces)
createDocument in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createFolder(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId)
createFolder in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createFolder(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces)
createFolder in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.OperationContext createOperationContext()
createOperationContext in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.OperationContext createOperationContext(Set<String> filter, boolean includeAcls, boolean includeAllowableActions, boolean includePolicies, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, Set<String> renditionFilter, boolean includePathSegments, String orderBy, boolean cacheEnabled, int maxItemsPerPage)
createOperationContext in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createPolicy(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId)
createPolicy in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createPolicy(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces)
createPolicy in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createRelationship(Map<String,?> properties)
createRelationship in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createRelationship(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces)
createRelationship in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createItem(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces)
createItem in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createItem(Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectId folderId)
createItem in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source,
Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
createDocumentFromSource in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectId createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source,
Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectId folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces)
createDocumentFromSource in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> getCheckedOutDocs()
getCheckedOutDocs in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> getCheckedOutDocs(org.apache.chemistry.opencmis.client.api.OperationContext context)
getCheckedOutDocs in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ChangeEvents getContentChanges(String changeLogToken, boolean includeProperties, long maxNumItems)
getContentChanges in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ChangeEvents getContentChanges(String changeLogToken, boolean includeProperties, long maxNumItems, org.apache.chemistry.opencmis.client.api.OperationContext context)
getContentChanges in interface org.apache.chemistry.opencmis.client.api.Sessionpublic Locale getLocale()
getLocale in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.CmisObject getObject(org.apache.chemistry.opencmis.client.api.ObjectId objectId)
getObject in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.CmisObject getObject(String objectId)
getObject in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.CmisObject getObject(DocumentModel doc, org.apache.chemistry.opencmis.client.api.OperationContext context)
DocumentModel.public org.apache.chemistry.opencmis.client.api.CmisObject getObject(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
org.apache.chemistry.opencmis.client.api.OperationContext context)
getObject in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.CmisObject getObject(String objectId, org.apache.chemistry.opencmis.client.api.OperationContext context)
getObject in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.CmisObject getObjectByPath(String path)
getObjectByPath in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.CmisObject getObjectByPath(String path, org.apache.chemistry.opencmis.client.api.OperationContext context)
getObjectByPath in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo()
getRepositoryInfo in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.Folder getRootFolder()
getRootFolder in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.Folder getRootFolder(org.apache.chemistry.opencmis.client.api.OperationContext context)
getRootFolder in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.ObjectType> getTypeChildren(String typeId, boolean includePropertyDefinitions)
getTypeChildren in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectType getTypeDefinition(String typeId)
getTypeDefinition in interface org.apache.chemistry.opencmis.client.api.Sessionpublic List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.ObjectType>> getTypeDescendants(String typeId, int depth, boolean includePropertyDefinitions)
getTypeDescendants in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.QueryResult> query(String statement, boolean searchAllVersions)
query in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.QueryResult> query(String statement, boolean searchAllVersions, org.apache.chemistry.opencmis.client.api.OperationContext context)
query in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> queryObjects(String typeId, String where, boolean searchAllVersions, org.apache.chemistry.opencmis.client.api.OperationContext context)
queryObjects in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.QueryStatement createQueryStatement(String statement)
createQueryStatement in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Relationship> getRelationships(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
boolean includeSubRelationshipTypes,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
org.apache.chemistry.opencmis.client.api.ObjectType type,
org.apache.chemistry.opencmis.client.api.OperationContext context)
getRelationships in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.commons.data.Acl getAcl(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
boolean onlyBasicPermissions)
getAcl in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.commons.data.Acl setAcl(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
List<org.apache.chemistry.opencmis.commons.data.Ace> aces)
setAcl in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.commons.data.Acl applyAcl(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
applyAcl in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void applyPolicy(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
org.apache.chemistry.opencmis.client.api.ObjectId... policyIds)
applyPolicy in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void removePolicy(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
org.apache.chemistry.opencmis.client.api.ObjectId... policyIds)
removePolicy in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void removeObjectFromCache(org.apache.chemistry.opencmis.client.api.ObjectId objectId)
removeObjectFromCache in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void removeObjectFromCache(String objectId)
removeObjectFromCache in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void delete(org.apache.chemistry.opencmis.client.api.ObjectId objectId)
delete in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void delete(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
boolean allVersions)
delete in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(org.apache.chemistry.opencmis.client.api.ObjectId docId)
getContentStream in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(org.apache.chemistry.opencmis.client.api.ObjectId docId,
String streamId,
BigInteger offset,
BigInteger length)
getContentStream in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectType createType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)
createType in interface org.apache.chemistry.opencmis.client.api.Sessionpublic org.apache.chemistry.opencmis.client.api.ObjectType updateType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)
updateType in interface org.apache.chemistry.opencmis.client.api.Sessionpublic void deleteType(String typeId)
deleteType in interface org.apache.chemistry.opencmis.client.api.Sessionpublic List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties(List<org.apache.chemistry.opencmis.client.api.CmisObject> objects, Map<String,?> properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds)
bulkUpdateProperties in interface org.apache.chemistry.opencmis.client.api.SessionCopyright © 2013 Nuxeo SA. All Rights Reserved.