当前页面:
在线文档首页 >
JBoss Seam 1.1.0 bate1 API 英文版文档
EntityQuery (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档
org.jboss.seam.framework
Class EntityQuery
java.lang.Object
org.jboss.seam.framework.Query
org.jboss.seam.framework.EntityQuery
public class EntityQuery
- extends Query
Methods inherited from class org.jboss.seam.framework.Query |
first, getCountEjbql, getDataModel, getEjbql, getFirstResult, getLastFirstResult, getMaxResults, getNextFirstResult, getOrder, getPreviousFirstResult, getQueryParameters, getRenderedEjbql, getRestrictionParameters, getRestrictions, isNextExists, isPreviousExists, last, next, parseEjbql, previous, setEjbql, setFirstResult, setMaxResults, setOrder, setRestrictions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityQuery
public EntityQuery()
validate
public void validate()
- Overrides:
validate
in class Query
getResultList
@Transactional
public List getResultList()
- Specified by:
getResultList
in class Query
getSingleResult
@Transactional
public Object getSingleResult()
- Specified by:
getSingleResult
in class Query
getResultCount
@Transactional
public Long getResultCount()
- Specified by:
getResultCount
in class Query
refresh
public void refresh()
- Overrides:
refresh
in class Query
getEntityManager
public javax.persistence.EntityManager getEntityManager()
setEntityManager
public void setEntityManager(javax.persistence.EntityManager entityManager)
createQuery
protected javax.persistence.Query createQuery()
createCountQuery
protected javax.persistence.Query createCountQuery()
getHints
public Map<String,String> getHints()
setHints
public void setHints(Map<String,String> hints)