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 |
protected NuxeoObjectFactory |
objectFactory |
Constructor and Description |
---|
NuxeoSession(NuxeoBinding binding,
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() |
protected org.apache.chemistry.opencmis.commons.data.Properties |
convertProperties(Map<String,?> properties)
Converts from an untyped map to a
Properties object. |
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(Collection<String> selectPropertyIds,
Map<String,String> fromTypes,
String whereClause,
List<String> orderByPropertyIds) |
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) |
List<String> |
deleteTree(org.apache.chemistry.opencmis.client.api.ObjectId folderId,
boolean allVersions,
org.apache.chemistry.opencmis.commons.enums.UnfileObject unfile,
boolean continueOnFailure) |
void |
deleteType(String typeId) |
boolean |
exists(org.apache.chemistry.opencmis.client.api.ObjectId objectId) |
boolean |
exists(String objectId) |
boolean |
existsPath(String path) |
boolean |
existsPath(String parentPath,
String name) |
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.ItemIterable<org.apache.chemistry.opencmis.client.api.ChangeEvent> |
getContentChanges(String changeLogToken,
boolean includeProperties) |
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.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.ChangeEvent> |
getContentChanges(String changeLogToken,
boolean includeProperties,
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) |
protected CoreSession |
getCoreSession() |
org.apache.chemistry.opencmis.client.api.OperationContext |
getDefaultContext() |
String |
getLatestChangeLogToken() |
org.apache.chemistry.opencmis.client.api.Document |
getLatestDocumentVersion(org.apache.chemistry.opencmis.client.api.ObjectId objectId) |
org.apache.chemistry.opencmis.client.api.Document |
getLatestDocumentVersion(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
boolean major,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.client.api.Document |
getLatestDocumentVersion(org.apache.chemistry.opencmis.client.api.ObjectId objectId,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.client.api.Document |
getLatestDocumentVersion(String objectId) |
org.apache.chemistry.opencmis.client.api.Document |
getLatestDocumentVersion(String objectId,
boolean major,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
org.apache.chemistry.opencmis.client.api.Document |
getLatestDocumentVersion(String objectId,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
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) |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObjectByPath(String parentPath,
String name) |
org.apache.chemistry.opencmis.client.api.CmisObject |
getObjectByPath(String parentPath,
String name,
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) |
protected String |
getRepositoryId() |
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) |
org.apache.chemistry.opencmis.commons.server.CmisService |
getService() |
Map<String,String> |
getSessionParameters() |
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) |
org.apache.chemistry.opencmis.client.api.ObjectType |
getTypeDefinition(String typeId,
boolean useCache) |
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
protected final NuxeoObjectFactory objectFactory
public NuxeoSession(NuxeoBinding binding, org.apache.chemistry.opencmis.commons.server.CallContext context)
public NuxeoObjectFactory getObjectFactory()
getObjectFactory
in interface org.apache.chemistry.opencmis.client.api.Session
public NuxeoBinding getBinding()
getBinding
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.commons.server.CmisService getService()
protected CoreSession getCoreSession()
public void clear()
clear
in interface org.apache.chemistry.opencmis.client.api.Session
public void save()
public void setDefaultContext(org.apache.chemistry.opencmis.client.api.OperationContext defaultContext)
setDefaultContext
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.OperationContext getDefaultContext()
getDefaultContext
in interface org.apache.chemistry.opencmis.client.api.Session
public Map<String,String> getSessionParameters()
getSessionParameters
in interface org.apache.chemistry.opencmis.client.api.Session
protected String getRepositoryId()
public org.apache.chemistry.opencmis.client.api.ObjectId createObjectId(String id)
createObjectId
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
protected org.apache.chemistry.opencmis.commons.data.Properties convertProperties(Map<String,?> properties)
Properties
object.public 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.Session
public 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.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.OperationContext createOperationContext()
createOperationContext
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public 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.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.ObjectId createRelationship(Map<String,?> properties)
createRelationship
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public 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.Session
public 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.Session
public 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.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> getCheckedOutDocs()
getCheckedOutDocs
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.ChangeEvents getContentChanges(String changeLogToken, boolean includeProperties, long maxNumItems)
getContentChanges
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.ChangeEvent> getContentChanges(String changeLogToken, boolean includeProperties)
getContentChanges
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.ChangeEvent> getContentChanges(String changeLogToken, boolean includeProperties, org.apache.chemistry.opencmis.client.api.OperationContext context)
getContentChanges
in interface org.apache.chemistry.opencmis.client.api.Session
public Locale getLocale()
getLocale
in interface org.apache.chemistry.opencmis.client.api.Session
public boolean exists(org.apache.chemistry.opencmis.client.api.ObjectId objectId)
exists
in interface org.apache.chemistry.opencmis.client.api.Session
public boolean exists(String objectId)
exists
in interface org.apache.chemistry.opencmis.client.api.Session
public boolean existsPath(String parentPath, String name)
existsPath
in interface org.apache.chemistry.opencmis.client.api.Session
public boolean existsPath(String path)
existsPath
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.CmisObject getObject(String objectId)
getObject
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.CmisObject getObjectByPath(String path)
getObjectByPath
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.CmisObject getObjectByPath(String parentPath, String name)
getObjectByPath
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.CmisObject getObjectByPath(String parentPath, String name, org.apache.chemistry.opencmis.client.api.OperationContext context)
getObjectByPath
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo()
getRepositoryInfo
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.Folder getRootFolder()
getRootFolder
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.ObjectType getTypeDefinition(String typeId)
getTypeDefinition
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.ObjectType getTypeDefinition(String typeId, boolean useCache)
getTypeDefinition
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public 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.Session
public 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.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.QueryStatement createQueryStatement(String statement)
createQueryStatement
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.QueryStatement createQueryStatement(Collection<String> selectPropertyIds, Map<String,String> fromTypes, String whereClause, List<String> orderByPropertyIds)
createQueryStatement
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public 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.Session
public 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.Session
public 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.Session
public 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.Session
public 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.Session
public void removeObjectFromCache(org.apache.chemistry.opencmis.client.api.ObjectId objectId)
removeObjectFromCache
in interface org.apache.chemistry.opencmis.client.api.Session
public void removeObjectFromCache(String objectId)
removeObjectFromCache
in interface org.apache.chemistry.opencmis.client.api.Session
public void delete(org.apache.chemistry.opencmis.client.api.ObjectId objectId)
delete
in interface org.apache.chemistry.opencmis.client.api.Session
public void delete(org.apache.chemistry.opencmis.client.api.ObjectId objectId, boolean allVersions)
delete
in interface org.apache.chemistry.opencmis.client.api.Session
public List<String> deleteTree(org.apache.chemistry.opencmis.client.api.ObjectId folderId, boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfile, boolean continueOnFailure)
deleteTree
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public 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.Session
public 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.Session
public 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.Session
public void deleteType(String typeId)
deleteType
in interface org.apache.chemistry.opencmis.client.api.Session
public 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.Session
public org.apache.chemistry.opencmis.client.api.Document getLatestDocumentVersion(org.apache.chemistry.opencmis.client.api.ObjectId objectId)
getLatestDocumentVersion
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.Document getLatestDocumentVersion(String objectId, org.apache.chemistry.opencmis.client.api.OperationContext context)
getLatestDocumentVersion
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.Document getLatestDocumentVersion(String objectId, boolean major, org.apache.chemistry.opencmis.client.api.OperationContext context)
getLatestDocumentVersion
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.Document getLatestDocumentVersion(String objectId)
getLatestDocumentVersion
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.Document getLatestDocumentVersion(org.apache.chemistry.opencmis.client.api.ObjectId objectId, org.apache.chemistry.opencmis.client.api.OperationContext context)
getLatestDocumentVersion
in interface org.apache.chemistry.opencmis.client.api.Session
public org.apache.chemistry.opencmis.client.api.Document getLatestDocumentVersion(org.apache.chemistry.opencmis.client.api.ObjectId objectId, boolean major, org.apache.chemistry.opencmis.client.api.OperationContext context)
getLatestDocumentVersion
in interface org.apache.chemistry.opencmis.client.api.Session
public String getLatestChangeLogToken()
getLatestChangeLogToken
in interface org.apache.chemistry.opencmis.client.api.Session
Copyright © 2018 Nuxeo. All rights reserved.