public interface BallotConstrainer extends OsidConstrainer
A BallotConstrainer
describes the rules for constraining
the resources in a ballot.
Modifier and Type | Method and Description |
---|---|
BallotConstrainerRecord |
getBallotConstrainerRecord(Type ballotConstrainerRecordType)
Gets the ballot constrainer record corresponding to the given
BallotConstrainer record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isActive, isDisabled, isEnabled, isOperational
BallotConstrainerRecord getBallotConstrainerRecord(Type ballotConstrainerRecordType) throws OperationFailedException
BallotConstrainer
record Type.
This method is
used to retrieve an object implementing the requested record. The
ballotConstrainerRecordType
may be the Type
returned in getRecordTypes()
or any of its
parents in a Type
hierarchy where
hasRecordType(ballotConstrainerRecordType)
is true
.ballotConstrainerRecordType
- the type of ballot constrainer
record to retrieveNullArgumentException
-
ballotConstrainerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(ballotConstrainerRecordType)
is
false
mandatory
- This method must be implemented.