com.atlassian.jira.issue.operations
Class WatchIssueOperation

java.lang.Object
  extended by com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
      extended by com.atlassian.jira.issue.operations.WatchIssueOperation
All Implemented Interfaces:
PluggableIssueOperation

public class WatchIssueOperation
extends AbstractPluggableIssueOperation


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
descriptor
 
Constructor Summary
WatchIssueOperation(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, WatcherManager watcherManager)
           
 
Method Summary
 String getHtml(Issue issue)
          Get the HTML to present on screen
 boolean isCanViewVoterWatcherList(Issue issue)
           
 boolean isCanViewWatcherList(Issue issue)
           
 boolean isWatchingAlready(Issue issue)
          Determine whether the current user is already watching the issue or not
 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

WatchIssueOperation

public WatchIssueOperation(JiraAuthenticationContext authenticationContext,
                           ApplicationProperties applicationProperties,
                           PermissionManager permissionManager,
                           WatcherManager watcherManager)
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)

isCanViewWatcherList

public boolean isCanViewWatcherList(Issue issue)

isWatchingAlready

public boolean isWatchingAlready(Issue issue)
Determine whether the current user is already watching the issue or not


showOperation

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



Copyright © 2002-2009 Atlassian. All Rights Reserved.