@Internal public class DateCustomFieldSearchRenderer extends AbstractDateSearchRenderer implements SearchRenderer
AbstractDateSearchRenderer.TranslationsHelper
EDIT_TEMPLATE_SUFFIX, VIEW_TEMPLATE_SUFFIX
Constructor and Description |
---|
DateCustomFieldSearchRenderer(boolean isDateTimePicker,
CustomField customField,
SimpleFieldSearchConstants constants,
DateSearcherConfig config,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
CalendarLanguageUtil calendarUtils,
FieldVisibilityManager fieldVisibilityManager) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getVelocityParams(ApplicationUser user,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
boolean |
isShown(ApplicationUser user,
SearchContext searchContext)
Checks if the searcher should be shown in this context on the Issue Navigator.
|
getEditHtml, getViewHtml, isRelevantForQuery
getI18n, isRelevantForQuery, renderEditTemplate, renderViewTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEditHtml, getViewHtml, isRelevantForQuery
public DateCustomFieldSearchRenderer(boolean isDateTimePicker, CustomField customField, SimpleFieldSearchConstants constants, DateSearcherConfig config, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, CalendarLanguageUtil calendarUtils, FieldVisibilityManager fieldVisibilityManager)
protected Map<String,Object> getVelocityParams(ApplicationUser user, SearchContext searchContext, FieldLayoutItem fieldLayoutItem, FieldValuesHolder fieldValuesHolder, Map<?,?> displayParameters, webwork.action.Action action)
getVelocityParams
in class AbstractSearchRenderer
public boolean isShown(ApplicationUser user, SearchContext searchContext)
SearchRenderer
isShown
in interface SearchRenderer
isShown
in class AbstractDateSearchRenderer
user
- performing this action.searchContext
- the context of the search (i.e. projects and issue types selected).Copyright © 2002-2024 Atlassian. All Rights Reserved.