Class NuxeoFileableObject

java.lang.Object
org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
org.nuxeo.ecm.core.opencmis.impl.client.NuxeoFileableObject
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.ObjectId
Direct Known Subclasses:
NuxeoDocument, NuxeoFolder

public abstract class NuxeoFileableObject extends NuxeoObject implements org.apache.chemistry.opencmis.client.api.FileableCmisObject
Base abstract fileable live local CMIS Object.
  • Constructor Details

    • NuxeoFileableObject

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

    • getParents

      public List<org.apache.chemistry.opencmis.client.api.Folder> getParents(org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      getParents in interface org.apache.chemistry.opencmis.client.api.FileableCmisObject
    • getParents

      public List<org.apache.chemistry.opencmis.client.api.Folder> getParents()
      Specified by:
      getParents in interface org.apache.chemistry.opencmis.client.api.FileableCmisObject
    • getPaths

      public List<String> getPaths()
      Specified by:
      getPaths in interface org.apache.chemistry.opencmis.client.api.FileableCmisObject
    • addToFolder

      public void addToFolder(org.apache.chemistry.opencmis.client.api.ObjectId folderId, boolean allVersions)
      Specified by:
      addToFolder in interface org.apache.chemistry.opencmis.client.api.FileableCmisObject
    • removeFromFolder

      public void removeFromFolder(org.apache.chemistry.opencmis.client.api.ObjectId folderId)
      Specified by:
      removeFromFolder in interface org.apache.chemistry.opencmis.client.api.FileableCmisObject
    • move

      public NuxeoFileableObject move(org.apache.chemistry.opencmis.client.api.ObjectId sourceFolder, org.apache.chemistry.opencmis.client.api.ObjectId targetFolder, org.apache.chemistry.opencmis.client.api.OperationContext context)
      Specified by:
      move in interface org.apache.chemistry.opencmis.client.api.FileableCmisObject
    • move

      public NuxeoFileableObject move(org.apache.chemistry.opencmis.client.api.ObjectId sourceFolder, org.apache.chemistry.opencmis.client.api.ObjectId targetFolder)
      Specified by:
      move in interface org.apache.chemistry.opencmis.client.api.FileableCmisObject