Uses of Class
org.nuiton.topia.framework.TopiaQuery

Packages that use TopiaQuery
org.nuiton.topia TODO-FD20100507 : Need update this javadoc for ToPIA 2.4 ToPIA est un framework de persistence basé sur Hibernate. 
org.nuiton.topia.framework Contains two interfaces, one TopiaContextImplementor for internal manipulations of TopiaContext and one TopiaService for topia services. 
org.nuiton.topia.persistence This package contains interfaces and abstract classes for entities and daos. 
 

Uses of TopiaQuery in org.nuiton.topia
 

Methods in org.nuiton.topia that return TopiaQuery
 TopiaQuery TopiaContext.createQuery(Class<?> entityClass, String alias)
          Instantiate a new TopiaQuery.
 

Methods in org.nuiton.topia with parameters of type TopiaQuery
 List TopiaContext.findByQuery(TopiaQuery query)
          Retrieve results executing a simple query.
 

Uses of TopiaQuery in org.nuiton.topia.framework
 

Methods in org.nuiton.topia.framework that return TopiaQuery
 TopiaQuery TopiaQuery.add(Map<String,Object> properties)
          Deprecated. since 2.3.4 use addEquals(Map)
 TopiaQuery TopiaQuery.add(String where)
          Deprecated. since 2.3.4, use addWhere(String) instead
 TopiaQuery TopiaQuery.add(String paramName, Object... paramValue)
          Deprecated. since 2.3.4, use addEquals(String, Object...) instead
 TopiaQuery TopiaQuery.add(String paramName, TopiaQuery.Op constraint, Object paramValue)
          Deprecated. since 2.3.4, use addWhere(String, Op, Object) instead
 TopiaQuery TopiaQuery.addBetween(String paramName, Object value1, Object value2)
          Add an element with BETWEEN operation.
 TopiaQuery TopiaQuery.addDistinct()
          Add the distinct key word in the query.
 TopiaQuery TopiaQuery.addEquals(Map<String,Object> properties)
          Add a map of properties to the where clause of the query.
 TopiaQuery TopiaQuery.addEquals(String paramName, Object... paramValue)
          Add an element to the query.
 TopiaQuery TopiaQuery.addFetch(String... properties)
          Used to load properties during query execution using FETCH keyword.
 TopiaQuery TopiaQuery.addFilter(EntityFilter filter)
          Add a filter to the query that contains limit indexes, orderBy condition and referenceId if needed.
 TopiaQuery TopiaQuery.addFilter(EntityFilter filter, String propertyToFilter)
          Add a filter to the query that contains limit indexes, orderBy condition and referenceId if needed.
 TopiaQuery TopiaQuery.addFrom(Class<? extends TopiaEntity> entityClass)
          Add an other entity type to the from in the query.
 TopiaQuery TopiaQuery.addFrom(Class<? extends TopiaEntity> entityClass, String alias)
          Add an other entity type to the from in the query with an alias.
 TopiaQuery TopiaQuery.addFrom(String str)
          Deprecated. since 2.3.4 use correct addFrom or addJoin or addLeftJoin
protected  TopiaQuery TopiaQuery.addFrom(String separator, String property, String alias)
          Add an element to the from in the query.
protected  TopiaQuery TopiaQuery.addFromJoin(String separator, String property, String alias, boolean fetch)
           
 TopiaQuery TopiaQuery.addGroup(String... group)
          Add an element to the group of the query.
 TopiaQuery TopiaQuery.addInElements(String elementProperty, String containerProperty)
          Add link constraint between two properties.
 TopiaQuery TopiaQuery.addJoin(String property, String alias, boolean fetch)
          Add a inner join property to the query with alias.
 TopiaQuery TopiaQuery.addLeftJoin(String property, String alias, boolean fetch)
          Add a left join property to the query with alias.
 TopiaQuery TopiaQuery.addLoad(String... properties)
          Add a property to load when query is executed.
 TopiaQuery TopiaQuery.addNotNull(String paramName)
          Add an element to the query with the constraint Not null.
 TopiaQuery TopiaQuery.addNull(String paramName)
          Add an element to the query with the constraint null.
 TopiaQuery TopiaQuery.addNullOr(String paramName, TopiaQuery.Op constraint, Object paramValue)
          Add an element to the query.
 TopiaQuery TopiaQuery.addOrder(String... order)
          Add an element to the order in the query.
 TopiaQuery TopiaQuery.addOrderDesc(String order)
           
 TopiaQuery TopiaQuery.addParam(String id, Object paramValue)
          Add a HQL parameter to the Query.
 TopiaQuery TopiaQuery.addParams(List<Object> params)
          Add muliple paramaters to the Query.
 TopiaQuery TopiaQuery.addSelect(String... select)
          Add an element to the select in the query.
 TopiaQuery TopiaQuery.addSubQuery(String queryPart, TopiaQuery subquery)
          Method used to add a subquery in an existing query.
 TopiaQuery TopiaQuery.addWhere(String where)
          Add a where element to the Query.
 TopiaQuery TopiaQuery.addWhere(String paramName, TopiaQuery.Op operator, Object paramValue)
          Add an element to the query.
 TopiaQuery TopiaContextImpl.createQuery(Class<?> entityClass, String alias)
           
 TopiaQuery TopiaQuery.resetLimit()
          Remove limits previously set
 TopiaQuery TopiaQuery.setFrom(Class<? extends TopiaEntity> mainEntityClass)
          Set the mainEntity in the from part of the query.
 TopiaQuery TopiaQuery.setFrom(Class<? extends TopiaEntity> mainEntityClass, String alias)
          Set the mainEntity in the from part of the query and use an alias for this mainEntity.
 TopiaQuery TopiaQuery.setLimit(int start, int end)
          Limit the result of the query with startIndex and endIndex.
 TopiaQuery TopiaQuery.setMaxResults(int max)
          Set the max results wanted for the query.
 TopiaQuery TopiaQuery.setSelect(String... select)
          Set the select in the query.
 

Methods in org.nuiton.topia.framework with parameters of type TopiaQuery
 TopiaQuery TopiaQuery.addSubQuery(String queryPart, TopiaQuery subquery)
          Method used to add a subquery in an existing query.
 List<?> TopiaContextImpl.findByQuery(TopiaQuery query)
           
 

Uses of TopiaQuery in org.nuiton.topia.persistence
 

Methods in org.nuiton.topia.persistence that return TopiaQuery
 TopiaQuery TopiaDAO.createQuery()
          Crée une requete basé sur l'entité lié au DAO.
 TopiaQuery TopiaDAOImpl.createQuery()
           
 TopiaQuery TopiaDAO.createQuery(String entityAlias)
          Crée une requête basé sur l'entité lié au DAO et lui assigne un alias valable dans la requête..
 TopiaQuery TopiaDAOImpl.createQuery(String entityAlias)
           
 

Methods in org.nuiton.topia.persistence with parameters of type TopiaQuery
 int TopiaDAO.countByQuery(TopiaQuery query)
          Count the number of entities based on query.
 int TopiaDAOImpl.countByQuery(TopiaQuery query)
           
 boolean TopiaDAO.existByQuery(TopiaQuery query)
          Check the existence of an entity using a query.
 boolean TopiaDAOImpl.existByQuery(TopiaQuery query)
           
 List<E> TopiaDAO.findAllByQuery(TopiaQuery query)
          Execute une requête basé sur l'entité du DAO.
 List<E> TopiaDAOImpl.findAllByQuery(TopiaQuery query)
           
 Map<String,E> TopiaDAO.findAllMappedByQuery(TopiaQuery query)
          Execute une requête basé sur l'entité du DAO.
 Map<String,E> TopiaDAOImpl.findAllMappedByQuery(TopiaQuery query)
           
<K> Map<K,E>
TopiaDAO.findAllMappedByQuery(TopiaQuery query, String keyName, Class<K> keyClass)
          Execute une requête basé sur l'entité du DAO.
<K> Map<K,E>
TopiaDAOImpl.findAllMappedByQuery(TopiaQuery query, String keyName, Class<K> keyClass)
           
 E TopiaDAO.findByQuery(TopiaQuery query)
          Execute une requête basé sur l'entité du DAO.
 E TopiaDAOImpl.findByQuery(TopiaQuery query)
           
 



Copyright © 2004-2012 CodeLutin. All Rights Reserved.