org.jboss.seam.framework
public class HibernateEntityController extends PersistenceController<org.hibernate.Session>
| Constructor and Description |
|---|
HibernateEntityController() |
| Modifier and Type | Method and Description |
|---|---|
protected org.hibernate.Criteria |
createCriteria(Class clazz) |
protected org.hibernate.Query |
createQuery(String hql) |
protected org.hibernate.SQLQuery |
createSQLQuery(String sql) |
protected void |
delete(Object entity) |
protected org.hibernate.Filter |
enableFilter(String name) |
protected void |
flush() |
protected <T> T |
get(Class<T> clazz,
Serializable id) |
protected <T> T |
get(Class<T> clazz,
Serializable id,
org.hibernate.LockMode lockMode) |
protected org.hibernate.Query |
getNamedQuery(String name) |
protected String |
getPersistenceContextName() |
org.hibernate.Session |
getSession() |
protected <T> T |
load(Class<T> clazz,
Serializable id) |
protected <T> T |
load(Class<T> clazz,
Serializable id,
org.hibernate.LockMode lockMode) |
protected void |
lock(Object entity,
org.hibernate.LockMode lockMode) |
protected <T> T |
merge(T entity) |
protected void |
persist(Object entity) |
protected void |
refresh(Object entity) |
protected void |
refresh(Object entity,
org.hibernate.LockMode lockMode) |
void |
setSession(org.hibernate.Session session) |
getPersistenceContext, setPersistenceContextaddCookie, 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, warnpublic org.hibernate.Session getSession()
public void setSession(org.hibernate.Session session)
protected String getPersistenceContextName()
getPersistenceContextName in class PersistenceController<org.hibernate.Session>protected org.hibernate.Criteria createCriteria(Class clazz)
protected org.hibernate.Query createQuery(String hql) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected org.hibernate.SQLQuery createSQLQuery(String sql) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected void delete(Object entity) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected org.hibernate.Filter enableFilter(String name)
protected void flush()
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected <T> T get(Class<T> clazz, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected <T> T get(Class<T> clazz, Serializable id) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected org.hibernate.Query getNamedQuery(String name) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected <T> T load(Class<T> clazz, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected <T> T load(Class<T> clazz, Serializable id) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected void lock(Object entity, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected <T> T merge(T entity)
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected void persist(Object entity) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected void refresh(Object entity, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionprotected void refresh(Object entity) throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionCopyright © 2015 Seam Framework. All Rights Reserved.