public class AuditQueryCriteriaUtil
extends org.jbpm.query.jpa.impl.QueryCriteriaUtil
Modifier and Type | Field and Description |
---|---|
static Map<Class,Map<String,javax.persistence.metamodel.Attribute>> |
criteriaAttributes |
protected JPAService |
jpaService |
Modifier | Constructor and Description |
---|---|
|
AuditQueryCriteriaUtil(JPAService service) |
protected |
AuditQueryCriteriaUtil(Map<Class,Map<String,javax.persistence.metamodel.Attribute>> criteriaAttributes,
JPAService service)
This protected constructor is used in the kie-remote-services module
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeEntityManager(javax.persistence.EntityManager em,
Object transaction) |
protected <T> List<T> |
createQueryAndCallApplyMetaCriteriaAndGetResult(org.jbpm.query.jpa.data.QueryWhere queryWhere,
javax.persistence.criteria.CriteriaQuery<T> criteriaQuery,
javax.persistence.criteria.CriteriaBuilder builder) |
protected javax.persistence.criteria.CriteriaBuilder |
getCriteriaBuilder() |
protected javax.persistence.EntityManager |
getEntityManager() |
protected <R,T> javax.persistence.criteria.Predicate |
implSpecificCreatePredicateFromSingleCriteria(javax.persistence.criteria.CriteriaQuery<R> query,
javax.persistence.criteria.CriteriaBuilder builder,
Class queryType,
org.jbpm.query.jpa.data.QueryCriteria criteria,
org.jbpm.query.jpa.data.QueryWhere queryWhere) |
protected boolean |
initializeCriteriaAttributes() |
protected Object |
joinTransaction(javax.persistence.EntityManager em) |
static <Q,T> javax.persistence.criteria.Predicate |
variableInstanceLogSpecificCreatePredicateFromSingleCriteria(javax.persistence.criteria.CriteriaQuery<Q> query,
javax.persistence.criteria.CriteriaBuilder builder,
org.jbpm.query.jpa.data.QueryCriteria criteria,
javax.persistence.criteria.Root<T> table) |
addCriteria, addCriteria, applyMetaCriteriaToQuery, basicCreatePredicateFromSingleCriteria, convertListToInterfaceList, convertRegexToJPALikeExpression, defaultGetEntityField, doCriteriaQuery, fillCriteriaQuery, getCriteriaAttributes, getEntityField, getOrderByExpression, getRoot, initialize
public static final Map<Class,Map<String,javax.persistence.metamodel.Attribute>> criteriaAttributes
protected JPAService jpaService
public AuditQueryCriteriaUtil(JPAService service)
protected AuditQueryCriteriaUtil(Map<Class,Map<String,javax.persistence.metamodel.Attribute>> criteriaAttributes, JPAService service)
criteriaAttributes
- service
- protected boolean initializeCriteriaAttributes()
initializeCriteriaAttributes
in class org.jbpm.query.jpa.impl.QueryCriteriaUtil
protected javax.persistence.EntityManager getEntityManager()
protected Object joinTransaction(javax.persistence.EntityManager em)
protected void closeEntityManager(javax.persistence.EntityManager em, Object transaction)
protected javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
getCriteriaBuilder
in class org.jbpm.query.jpa.impl.QueryCriteriaUtil
protected <T> List<T> createQueryAndCallApplyMetaCriteriaAndGetResult(org.jbpm.query.jpa.data.QueryWhere queryWhere, javax.persistence.criteria.CriteriaQuery<T> criteriaQuery, javax.persistence.criteria.CriteriaBuilder builder)
createQueryAndCallApplyMetaCriteriaAndGetResult
in class org.jbpm.query.jpa.impl.QueryCriteriaUtil
protected <R,T> javax.persistence.criteria.Predicate implSpecificCreatePredicateFromSingleCriteria(javax.persistence.criteria.CriteriaQuery<R> query, javax.persistence.criteria.CriteriaBuilder builder, Class queryType, org.jbpm.query.jpa.data.QueryCriteria criteria, org.jbpm.query.jpa.data.QueryWhere queryWhere)
implSpecificCreatePredicateFromSingleCriteria
in class org.jbpm.query.jpa.impl.QueryCriteriaUtil
public static <Q,T> javax.persistence.criteria.Predicate variableInstanceLogSpecificCreatePredicateFromSingleCriteria(javax.persistence.criteria.CriteriaQuery<Q> query, javax.persistence.criteria.CriteriaBuilder builder, org.jbpm.query.jpa.data.QueryCriteria criteria, javax.persistence.criteria.Root<T> table)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.