|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
public class AbstractHibernateDAO
Abstract class that al DAO will have to extend.
Constructor Summary | |
---|---|
AbstractHibernateDAO()
|
Method Summary | |
---|---|
org.hibernate.Session |
getSession()
Gets tre current session. |
it.eng.spago.security.IEngUserProfile |
getUserProfile()
|
void |
logException(java.lang.Throwable t)
Traces the exception information of a throwable input object. |
void |
rollbackIfActiveAndClose(org.hibernate.Transaction tx,
org.hibernate.Session aSession)
|
void |
setUserID(java.lang.String user)
|
void |
setUserProfile(it.eng.spago.security.IEngUserProfile profile)
|
protected SbiHibernateModel |
updateSbiCommonInfo4Insert(SbiHibernateModel obj)
|
protected SbiHibernateModel |
updateSbiCommonInfo4Update(SbiHibernateModel obj)
usefull to update some property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractHibernateDAO()
Method Detail |
---|
public void setUserID(java.lang.String user)
public void setUserProfile(it.eng.spago.security.IEngUserProfile profile)
public it.eng.spago.security.IEngUserProfile getUserProfile()
public org.hibernate.Session getSession()
protected SbiHibernateModel updateSbiCommonInfo4Update(SbiHibernateModel obj)
obj
-
protected SbiHibernateModel updateSbiCommonInfo4Insert(SbiHibernateModel obj)
public void logException(java.lang.Throwable t)
t
- The input throwable objectpublic void rollbackIfActiveAndClose(org.hibernate.Transaction tx, org.hibernate.Session aSession)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |