com.atlassian.jira.portal.portlets
Class AbstractSearchResultsPortlet

java.lang.Object
  extended by com.atlassian.jira.portal.PortletImpl
      extended by com.atlassian.jira.portal.portlets.AbstractRequiresUserPortlet
          extended by com.atlassian.jira.portal.portlets.AbstractSearchResultsPortlet
All Implemented Interfaces:
Portlet
Direct Known Subclasses:
AssignedToMePortlet, InProgressIssuesPortlet, SearchRequestPortlet

public abstract class AbstractSearchResultsPortlet
extends AbstractRequiresUserPortlet


Field Summary
protected  ConstantsManager constantsManager
           
protected static Collection DEFAULT_SEARCH_SORTS
           
protected  SearchProvider searchProvider
           
 
Fields inherited from class com.atlassian.jira.portal.PortletImpl
applicationProperties, authenticationContext, permissionManager
 
Constructor Summary
protected AbstractSearchResultsPortlet(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ConstantsManager constantsManager, SearchProvider searchProvider, ApplicationProperties applicationProperties)
           
 
Method Summary
protected abstract  String getLinkToSearch(SearchRequest searchRequest, PortletConfiguration portletConfiguration)
           
protected  int getMaxNumberOfIssues(PortletConfiguration portletConfiguration)
           
protected abstract  String getNoIssuesText()
           
protected abstract  String getSearchName(SearchRequest searchRequest)
           
protected abstract  SearchRequest getSearchRequest(PortletConfiguration portletConfiguration)
           
protected abstract  String getSearchTypeName()
           
protected  Map getVelocityParams(PortletConfiguration portletConfiguration)
          Allow for the addition of additional Velocity parameters to the context.
 
Methods inherited from class com.atlassian.jira.portal.portlets.AbstractRequiresUserPortlet
getViewHtml
 
Methods inherited from class com.atlassian.jira.portal.PortletImpl
equals, getCornerThumbnail, getDescription, getDescriptor, getId, getIssueConstant, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, hashCode, hasPermission, init
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SEARCH_SORTS

protected static final Collection DEFAULT_SEARCH_SORTS

constantsManager

protected final ConstantsManager constantsManager

searchProvider

protected final SearchProvider searchProvider
Constructor Detail

AbstractSearchResultsPortlet

protected AbstractSearchResultsPortlet(JiraAuthenticationContext authenticationContext,
                                       PermissionManager permissionManager,
                                       ConstantsManager constantsManager,
                                       SearchProvider searchProvider,
                                       ApplicationProperties applicationProperties)
Method Detail

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

getMaxNumberOfIssues

protected int getMaxNumberOfIssues(PortletConfiguration portletConfiguration)

getSearchRequest

protected abstract SearchRequest getSearchRequest(PortletConfiguration portletConfiguration)

getLinkToSearch

protected abstract String getLinkToSearch(SearchRequest searchRequest,
                                          PortletConfiguration portletConfiguration)

getSearchName

protected abstract String getSearchName(SearchRequest searchRequest)

getSearchTypeName

protected abstract String getSearchTypeName()

getNoIssuesText

protected abstract String getNoIssuesText()


Copyright © 2002-2007 Atlassian. All Rights Reserved.