|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityFinder
Entity Finder.
Method Summary | |
---|---|
long |
countEntities(java.lang.Class<?> resultType,
Specification<Composite> whereClause,
java.util.Map<java.lang.String,java.lang.Object> variables)
Count entities matching the query criterion. |
java.lang.Iterable<EntityReference> |
findEntities(java.lang.Class<?> resultType,
Specification<Composite> whereClause,
OrderBy[] orderBySegments,
java.lang.Integer firstResult,
java.lang.Integer maxResults,
java.util.Map<java.lang.String,java.lang.Object> variables)
Find entities matching the query criterion. |
EntityReference |
findEntity(java.lang.Class<?> resultType,
Specification<Composite> whereClause,
java.util.Map<java.lang.String,java.lang.Object> variables)
Find a single entity matching the query criterion. |
Method Detail |
---|
java.lang.Iterable<EntityReference> findEntities(java.lang.Class<?> resultType, @Optional Specification<Composite> whereClause, @Optional OrderBy[] orderBySegments, @Optional java.lang.Integer firstResult, @Optional java.lang.Integer maxResults, java.util.Map<java.lang.String,java.lang.Object> variables) throws EntityFinderException
resultType
- Type that the entities must have.whereClause
- Where clause specification.orderBySegments
- OrderingfirstResult
- Index of the first returned entity.maxResults
- Maximum returned entities.variables
- Query variables
EntityFinderException
EntityReference findEntity(java.lang.Class<?> resultType, @Optional Specification<Composite> whereClause, java.util.Map<java.lang.String,java.lang.Object> variables) throws EntityFinderException
resultType
- Type that the entity must have.whereClause
- Where clause specification.variables
- Query variables
EntityFinderException
long countEntities(java.lang.Class<?> resultType, @Optional Specification<Composite> whereClause, java.util.Map<java.lang.String,java.lang.Object> variables) throws EntityFinderException
resultType
- Type that the entities must have.whereClause
- Where clause specification.variables
- Query variables
EntityFinderException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |