|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Queryable
The queryable interface
Provides methods for locating entities via a query. The syntax of the query depends on the implementation.
| Method Summary | |
|---|---|
Object |
lookupByQuery(String query,
Map<String,?> parameters)
Looks up one or more entities via a query string. |
Object |
lookupByQuery(String query,
Object... parameters)
Looks up one or more entities via a query string. |
| Method Detail |
|---|
Object lookupByQuery(String query,
Object... parameters)
If one entity is located then the object should directly be returned.
If multiple are located then a 'Collection', containing the entities,
should be returned. If no entities are located then null should
be returned.
query - the queryparameters - the array of parameters
OperationNotSupportedException - if the operation is not supported
Object lookupByQuery(String query,
Map<String,?> parameters)
If one entity is located then the object should directly be returned.
If multiple are located then a 'Collection', containing the entities,
should be returned. If no entities are located then null should
be returned.
query - the queryparameters - the map of parameters
OperationNotSupportedException - if the operation is not supported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||