public interface Poll extends Tally<PollResponse>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_TITLE |
static java.lang.String |
RESOURCE_TYPE |
Modifier and Type | Method and Description |
---|---|
java.util.List<PollResponse> |
getAllowedResponses() |
java.util.Calendar |
getCloseDate() |
java.util.Calendar |
getCreateDate() |
java.lang.String |
getDescription() |
java.lang.String |
getId() |
java.lang.Long |
getPollResultForResponse(java.lang.String response) |
java.util.Map<PollResponse,java.lang.Long> |
getPollResults() |
java.lang.String |
getPollURL() |
java.lang.String |
getTitle() |
boolean |
isClosed() |
boolean |
isMultipleChoice() |
boolean |
isOtherAllowed() |
canUserRespond, canUserRespond, getCurrentUserResponse, getName, getResponses, getResponses, getResponseTallies, getTallyTarget, getTotalNumberOfResponses, getUseReferrerUrl, getUserResponse, setTallyResourceType, setUserResponse, setUserResponse, unsetUserResponse
static final java.lang.String RESOURCE_TYPE
static final java.lang.String DEFAULT_TITLE
java.lang.String getTitle()
java.util.List<PollResponse> getAllowedResponses()
boolean isMultipleChoice()
boolean isOtherAllowed()
java.lang.String getDescription()
boolean isClosed()
java.util.Calendar getCloseDate()
java.util.Calendar getCreateDate()
java.lang.String getPollURL()
java.lang.Long getPollResultForResponse(java.lang.String response)
response
- the string value for which the number of votes is requested for.java.util.Map<PollResponse,java.lang.Long> getPollResults()
java.lang.String getId()
Copyright © 2010 - 2020 Adobe. All Rights Reserved