@Internal public abstract class AbstractSearchRenderer extends Object implements SearchRenderer
Modifier and Type | Field and Description |
---|---|
protected static String |
EDIT_TEMPLATE_SUFFIX |
protected static String |
VIEW_TEMPLATE_SUFFIX |
Constructor and Description |
---|
AbstractSearchRenderer(VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
SimpleFieldSearchConstants searchConstants,
String searcherNameKey) |
AbstractSearchRenderer(VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
String searcherId,
String searcherNameKey) |
Modifier and Type | Method and Description |
---|---|
protected I18nHelper |
getI18n(ApplicationUser searcher) |
protected Map<String,Object> |
getVelocityParams(ApplicationUser 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<String,Object> velocityParams) |
protected String |
renderViewTemplate(String template,
Map<String,Object> velocityParams) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEditHtml, getViewHtml, isRelevantForQuery, isShown
protected static final String EDIT_TEMPLATE_SUFFIX
protected static final String VIEW_TEMPLATE_SUFFIX
public AbstractSearchRenderer(VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, SimpleFieldSearchConstants searchConstants, String searcherNameKey)
public AbstractSearchRenderer(VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, String searcherId, String searcherNameKey)
protected Map<String,Object> getVelocityParams(ApplicationUser searcher, SearchContext searchContext, FieldLayoutItem fieldLayoutItem, FieldValuesHolder fieldValuesHolder, Map<?,?> displayParameters, webwork.action.Action action)
protected String renderEditTemplate(String template, Map<String,Object> velocityParams)
protected String renderViewTemplate(String template, Map<String,Object> velocityParams)
protected boolean isRelevantForQuery(ClauseNames clauseNames, Query query)
protected I18nHelper getI18n(ApplicationUser searcher)
Copyright © 2002-2021 Atlassian. All Rights Reserved.