Interface Folding

  • All Superinterfaces:
    Fileable
    All Known Implementing Classes:
    Application, CmisFolder, ContributionFolder, Publication, Space

    public interface Folding
    extends Fileable
    A file-able CMIS object having the capability to organize others file-able CMIS objects into a subtree of the main CMIS trees object. A folding object can then contains others file-able CMIS object as children.
    Author:
    mmoquillon
    • Method Detail

      • getParentId

        String getParentId()
        Gets the unique identifier of the folder parent of this one
        Specified by:
        getParentId in interface Fileable
        Returns:
        the unique identifier of the parent of this folding instance or null if it is a root folder.
      • isRoot

        boolean isRoot()
        Is this object is the root folder in the CMIS objects tree?
        Returns:
        true if this folder is the root of the CMIS objects tree. False otherwise.
      • getAllowedChildrenTypes

        List<TypeId> getAllowedChildrenTypes()
        Gets all the types this object accepts as children.
        Returns:
        a list of TypeId instances, each of them identifying the type of CMIS objects this folding object accepts as children.