com.atlassian.jira.issue.operations
Class VoteIssueOperation

java.lang.Object
  extended bycom.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
      extended bycom.atlassian.jira.issue.operations.VoteIssueOperation
All Implemented Interfaces:
PluggableIssueOperation

public class VoteIssueOperation
extends AbstractPluggableIssueOperation


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
descriptor
 
Constructor Summary
VoteIssueOperation(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, VoteManager voteManager)
           
 
Method Summary
 String getHtml(Issue issue)
          Get the HTML to present on screen
 boolean isCanViewVoterWatcherList(Issue issue)
           
 boolean isIssueReportedByMe(Issue issue)
           
 boolean isVotedAlready(Issue issue)
           
 boolean showOperation(Issue issue)
          Whether or not to show this operation for the given issue.
 
Methods inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
getBullet, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoteIssueOperation

public VoteIssueOperation(JiraAuthenticationContext authenticationContext,
                          ApplicationProperties applicationProperties,
                          PermissionManager permissionManager,
                          VoteManager voteManager)
Method Detail

getHtml

public String getHtml(Issue issue)
Description copied from interface: PluggableIssueOperation
Get the HTML to present on screen


isCanViewVoterWatcherList

public boolean isCanViewVoterWatcherList(Issue issue)

isIssueReportedByMe

public boolean isIssueReportedByMe(Issue issue)

isVotedAlready

public boolean isVotedAlready(Issue issue)

showOperation

public boolean showOperation(Issue issue)
Description copied from interface: PluggableIssueOperation
Whether or not to show this operation for the given issue.



Copyright © 2002-2007 Atlassian. All Rights Reserved.