Package | Description |
---|---|
org.jboss.seam.framework |
A framework for data access in Seam.
|
Modifier and Type | Method and Description |
---|---|
E |
EntityHome.find()
Implementation of
find() for JPA |
E |
HibernateEntityHome.find() |
javax.faces.model.DataModel |
Query.getDataModel()
Wrap the result set in a JSF
DataModel
Delegates to DataModels.getDataModel(Query) |
E |
Home.getInstance()
Get the managed entity, using the id from
Home.getId() to load it from
the Persistence Context or creating a new instance if the id is not
defined. |
Long |
Query.getLastFirstResult()
Get the index of the first result of the last page
|
Integer |
Query.getPageCount()
Get the total number of pages
|
Long |
EntityQuery.getResultCount()
Get the number of results this query returns
Any changed restriction values will be applied
|
Long |
HibernateEntityQuery.getResultCount() |
List<E> |
EntityQuery.getResultList()
Get the list of results this query returns
Any changed restriction values will be applied
|
List<E> |
HibernateEntityQuery.getResultList() |
E |
EntityQuery.getSingleResult()
Get a single result from the query
Any changed restriction values will be applied
|
E |
HibernateEntityQuery.getSingleResult() |
boolean |
EntityHome.isManaged()
Returns true if the entity instance is managed
|
boolean |
HibernateEntityHome.isManaged() |
boolean |
EntityQuery.isNextExists() |
boolean |
HibernateEntityQuery.isNextExists() |
void |
Query.last()
Move the result set cursor to the beginning of the last page
|
String |
EntityHome.persist()
Persist unmanaged entity instance to the underlying database.
|
String |
HibernateEntityHome.persist() |
String |
EntityHome.remove()
Remove managed entity instance from the Persistence Context and the
underlying database.
|
String |
HibernateEntityHome.remove() |
String |
EntityHome.update()
Flush any changes made to the managed entity instance to the underlying
database.
|
String |
HibernateEntityHome.update() |
Copyright © 2015 Seam Framework. All Rights Reserved.