public final class HibernateUserLoginInfoDao extends org.springframework.orm.hibernate5.support.HibernateDaoSupport implements UserLoginInfoDao
| Constructor and Description |
|---|
HibernateUserLoginInfoDao(org.hibernate.SessionFactory sf) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public HibernateUserLoginInfoDao(org.hibernate.SessionFactory sf)
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 UserLoginInfoDaopublic void saveOrUpdate(UserLoginInfo loginAudit)
saveOrUpdate in interface UserLoginInfoDaopublic void deleteUserInfoFor(com.atlassian.user.User user)
user.deleteUserInfoFor in interface UserLoginInfoDaoCopyright © 2003–2019 Atlassian. All rights reserved.