Class NuxeoFolder

All Implemented Interfaces:
org.apache.chemistry.opencmis.client.api.CmisObject, org.apache.chemistry.opencmis.client.api.CmisObjectProperties, org.apache.chemistry.opencmis.client.api.FileableCmisObject, org.apache.chemistry.opencmis.client.api.Folder, org.apache.chemistry.opencmis.client.api.FolderProperties, org.apache.chemistry.opencmis.client.api.ObjectId

public class NuxeoFolder extends NuxeoFileableObject implements org.apache.chemistry.opencmis.client.api.Folder
Live local CMIS Folder, which is backed by a Nuxeo folderish document.
  • Constructor Details

    • NuxeoFolder

      public NuxeoFolder(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
  • Method Details

    • getFolderType

      public org.apache.chemistry.opencmis.client.api.FolderType getFolderType()
      Specified by:
      getFolderType in interface org.apache.chemistry.opencmis.client.api.Folder
    • createDocument

      public org.apache.chemistry.opencmis.client.api.Document createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
      Specified by:
      createDocument in interface org.apache.chemistry.opencmis.client.api.Folder
    • createDocument

      public org.apache.chemistry.opencmis.client.api.Document createDocument(Map<String,?> properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      createDocument in interface org.apache.chemistry.opencmis.client.api.Folder
    • createDocumentFromSource

      public NuxeoDocument createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source, Map<String,?> properties, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
      Specified by:
      createDocumentFromSource in interface org.apache.chemistry.opencmis.client.api.Folder
    • createDocumentFromSource

      public NuxeoDocument createDocumentFromSource(org.apache.chemistry.opencmis.client.api.ObjectId source, Map<String,?> properties, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addACEs, List<org.apache.chemistry.opencmis.commons.data.Ace> removeACEs, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      createDocumentFromSource in interface org.apache.chemistry.opencmis.client.api.Folder
    • createFolder

      public org.apache.chemistry.opencmis.client.api.Folder createFolder(Map<String,?> properties)
      Specified by:
      createFolder in interface org.apache.chemistry.opencmis.client.api.Folder
    • createFolder

      public org.apache.chemistry.opencmis.client.api.Folder createFolder(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      createFolder in interface org.apache.chemistry.opencmis.client.api.Folder
    • createPolicy

      public org.apache.chemistry.opencmis.client.api.Policy createPolicy(Map<String,?> properties)
      Specified by:
      createPolicy in interface org.apache.chemistry.opencmis.client.api.Folder
    • createPolicy

      public org.apache.chemistry.opencmis.client.api.Policy createPolicy(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      createPolicy in interface org.apache.chemistry.opencmis.client.api.Folder
    • createItem

      public org.apache.chemistry.opencmis.client.api.Item createItem(Map<String,?> properties)
      Specified by:
      createItem in interface org.apache.chemistry.opencmis.client.api.Folder
    • createItem

      public org.apache.chemistry.opencmis.client.api.Item createItem(Map<String,?> properties, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      createItem in interface org.apache.chemistry.opencmis.client.api.Folder
    • deleteTree

      public List<String> deleteTree(boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfile, boolean continueOnFailure)
      Specified by:
      deleteTree in interface org.apache.chemistry.opencmis.client.api.Folder
    • getAllowedChildObjectTypes

      public List<org.apache.chemistry.opencmis.client.api.ObjectType> getAllowedChildObjectTypes()
      Specified by:
      getAllowedChildObjectTypes in interface org.apache.chemistry.opencmis.client.api.FolderProperties
    • getCheckedOutDocs

      public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> getCheckedOutDocs()
      Specified by:
      getCheckedOutDocs in interface org.apache.chemistry.opencmis.client.api.Folder
    • getCheckedOutDocs

      public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.Document> getCheckedOutDocs(org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      getCheckedOutDocs in interface org.apache.chemistry.opencmis.client.api.Folder
    • getChildren

      public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> getChildren()
      Specified by:
      getChildren in interface org.apache.chemistry.opencmis.client.api.Folder
    • getChildren

      public org.apache.chemistry.opencmis.client.api.ItemIterable<org.apache.chemistry.opencmis.client.api.CmisObject> getChildren(org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      getChildren in interface org.apache.chemistry.opencmis.client.api.Folder
    • getDescendants

      public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getDescendants(int depth)
      Specified by:
      getDescendants in interface org.apache.chemistry.opencmis.client.api.Folder
    • getDescendants

      public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getDescendants(int depth, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      getDescendants in interface org.apache.chemistry.opencmis.client.api.Folder
    • getFolderParent

      public org.apache.chemistry.opencmis.client.api.Folder getFolderParent()
      Specified by:
      getFolderParent in interface org.apache.chemistry.opencmis.client.api.Folder
    • getParentId

      public String getParentId()
      Specified by:
      getParentId in interface org.apache.chemistry.opencmis.client.api.FolderProperties
    • getFolderTree

      public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getFolderTree(int depth)
      Specified by:
      getFolderTree in interface org.apache.chemistry.opencmis.client.api.Folder
    • getFolderTree

      public List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject>> getFolderTree(int depth, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      getFolderTree in interface org.apache.chemistry.opencmis.client.api.Folder
    • getPath

      public String getPath()
      Specified by:
      getPath in interface org.apache.chemistry.opencmis.client.api.Folder
    • isRootFolder

      public boolean isRootFolder()
      Specified by:
      isRootFolder in interface org.apache.chemistry.opencmis.client.api.Folder