public interface BallotConstrainerForm extends OsidConstrainerForm
This is the form for creating and updating BallotConstrainers.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
BallotConstrainerAdminSession.
For each data element that may be
set, metadata may be examined to provide display hints or data
constraints.
Modifier and Type | Method and Description |
---|---|
BallotConstrainerFormRecord |
getBallotConstrainerFormRecord(Type ballotConstrainerRecordType)
Gets the
BallotConstrainerFormRecord corresponding to
the given ballot constrainer record Type. |
clearRule, getRuleMetadata, setRule
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabled
BallotConstrainerFormRecord getBallotConstrainerFormRecord(Type ballotConstrainerRecordType) throws OperationFailedException
BallotConstrainerFormRecord
corresponding to
the given ballot constrainer record Type.
ballotConstrainerRecordType
- a ballot constrainer record typeNullArgumentException
-
ballotConstrainerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(ballotConstrainerRecordType)
is
false
mandatory
- This method must be implemented.