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, tableLayoutFactory
 
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, SearchRequestService searchRequestService, TableLayoutFactory tableLayoutFactory)
           
 
Method Summary
protected  java.lang.String getDescription(PortletConfiguration portletConfiguration)
           
protected  java.lang.String getLinkToSearch(SearchRequest searchRequest, PortletConfiguration portletConfiguration)
           
protected  java.lang.String getNoIssuesText()
           
protected  java.lang.String getSearchName(SearchRequest searchRequest)
           
protected  SearchRequest getSearchRequest(PortletConfiguration portletConfiguration)
           
protected  java.lang.String getSearchTypeName()
           
protected  java.util.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
getLayout, getMaxNumberOfIssues
 
Methods inherited from class com.atlassian.jira.portal.portlets.AbstractRequiresUserPortlet
getViewHtml
 
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 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,
                            SearchRequestService searchRequestService,
                            TableLayoutFactory tableLayoutFactory)
Method Detail

getSearchRequest

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

getLinkToSearch

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

getSearchName

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

getSearchTypeName

protected java.lang.String getSearchTypeName()
Specified by:
getSearchTypeName in class AbstractSearchResultsPortlet

getNoIssuesText

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

getVelocityParams

protected java.util.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
Parameters:
portletConfiguration - portlet configuration
Returns:
map of velocity parameters, never null

getDescription

protected java.lang.String getDescription(PortletConfiguration portletConfiguration)


Copyright © 2002-2010 Atlassian. All Rights Reserved.