OSID Logo
OSID Specifications
repository package
Version 3.0.0
Release Candidate Preview
Interfaceosid.repository.RepositorySearchOrder
Implementsosid.OsidCatalogSearchOrder
Description

An interface for specifying the ordering of search results.

MethodgetRepositorySearchOrderRecord
Description

Gets the repository search order record corresponding to the given repository record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TyperepositoryRecordTypea repository record type
Returnosid.repository.records.RepositorySearchOrderRecordthe repository search order record
ErrorsNULL_ARGUMENT repositoryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(repositoryRecordType) is false
CompliancemandatoryThis method must be implemented.