|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.service.spring.HibernateManagerSupport
public abstract class HibernateManagerSupport
Base convenience class for service classes based on Hibernate 3 that are placed over Spring containers with AOP transaction management.
| Constructor Summary | |
|---|---|
HibernateManagerSupport()
|
|
| Method Summary | |
|---|---|
protected void |
check(PagedSearchFilter filter,
int count)
Check the first value in the given filter is lower than the count provided. |
protected void |
delete(org.hibernate.Session session,
java.lang.Class c,
java.io.Serializable id)
Delete a bean instance by id |
protected java.util.Map<java.lang.Integer,IntKeyDTO> |
getCatalog(org.hibernate.Session session,
java.lang.Class c)
Get a catalog of Simple int key DTO objects. |
protected org.hibernate.Session |
getSession()
Get the current hibernate session. |
protected java.lang.Object |
load(org.hibernate.Session session,
java.lang.Class c,
java.io.Serializable id)
Convenience method for classes that must perform a loading by int id |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Set the Hibernate session factory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateManagerSupport()
| Method Detail |
|---|
public final void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
protected final org.hibernate.Session getSession()
protected final java.lang.Object load(org.hibernate.Session session,
java.lang.Class c,
java.io.Serializable id)
throws NonExistentObjectException
NonExistentObjectException
protected final void delete(org.hibernate.Session session,
java.lang.Class c,
java.io.Serializable id)
throws NonExistentObjectException
NonExistentObjectException
protected final java.util.Map<java.lang.Integer,IntKeyDTO> getCatalog(org.hibernate.Session session,
java.lang.Class c)
protected final void check(PagedSearchFilter filter,
int count)
throws ValidationException
ValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||