Class DateSearchRenderer
java.lang.Object
com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
com.atlassian.jira.issue.search.searchers.renderer.AbstractDateSearchRenderer
com.atlassian.jira.issue.search.searchers.renderer.DateSearchRenderer
- All Implemented Interfaces:
SearchRenderer
Render for system field date base searchers in Jira.
- Since:
- v4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.issue.search.searchers.renderer.AbstractDateSearchRenderer
AbstractDateSearchRenderer.TranslationsHelper -
Field Summary
Fields inherited from class com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
EDIT_TEMPLATE_SUFFIX, VIEW_TEMPLATE_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionDateSearchRenderer(SimpleFieldSearchConstants constants, DateSearcherConfig config, String nameKey, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, CalendarLanguageUtil calendarUtils, FieldVisibilityManager fieldVisibilityManager) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisShown(ApplicationUser user, SearchContext searchContext) Checks if the searcher should be shown in this context on the Issue Navigator.Methods inherited from class com.atlassian.jira.issue.search.searchers.renderer.AbstractDateSearchRenderer
getEditHtml, getViewHtml, isRelevantForQueryMethods inherited from class com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
getI18n, getVelocityParams, isRelevantForQuery, renderEditTemplate, renderViewTemplateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.issue.search.searchers.renderer.SearchRenderer
getEditHtml, getViewHtml, isRelevantForQuery
-
Constructor Details
-
DateSearchRenderer
public DateSearchRenderer(SimpleFieldSearchConstants constants, DateSearcherConfig config, String nameKey, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, CalendarLanguageUtil calendarUtils, FieldVisibilityManager fieldVisibilityManager)
-
-
Method Details
-
isShown
Description copied from interface:SearchRendererChecks if the searcher should be shown in this context on the Issue Navigator.- Specified by:
isShownin interfaceSearchRenderer- Specified by:
isShownin classAbstractDateSearchRenderer- Parameters:
user- performing this action.searchContext- the context of the search (i.e. projects and issue types selected).- Returns:
- true if the searcher will appear in the issue navigator, false otherwise.
-