com.atlassian.jira.issue.search.searchers.util
Class AbstractDateSearchInputHelper
java.lang.Object
com.atlassian.jira.issue.search.searchers.util.AbstractDateSearchInputHelper
- All Implemented Interfaces:
- DateSearcherInputHelper
- Direct Known Subclasses:
- DefaultDateSearcherInputHelper, RelativeDateSearcherInputHelper
@Internal
public abstract class AbstractDateSearchInputHelper
- extends Object
- implements DateSearcherInputHelper
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONVERT_CLAUSE_BAD_RESULT
protected static final DateSearcherInputHelper.ConvertClauseResult CONVERT_CLAUSE_BAD_RESULT
config
protected final DateSearcherConfig config
operandResolver
protected final JqlOperandResolver operandResolver
AbstractDateSearchInputHelper
public AbstractDateSearchInputHelper(DateSearcherConfig config,
JqlOperandResolver operandResolver)
convertClause
public DateSearcherInputHelper.ConvertClauseResult convertClause(Clause clause,
com.atlassian.crowd.embedded.api.User user,
boolean allowTimeComponent)
- Description copied from interface:
DateSearcherInputHelper
- Take the passed clause and try and get the equivalent navigator parameters.
Note: this also performs a validity check on the structure of the clause to determine if it fits for the Navigator.
Therefore, it is not required to check this before the call is made.
- Specified by:
convertClause
in interface DateSearcherInputHelper
- Parameters:
clause
- the clause to convert.user
- the user trying to convert the clause.allowTimeComponent
- if true, date values which aren't midnight dates will be returned as midnight
dates (thereby losing precision)
- Returns:
- on success a map of navigator param -> value, or null on failure. The map will only contain the params
that were present in the clause.
Copyright © 2002-2013 Atlassian. All Rights Reserved.