OSID Logo
OSID Specifications
filing package
Version 3.0.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.TypedirectoryRecordTypethe directory record type
Returnosid.filing.records.DirectoryRecordthe directory record
ErrorsNULL_ARGUMENTdirectoryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(directoryRecordType) is false
CompliancemandatoryThis method must be implemented.