com.evolveum.midpoint.repo.sql.query
Class QueryInterpreter

java.lang.Object
  extended by com.evolveum.midpoint.repo.sql.query.QueryInterpreter

public class QueryInterpreter
extends Object

Author:
lazyman

Constructor Summary
QueryInterpreter(org.hibernate.Session session, Class<? extends ObjectType> type, PrismContext prismContext)
           
 
Method Summary
 String createAlias(QName qname)
           
 ItemPath createPropertyPath(Element path)
           
 ItemDefinition findDefinition(Element path, QName name)
           
 String getAlias(ItemPath path)
           
 org.hibernate.Criteria getCriteria(ItemPath path)
           
 PrismContext getPrismContext()
           
 Class<? extends ObjectType> getType()
           
 boolean hasAlias(String alias)
           
 org.hibernate.Criteria interpret(ObjectFilter filter)
           
 org.hibernate.criterion.Criterion interpret(ObjectFilter filter, boolean pushNot)
           
 void setAlias(ItemPath path, String alias)
           
 void setCriteria(ItemPath path, org.hibernate.Criteria criteria)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryInterpreter

public QueryInterpreter(org.hibernate.Session session,
                        Class<? extends ObjectType> type,
                        PrismContext prismContext)
Method Detail

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.