com.atlassian.jira.portal.portlets
Class AbstractVotesAndWatchesPortlet
java.lang.Object
com.atlassian.jira.portal.PortletImpl
com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet
- All Implemented Interfaces:
- Portlet
- Direct Known Subclasses:
- MyVotesPortlet, MyWatchesPortlet
- public abstract class AbstractVotesAndWatchesPortlet
- extends PortletImpl
Methods inherited from class com.atlassian.jira.portal.PortletImpl |
equals, getCornerThumbnail, getDescription, getDescriptor, getId, getIssueConstant, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getViewHtml, hashCode, hasPermission, init |
sortOrder
SearchSort sortOrder
sortOrder2
SearchSort sortOrder2
constantsManager
protected final ConstantsManager constantsManager
issueManager
protected final IssueManager issueManager
AbstractVotesAndWatchesPortlet
public AbstractVotesAndWatchesPortlet(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
ConstantsManager constantsManager,
ApplicationProperties applicationProperties,
IssueManager issueManager)
getVelocityParams
protected Map getVelocityParams(PortletConfiguration portletConfiguration)
- Description copied from class:
PortletImpl
- Allow for the addition of additional Velocity parameters to the context.
Sub-classes may wish to override this to add their own object to the velocity context
- Overrides:
getVelocityParams
in class PortletImpl
isShowTotals
protected boolean isShowTotals(PortletConfiguration portletConfiguration)
isShowResolved
protected boolean isShowResolved(PortletConfiguration portletConfiguration)
hasViewPermission
public Boolean hasViewPermission(Issue issue)
getIssues
protected abstract List getIssues(User remoteUser,
PortletConfiguration portletConfiguration)
removeResolvedIssues
protected void removeResolvedIssues(Collection issues)
canRemoveAssociation
public abstract boolean canRemoveAssociation(Issue issue)
getLinkToViewAssociations
protected abstract String getLinkToViewAssociations()
getTotalAssociations
public abstract Long getTotalAssociations(Issue issue)
getToolTipText
public abstract String getToolTipText(String issueKey,
long size)
getRemoveIssueText
protected abstract String getRemoveIssueText()
getRemoveIssueLink
protected abstract String getRemoveIssueLink()
getNoIssuesText
protected abstract String getNoIssuesText()
getLinkToSearch
protected abstract String getLinkToSearch()
getSearchName
protected abstract String getSearchName()
Copyright © 2002-2006 Atlassian. All Rights Reserved.