public class AbstractVoting extends AbstractTally implements VotingSocialComponent
VOTING_RESOURCE_TYPEDEFAULT_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() |
String |
getNegativeLabel() |
long |
getNetCount() |
long |
getPositiveCount() |
String |
getPositiveLabel() |
boolean |
isCurrentUserLike() |
addResponse, getCanUserRespond, getCurrentUserResponse, getFriendlyUrl, getName, getResponseTallies, getTotalNumberOfResponses, removeCurrentUserResponsebuildJSONString, getAsMap, getId, getParentComponent, getProperties, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCanUserRespond, getCurrentUserResponse, getName, getResponseTallies, getTotalNumberOfResponsesgetAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, 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 String getPositiveLabel()
getPositiveLabel in interface VotingSocialComponentpublic String getNegativeLabel()
getNegativeLabel in interface VotingSocialComponentpublic boolean isCurrentUserLike()
isCurrentUserLike in interface VotingSocialComponent"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"