com.atlassian.jira.issue.search.searchers.renderer
Class AbstractSearchRenderer
java.lang.Object
com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
- Direct Known Subclasses:
- AbstractDateSearchRenderer, AbstractProjectConstantsRenderer, AbstractUserSearchRenderer, IssueConstantsSearchRenderer, IssueTypeSearchRenderer, LabelsSearchRenderer, ProjectSearchRenderer, QuerySearchRenderer, WorkRatioSearchRenderer
@Internal
public abstract class AbstractSearchRenderer
- extends Object
Abstract class for SearchRenderers that provides some common methods.
- Since:
- v4.0
Method Summary |
protected I18nHelper |
getI18n(com.atlassian.crowd.embedded.api.User searcher)
|
protected Map<String,Object> |
getVelocityParams(com.atlassian.crowd.embedded.api.User searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action)
|
protected boolean |
isRelevantForQuery(ClauseNames clauseNames,
Query query)
|
protected String |
renderEditTemplate(String template,
Map velocityParams)
|
protected String |
renderViewTemplate(String template,
Map velocityParams)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDIT_TEMPLATE_SUFFIX
protected static final String EDIT_TEMPLATE_SUFFIX
- See Also:
- Constant Field Values
VIEW_TEMPLATE_SUFFIX
protected static final String VIEW_TEMPLATE_SUFFIX
- See Also:
- Constant Field Values
AbstractSearchRenderer
public AbstractSearchRenderer(VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
com.atlassian.velocity.VelocityManager velocityManager,
SimpleFieldSearchConstants searchConstants,
String searcherNameKey)
AbstractSearchRenderer
public AbstractSearchRenderer(VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
com.atlassian.velocity.VelocityManager velocityManager,
String searcherId,
String searcherNameKey)
getVelocityParams
protected Map<String,Object> getVelocityParams(com.atlassian.crowd.embedded.api.User searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action)
renderEditTemplate
protected String renderEditTemplate(String template,
Map velocityParams)
renderViewTemplate
protected String renderViewTemplate(String template,
Map velocityParams)
isRelevantForQuery
protected boolean isRelevantForQuery(ClauseNames clauseNames,
Query query)
getI18n
protected I18nHelper getI18n(com.atlassian.crowd.embedded.api.User searcher)
Copyright © 2002-2012 Atlassian. All Rights Reserved.