Class HibernateUserLoginInfoDao
java.lang.Object
com.atlassian.confluence.security.persistence.dao.hibernate.HibernateUserLoginInfoDao
- All Implemented Interfaces:
UserLoginInfoDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteUserInfoFor(com.atlassian.user.User user) Remove the login information for the givenuser.findOrCreateUserLoginInfoForUser(com.atlassian.user.User user) Lookup an existing audit object for the givenuseror create a new audit object if there isn't one for this user.voidsaveOrUpdate(UserLoginInfo loginAudit) Store the login attached to a particular user
-
Constructor Details
-
HibernateUserLoginInfoDao
public HibernateUserLoginInfoDao(org.hibernate.SessionFactory sf)
-
-
Method Details
-
findOrCreateUserLoginInfoForUser
Lookup an existing audit object for the givenuseror create a new audit object if there isn't one for this user.- Specified by:
findOrCreateUserLoginInfoForUserin interfaceUserLoginInfoDao- Returns:
- UserLoginInfo, never returns null
-
saveOrUpdate
Store the login attached to a particular user- Specified by:
saveOrUpdatein interfaceUserLoginInfoDao
-
deleteUserInfoFor
public void deleteUserInfoFor(com.atlassian.user.User user) Remove the login information for the givenuser.- Specified by:
deleteUserInfoForin interfaceUserLoginInfoDao
-