OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.BallotConstrainerSearchOrder
Implementsosid.OsidConstrainerSearchOrder
Description

An interface for specifying the ordering of search results.

MethodgetBallotConstrainerSearchOrderRecord
Description

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

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