|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate.support.HibernateDaoSupport com.atlassian.confluence.security.persistence.dao.hibernate.HibernateUserLoginInfoDao
public final class HibernateUserLoginInfoDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateUserLoginInfoDao(net.sf.hibernate.SessionFactory sf)
|
Method Summary | |
---|---|
void |
deleteUserInfoFor(com.atlassian.user.User user)
Remove the login information for the given user . |
UserLoginInfo |
findOrCreateUserLoginInfoForUser(com.atlassian.user.User user)
Lookup an existing audit object for the given user or create a new audit object if there isn't one for this user. |
void |
saveOrUpdate(UserLoginInfo loginAudit)
Store the login attached to a particular user |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HibernateUserLoginInfoDao(net.sf.hibernate.SessionFactory sf)
Method Detail |
---|
public UserLoginInfo findOrCreateUserLoginInfoForUser(com.atlassian.user.User user)
user
or create a new audit object if there isn't one for this user.
findOrCreateUserLoginInfoForUser
in interface UserLoginInfoDao
public void saveOrUpdate(UserLoginInfo loginAudit)
saveOrUpdate
in interface UserLoginInfoDao
public void deleteUserInfoFor(com.atlassian.user.User user)
user
.
deleteUserInfoFor
in interface UserLoginInfoDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |