OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Release Candidate Preview
Interfaceosid.personnel.RealmSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetRealms
Description

Gets the realm list resulting from a search.

Returnosid.personnel.RealmListthe realm list
ErrorsILLEGAL_STATEthe list has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetRealmQueryInspector
Description

Gets the inspector for the query to examine the terms used in the search.

Returnosid.personnel.RealmQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetRealmSearchResultsRecord
Description

Gets the record corresponding to the given realm search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TyperealmSearchRecordTypea realm search record type
Returnosid.personnel.records.RealmSearchResultsRecordthe realm search results record
ErrorsNULL_ARGUMENT realmSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(realmSearchRecordType) is false
CompliancemandatoryThis method must be implemented.