org.jboss.seam.framework
public class HibernateEntityQuery<E> extends Query<org.hibernate.Session,E>
Constructor and Description |
---|
HibernateEntityQuery() |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.Query |
createCountQuery() |
protected org.hibernate.Query |
createQuery() |
protected Boolean |
getCacheable() |
protected String |
getCacheRegion() |
protected Integer |
getFetchSize() |
protected String |
getPersistenceContextName() |
Long |
getResultCount() |
List<E> |
getResultList() |
org.hibernate.Session |
getSession() |
E |
getSingleResult() |
boolean |
isNextExists()
Returns true if next page exists
|
void |
refresh() |
protected void |
setCacheable(Boolean cacheable) |
protected void |
setCacheRegion(String cacheRegion) |
protected void |
setFetchSize(Integer fetchSize) |
void |
setSession(org.hibernate.Session session) |
void |
validate() |
clearDataModel, evaluateAllParameters, first, getCountEjbql, getDataModel, getDataModelSelection, getDataModelSelectionIndex, getEjbql, getFirstResult, getGroupBy, getLastFirstResult, getMaxResults, getNextFirstResult, getOrder, getOrderColumn, getOrderDirection, getPageCount, getPreviousFirstResult, getQueryParameters, getQueryParameterValues, getRenderedEjbql, getRestrictionExpressionStrings, getRestrictionLogicOperator, getRestrictionParameters, getRestrictionParameterValues, getRestrictions, isAnyParameterDirty, isPaginated, isPreviousExists, isRestrictionParameterSet, isUseWildcardAsCountQuerySubject, last, next, parseEjbql, previous, setEjbql, setFirstResult, setGroupBy, setMaxResults, setOrder, setOrderColumn, setOrderDirection, setQueryParameterValues, setRestrictionExpressionStrings, setRestrictionLogicOperator, setRestrictionParameterValues, setRestrictions, setUseWildcardAsCountQuerySubject, truncResultList
getPersistenceContext, setPersistenceContext
addCookie, addFacesMessage, addFacesMessageFromResourceBundle, createValueExpression, createValueExpression, debug, debug, error, error, evaluateValueExpression, evaluateValueExpression, failValidation, fatal, fatal, getApplicationContext, getBusinessProcessContext, getComponentInstance, getComponentInstance, getConversation, getConversationContext, getCookie, getEventContext, getEvents, getFacesContext, getFacesMessages, getIdentity, getLog, getMessages, getMethodContext, getPageContext, getRedirect, getSessionContext, getStatusMessages, getValidator, getValidator, info, info, interpolate, invalidateSession, isTransactionMarkedRollback, raiseAsynchronousEvent, raiseEvent, raiseTransactionSuccessEvent, render, sendHttpError, sendHttpError, trace, trace, validationFailed, validationSucceeded, warn, warn
@Transactional public List<E> getResultList()
getResultList
in class Query<org.hibernate.Session,E>
@Transactional public boolean isNextExists()
Query
isNextExists
in class Query<org.hibernate.Session,E>
@Transactional public E getSingleResult()
getSingleResult
in class Query<org.hibernate.Session,E>
@Transactional public Long getResultCount()
getResultCount
in class Query<org.hibernate.Session,E>
public org.hibernate.Session getSession()
public void setSession(org.hibernate.Session session)
protected String getPersistenceContextName()
getPersistenceContextName
in class PersistenceController<org.hibernate.Session>
protected org.hibernate.Query createQuery()
protected org.hibernate.Query createCountQuery()
protected Boolean getCacheable()
protected void setCacheable(Boolean cacheable)
protected String getCacheRegion()
protected void setCacheRegion(String cacheRegion)
protected Integer getFetchSize()
protected void setFetchSize(Integer fetchSize)
Copyright © 2015 Seam Framework. All Rights Reserved.