public final class HibernateUserLoginInfoDao extends Object 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 UserLoginInfoDao
public void saveOrUpdate(UserLoginInfo loginAudit)
saveOrUpdate
in interface UserLoginInfoDao
public void deleteUserInfoFor(com.atlassian.user.User user)
user
.deleteUserInfoFor
in interface UserLoginInfoDao
Copyright © 2003–2020 Atlassian. All rights reserved.