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, 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
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.Criteria createCriteria(Class clazz)
protected org.hibernate.Query createQuery(String hql) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected org.hibernate.SQLQuery createSQLQuery(String sql) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected void delete(Object entity) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected org.hibernate.Filter enableFilter(String name)
protected void flush() throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected <T> T get(Class<T> clazz, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected <T> T get(Class<T> clazz, Serializable id) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected org.hibernate.Query getNamedQuery(String name) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected <T> T load(Class<T> clazz, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected <T> T load(Class<T> clazz, Serializable id) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected void lock(Object entity, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected <T> T merge(T entity) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected void persist(Object entity) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected void refresh(Object entity, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected void refresh(Object entity) throws org.hibernate.HibernateException
org.hibernate.HibernateException
Copyright © 2015 Seam Framework. All Rights Reserved.