com.atlassian.jira.portal.portlets
Class MyWatchesPortlet

java.lang.Object
  extended by com.atlassian.jira.portal.PortletImpl
      extended by com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet
          extended by com.atlassian.jira.portal.portlets.MyWatchesPortlet
All Implemented Interfaces:
Portlet

public class MyWatchesPortlet
extends AbstractVotesAndWatchesPortlet


Field Summary
 
Fields inherited from class com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet
constantsManager, issueManager
 
Fields inherited from class com.atlassian.jira.portal.PortletImpl
applicationProperties, authenticationContext, permissionManager
 
Constructor Summary
MyWatchesPortlet(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ConstantsManager constantsManager, ApplicationProperties applicationProperties, IssueManager issueManager, WatcherManager watcherManager)
           
 
Method Summary
 boolean canRemoveAssociation(Issue issue)
           
 List getIssues(User remoteUser, PortletConfiguration portletConfiguration)
           
protected  String getLinkToSearch()
           
protected  String getLinkToViewAssociations()
           
protected  String getNoIssuesText()
           
protected  String getRemoveIssueLink()
           
protected  String getRemoveIssueText()
           
protected  String getSearchName()
           
 String getToolTipText(String issueKey, long size)
           
 Long getTotalAssociations(Issue issue)
           
 
Methods inherited from class com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet
getVelocityParams, hasViewPermission, isShowResolved, isShowTotals, removeResolvedIssues
 
Methods inherited from class com.atlassian.jira.portal.PortletImpl
equals, getCornerThumbnail, getCornerThumbnailPath, getDescription, getDescriptor, getId, getIssueConstant, getListFromMultiSelectValue, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getThumbnailPath, getViewHtml, hashCode, hasPermission, init, isEditablePortletConfig
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyWatchesPortlet

public MyWatchesPortlet(JiraAuthenticationContext authenticationContext,
                        PermissionManager permissionManager,
                        ConstantsManager constantsManager,
                        ApplicationProperties applicationProperties,
                        IssueManager issueManager,
                        WatcherManager watcherManager)
Method Detail

getIssues

public List getIssues(User remoteUser,
                      PortletConfiguration portletConfiguration)
Specified by:
getIssues in class AbstractVotesAndWatchesPortlet

canRemoveAssociation

public boolean canRemoveAssociation(Issue issue)
Specified by:
canRemoveAssociation in class AbstractVotesAndWatchesPortlet

getLinkToViewAssociations

protected String getLinkToViewAssociations()
Specified by:
getLinkToViewAssociations in class AbstractVotesAndWatchesPortlet

getTotalAssociations

public Long getTotalAssociations(Issue issue)
Specified by:
getTotalAssociations in class AbstractVotesAndWatchesPortlet

getToolTipText

public String getToolTipText(String issueKey,
                             long size)
Specified by:
getToolTipText in class AbstractVotesAndWatchesPortlet

getRemoveIssueText

protected String getRemoveIssueText()
Specified by:
getRemoveIssueText in class AbstractVotesAndWatchesPortlet

getRemoveIssueLink

protected String getRemoveIssueLink()
Specified by:
getRemoveIssueLink in class AbstractVotesAndWatchesPortlet

getNoIssuesText

protected String getNoIssuesText()
Specified by:
getNoIssuesText in class AbstractVotesAndWatchesPortlet

getLinkToSearch

protected String getLinkToSearch()
Specified by:
getLinkToSearch in class AbstractVotesAndWatchesPortlet

getSearchName

protected String getSearchName()
Specified by:
getSearchName in class AbstractVotesAndWatchesPortlet


Copyright © 2002-2010 Atlassian. All Rights Reserved.