Class AbstractCmisServiceWrapper
java.lang.Object
lib3party.org.apache.chemistry.opencmis.server.support.wrapper.AbstractCmisServiceWrapper
- All Implemented Interfaces:
CallContextAwareCmisService,org.apache.chemistry.opencmis.commons.server.CmisService,org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService,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
- Direct Known Subclasses:
ConformanceCmisServiceWrapper
public abstract class AbstractCmisServiceWrapper
extends Object
implements CallContextAwareCmisService, org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
An abstract CMIS service wrapper.
All service wrappers managed by CmisServiceWrapperManager must be
derived from this class and must provide a constructor that takes a
CmisService object as the sole parameter.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCmisServiceWrapper(org.apache.chemistry.opencmis.commons.server.CmisService service) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.ProgressvoidappendContentStream(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.ContentStream contentStream, boolean isLastChunk, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.AclapplyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.AclapplyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl aces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) voidapplyPolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.ProgressList<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken>bulkUpdateProperties(String repositoryId, List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdsAndChangeTokens, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidcancelCheckOut(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) voidcheckIn(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean major, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment, 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) voidcheckOut(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension, org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopied) voidclose()create(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.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) createItem(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) org.apache.chemistry.opencmis.commons.definitions.TypeDefinitioncreateType(String repositoryId, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type, 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) voiddeleteType(String repositoryId, String typeId, 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>getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter, Boolean includeAllowableActions, 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.server.CallContextGets the current call context.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) org.apache.chemistry.opencmis.commons.data.ObjectDatagetObjectOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, 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) 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) org.apache.chemistry.opencmis.commons.data.PropertiesgetProperties(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) org.apache.chemistry.opencmis.commons.data.PropertiesgetPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, 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) 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) org.apache.chemistry.opencmis.commons.server.CmisServiceReturns the wrapped service or the next service wrapper.voidinitialize(Object[] params) Initializes the wrapper with a set of parameters.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) voidsetCallContext(org.apache.chemistry.opencmis.commons.server.CallContext callContext) Sets the call context and propagates it down to the next service wrapper or service if it implements theCallContextAwareCmisServiceinterface.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) org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionupdateType(String repositoryId, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
-
Constructor Details
-
AbstractCmisServiceWrapper
public AbstractCmisServiceWrapper(org.apache.chemistry.opencmis.commons.server.CmisService service)
-
-
Method Details
-
initialize
Initializes the wrapper with a set of parameters.- Parameters:
params- an array of parameter objects
-
getWrappedService
public org.apache.chemistry.opencmis.commons.server.CmisService getWrappedService()Returns the wrapped service or the next service wrapper.- Returns:
- the wrapped service
-
setCallContext
public void setCallContext(org.apache.chemistry.opencmis.commons.server.CallContext callContext) Sets the call context and propagates it down to the next service wrapper or service if it implements theCallContextAwareCmisServiceinterface.- Specified by:
setCallContextin interfaceCallContextAwareCmisService- Parameters:
callContext- the new call context
-
getCallContext
public org.apache.chemistry.opencmis.commons.server.CallContext getCallContext()Gets the current call context.- Specified by:
getCallContextin interfaceCallContextAwareCmisService- Returns:
- the call context
-
beforeServiceCall
public org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress beforeServiceCall()- Specified by:
beforeServiceCallin interfaceorg.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
-
afterServiceCall
public org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress afterServiceCall()- Specified by:
afterServiceCallin interfaceorg.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
-
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
-
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
-
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
-
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
-
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
-
createType
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition createType(String repositoryId, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
createTypein interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
-
updateType
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition updateType(String repositoryId, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
updateTypein interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
-
deleteType
public void deleteType(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
deleteTypein interfaceorg.apache.chemistry.opencmis.commons.spi.RepositoryService
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
createItem
public String createItem(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:
createItemin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
bulkUpdateProperties
public List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties(String repositoryId, List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdsAndChangeTokens, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
bulkUpdatePropertiesin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
-
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
-
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
-
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
-
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
-
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
-
appendContentStream
public void appendContentStream(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.ContentStream contentStream, boolean isLastChunk, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
appendContentStreamin interfaceorg.apache.chemistry.opencmis.commons.spi.ObjectService
-
checkOut
public void checkOut(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension, org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopied) - Specified by:
checkOutin interfaceorg.apache.chemistry.opencmis.commons.spi.VersioningService
-
cancelCheckOut
public void cancelCheckOut(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
cancelCheckOutin interfaceorg.apache.chemistry.opencmis.commons.spi.VersioningService
-
checkIn
public void checkIn(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean major, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment, 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:
checkInin interfaceorg.apache.chemistry.opencmis.commons.spi.VersioningService
-
getObjectOfLatestVersion
public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, 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:
getObjectOfLatestVersionin interfaceorg.apache.chemistry.opencmis.commons.spi.VersioningService
-
getPropertiesOfLatestVersion
public org.apache.chemistry.opencmis.commons.data.Properties getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getPropertiesOfLatestVersionin interfaceorg.apache.chemistry.opencmis.commons.spi.VersioningService
-
getAllVersions
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
getAllVersionsin interfaceorg.apache.chemistry.opencmis.commons.spi.VersioningService
-
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
-
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
-
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
-
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
-
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) - Specified by:
getObjectRelationshipsin interfaceorg.apache.chemistry.opencmis.commons.spi.RelationshipService
-
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
-
applyAcl
public org.apache.chemistry.opencmis.commons.data.Acl applyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) - Specified by:
applyAclin interfaceorg.apache.chemistry.opencmis.commons.spi.AclService
-
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
-
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
-
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
-
create
public String create(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.ExtensionsData extension) - Specified by:
createin interfaceorg.apache.chemistry.opencmis.commons.server.CmisService
-
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
-
applyAcl
public org.apache.chemistry.opencmis.commons.data.Acl applyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl aces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) - Specified by:
applyAclin interfaceorg.apache.chemistry.opencmis.commons.server.CmisService
-
getObjectInfo
public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId) - Specified by:
getObjectInfoin interfaceorg.apache.chemistry.opencmis.commons.server.CmisService
-
close
public void close()- Specified by:
closein interfaceorg.apache.chemistry.opencmis.commons.server.CmisService
-