com.atlassian.jira.issue.vote
Class DefaultVoteManager
java.lang.Object
com.atlassian.jira.issue.vote.DefaultVoteManager
- All Implemented Interfaces:
- VoteManager
public class DefaultVoteManager
- extends java.lang.Object
- implements VoteManager
Method Summary |
boolean |
addVote(com.opensymphony.user.User user,
org.ofbiz.core.entity.GenericValue issue)
|
java.util.Collection |
getVoters(org.ofbiz.core.entity.GenericValue issue)
|
boolean |
hasVoted(com.opensymphony.user.User user,
org.ofbiz.core.entity.GenericValue issue)
|
boolean |
isVotingEnabled()
|
boolean |
removeVote(com.opensymphony.user.User user,
org.ofbiz.core.entity.GenericValue issue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVoteManager
public DefaultVoteManager(ApplicationProperties applicationProperties,
com.atlassian.core.ofbiz.association.AssociationManager associationManager,
CacheManager cacheManager)
addVote
public boolean addVote(com.opensymphony.user.User user,
org.ofbiz.core.entity.GenericValue issue)
- Specified by:
addVote
in interface VoteManager
removeVote
public boolean removeVote(com.opensymphony.user.User user,
org.ofbiz.core.entity.GenericValue issue)
- Specified by:
removeVote
in interface VoteManager
getVoters
public java.util.Collection getVoters(org.ofbiz.core.entity.GenericValue issue)
- Specified by:
getVoters
in interface VoteManager
isVotingEnabled
public boolean isVotingEnabled()
- Specified by:
isVotingEnabled
in interface VoteManager
hasVoted
public boolean hasVoted(com.opensymphony.user.User user,
org.ofbiz.core.entity.GenericValue issue)
- Specified by:
hasVoted
in interface VoteManager
Copyright © 2002-2006 Atlassian. All Rights Reserved.