public interface Polls extends OsidCatalog
An inventory defines a collection of candidates.
Modifier and Type | Method and Description |
---|---|
PollsRecord |
getPollsRecord(Type pollsRecordType)
Gets the polls record corresponding to the given
Polls
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
PollsRecord getPollsRecord(Type pollsRecordType) throws OperationFailedException
Polls
record Type.
This method is used to retrieve an object
implementing the requested record. The pollsRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(pollsRecordType)
is true
.pollsRecordType
- the polls record typeNullArgumentException
- pollsRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(pollsRecordType)
is false
mandatory
- This method must be implemented.