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

    Constructors
    Constructor
    Description
    AbstractCmisServiceWrapper(org.apache.chemistry.opencmis.commons.server.CmisService service)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress
     
    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)
     
    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)
     
    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)
     
    void
    applyPolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress
     
    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)
     
    void
    cancelCheckOut(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    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)
     
    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)
     
    void
     
    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.TypeDefinition
    createType(String repositoryId, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type, 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)
     
    void
    deleteType(String repositoryId, String typeId, 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>
    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.CallContext
    Gets the current call context.
    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)
     
    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)
     
    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)
     
    org.apache.chemistry.opencmis.commons.data.Properties
    getProperties(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    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)
     
    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.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)
     
    org.apache.chemistry.opencmis.commons.server.CmisService
    Returns the wrapped service or the next service wrapper.
    void
    initialize(Object[] params)
    Initializes the wrapper with a set of parameters.
    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
    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 the CallContextAwareCmisService interface.
    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)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractCmisServiceWrapper

      public AbstractCmisServiceWrapper(org.apache.chemistry.opencmis.commons.server.CmisService service)
  • Method Details

    • initialize

      public void initialize(Object[] params)
      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 the CallContextAwareCmisService interface.
      Specified by:
      setCallContext in interface CallContextAwareCmisService
      Parameters:
      callContext - the new call context
    • getCallContext

      public org.apache.chemistry.opencmis.commons.server.CallContext getCallContext()
      Gets the current call context.
      Specified by:
      getCallContext in interface CallContextAwareCmisService
      Returns:
      the call context
    • beforeServiceCall

      public org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress beforeServiceCall()
      Specified by:
      beforeServiceCall in interface org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
    • afterServiceCall

      public org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress afterServiceCall()
      Specified by:
      afterServiceCall in interface org.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:
      getRepositoryInfos in interface org.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:
      getRepositoryInfo in interface org.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:
      getTypeChildren in interface org.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:
      getTypeDescendants in interface org.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:
      getTypeDefinition in interface org.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:
      createType in interface org.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:
      updateType in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
    • deleteType

      public void deleteType(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
      Specified by:
      deleteType in interface org.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:
      getChildren in interface org.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:
      getDescendants in interface org.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:
      getFolderTree in interface org.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:
      getObjectParents in interface org.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:
      getFolderParent in interface org.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:
      getCheckedOutDocs in interface org.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:
      createDocument in interface org.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:
      createDocumentFromSource in interface org.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:
      createFolder in interface org.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:
      createRelationship in interface org.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:
      createPolicy in interface org.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:
      createItem in interface org.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:
      getAllowableActions in interface org.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:
      getObject in interface org.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:
      getProperties in interface org.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:
      getRenditions in interface org.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:
      getObjectByPath in interface org.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:
      getContentStream in interface org.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:
      updateProperties in interface org.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:
      bulkUpdateProperties in interface org.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:
      moveObject in interface org.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:
      deleteObject in interface org.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:
      deleteTree in interface org.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:
      setContentStream in interface org.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:
      deleteContentStream in interface org.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:
      appendContentStream in interface org.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:
      checkOut in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
    • cancelCheckOut

      public void cancelCheckOut(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
      Specified by:
      cancelCheckOut in interface org.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:
      checkIn in interface org.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:
      getObjectOfLatestVersion in interface org.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:
      getPropertiesOfLatestVersion in interface org.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:
      getAllVersions in interface org.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:
      query in interface org.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:
      getContentChanges in interface org.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:
      addObjectToFolder in interface org.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:
      removeObjectFromFolder in interface org.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:
      getObjectRelationships in interface org.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:
      getAcl in interface org.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:
      applyAcl in interface org.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:
      applyPolicy in interface org.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:
      removePolicy in interface org.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:
      getAppliedPolicies in interface org.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:
      create in interface org.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:
      deleteObjectOrCancelCheckOut in interface org.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:
      applyAcl in interface org.apache.chemistry.opencmis.commons.server.CmisService
    • getObjectInfo

      public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId)
      Specified by:
      getObjectInfo in interface org.apache.chemistry.opencmis.commons.server.CmisService
    • close

      public void close()
      Specified by:
      close in interface org.apache.chemistry.opencmis.commons.server.CmisService