com.atlassian.jira.portal.portlets
Class SearchRequestPortlet

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
              extended by com.atlassian.jira.portal.portlets.SearchRequestPortlet
All Implemented Interfaces:
Portlet

public class SearchRequestPortlet
extends AbstractSearchResultsPortlet


Field Summary
 
Fields inherited from class com.atlassian.jira.portal.portlets.AbstractSearchResultsPortlet
constantsManager, DEFAULT_SEARCH_SORTS, searchProvider
 
Fields inherited from class com.atlassian.jira.portal.PortletImpl
applicationProperties, authenticationContext, permissionManager
 
Constructor Summary
SearchRequestPortlet(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ConstantsManager constantsManager, SearchProvider searchProvider, ApplicationProperties applicationProperties, SearchRequestManager searchRequestManager)
           
 
Method Summary
protected  String getDescription(PortletConfiguration portletConfiguration)
           
protected  String getLinkToSearch(SearchRequest searchRequest, PortletConfiguration portletConfiguration)
           
protected  String getNoIssuesText()
           
protected  String getSearchName(SearchRequest searchRequest)
           
protected  SearchRequest getSearchRequest(PortletConfiguration portletConfiguration)
           
protected  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.AbstractSearchResultsPortlet
getMaxNumberOfIssues
 
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
 

Constructor Detail

SearchRequestPortlet

public SearchRequestPortlet(JiraAuthenticationContext authenticationContext,
                            PermissionManager permissionManager,
                            ConstantsManager constantsManager,
                            SearchProvider searchProvider,
                            ApplicationProperties applicationProperties,
                            SearchRequestManager searchRequestManager)
Method Detail

getSearchRequest

protected SearchRequest getSearchRequest(PortletConfiguration portletConfiguration)
Specified by:
getSearchRequest in class AbstractSearchResultsPortlet

getLinkToSearch

protected String getLinkToSearch(SearchRequest searchRequest,
                                 PortletConfiguration portletConfiguration)
Specified by:
getLinkToSearch in class AbstractSearchResultsPortlet

getSearchName

protected String getSearchName(SearchRequest searchRequest)
Specified by:
getSearchName in class AbstractSearchResultsPortlet

getSearchTypeName

protected String getSearchTypeName()
Specified by:
getSearchTypeName in class AbstractSearchResultsPortlet

getNoIssuesText

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

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 AbstractSearchResultsPortlet

getDescription

protected String getDescription(PortletConfiguration portletConfiguration)


Copyright © 2002-2007 Atlassian. All Rights Reserved.