|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.jql.resolver.IssueConstantInfoResolver<T>
public class IssueConstantInfoResolver<T extends IssueConstant>
Resolves index info with a lucene field using the id of the domain object T to get the indexed values from a NameResolver<T> .
| Constructor Summary | |
|---|---|
IssueConstantInfoResolver(NameResolver<T> resolver)
|
|
| Method Summary | |
|---|---|
String |
getIndexedValue(T indexedObject)
Gets an indexed value from a domain object. |
List<String> |
getIndexedValues(Long singleValueOperand)
Provides the values in the index for the single value operand with the given Long value. |
List<String> |
getIndexedValues(String singleValueOperand)
Provides the values in the index for the operand with the given String value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IssueConstantInfoResolver(NameResolver<T> resolver)
resolver - the name resolver to look up the id if necessary.| Method Detail |
|---|
public List<String> getIndexedValues(String singleValueOperand)
IndexInfoResolver
getIndexedValues in interface IndexInfoResolver<T extends IssueConstant>singleValueOperand - the value whose indexed term equivalent is to be returned.
public List<String> getIndexedValues(Long singleValueOperand)
IndexInfoResolver
getIndexedValues in interface IndexInfoResolver<T extends IssueConstant>singleValueOperand - the value whose indexed term equivalent is to be returned.
public String getIndexedValue(T indexedObject)
IndexInfoResolver
getIndexedValue in interface IndexInfoResolver<T extends IssueConstant>indexedObject - the domain object. Does not accept null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||