Interface IDfFolder

All Superinterfaces:
IDfPersistentObject, IDfSysObject, IDfTypedObject

public interface IDfFolder extends IDfSysObject
This interface provides access to folder-related data stored in folder objects. The folder object serves, in conjunction with cabinets, to organize the contents of a repository.
  • Method Details

    • getFolderPath

      String getFolderPath(int index) throws DfException
      Returns a folder path to which a folder object is linked.
      Throws:
      DfException - if a server error occurs
    • getFolderPathCount

      int getFolderPathCount() throws DfException
      Returns the number of folder paths to which a folder object is linked.
      Throws:
      DfException - if a server error occurs
    • getAncestorId

      String getAncestorId(int index) throws DfException
      Returns the object ID (as a string) of all the folders or cabinets that contain, directly or indirectly, this folder.
      Throws:
      DfException - if a server error occurs
    • getAncestorIdCount

      int getAncestorIdCount() throws DfException
      Returns the number of folder objects that contain, directly or indirectly, this folder.
      Throws:
      DfException - if a server error occurs
    • getContents

      IDfCollection getContents(String attrNames) throws DfException
      Returns the values of specified attributes for all objects in a folder object.

      You can enter the following attributes for attrNames: object_name, a_content_type, r_object_type, r_object_id, r_lock_owner, and i_is_replica. If NULL is passed to attrNamesM, this method returns values for all the above attributes.

      Throws:
      DfException - if a server error occurs