OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.BallotConstrainerEnablerSearchOrder
Implementsosid.OsidEnablerSearchOrder
Description

An interface for specifying the ordering of search results.

MethodgetBallotConstrainerEnablerSearchOrderRecord
Description

Gets the ballot constrainer enabler search order record corresponding to the given ballot constrainer enabler record Type. Multiple retrievals return the same underlying object.

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