public class AbstractVoting extends AbstractTally implements VotingSocialComponent
VOTING_RESOURCE_TYPE
CSV_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, removeCurrentUserResponse
buildJSONString, getAsMap, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCanUserRespond, getCurrentUserResponse, getName, getResponseTallies, getTotalNumberOfResponses
getAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
public AbstractVoting(Resource resource)
public AbstractVoting(Resource resource, ClientUtilities clientUtils)
public long getNetCount()
getNetCount
in interface VotingSocialComponent
public long getPositiveCount()
getPositiveCount
in interface VotingSocialComponent
public long getNegativeCount()
getNegativeCount
in interface VotingSocialComponent
public java.lang.String getPositiveLabel()
getPositiveLabel
in interface VotingSocialComponent
public java.lang.String getNegativeLabel()
getNegativeLabel
in interface VotingSocialComponent
public boolean isCurrentUserLike()
isCurrentUserLike
in interface VotingSocialComponent
Copyright © 2010 - 2020 Adobe. All Rights Reserved