com.atlassian.jira.issue.customfields.searchers.renderer
Class DateCustomFieldSearchRenderer

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
      extended by com.atlassian.jira.issue.search.searchers.renderer.AbstractDateSearchRenderer
          extended by com.atlassian.jira.issue.customfields.searchers.renderer.DateCustomFieldSearchRenderer
All Implemented Interfaces:
SearchRenderer

public class DateCustomFieldSearchRenderer
extends AbstractDateSearchRenderer
implements SearchRenderer

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
DateCustomFieldSearchRenderer(boolean isDateTimePicker, CustomField customField, SimpleFieldSearchConstants constants, DateSearcherConfig config, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, com.atlassian.velocity.VelocityManager velocityManager, CalendarLanguageUtil calendarUtils, FieldVisibilityManager fieldVisibilityManager)
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.lang.Object> getVelocityParams(com.opensymphony.user.User searcher, SearchContext searchContext, FieldLayoutItem fieldLayoutItem, FieldValuesHolder fieldValuesHolder, java.util.Map<?,?> displayParameters, webwork.action.Action action)
           
 boolean isShown(com.opensymphony.user.User searcher, 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, isRelevantForQuery
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
getI18n, isRelevantForQuery, renderEditTemplate, renderViewTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.search.searchers.renderer.SearchRenderer
getEditHtml, getViewHtml, isRelevantForQuery
 

Constructor Detail

DateCustomFieldSearchRenderer

public DateCustomFieldSearchRenderer(boolean isDateTimePicker,
                                     CustomField customField,
                                     SimpleFieldSearchConstants constants,
                                     DateSearcherConfig config,
                                     VelocityRequestContextFactory velocityRequestContextFactory,
                                     ApplicationProperties applicationProperties,
                                     com.atlassian.velocity.VelocityManager velocityManager,
                                     CalendarLanguageUtil calendarUtils,
                                     FieldVisibilityManager fieldVisibilityManager)
Method Detail

getVelocityParams

protected java.util.Map<java.lang.String,java.lang.Object> getVelocityParams(com.opensymphony.user.User searcher,
                                                                             SearchContext searchContext,
                                                                             FieldLayoutItem fieldLayoutItem,
                                                                             FieldValuesHolder fieldValuesHolder,
                                                                             java.util.Map<?,?> displayParameters,
                                                                             webwork.action.Action action)
Overrides:
getVelocityParams in class AbstractSearchRenderer

isShown

public boolean isShown(com.opensymphony.user.User searcher,
                       SearchContext searchContext)
Description copied from interface: SearchRenderer
Checks if the searcher should be shown in this context on the Issue Navigator.

Specified by:
isShown in interface SearchRenderer
Specified by:
isShown in class AbstractDateSearchRenderer
Parameters:
searcher - 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.


Copyright © 2002-2010 Atlassian. All Rights Reserved.