public class AbstractVoting extends AbstractTally implements VotingSocialComponent
VOTING_RESOURCE_TYPECSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR| Constructor and Description |
|---|
AbstractVoting(Resource resource) |
AbstractVoting(Resource resource,
ClientUtilities clientUtils) |
| Modifier and Type | Method and Description |
|---|---|
long |
getNegativeCount() |
java.lang.String |
getNegativeLabel() |
long |
getNetCount() |
long |
getPositiveCount() |
java.lang.String |
getPositiveLabel() |
boolean |
isCurrentUserLike() |
addResponse, getCanUserRespond, getCurrentUserResponse, getFriendlyUrl, getName, getResponseTallies, getTotalNumberOfResponses, removeCurrentUserResponsebuildJSONString, getAsMap, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCanUserRespond, getCurrentUserResponse, getName, getResponseTallies, getTotalNumberOfResponsesgetAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringpublic AbstractVoting(Resource resource)
public AbstractVoting(Resource resource, ClientUtilities clientUtils)
public long getNetCount()
getNetCount in interface VotingSocialComponentpublic long getPositiveCount()
getPositiveCount in interface VotingSocialComponentpublic long getNegativeCount()
getNegativeCount in interface VotingSocialComponentpublic java.lang.String getPositiveLabel()
getPositiveLabel in interface VotingSocialComponentpublic java.lang.String getNegativeLabel()
getNegativeLabel in interface VotingSocialComponentpublic boolean isCurrentUserLike()
isCurrentUserLike in interface VotingSocialComponentCopyright © 2010 - 2023 Adobe. All Rights Reserved