com.evolveum.midpoint.repo.sql.query
Class QueryInterpreter
java.lang.Object
com.evolveum.midpoint.repo.sql.query.QueryInterpreter
public class QueryInterpreter
- extends Object
- Author:
- lazyman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryInterpreter
public QueryInterpreter(org.hibernate.Session session,
Class<? extends ObjectType> type,
PrismContext prismContext)
interpret
public org.hibernate.Criteria interpret(ObjectFilter filter)
throws QueryException
- Throws:
QueryException
interpret
public org.hibernate.criterion.Criterion interpret(ObjectFilter filter,
boolean pushNot)
throws QueryException
- Throws:
QueryException
getType
public Class<? extends ObjectType> getType()
getPrismContext
public PrismContext getPrismContext()
findDefinition
public ItemDefinition findDefinition(Element path,
QName name)
createPropertyPath
public ItemPath createPropertyPath(Element path)
createAlias
public String createAlias(QName qname)
getCriteria
public org.hibernate.Criteria getCriteria(ItemPath path)
setCriteria
public void setCriteria(ItemPath path,
org.hibernate.Criteria criteria)
getAlias
public String getAlias(ItemPath path)
setAlias
public void setAlias(ItemPath path,
String alias)
hasAlias
public boolean hasAlias(String alias)
Copyright © 2013 evolveum. All Rights Reserved.