当前页面:
在线文档首页 >
JBoss Seam 1.1.0 API 英文版文档
Query (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档
org.jboss.seam.framework
Class Query
java.lang.Object
org.jboss.seam.framework.Query
- Direct Known Subclasses:
- EntityQuery, HibernateEntityQuery
public abstract class Query
- extends Object
Constructor Summary |
Query()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query
public Query()
getResultList
public abstract List getResultList()
getSingleResult
public abstract Object getSingleResult()
getResultCount
public abstract Long getResultCount()
validate
@Create
public void validate()
getDataModel
@Transactional
public javax.faces.model.DataModel getDataModel()
refresh
public void refresh()
last
public void last()
next
public void next()
previous
public void previous()
first
public void first()
clearDataModel
protected void clearDataModel()
getLastFirstResult
@Transactional
public long getLastFirstResult()
getNextFirstResult
public int getNextFirstResult()
getPreviousFirstResult
public int getPreviousFirstResult()
parseEjbql
protected void parseEjbql()
getRenderedEjbql
protected String getRenderedEjbql()
getCountEjbql
protected String getCountEjbql()
getEjbql
public String getEjbql()
setEjbql
public void setEjbql(String ejbql)
getFirstResult
public Integer getFirstResult()
isPreviousExists
public boolean isPreviousExists()
isNextExists
public boolean isNextExists()
setFirstResult
public void setFirstResult(Integer firstResult)
getMaxResults
public Integer getMaxResults()
setMaxResults
public void setMaxResults(Integer maxResults)
getRestrictions
public List<String> getRestrictions()
setRestrictions
public void setRestrictions(List<String> restrictions)
getOrder
public String getOrder()
setOrder
public void setOrder(String order)
getQueryParameters
protected List<Expressions.ValueBinding> getQueryParameters()
getRestrictionParameters
protected List<Expressions.ValueBinding> getRestrictionParameters()