Package org.opencms.cmis
Class CmsCmisService
java.lang.Object
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
org.opencms.cmis.CmsCmisService
- All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CmisService,org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler,org.apache.chemistry.opencmis.commons.spi.AclService,org.apache.chemistry.opencmis.commons.spi.DiscoveryService,org.apache.chemistry.opencmis.commons.spi.MultiFilingService,org.apache.chemistry.opencmis.commons.spi.NavigationService,org.apache.chemistry.opencmis.commons.spi.ObjectService,org.apache.chemistry.opencmis.commons.spi.PolicyService,org.apache.chemistry.opencmis.commons.spi.RelationshipService,org.apache.chemistry.opencmis.commons.spi.RepositoryService,org.apache.chemistry.opencmis.commons.spi.VersioningService
public class CmsCmisService
extends org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
The CMIS service class for OpenCms repositories.
Typically, a new instance of this class will be created for every CMIS service request. This class delegates the
actual work to an implementation of the I_CmsCmisRepository class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.chemistry.opencmis.commons.server.CallContextThe call context. -
Constructor Summary
ConstructorsConstructorDescriptionCmsCmisService(org.apache.chemistry.opencmis.commons.server.CallContext context) Creates a new CMIS service instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidapplyPolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) createDocument(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) createDocumentFromSource(String repositoryId, String sourceId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) createFolder(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) createPolicy(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) createRelationship(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voiddeleteContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voiddeleteObject(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voiddeleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.FailedToDeleteDatadeleteTree(String repositoryId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects, Boolean continueOnFailure, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.AclgetAcl(String repositoryId, String objectId, Boolean onlyBasicPermissions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.AllowableActionsgetAllowableActions(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectListgetCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectInFolderListgetChildren(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectListgetContentChanges(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeLogToken, Boolean includeProperties, String filter, Boolean includePolicyIds, Boolean includeAcl, BigInteger maxItems, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ContentStreamgetContentStream(String repositoryId, String objectId, String streamId, BigInteger offset, BigInteger length, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectDatagetFolderParent(String repositoryId, String folderId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getFolderTree(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectDatagetObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectDatagetObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.server.ObjectInfogetObjectInfo(String repositoryId, String objectId) List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectListgetObjectRelationships(String repositoryId, String objectId, Boolean includeSubRelationshipTypes, org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection, String typeId, String filter, Boolean includeAllowableActions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) Gets all or a subset of relationships associated with an independent object.org.apache.chemistry.opencmis.commons.data.PropertiesgetProperties(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) protected I_CmsCmisRepositorygetRepository(String repositoryId) Gets the repository for a given repository id.org.apache.chemistry.opencmis.commons.data.RepositoryInfogetRepositoryInfo(String repositoryId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionListgetTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.definitions.TypeDefinitiongetTypeDefinition(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidmoveObject(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, String targetFolderId, String sourceFolderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.ObjectListquery(String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidremoveObjectFromFolder(String repositoryId, String objectId, String folderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidremovePolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidsetContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean overwriteFlag, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidupdateProperties(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) Methods inherited from class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
addObjectInfo, appendContentStream, applyAcl, applyAcl, bulkUpdateProperties, cancelCheckOut, checkIn, checkOut, clearObjectInfos, close, create, createItem, createType, deleteType, getAllVersions, getBooleanProperty, getDateTimeProperty, getIdProperty, getIntegerProperty, getObjectInfoIntern, getObjectOfLatestVersion, getPropertiesOfLatestVersion, getStringProperty, updateType
-
Field Details
-
m_callContext
The call context.
-
-
Constructor Details
-
CmsCmisService
Creates a new CMIS service instance.- Parameters:
context- the CMIS call context
-
-
Method Details
-
addObjectToFolder
public void addObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
addObjectToFolderin interfaceorg.apache.chemistry.opencmis.commons.spi.MultiFilingService- Overrides:
addObjectToFolderin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- Parameters:
repositoryId-objectId-folderId-allVersions-extension-- See Also:
-
applyPolicy
public void applyPolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
applyPolicyin interfaceorg.apache.chemistry.opencmis.commons.spi.PolicyService- Overrides:
applyPolicyin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
createDocument
public String createDocument(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
createDocumentin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
createDocumentin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
createDocumentFromSource
public String createDocumentFromSource(String repositoryId, String sourceId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
createDocumentFromSourcein interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
createDocumentFromSourcein classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
createFolder
public String createFolder(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
createFolderin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
createFolderin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
createPolicy
public String createPolicy(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
createPolicyin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
createPolicyin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
createRelationship
public String createRelationship(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
createRelationshipin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
createRelationshipin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
deleteContentStream
public void deleteContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
deleteContentStreamin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
deleteContentStreamin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
deleteObject
public void deleteObject(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
deleteObjectin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
deleteObjectin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
deleteObjectOrCancelCheckOut
public void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
deleteObjectOrCancelCheckOutin interfaceorg.apache.chemistry.opencmis.commons.server.CmisService- Overrides:
deleteObjectOrCancelCheckOutin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
deleteTree
public org.apache.chemistry.opencmis.commons.data.FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects, Boolean continueOnFailure, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
deleteTreein interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
deleteTreein classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getAcl
public org.apache.chemistry.opencmis.commons.data.Acl getAcl(String repositoryId, String objectId, Boolean onlyBasicPermissions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getAclin interfaceorg.apache.chemistry.opencmis.commons.spi.AclService- Overrides:
getAclin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getAllowableActions
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getAllowableActionsin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
getAllowableActionsin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getAppliedPolicies
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getAppliedPoliciesin interfaceorg.apache.chemistry.opencmis.commons.spi.PolicyService- Overrides:
getAppliedPoliciesin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getCheckedOutDocs
public org.apache.chemistry.opencmis.commons.data.ObjectList getCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getCheckedOutDocsin interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService- Overrides:
getCheckedOutDocsin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getChildren
public org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getChildrenin interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService- Specified by:
getChildrenin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getContentChanges
public org.apache.chemistry.opencmis.commons.data.ObjectList getContentChanges(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeLogToken, Boolean includeProperties, String filter, Boolean includePolicyIds, Boolean includeAcl, BigInteger maxItems, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getContentChangesin interfaceorg.apache.chemistry.opencmis.commons.spi.DiscoveryService- Overrides:
getContentChangesin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getContentStream
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset, BigInteger length, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getContentStreamin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
getContentStreamin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getDescendants
public List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getDescendantsin interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService- Overrides:
getDescendantsin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getFolderParent
public org.apache.chemistry.opencmis.commons.data.ObjectData getFolderParent(String repositoryId, String folderId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getFolderParentin interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService- Overrides:
getFolderParentin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getFolderTree
public List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getFolderTree(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getFolderTreein interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService- Overrides:
getFolderTreein classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getObject
public org.apache.chemistry.opencmis.commons.data.ObjectData getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getObjectin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Specified by:
getObjectin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getObjectByPath
public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getObjectByPathin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
getObjectByPathin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getObjectInfo
public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId) - Specified by:
getObjectInfoin interfaceorg.apache.chemistry.opencmis.commons.server.CmisService- Specified by:
getObjectInfoin interfaceorg.apache.chemistry.opencmis.commons.server.ObjectInfoHandler- Overrides:
getObjectInfoin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getObjectParents
public List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getObjectParentsin interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService- Specified by:
getObjectParentsin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getObjectRelationships
public org.apache.chemistry.opencmis.commons.data.ObjectList getObjectRelationships(String repositoryId, String objectId, Boolean includeSubRelationshipTypes, org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection, String typeId, String filter, Boolean includeAllowableActions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) Gets all or a subset of relationships associated with an independent object.- Specified by:
getObjectRelationshipsin interfaceorg.apache.chemistry.opencmis.commons.spi.RelationshipService- Overrides:
getObjectRelationshipsin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
-
getProperties
public org.apache.chemistry.opencmis.commons.data.Properties getProperties(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getPropertiesin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
getPropertiesin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getRenditions
public List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getRenditionsin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
getRenditionsin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getRepositoryInfo
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(String repositoryId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getRepositoryInfoin interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService- Overrides:
getRepositoryInfoin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getRepositoryInfos
public List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getRepositoryInfosin interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService- Specified by:
getRepositoryInfosin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getTypeChildren
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getTypeChildrenin interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService- Specified by:
getTypeChildrenin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getTypeDefinition
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getTypeDefinitionin interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService- Specified by:
getTypeDefinitionin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getTypeDescendants
public List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getTypeDescendantsin interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService- Overrides:
getTypeDescendantsin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
moveObject
public void moveObject(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, String targetFolderId, String sourceFolderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
moveObjectin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
moveObjectin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
query
public org.apache.chemistry.opencmis.commons.data.ObjectList query(String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
queryin interfaceorg.apache.chemistry.opencmis.commons.spi.DiscoveryService- Overrides:
queryin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
removeObjectFromFolder
public void removeObjectFromFolder(String repositoryId, String objectId, String folderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
removeObjectFromFolderin interfaceorg.apache.chemistry.opencmis.commons.spi.MultiFilingService- Overrides:
removeObjectFromFolderin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
removePolicy
public void removePolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
removePolicyin interfaceorg.apache.chemistry.opencmis.commons.spi.PolicyService- Overrides:
removePolicyin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
setContentStream
public void setContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean overwriteFlag, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
setContentStreamin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
setContentStreamin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
updateProperties
public void updateProperties(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
updatePropertiesin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService- Overrides:
updatePropertiesin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService- See Also:
-
getRepository
Gets the repository for a given repository id.- Parameters:
repositoryId- the repository id- Returns:
- the repository with the given id
-