OSID Logo
OSID Specifications
recognition package
Version 3.1.0
Interfaceosid.recognition.AwardSearchSession
Implementsosid.recognition.AwardQuerySession
Used Byosid.recognition.RecognitionManager
osid.recognition.RecognitionProxyManager
Description

This session provides methods for searching Awards. The search query is constructed using the AwardQuery. The award record Type also specifies the record for the award query.

getAwardsByQuery() is the basic search method and returns a list of Award elements. A more advanced search may be performed with getAwardsBySearch(). It accepts an AwardSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getAwardsBySearch() returns an AwardSearchResults that can be used to access the resulting AwardList or be used to perform a search within the result set through AwardSearch.

Awards may have a query record indicated by their respective record types. The query record is accessed via the AwardQuery. The returns in this session may not be cast directly to these interfaces.

MethodgetAwardSearch
Description

Gets an award search.

Returnosid.recognition.AwardSearch the award search
Compliancemandatory This method must be implemented.
MethodgetAwardSearchOrder
Description

Gets an award search order. The AwardSearchOrder is supplied to an AwardSearch to specify the ordering of results.

Returnosid.recognition.AwardSearchOrder the award search order
Compliancemandatory This method must be implemented.
MethodgetAwardsBySearch
Description

Gets the search results matching the given search.

Parametersosid.recognition.AwardQueryawardQuery the award query
osid.recognition.AwardSearchawardSearch the award search
Returnosid.recognition.AwardSearchResults the award search results
ErrorsNULL_ARGUMENT awardQuery or awardSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED awardQuery or awardSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetAwardQueryFromInspector
Description

Gets an award query from an inspector. The inspector is available from an AwardSearchResults.

Parametersosid.recognition.AwardQueryInspectorawardQueryInspector an award query inspector
Returnosid.recognition.AwardQuery the academy query
ErrorsNULL_ARGUMENT awardQueryInspector is null
UNSUPPORTED awardQueryInspector is not of this service
Compliancemandatory This method must be implemented.