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
Modifier and TypeFieldDescriptionprotected org.apache.chemistry.opencmis.commons.server.CallContext
The call context. -
Constructor Summary
ConstructorDescriptionCmsCmisService
(org.apache.chemistry.opencmis.commons.server.CallContext context) Creates a new CMIS service instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addObjectToFolder
(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) void
applyPolicy
(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) 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) void
deleteObject
(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) void
deleteObjectOrCancelCheckOut
(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) 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) org.apache.chemistry.opencmis.commons.data.Acl
getAcl
(String repositoryId, String objectId, Boolean onlyBasicPermissions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.AllowableActions
getAllowableActions
(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.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) 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) 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) 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) 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.ObjectData
getFolderParent
(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.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) 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) org.apache.chemistry.opencmis.commons.server.ObjectInfo
getObjectInfo
(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.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.org.apache.chemistry.opencmis.commons.data.Properties
getProperties
(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_CmsCmisRepository
getRepository
(String repositoryId) Gets the repository for a given repository id.org.apache.chemistry.opencmis.commons.data.RepositoryInfo
getRepositoryInfo
(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.TypeDefinitionList
getTypeChildren
(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.definitions.TypeDefinition
getTypeDefinition
(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) 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) 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) void
removeObjectFromFolder
(String repositoryId, String objectId, String folderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) void
removePolicy
(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) 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) 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) 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:
addObjectToFolder
in interfaceorg.apache.chemistry.opencmis.commons.spi.MultiFilingService
- Overrides:
addObjectToFolder
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- Parameters:
repositoryId
-objectId
-folderId
-allVersions
-extension
-- See Also:
-
MultiFilingService.addObjectToFolder(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
applyPolicy
public void applyPolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
applyPolicy
in interfaceorg.apache.chemistry.opencmis.commons.spi.PolicyService
- Overrides:
applyPolicy
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.applyPolicy(java.lang.String, java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
createDocument
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
createDocument
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.createDocument(java.lang.String, org.apache.chemistry.opencmis.commons.data.Properties, java.lang.String, org.apache.chemistry.opencmis.commons.data.ContentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
createDocumentFromSource
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
createDocumentFromSource
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.createDocumentFromSource(java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.Properties, java.lang.String, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
createFolder
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
createFolder
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
ObjectService.createFolder(java.lang.String, org.apache.chemistry.opencmis.commons.data.Properties, java.lang.String, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
createPolicy
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
createPolicy
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.createPolicy(java.lang.String, org.apache.chemistry.opencmis.commons.data.Properties, java.lang.String, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
createRelationship
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
createRelationship
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.createRelationship(java.lang.String, org.apache.chemistry.opencmis.commons.data.Properties, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
deleteContentStream
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
deleteContentStream
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.deleteContentStream(java.lang.String, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
deleteObject
public void deleteObject(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
deleteObject
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
deleteObject
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.deleteObject(java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
deleteObjectOrCancelCheckOut
public void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
deleteObjectOrCancelCheckOut
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisService
- Overrides:
deleteObjectOrCancelCheckOut
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.deleteObjectOrCancelCheckOut(java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
deleteTree
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
deleteTree
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.deleteTree(java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.UnfileObject, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getAcl
in interfaceorg.apache.chemistry.opencmis.commons.spi.AclService
- Overrides:
getAcl
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getAcl(java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
getAllowableActions
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getAllowableActions
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
getAllowableActions
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getAllowableActions(java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getAppliedPolicies
in interfaceorg.apache.chemistry.opencmis.commons.spi.PolicyService
- Overrides:
getAppliedPolicies
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getAppliedPolicies(java.lang.String, java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getCheckedOutDocs
in interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService
- Overrides:
getCheckedOutDocs
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getCheckedOutDocs(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.math.BigInteger, java.math.BigInteger, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getChildren
in interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService
- Specified by:
getChildren
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getChildren(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.lang.Boolean, java.math.BigInteger, java.math.BigInteger, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getContentChanges
in interfaceorg.apache.chemistry.opencmis.commons.spi.DiscoveryService
- Overrides:
getContentChanges
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getContentChanges(java.lang.String, org.apache.chemistry.opencmis.commons.spi.Holder, java.lang.Boolean, java.lang.String, java.lang.Boolean, java.lang.Boolean, java.math.BigInteger, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getContentStream
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
getContentStream
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getContentStream(java.lang.String, java.lang.String, java.lang.String, java.math.BigInteger, java.math.BigInteger, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getDescendants
in interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService
- Overrides:
getDescendants
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getDescendants(java.lang.String, java.lang.String, java.math.BigInteger, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getFolderParent
in interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService
- Overrides:
getFolderParent
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getFolderParent(java.lang.String, java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getFolderTree
in interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService
- Overrides:
getFolderTree
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getFolderTree(java.lang.String, java.lang.String, java.math.BigInteger, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getObject
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Specified by:
getObject
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getObject(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.lang.Boolean, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getObjectByPath
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
getObjectByPath
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getObjectByPath(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.lang.Boolean, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
getObjectInfo
public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId) - Specified by:
getObjectInfo
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisService
- Specified by:
getObjectInfo
in interfaceorg.apache.chemistry.opencmis.commons.server.ObjectInfoHandler
- Overrides:
getObjectInfo
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getObjectInfo(java.lang.String, java.lang.String)
-
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:
getObjectParents
in interfaceorg.apache.chemistry.opencmis.commons.spi.NavigationService
- Specified by:
getObjectParents
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getObjectParents(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getObjectRelationships
in interfaceorg.apache.chemistry.opencmis.commons.spi.RelationshipService
- Overrides:
getObjectRelationships
in 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:
getProperties
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
getProperties
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getProperties(java.lang.String, java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getRenditions
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
getRenditions
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getRenditions(java.lang.String, java.lang.String, java.lang.String, java.math.BigInteger, java.math.BigInteger, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
getRepositoryInfo
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(String repositoryId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getRepositoryInfo
in interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
- Overrides:
getRepositoryInfo
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getRepositoryInfo(java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
getRepositoryInfos
public List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getRepositoryInfos
in interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
- Specified by:
getRepositoryInfos
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getTypeChildren
in interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
- Specified by:
getTypeChildren
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getTypeChildren(java.lang.String, java.lang.String, java.lang.Boolean, java.math.BigInteger, java.math.BigInteger, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
getTypeDefinition
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getTypeDefinition
in interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
- Specified by:
getTypeDefinition
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getTypeDefinition(java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
getTypeDescendants
in interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
- Overrides:
getTypeDescendants
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.getTypeDescendants(java.lang.String, java.lang.String, java.math.BigInteger, java.lang.Boolean, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
moveObject
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
moveObject
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.moveObject(java.lang.String, org.apache.chemistry.opencmis.commons.spi.Holder, java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
query
in interfaceorg.apache.chemistry.opencmis.commons.spi.DiscoveryService
- Overrides:
query
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.query(java.lang.String, java.lang.String, java.lang.Boolean, java.lang.Boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.math.BigInteger, java.math.BigInteger, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
removeObjectFromFolder
public void removeObjectFromFolder(String repositoryId, String objectId, String folderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
removeObjectFromFolder
in interfaceorg.apache.chemistry.opencmis.commons.spi.MultiFilingService
- Overrides:
removeObjectFromFolder
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.removeObjectFromFolder(java.lang.String, java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
removePolicy
public void removePolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
removePolicy
in interfaceorg.apache.chemistry.opencmis.commons.spi.PolicyService
- Overrides:
removePolicy
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.removePolicy(java.lang.String, java.lang.String, java.lang.String, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
setContentStream
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
setContentStream
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.setContentStream(java.lang.String, org.apache.chemistry.opencmis.commons.spi.Holder, java.lang.Boolean, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.data.ContentStream, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
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:
updateProperties
in interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
- Overrides:
updateProperties
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
- See Also:
-
AbstractCmisService.updateProperties(java.lang.String, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.data.Properties, org.apache.chemistry.opencmis.commons.data.ExtensionsData)
-
getRepository
Gets the repository for a given repository id.- Parameters:
repositoryId
- the repository id- Returns:
- the repository with the given id
-