com.atlassian.jira.portal.portlets
Class SavedFiltersPortlet
java.lang.Object
com.atlassian.jira.portal.PortletImpl
com.atlassian.jira.portal.portlets.AbstractRequiresUserPortlet
com.atlassian.jira.portal.portlets.SavedFiltersPortlet
- All Implemented Interfaces:
- LazyLoadingPortlet, Portlet
public class SavedFiltersPortlet
- extends AbstractRequiresUserPortlet
- implements LazyLoadingPortlet
Methods inherited from class com.atlassian.jira.portal.PortletImpl |
equals, getCornerThumbnail, getCornerThumbnailPath, getDescription, getDescriptor, getId, getIssueConstant, getListFromMultiSelectValue, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getThumbnailPath, hashCode, hasPermission, init, isEditablePortletConfig |
Methods inherited from interface com.atlassian.jira.portal.Portlet |
getCornerThumbnail, getDescription, getDescriptor, getId, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getViewHtml, hasPermission, init |
SavedFiltersPortlet
public SavedFiltersPortlet(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
ApplicationProperties applicationProperties,
SearchRequestService searchRequestService,
SearchProvider searchProvider)
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
- Parameters:
portletConfiguration
- portlet configuration
- Returns:
- map of velocity parameters, never null
getCountsForFilter
public long getCountsForFilter(SearchRequest filter)
throws SearchException
- Throws:
SearchException
getLoadingHtml
public String getLoadingHtml(PortletConfiguration portletConfiguration)
- Description copied from interface:
LazyLoadingPortlet
- This method should return temporary HTML
- Specified by:
getLoadingHtml
in interface LazyLoadingPortlet
- Parameters:
portletConfiguration
- The portlet configuration for the current request
- Returns:
- A HTML fragment
getStaticHtml
public String getStaticHtml(PortletConfiguration portletConfiguration)
- Description copied from interface:
LazyLoadingPortlet
- All JavaScript should be returned by this method.
If the JavaScript is not returned by this method it may not bound in the when you try and
invoke it from your portlet.
This method should return any HTML that will not be swapped out because of lazy loading.
The resultant HTML returned by this method will be displayed regardless of whether lazy
loading is active or not. The static HTML will placed in front of the Loading HTML.
- Specified by:
getStaticHtml
in interface LazyLoadingPortlet
- Returns:
- A HTML fragment
Copyright © 2002-2010 Atlassian. All Rights Reserved.