public class QueryInterpreter extends Object
Constructor and Description |
---|
QueryInterpreter() |
Modifier and Type | Method and Description |
---|---|
<T extends ObjectFilter> |
findAndCreateRestriction(T filter,
QueryContext context,
Restriction parent,
ObjectQuery query) |
<T> Matcher<T> |
findMatcher(Class<T> type) |
<T> Matcher<T> |
findMatcher(T value) |
org.hibernate.Criteria |
interpret(ObjectQuery query,
Class<? extends ObjectType> type,
Collection<SelectorOptions<GetOperationOptions>> options,
PrismContext prismContext,
boolean countingObjects,
org.hibernate.Session session) |
org.hibernate.Criteria |
interpretGet(String oid,
Class<? extends ObjectType> type,
Collection<SelectorOptions<GetOperationOptions>> options,
PrismContext prismContext,
org.hibernate.Session session) |
<T extends ObjectType> |
updatePagingAndSorting(org.hibernate.Criteria query,
Class<T> type,
ObjectPaging paging) |
public org.hibernate.Criteria interpretGet(String oid, Class<? extends ObjectType> type, Collection<SelectorOptions<GetOperationOptions>> options, PrismContext prismContext, org.hibernate.Session session) throws QueryException
QueryException
public org.hibernate.Criteria interpret(ObjectQuery query, Class<? extends ObjectType> type, Collection<SelectorOptions<GetOperationOptions>> options, PrismContext prismContext, boolean countingObjects, org.hibernate.Session session) throws QueryException
QueryException
public <T extends ObjectType> org.hibernate.Criteria updatePagingAndSorting(org.hibernate.Criteria query, Class<T> type, ObjectPaging paging)
public <T> Matcher<T> findMatcher(T value)
public <T extends ObjectFilter> Restriction findAndCreateRestriction(T filter, QueryContext context, Restriction parent, ObjectQuery query) throws QueryException
QueryException
Copyright © 2013 evolveum. All rights reserved.