public interface AttributeQueryService
AttributeQuery
instances
and preparing the AttributeQueryResult
with the result of the queryModifier and Type | Method and Description |
---|---|
AttributeQueryResult |
performFieldQuery(ViewPostMetadata viewPostMetadata,
String fieldId,
Map<String,String> queryParameters)
Executes the
AttributeQuery associated with the field given by the id. |
AttributeQueryResult |
performFieldSuggestQuery(ViewPostMetadata viewPostMetadata,
String fieldId,
String fieldTerm,
Map<String,String> queryParameters)
Executes the
AttributeQuery associated with the Suggest widget within
the field given by the Id. |
AttributeQueryResult performFieldSuggestQuery(ViewPostMetadata viewPostMetadata, 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 suggestviewPostMetadata
- - post metadata related to the fieldfieldId
- - 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 queryAttributeQueryResult performFieldQuery(ViewPostMetadata viewPostMetadata, 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)viewPostMetadata
- - post metadata related to the fieldfieldId
- - id for the attribute field to perform the query forqueryParameters
- - map of key/value pairs that are parameters to the queryCopyright © 2005–2016 The Kuali Foundation. All rights reserved.