|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeQueryService
Provides methods for executing AttributeQuery
instances
and preparing the AttributeQueryResult
with the result of the query
Method Summary | |
---|---|
AttributeQueryResult |
performFieldQuery(View view,
String fieldId,
Map<String,String> queryParameters)
Executes the AttributeQuery associated with the field given by the id. |
AttributeQueryResult |
performFieldSuggestQuery(View view,
String fieldId,
String fieldTerm,
Map<String,String> queryParameters)
Executes the AttributeQuery associated with the Suggest widget within
the field given by the Id. |
Method Detail |
---|
AttributeQueryResult performFieldSuggestQuery(View view, String fieldId, String fieldTerm, Map<String,String> queryParameters)
AttributeQuery
associated with the Suggest
widget within
the field given by the Id. The given Map of key/value pairs are used to populate the criteria part of the
attribute query or as arguments to the query method. The fieldTerm parameter gives the current value
of the field that should be matched on. The query is expected to return a list of values to suggest
view
- - view instance for which the field belongsfieldId
- - id for the attribute field to perform the query forfieldTerm
- - the partial value of the query field to matchqueryParameters
- - map of key/value pairs that are parameters to the query
AttributeQueryResult performFieldQuery(View view, String fieldId, Map<String,String> queryParameters)
AttributeQuery
associated with the field given by the id. The given Map of key/value
pairs are used to populate the criteria part of the attribute query or as arguments to the query method.
The query is expected to return a Map of field name/value pairs (unlike the suggest query which just returns
values for one field)
view
- - view instance for which the field belongsfieldId
- - id for the attribute field to perform the query forqueryParameters
- - map of key/value pairs that are parameters to the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |