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, toJSONString
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsMap, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
public AbstractTally(Resource resource, ClientUtilities clientUtils)
public java.lang.String getName()
getName
in interface TallySocialComponent
public java.lang.Long getTotalNumberOfResponses()
getTotalNumberOfResponses
in interface TallySocialComponent
public ResponseValue getCurrentUserResponse() throws TallyException
getCurrentUserResponse
in interface TallySocialComponent
TallyException
- 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 TallySocialComponent
public java.lang.String getFriendlyUrl()
SocialComponent
getFriendlyUrl
in interface SocialComponent
getFriendlyUrl
in class BaseSocialComponent
Copyright © 2010 - 2020 Adobe. All Rights Reserved