public class AbstractVoting extends AbstractTally implements VotingSocialComponent
VOTING_RESOURCE_TYPE
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, getName, getResponseTallies, getTotalNumberOfResponses, removeCurrentUserResponse
getAsMap, getId, getProperties, getResource, getResourceType, getUrl, toJSONString
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCanUserRespond, getCurrentUserResponse, getName, getResponseTallies, getTotalNumberOfResponses
getAsMap, getId, getProperties, getResource, getResourceType, 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 String getPositiveLabel()
getPositiveLabel
in interface VotingSocialComponent
public String getNegativeLabel()
getNegativeLabel
in interface VotingSocialComponent
public boolean isCurrentUserLike()
isCurrentUserLike
in interface VotingSocialComponent
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"