OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.BallotConstrainerEnablerSearch
Implementsosid.OsidSearch
Description

The search interface for governing ballot constrainer enabler searches.

MethodsearchAmongBallotConstrainerEnablers
Description

Execute this search among the given list of ballot constrainer enablers.

Parametersosid.id.IdListballotConstrainerEnablerIdslist of ballot constrainer enablers
ErrorsNULL_ARGUMENT ballotConstrainerEnablerIds is null
CompliancemandatoryThis method must be implemented.
MethodorderBallotConstrainerEnablerResults
Description

Specify an ordering to the search results.

Parametersosid.voting.rules.BallotConstrainerEnablerSearchOrderballotConstrainerEnablerSearchOrderballot constrainer enabler search order
ErrorsNULL_ARGUMENT ballotConstrainerEnablerSearchOrder is null
UNSUPPORTED ballotConstrainerEnablerSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetBallotConstrainerEnablerSearchRecord
Description

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

Parametersosid.type.TypeballotConstrainerEnablerSearchRecordTypea ballot constrainer enabler search record type
Returnosid.voting.rules.records.BallotConstrainerEnablerSearchRecordthe ballot constrainer enabler search record
ErrorsNULL_ARGUMENT ballotConstrainerEnablerSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ballotConstrainerEnablerSearchRecordType) is false
CompliancemandatoryThis method must be implemented.