OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Interfaceosid.voting.rules.VoteEnablerSearch
Implementsosid.OsidSearch
Used Byosid.voting.rules.VoteEnablerSearchSession
Description

The search interface for governing vote enabler searches.

MethodsearchAmongVoteEnablers
Description

Execute this search among the given list of vote enablers.

Parametersosid.id.IdListvoteEnablerIdslist of vote enablers
ErrorsNULL_ARGUMENTvoteEnablerIds is null
CompliancemandatoryThis method must be implemented.
MethodorderVoteEnablerResults
Description

Specify an ordering to the search results.

Parametersosid.voting.rules.VoteEnablerSearchOrdervoteEnablerSearchOrdervote enabler search order
ErrorsNULL_ARGUMENTvoteEnablerSearchOrder is null
UNSUPPORTEDvoteEnablerSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetVoteEnablerSearchRecord
Description

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

Parametersosid.type.TypevoteEnablerSearchRecordTypea vote enabler search record type
Returnosid.voting.rules.records.VoteEnablerSearchRecordthe vote enabler search record
ErrorsNULL_ARGUMENTvoteEnablerSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(voteEnablerSearchRecordType) is false
CompliancemandatoryThis method must be implemented.