Class ConformanceCmisServiceWrapper

  • 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

    public class ConformanceCmisServiceWrapper
    extends AbstractCmisServiceWrapper
    Service wrapper that checks in incoming calls for specification conformance.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService

        org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addObjectToFolder​(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      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)  
      List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties​(String repositoryId, List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeToken, 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)  
      protected void checkBulkUpdateList​(List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> list)
      Throws an exception if the given list is null or empty or invalid.
      protected void checkContentStream​(org.apache.chemistry.opencmis.commons.data.ContentStream content)
      Throws an exception if the given content object is null.
      protected void checkHolderId​(String name, org.apache.chemistry.opencmis.commons.spi.Holder<String> holder)
      Throws an exception if the given holder or id is null or empty.
      protected void checkId​(String name, String id)
      Throws an exception if the given id is null or empty.
      protected void checkIds​(String name, String... ids)
      Throws an exception if the given ids are all null or empty.
      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)  
      protected void checkList​(String name, List<?> list)
      Throws an exception if the given list is null or empty.
      protected void checkNullOrPositive​(String name, BigInteger value)
      Throws an exception if the given value is negative.
      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)  
      protected void checkPath​(String name, String path)
      Throws an exception if the given path is null or invalid.
      protected void checkProperties​(org.apache.chemistry.opencmis.commons.data.Properties properties)
      Throws an exception if the given properties set is null.
      protected void checkProperty​(org.apache.chemistry.opencmis.commons.data.Properties properties, String propertyId, Class<?> clazz)
      Throws an exception if the given property isn't set or of the wrong type.
      protected void checkQueryStatement​(String statement)
      Throws an exception if the given query statement is null or empty.
      protected void checkRepositoryId​(String repositoryId)
      Throws an exception if the repository id is null or empty.
      protected void checkTypeDefinition​(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDef)
      Throws an exception if the given type definition is null.
      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)  
      protected org.apache.chemistry.opencmis.commons.exceptions.CmisBaseException createCmisException​(Exception e)
      Converts the given exception into a CMIS exception.
      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)  
      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)  
      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)  
      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)  
      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)  
      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)  
      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.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)  
      protected org.apache.chemistry.opencmis.commons.enums.AclPropagation getDefault​(org.apache.chemistry.opencmis.commons.enums.AclPropagation value)
      Returns the AclPropagation.REPOSITORYDETERMINED if value is null.
      protected org.apache.chemistry.opencmis.commons.enums.IncludeRelationships getDefault​(org.apache.chemistry.opencmis.commons.enums.IncludeRelationships value)
      Returns IncludeRelationships.NONE if value is null.
      protected org.apache.chemistry.opencmis.commons.enums.RelationshipDirection getDefault​(org.apache.chemistry.opencmis.commons.enums.RelationshipDirection value)
      Returns the RelationshipDirection.SOURCE if value is null .
      protected org.apache.chemistry.opencmis.commons.enums.UnfileObject getDefault​(org.apache.chemistry.opencmis.commons.enums.UnfileObject value)
      Returns UnfileObjects.DELETE if value is null.
      protected Boolean getDefaultFalse​(Boolean value)
      Returns false if value is null.
      protected String getDefaultRenditionFilter​(String value)
      Returns the "cmis:none" if value is null.
      protected Boolean getDefaultTrue​(Boolean value)
      Returns true if value is null.
      protected BigInteger getDepth​(BigInteger depth)
      Checks the depth parameter if it complies with CMIS specification and returns the default value if depth is null.
      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)  
      protected BigInteger getMaxItems​(BigInteger maxItems)
      Returns the default maxItems if maxItems == null, throws an exception if maxItems < 0, returns maxItems otherwise.
      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.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)  
      protected BigInteger getSkipCount​(BigInteger skipCount)
      Returns 0 if skipCount == null, throws an exception if skipCount < 0, returns skipCount otherwise.
      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)  
      protected BigInteger getTypesDepth​(BigInteger depth)
      Checks the depth parameter if it complies with CMIS specification and returns the default value if depth is null.
      protected BigInteger getTypesMaxItems​(BigInteger maxItems)
      Returns the default maxItems if maxItems == null, throws an exception if maxItems < 0, returns maxItems otherwise.
      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 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)  
      protected void setDefaultDepth​(BigInteger defaultDepth)
      Set the default depth.
      protected void setDefaultMaxItems​(BigInteger defaultMaxItems)
      Set the default maxItems.
      protected void setDefaultTypesDepth​(BigInteger defaultTypesDepth)
      Set the default depth.
      protected void setDefaultTypesMaxItems​(BigInteger defaultTypesMaxItems)
      Set the default maxItems.
      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)  
    • Field Detail

      • MINUS_ONE

        public static final BigInteger MINUS_ONE
    • Constructor Detail

      • ConformanceCmisServiceWrapper

        public ConformanceCmisServiceWrapper​(org.apache.chemistry.opencmis.commons.server.CmisService service)
        Constructor used by CmisServiceWrapperManager.
        Parameters:
        service - the CmisService object, not null
      • ConformanceCmisServiceWrapper

        public ConformanceCmisServiceWrapper​(org.apache.chemistry.opencmis.commons.server.CmisService service,
                                             BigInteger defaultTypesMaxItems,
                                             BigInteger defaultTypesDepth,
                                             BigInteger defaultMaxItems,
                                             BigInteger defaultDepth)
        Alternative constructor.
        Parameters:
        service - the CmisService object, not null
    • Method Detail

      • setDefaultTypesMaxItems

        protected void setDefaultTypesMaxItems​(BigInteger defaultTypesMaxItems)
        Set the default maxItems.
      • setDefaultTypesDepth

        protected void setDefaultTypesDepth​(BigInteger defaultTypesDepth)
        Set the default depth.
      • setDefaultMaxItems

        protected void setDefaultMaxItems​(BigInteger defaultMaxItems)
        Set the default maxItems.
      • setDefaultDepth

        protected void setDefaultDepth​(BigInteger defaultDepth)
        Set the default depth.
      • createCmisException

        protected org.apache.chemistry.opencmis.commons.exceptions.CmisBaseException createCmisException​(Exception e)
        Converts the given exception into a CMIS exception.
      • checkId

        protected void checkId​(String name,
                               String id)
        Throws an exception if the given id is null or empty.
      • checkIds

        protected void checkIds​(String name,
                                String... ids)
        Throws an exception if the given ids are all null or empty.
      • checkHolderId

        protected void checkHolderId​(String name,
                                     org.apache.chemistry.opencmis.commons.spi.Holder<String> holder)
        Throws an exception if the given holder or id is null or empty.
      • checkRepositoryId

        protected void checkRepositoryId​(String repositoryId)
        Throws an exception if the repository id is null or empty.
      • checkPath

        protected void checkPath​(String name,
                                 String path)
        Throws an exception if the given path is null or invalid.
      • checkProperties

        protected void checkProperties​(org.apache.chemistry.opencmis.commons.data.Properties properties)
        Throws an exception if the given properties set is null.
      • checkProperty

        protected void checkProperty​(org.apache.chemistry.opencmis.commons.data.Properties properties,
                                     String propertyId,
                                     Class<?> clazz)
        Throws an exception if the given property isn't set or of the wrong type.
      • checkContentStream

        protected void checkContentStream​(org.apache.chemistry.opencmis.commons.data.ContentStream content)
        Throws an exception if the given content object is null.
      • checkQueryStatement

        protected void checkQueryStatement​(String statement)
        Throws an exception if the given query statement is null or empty.
      • checkTypeDefinition

        protected void checkTypeDefinition​(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDef)
        Throws an exception if the given type definition is null.
      • checkList

        protected void checkList​(String name,
                                 List<?> list)
        Throws an exception if the given list is null or empty.
      • checkBulkUpdateList

        protected void checkBulkUpdateList​(List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> list)
        Throws an exception if the given list is null or empty or invalid.
      • getDefaultTrue

        protected Boolean getDefaultTrue​(Boolean value)
        Returns true if value is null.
      • getDefaultFalse

        protected Boolean getDefaultFalse​(Boolean value)
        Returns false if value is null.
      • getDefault

        protected org.apache.chemistry.opencmis.commons.enums.IncludeRelationships getDefault​(org.apache.chemistry.opencmis.commons.enums.IncludeRelationships value)
        Returns IncludeRelationships.NONE if value is null.
      • getDefault

        protected org.apache.chemistry.opencmis.commons.enums.UnfileObject getDefault​(org.apache.chemistry.opencmis.commons.enums.UnfileObject value)
        Returns UnfileObjects.DELETE if value is null.
      • getDefault

        protected org.apache.chemistry.opencmis.commons.enums.AclPropagation getDefault​(org.apache.chemistry.opencmis.commons.enums.AclPropagation value)
        Returns the AclPropagation.REPOSITORYDETERMINED if value is null.
      • getDefault

        protected org.apache.chemistry.opencmis.commons.enums.RelationshipDirection getDefault​(org.apache.chemistry.opencmis.commons.enums.RelationshipDirection value)
        Returns the RelationshipDirection.SOURCE if value is null .
      • getDefaultRenditionFilter

        protected String getDefaultRenditionFilter​(String value)
        Returns the "cmis:none" if value is null.
      • getTypesMaxItems

        protected BigInteger getTypesMaxItems​(BigInteger maxItems)
        Returns the default maxItems if maxItems == null, throws an exception if maxItems < 0, returns maxItems otherwise.
      • getTypesDepth

        protected BigInteger getTypesDepth​(BigInteger depth)
        Checks the depth parameter if it complies with CMIS specification and returns the default value if depth is null.
      • getMaxItems

        protected BigInteger getMaxItems​(BigInteger maxItems)
        Returns the default maxItems if maxItems == null, throws an exception if maxItems < 0, returns maxItems otherwise.
      • getSkipCount

        protected BigInteger getSkipCount​(BigInteger skipCount)
        Returns 0 if skipCount == null, throws an exception if skipCount < 0, returns skipCount otherwise.
      • getDepth

        protected BigInteger getDepth​(BigInteger depth)
        Checks the depth parameter if it complies with CMIS specification and returns the default value if depth is null.
      • checkNullOrPositive

        protected void checkNullOrPositive​(String name,
                                           BigInteger value)
        Throws an exception if the given value is negative.
      • 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
        Overrides:
        getRepositoryInfo in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getRepositoryInfos in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getTypeChildren in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getTypeDefinition in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getTypeDescendants in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        createType in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        updateType in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        deleteType in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getCheckedOutDocs in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getChildren in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getDescendants in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getFolderParent in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getFolderTree in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getObjectParents in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        create in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        createDocument in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        createDocumentFromSource in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        createFolder in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        createPolicy in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        createItem in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        createRelationship in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        deleteContentStream in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        deleteObject in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        deleteObjectOrCancelCheckOut in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        deleteTree in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getAllowableActions in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getContentStream in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getObject in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getObjectByPath in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getProperties in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getRenditions in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        moveObject in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        setContentStream in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        appendContentStream in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        updateProperties in class AbstractCmisServiceWrapper
      • bulkUpdateProperties

        public List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties​(String repositoryId,
                                                                                                                      List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeToken,
                                                                                                                      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
        Overrides:
        bulkUpdateProperties in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        cancelCheckOut in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        checkIn in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        checkOut in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getObjectOfLatestVersion in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getPropertiesOfLatestVersion in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getAllVersions in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getContentChanges in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        query in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        addObjectToFolder in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        removeObjectFromFolder in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getObjectRelationships in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        applyAcl in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        applyAcl in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getAcl in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        applyPolicy in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        getAppliedPolicies in class AbstractCmisServiceWrapper
      • 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
        Overrides:
        removePolicy in class AbstractCmisServiceWrapper