Class PublicApiAlfrescoCmisService

  • 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 PublicApiAlfrescoCmisService
    extends AlfrescoCmisServiceImpl
    Override OpenCMIS service object - for public api
    Since:
    PublicApi1.0
    Author:
    sglover
    • Method Detail

      • 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 AlfrescoCmisServiceImpl
      • 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)
        Overridden to capture content upload for publishing to analytics service.
        Specified by:
        createDocument in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
        Overrides:
        createDocument in class AlfrescoCmisServiceImpl
      • 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)
        Overridden to capture content upload for publishing to analytics service.
        Specified by:
        setContentStream in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
        Overrides:
        setContentStream in class AlfrescoCmisServiceImpl
      • 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 AlfrescoCmisServiceImpl
      • 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 AlfrescoCmisServiceImpl
      • close

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