OSID Logo
OSID Specifications
authorization package
Version 3.0.0
Release Candidate Preview
Interfaceosid.authorization.AuthorizationSearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetAuthorizations
Description

Gets the authorization list resulting from the search.

Returnosid.authorization.AuthorizationListthe authorization list
ErrorsILLEGAL_STATElist has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetAuthorizationQueryInspector
Description

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

Returnosid.authorization.AuthorizationQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetAuthorizationSearchResultsRecord
Description

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

Parametersosid.type.TypeauthorizationSearchRecordTypean authorization search record type
Returnosid.authorization.records.AuthorizationSearchResultsRecordthe authorization search results record
ErrorsNULL_ARGUMENT authorizationSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(authorizationSearchRecordType) is false
CompliancemandatoryThis method must be implemented.