com.atlassian.jira.issue.search.searchers.transformer
Class ComponentSearchInputTransformer
java.lang.Object
com.atlassian.jira.issue.search.searchers.transformer.IdIndexedSearchInputTransformer<ProjectComponent>
com.atlassian.jira.issue.search.searchers.transformer.ComponentSearchInputTransformer
- All Implemented Interfaces:
- SearchInputTransformer
public class ComponentSearchInputTransformer
- extends IdIndexedSearchInputTransformer<ProjectComponent>
A component-specific IdIndexedSearchInputTransformer
.
- Since:
- v4.0
Method Summary |
Clause |
getSearchClause(com.atlassian.crowd.embedded.api.User user,
FieldValuesHolder fieldValuesHolder)
For this implementation we expect that the fieldValuesHolder will contain a list of
strings or nothing at all, if not then this will throw an exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentSearchInputTransformer
public ComponentSearchInputTransformer(ClauseNames clauseNames,
String urlParameterName,
IndexInfoResolver<ProjectComponent> componentIndexInfoResolver,
JqlOperandResolver operandResolver,
FieldFlagOperandRegistry fieldFlagOperandRegistry,
SearchContextVisibilityChecker searchContextVisibilityChecker,
NameResolver<ProjectComponent> componentResolver)
getSearchClause
public Clause getSearchClause(com.atlassian.crowd.embedded.api.User user,
FieldValuesHolder fieldValuesHolder)
- Description copied from class:
IdIndexedSearchInputTransformer
- For this implementation we expect that the fieldValuesHolder will contain a list of
strings or nothing at all, if not then this will throw an exception.
- Specified by:
getSearchClause
in interface SearchInputTransformer
- Overrides:
getSearchClause
in class IdIndexedSearchInputTransformer<ProjectComponent>
- Parameters:
user
- the user performing the searchfieldValuesHolder
- contains values populated by the searchers
- Returns:
- Clause that represents the raw values.
Copyright © 2002-2013 Atlassian. All Rights Reserved.