Interface Directory

All Superinterfaces:
Browsable, DirectoryEntry, Extensible, Federateable, Identifiable, OsidCatalog, OsidObject, Sourceable

public interface Directory extends OsidCatalog, DirectoryEntry

Directory represents a directory in a file system that may contain other files and directories.

  • Method Details

    • getDirectoryRecord

      DirectoryRecord getDirectoryRecord(Type directoryRecordType) throws OperationFailedException
      Gets the directory record corresponding to the given Directory record Type . This method is used to retrieve an object implementing the requested record. The directoryRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(directoryRecordType) is true .
      Parameters:
      directoryRecordType - the directory record type
      Returns:
      the directory record
      Throws:
      NullArgumentException - directoryRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(directoryRecordType) is false
      Compliance:
      mandatory - This method must be implemented.