OSID Logo
OSID Specifications
filing package
Version 3.1.0
Interfaceosid.filing.Directory
Implementsosid.OsidCatalog
osid.filing.DirectoryEntry
Used Byosid.filing.DirectoryAdminSession
osid.filing.DirectoryList
osid.filing.DirectoryLookupSession
osid.filing.DirectoryNotificationSession
osid.filing.DirectoryQuerySession
osid.filing.FileContentSession
osid.filing.FileLookupSession
osid.filing.FileNotificationSession
osid.filing.FileQuerySession
osid.filing.FileSmartDirectorySession
show 6 more…
osid.filing.FileSystemManagementSession
osid.filing.FileSystemSession
osid.filing.allocation.Allocation
osid.filing.allocation.AllocationAdminSession
osid.filing.allocation.AllocationNotificationSession
osid.filing.allocation.AllocationSession
Description

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

MethodgetDirectoryRecord
Description

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.

Parametersosid.type.TypedirectoryRecordType the directory record type
Returnosid.filing.records.DirectoryRecord the directory record
ErrorsNULL_ARGUMENT directoryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(directoryRecordType) is false
Compliancemandatory This method must be implemented.