|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.infodesire.infobit.dao.BaseDAO
implements base DAO capabilities. - low level persistence and security checking derived classes shall do transaction management
| Constructor Summary | |
BaseDAO(SecurityProvider sec,
SessionProvider sess)
Constructor for the InfobitDAO object |
|
| Method Summary | |
java.lang.Object |
doLoad(java.lang.Class clazz,
java.io.Serializable id)
load persistent entity |
SecurityProvider |
getSecurityProvider()
Gets the SecurityProvider attribute of the InfobitDAO object |
SessionProvider |
getSessionProvider()
Gets the SessionProvider attribute of the InfobitDAO object |
java.util.List |
performQuery(java.lang.String query)
perform query somebody already rigged up for us |
java.util.List |
performQuery(java.lang.String name,
java.util.Map parameters)
perform hibernate query. |
void |
setSecurityProvider(SecurityProvider securityProvider)
Sets the SecurityProvider attribute of the InfobitDAO object |
void |
setSessionProvider(SessionProvider sessionProvider)
Sets the SessionProvider attribute of the InfobitDAO object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseDAO(SecurityProvider sec,
SessionProvider sess)
sec - Description of Parametersess - Description of Parameter| Method Detail |
public SecurityProvider getSecurityProvider()
public SessionProvider getSessionProvider()
public void setSecurityProvider(SecurityProvider securityProvider)
securityProvider - The new SecurityProvider valuepublic void setSessionProvider(SessionProvider sessionProvider)
sessionProvider - The new SessionProvider value
public java.util.List performQuery(java.lang.String query)
throws java.lang.Exception
query - Description of Parameter
java.lang.Exception - Description of Exception
public java.util.List performQuery(java.lang.String name,
java.util.Map parameters)
throws java.lang.Exception
name - name of the queryparameters - map of parameters
java.lang.Exception - thrown by hibernate
public java.lang.Object doLoad(java.lang.Class clazz,
java.io.Serializable id)
throws java.lang.Exception
clazz - Description of Parameterid - Description of Parameter
java.lang.Exception - Description of Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||