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)
           
 java.util.List getIssues(com.opensymphony.user.User remoteUser, PortletConfiguration portletConfiguration)
           
protected  java.lang.String getLinkToSearch()
           
protected  java.lang.String getLinkToViewAssociations()
           
protected  java.lang.String getNoIssuesText()
           
protected  java.lang.String getRemoveIssueLink()
           
protected  java.lang.String getRemoveIssueText()
           
protected  java.lang.String getSearchName()
           
 java.lang.String getToolTipText(java.lang.String issueKey, long size)
           
 java.lang.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 java.util.List getIssues(com.opensymphony.user.User remoteUser,
                                PortletConfiguration portletConfiguration)
Specified by:
getIssues in class AbstractVotesAndWatchesPortlet

canRemoveAssociation

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

getLinkToViewAssociations

protected java.lang.String getLinkToViewAssociations()
Specified by:
getLinkToViewAssociations in class AbstractVotesAndWatchesPortlet

getTotalAssociations

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

getToolTipText

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

getRemoveIssueText

protected java.lang.String getRemoveIssueText()
Specified by:
getRemoveIssueText in class AbstractVotesAndWatchesPortlet

getRemoveIssueLink

protected java.lang.String getRemoveIssueLink()
Specified by:
getRemoveIssueLink in class AbstractVotesAndWatchesPortlet

getNoIssuesText

protected java.lang.String getNoIssuesText()
Specified by:
getNoIssuesText in class AbstractVotesAndWatchesPortlet

getLinkToSearch

protected java.lang.String getLinkToSearch()
Specified by:
getLinkToSearch in class AbstractVotesAndWatchesPortlet

getSearchName

protected java.lang.String getSearchName()
Specified by:
getSearchName in class AbstractVotesAndWatchesPortlet


Copyright © 2002-2011 Atlassian. All Rights Reserved.