|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryFactory
Used by the query deserializer to map between key/parameters and SearchQuery
objects.
Method Summary | |
---|---|
SearchQuery |
newQuery(java.lang.String queryKey)
Generate a SearchQuery without parameters |
SearchQuery |
newQuery(java.lang.String queryKey,
java.util.List parameters)
Generate a SearchQuery with parameters. |
Method Detail |
---|
SearchQuery newQuery(java.lang.String queryKey) throws InvalidQueryException
queryKey
- the key for that query type
InvalidQueryException
- if no query can be found for that key, or a query can be found but it can
not be constructed with no parameters.SearchQuery newQuery(java.lang.String queryKey, java.util.List parameters) throws InvalidQueryException
queryKey
- the key for that query typeparameters
- the parameters for that query
InvalidQueryException
- if no query can be found for that key, or a query can be found but it can
not be constructed with the given parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |