Class DefaultWorkRatioSearcherInputHelper

  extended by
All Implemented Interfaces:

public class DefaultWorkRatioSearcherInputHelper
extends Object
implements WorkRatioSearcherInputHelper

Helper class to parse JQL clauses and determine if they are suitable for usage in the Navigator or Search URL.


Constructor Summary
DefaultWorkRatioSearcherInputHelper(SimpleFieldSearchConstants constants, JqlOperandResolver operandResolver)
Method Summary
 Map<String,String> convertClause(Clause clause, User user)
          Take the passed clause and try and get the equivalent navigator parameters.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DefaultWorkRatioSearcherInputHelper(SimpleFieldSearchConstants constants,
                                           JqlOperandResolver operandResolver)
Method Detail


public Map<String,String> convertClause(Clause clause,
                                        User user)
Description copied from interface: WorkRatioSearcherInputHelper
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 WorkRatioSearcherInputHelper
clause - the clause to convert.
user - the user trying to convert the clause.
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-2009 Atlassian. All Rights Reserved.