public abstract class QueryBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_NAME |
static String |
QUERY_COUNT |
static String |
QUERY_SELECT |
| Constructor and Description |
|---|
QueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.persistence.Query |
applyRestrictions(CdiQueryInvocationContext context,
javax.persistence.Query query) |
static String |
countQuery(String entityName) |
abstract Object |
execute(CdiQueryInvocationContext ctx) |
protected javax.persistence.LockModeType |
extractLockMode(Method method) |
protected javax.persistence.QueryHint[] |
extractQueryHints(Method method) |
protected boolean |
hasLockMode(Method method) |
protected boolean |
hasQueryHints(Method method) |
protected boolean |
returnsList(Method method) |
static String |
selectQuery(String entityName) |
public static final String QUERY_SELECT
public static final String QUERY_COUNT
public static final String ENTITY_NAME
public abstract Object execute(CdiQueryInvocationContext ctx)
protected boolean returnsList(Method method)
protected javax.persistence.LockModeType extractLockMode(Method method)
protected boolean hasLockMode(Method method)
protected javax.persistence.QueryHint[] extractQueryHints(Method method)
protected boolean hasQueryHints(Method method)
protected javax.persistence.Query applyRestrictions(CdiQueryInvocationContext context, javax.persistence.Query query)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.