OSID Logo
OSID Specifications
authentication package
Version 3.0.0
Release Candidate Preview
Interfaceosid.authentication.AgencySearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetAgencies
Description

Gets the agency list resultrng from a search.

Returnosid.authentication.AgencyListthe agency list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetAgencyQueryInspector
Description

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

Returnosid.authentication.AgencyQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetAgencySearchResultsRecord
Description

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

Parametersosid.type.TypeagencySearchRecordTypean agency search record type
Returnosid.authentication.records.AgencySearchResultsRecordthe agency search results record
ErrorsNULL_ARGUMENT agencySearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(agencySearchRecordType) is false
CompliancemandatoryThis method must be implemented.