|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexInfoResolver<T>
Turns a searchable value (operand) (such as what may be typed into the right side of a clause) into an indexed value. Operands may be represented by name or some other format that doesn't exactly match the indexed value and implementations of this perform the transformation. In some cases (notably numeric types) there would be little or no transformation of the original value held by the operand.
Multiple values are returned because lookups cannot be guaranteed to be 1:1 as in name to id lookups for certain issue fields.
Method Summary | |
---|---|
String |
getIndexedValue(T indexedObject)
Gets an indexed value from a domain object. |
List<String> |
getIndexedValues(Long rawValue)
Provides the values in the index for the single value operand with the given Long value. |
List<String> |
getIndexedValues(String rawValue)
Provides the values in the index for the operand with the given String value. |
Method Detail |
---|
List<String> getIndexedValues(String rawValue)
rawValue
- the value whose indexed term equivalent is to be returned.
List<String> getIndexedValues(Long rawValue)
rawValue
- the value whose indexed term equivalent is to be returned.
String getIndexedValue(T indexedObject)
indexedObject
- the domain object. Does not accept null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |