OSID Logo
OSID Specifications
filing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.filing.Directory
Implementsosid.OsidCatalog
osid.filing.DirectoryEntry
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_ARGUMENT directoryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(directoryRecordType) is false
CompliancemandatoryThis method must be implemented.