Class LDCmisService

java.lang.Object
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
com.logicaldoc.cmis.LDCmisService
All Implemented Interfaces:
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 LDCmisService extends org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
LogicalDOC implementation of the CMIS service
Since:
6.5.1
Author:
Marco Meschieri - LogicalDOC
  • Constructor Summary

    Constructors
    Constructor
    Description
    LDCmisService(org.apache.chemistry.opencmis.commons.server.CallContext context, String sid)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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)
     
    create(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    createDocument(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    createDocumentFromSource(String repositoryId, String sourceId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    createFolder(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    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)
     
    org.apache.chemistry.opencmis.commons.server.CallContext
     
    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)
     
    org.apache.chemistry.opencmis.commons.data.ObjectData
    getFolderParent(String repositoryId, String folderId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.data.ObjectData
    getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.data.ObjectData
    getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.server.ObjectInfo
    getObjectInfo(String repositoryId, String objectId)
     
    org.apache.chemistry.opencmis.commons.data.ObjectData
    getObjectOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    List<org.apache.chemistry.opencmis.commons.data.ObjectParentData>
    getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.data.Properties
    getProperties(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.data.Properties
    getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    List<org.apache.chemistry.opencmis.commons.data.RenditionData>
    getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
     
    org.apache.chemistry.opencmis.commons.data.RepositoryInfo
    getRepositoryInfo(String repositoryId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo>
    getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
     
    org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList
    getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    org.apache.chemistry.opencmis.commons.definitions.TypeDefinition
    getTypeDefinition(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer>
    getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
     
    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
    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, addObjectToFolder, applyAcl, applyAcl, applyPolicy, bulkUpdateProperties, clearObjectInfos, close, createItem, createPolicy, createRelationship, createType, deleteContentStream, deleteObject, deleteType, getAppliedPolicies, getCheckedOutDocs, getDescendants, getFolderTree, getObjectRelationships, removeObjectFromFolder, removePolicy, updateType

    Methods inherited from class java.lang.Object

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

    • LDCmisService

      public LDCmisService(org.apache.chemistry.opencmis.commons.server.CallContext context, String sid)
      Constructor
      Parameters:
      context - the call context
      sid - identifier of the session
  • Method Details

    • getCallContext

      public org.apache.chemistry.opencmis.commons.server.CallContext getCallContext()
    • 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
    • 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
    • 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
    • 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
    • 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
    • getObjectInfo

      public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId)
      Specified by:
      getObjectInfo in interface org.apache.chemistry.opencmis.commons.server.CmisService
      Specified by:
      getObjectInfo in interface org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler
      Overrides:
      getObjectInfo 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • getSid

      public String getSid()
    • getRepository

      public LDRepository getRepository()
    • 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
    • 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
    • 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
    • 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
    • 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