Class AlfrescoCmisServiceImpl

  • All Implemented Interfaces:
    AlfrescoCmisService, org.apache.chemistry.opencmis.commons.server.CmisService, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler, org.apache.chemistry.opencmis.commons.spi.AclService, org.apache.chemistry.opencmis.commons.spi.DiscoveryService, org.apache.chemistry.opencmis.commons.spi.MultiFilingService, org.apache.chemistry.opencmis.commons.spi.NavigationService, org.apache.chemistry.opencmis.commons.spi.ObjectService, org.apache.chemistry.opencmis.commons.spi.PolicyService, org.apache.chemistry.opencmis.commons.spi.RelationshipService, org.apache.chemistry.opencmis.commons.spi.RepositoryService, org.apache.chemistry.opencmis.commons.spi.VersioningService

    public class AlfrescoCmisServiceImpl
    extends org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
    implements AlfrescoCmisService
    OpenCMIS service implementation
    Since:
    4.0
    Author:
    florian.mueller, Derek Hulley, janv
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.alfresco.opencmis.dictionary.CMISNodeInfo addNodeInfo​(org.alfresco.opencmis.dictionary.CMISNodeInfo info)  
      void addObjectToFolder​(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      void afterCall()
      Called directly after any CMIS method is used
      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)  
      void beforeCall()
      Called directly before any CMIS method is used
      List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties​(String repositoryId, List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeTokens, 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)  
      protected void checkRepositoryId​(String repositoryId)  
      void close()  
      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)  
      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)  
      protected org.alfresco.opencmis.dictionary.CMISNodeInfo createNodeInfo​(org.alfresco.service.cmr.repository.AssociationRef assocRef)  
      protected CMISNodeInfoImpl createNodeInfo​(org.alfresco.service.cmr.repository.NodeRef nodeRef)  
      protected CMISNodeInfoImpl createNodeInfo​(org.alfresco.service.cmr.repository.NodeRef nodeRef, VersionHistory versionHistory, boolean checkExists)  
      protected CMISNodeInfoImpl createNodeInfo​(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName nodeType, Map<org.alfresco.service.namespace.QName,​Serializable> nodeProps, VersionHistory versionHistory, boolean checkExists)  
      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)  
      void deleteContentStream​(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      void deleteObject​(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      void deleteObjectOrCancelCheckOut​(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      org.apache.chemistry.opencmis.commons.data.FailedToDeleteData deleteTree​(String repositoryId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects, Boolean continueOnFailure, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      org.apache.chemistry.opencmis.commons.data.Acl getAcl​(String repositoryId, String objectId, Boolean onlyBasicPermissions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions​(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      List<org.apache.chemistry.opencmis.commons.data.ObjectData> 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.server.CallContext getContext()  
      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)
      Collects the ObjectInfo about an object.
      protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo​(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships)  
      protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo​(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships)  
      protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfoIntern​(String repositoryId, org.apache.chemistry.opencmis.commons.data.ObjectData object)
      Collects the ObjectInfo about an object.
      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)  
      protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateFolderInfo​(String folderId, String what)  
      protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateNodeInfo​(String objectId)  
      protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateNodeInfo​(String objectId, String what)  
      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.enums.IncludeRelationships getRequestParameterIncludeRelationships()  
      String getRequestParameterRenditionFilter()  
      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 void logGetObjectCall​(String methodName, long start, String idOrPath, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, Boolean isObjectInfoRequired, org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData)  
      protected void logGetObjectsCall​(String methodName, long start, String folderId, int itemCount, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData, BigInteger skipCount, BigInteger maxItems, String orderBy, BigInteger depth)  
      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)  
      void open​(org.apache.chemistry.opencmis.commons.server.CallContext context)
      Call before the work method and forms the opposite of CmisService.close().
      org.apache.chemistry.opencmis.commons.data.ObjectList query​(String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      void removeObjectFromFolder​(String repositoryId, String objectId, String folderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      void removePolicy​(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      void setContentStream​(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean overwriteFlag, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      void updateProperties​(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  
      • Methods inherited from class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

        addObjectInfo, clearObjectInfos, createType, deleteType, getBooleanProperty, getDateTimeProperty, getIdProperty, getIntegerProperty, getStringProperty, updateType
      • Methods inherited from interface org.apache.chemistry.opencmis.commons.spi.RepositoryService

        createType, deleteType, updateType
    • Constructor Detail

      • AlfrescoCmisServiceImpl

        public AlfrescoCmisServiceImpl​(CMISConnector connector)
    • Method Detail

      • open

        public void open​(org.apache.chemistry.opencmis.commons.server.CallContext context)
        Description copied from interface: AlfrescoCmisService
        Call before the work method and forms the opposite of CmisService.close().
        Specified by:
        open in interface AlfrescoCmisService
        Parameters:
        context - the context in which the service must operate
      • getContext

        protected org.apache.chemistry.opencmis.commons.server.CallContext getContext()
      • close

        public void close()
        Specified by:
        close in interface org.apache.chemistry.opencmis.commons.server.CmisService
        Overrides:
        close in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • createNodeInfo

        protected CMISNodeInfoImpl createNodeInfo​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
      • createNodeInfo

        protected CMISNodeInfoImpl createNodeInfo​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                                  VersionHistory versionHistory,
                                                  boolean checkExists)
      • createNodeInfo

        protected CMISNodeInfoImpl createNodeInfo​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                                  org.alfresco.service.namespace.QName nodeType,
                                                  Map<org.alfresco.service.namespace.QName,​Serializable> nodeProps,
                                                  VersionHistory versionHistory,
                                                  boolean checkExists)
      • createNodeInfo

        protected org.alfresco.opencmis.dictionary.CMISNodeInfo createNodeInfo​(org.alfresco.service.cmr.repository.AssociationRef assocRef)
      • getOrCreateNodeInfo

        protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateNodeInfo​(String objectId)
      • getOrCreateNodeInfo

        protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateNodeInfo​(String objectId,
                                                                                    String what)
      • getOrCreateFolderInfo

        protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateFolderInfo​(String folderId,
                                                                                      String what)
      • addNodeInfo

        protected org.alfresco.opencmis.dictionary.CMISNodeInfo addNodeInfo​(org.alfresco.opencmis.dictionary.CMISNodeInfo info)
      • 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
        Specified by:
        getRepositoryInfos in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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
        Specified by:
        getTypeChildren in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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
        Specified by:
        getTypeDefinition in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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
        Specified by:
        getChildren in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • logGetObjectsCall

        protected void logGetObjectsCall​(String methodName,
                                         long start,
                                         String folderId,
                                         int itemCount,
                                         String filter,
                                         Boolean includeAllowableActions,
                                         org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                                         String renditionFilter,
                                         Boolean includePathSegment,
                                         org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData,
                                         BigInteger skipCount,
                                         BigInteger maxItems,
                                         String orderBy,
                                         BigInteger depth)
      • logGetObjectCall

        protected void logGetObjectCall​(String methodName,
                                        long start,
                                        String idOrPath,
                                        String filter,
                                        Boolean includeAllowableActions,
                                        org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                                        String renditionFilter,
                                        Boolean includePolicyIds,
                                        Boolean includeAcl,
                                        Boolean isObjectInfoRequired,
                                        org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData)
      • getFolderParent

        public org.apache.chemistry.opencmis.commons.data.ObjectData getFolderParent​(String repositoryId,
                                                                                     String folderId,
                                                                                     String filter,
                                                                                     org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
        Specified by:
        getFolderParent in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
        Overrides:
        getFolderParent in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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
        Specified by:
        getObjectParents in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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
        Specified by:
        getObject in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • bulkUpdateProperties

        public List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties​(String repositoryId,
                                                                                                                      List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeTokens,
                                                                                                                      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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • getProperties

        public org.apache.chemistry.opencmis.commons.data.Properties getProperties​(String repositoryId,
                                                                                   String objectId,
                                                                                   String filter,
                                                                                   org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
        Specified by:
        getProperties in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
        Overrides:
        getProperties in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • 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 org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • getObjectInfo

        public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo​(String repositoryId,
                                                                                     String objectId)
        Collects the ObjectInfo about an object. (Provided by OpenCMIS, but optimized for Alfresco.)
        Specified by:
        getObjectInfo in interface org.apache.chemistry.opencmis.commons.server.CmisService
        Specified by:
        getObjectInfo in interface org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler
        Overrides:
        getObjectInfo in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • getObjectInfo

        protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo​(String repositoryId,
                                                                                        String objectId,
                                                                                        org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships)
      • getObjectInfo

        protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo​(String repositoryId,
                                                                                        String objectId,
                                                                                        String filter,
                                                                                        org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships)
      • getRequestParameterRenditionFilter

        public String getRequestParameterRenditionFilter()
      • getRequestParameterIncludeRelationships

        public org.apache.chemistry.opencmis.commons.enums.IncludeRelationships getRequestParameterIncludeRelationships()
      • getObjectInfoIntern

        protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfoIntern​(String repositoryId,
                                                                                              org.apache.chemistry.opencmis.commons.data.ObjectData object)
        Collects the ObjectInfo about an object. (Provided by OpenCMIS, but optimized for Alfresco.)
        Overrides:
        getObjectInfoIntern in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      • checkRepositoryId

        protected void checkRepositoryId​(String repositoryId)