public class AbstractTally extends BaseSocialComponent implements TallySocialComponent
CSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR| Constructor and Description |
|---|
AbstractTally(Resource resource,
ClientUtilities clientUtils) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResponse(java.lang.String value)
Deprecated.
|
boolean |
getCanUserRespond() |
ResponseValue |
getCurrentUserResponse() |
java.lang.String |
getFriendlyUrl()
Get a url that can be used to display this component, most of the time, this is the page url that contains the
component.
|
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.Long> |
getResponseTallies() |
java.lang.Long |
getTotalNumberOfResponses() |
void |
removeCurrentUserResponse()
Deprecated.
|
buildJSONString, getAsMap, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsMap, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringpublic AbstractTally(Resource resource, ClientUtilities clientUtils)
public java.lang.String getName()
getName in interface TallySocialComponentpublic java.lang.Long getTotalNumberOfResponses()
getTotalNumberOfResponses in interface TallySocialComponentpublic ResponseValue getCurrentUserResponse() throws TallyException
getCurrentUserResponse in interface TallySocialComponentTallyException - if there was an error retrieving the current users response.public java.util.Map<java.lang.String,java.lang.Long> getResponseTallies()
getResponseTallies in interface TallySocialComponent@Deprecated public void addResponse(java.lang.String value)
@Deprecated public void removeCurrentUserResponse()
public boolean getCanUserRespond()
getCanUserRespond in interface TallySocialComponentpublic java.lang.String getFriendlyUrl()
SocialComponentgetFriendlyUrl in interface SocialComponentgetFriendlyUrl in class BaseSocialComponentCopyright © 2010 - 2023 Adobe. All Rights Reserved