public class AbstractTally extends BaseSocialComponent implements TallySocialComponent
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(String value)
Deprecated.
|
boolean |
getCanUserRespond() |
ResponseValue |
getCurrentUserResponse() |
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.
|
String |
getName() |
Map<String,Long> |
getResponseTallies() |
Long |
getTotalNumberOfResponses() |
void |
removeCurrentUserResponse()
Deprecated.
|
buildJSONString, getAsMap, getId, getParentComponent, getProperties, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsMap, getId, getParentComponent, getProperties, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringpublic AbstractTally(Resource resource, ClientUtilities clientUtils)
public String getName()
getName in interface TallySocialComponentpublic 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 Map<String,Long> getResponseTallies()
getResponseTallies in interface TallySocialComponent@Deprecated public void addResponse(String value)
@Deprecated public void removeCurrentUserResponse()
public boolean getCanUserRespond()
getCanUserRespond in interface TallySocialComponentpublic String getFriendlyUrl()
SocialComponentgetFriendlyUrl in interface SocialComponentgetFriendlyUrl in class BaseSocialComponent"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"