public interface PollsForm extends OsidCatalogForm
This is the form for creating and updating polls.
Like
all OsidForm
objects, various data elements may be set here
for use in the create and update methods in the PollsAdminSession.
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 |
---|---|
PollsFormRecord |
getPollsFormRecord(Type pollsRecordType)
Gets the
PollsFormRecord corresponding to the given
polls record Type. |
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearBranding, clearLicense, clearProvider, getBrandingMetadata, getLicenseMetadata, getProviderMetadata, setBranding, setLicense, setProvider
PollsFormRecord getPollsFormRecord(Type pollsRecordType) throws OperationFailedException
PollsFormRecord
corresponding to the given
polls record Type.
pollsRecordType
- the polls record typeNullArgumentException
- pollsRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(pollsRecordType)
is false
mandatory
- This method must be implemented.