com.atlassian.jira.jql.validator
Class CascadingSelectCustomFieldValidator

java.lang.Object
  extended by com.atlassian.jira.jql.validator.SelectCustomFieldValidator
      extended by com.atlassian.jira.jql.validator.CascadingSelectCustomFieldValidator
All Implemented Interfaces:
ClauseValidator

@NonInjectableComponent
public class CascadingSelectCustomFieldValidator
extends SelectCustomFieldValidator
implements ClauseValidator

A validator for cascading select custom fields. Takes into account if the user has any context under which she can see the given options.

Since:
v4.0

Constructor Summary
CascadingSelectCustomFieldValidator(CustomField customField, JqlSelectOptionsUtil jqlSelectOptionsUtil, JqlOperandResolver jqlOperandResolver, I18nHelper.BeanFactory beanFactory)
           
 
Method Summary
protected  List<Option> getOptionsFromLiteral(com.atlassian.crowd.embedded.api.User searcher, QueryLiteral literal)
           
 
Methods inherited from class com.atlassian.jira.jql.validator.SelectCustomFieldValidator
validate
 
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.jql.validator.ClauseValidator
validate
 

Constructor Detail

CascadingSelectCustomFieldValidator

public CascadingSelectCustomFieldValidator(CustomField customField,
                                           JqlSelectOptionsUtil jqlSelectOptionsUtil,
                                           JqlOperandResolver jqlOperandResolver,
                                           I18nHelper.BeanFactory beanFactory)
Method Detail

getOptionsFromLiteral

protected List<Option> getOptionsFromLiteral(com.atlassian.crowd.embedded.api.User searcher,
                                             QueryLiteral literal)
Overrides:
getOptionsFromLiteral in class SelectCustomFieldValidator


Copyright © 2002-2014 Atlassian. All Rights Reserved.