Class HibernateUserLoginInfoDao
java.lang.Object
com.atlassian.confluence.security.persistence.dao.hibernate.HibernateUserLoginInfoDao
- All Implemented Interfaces:
UserLoginInfoDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteUserInfoFor
(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 givenuser
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
-
Constructor Details
-
HibernateUserLoginInfoDao
public HibernateUserLoginInfoDao(org.hibernate.SessionFactory sf)
-
-
Method Details
-
findOrCreateUserLoginInfoForUser
Lookup an existing audit object for the givenuser
or create a new audit object if there isn't one for this user.- Specified by:
findOrCreateUserLoginInfoForUser
in interfaceUserLoginInfoDao
- Returns:
- UserLoginInfo, never returns null
-
saveOrUpdate
Store the login attached to a particular user- Specified by:
saveOrUpdate
in interfaceUserLoginInfoDao
-
deleteUserInfoFor
public void deleteUserInfoFor(com.atlassian.user.User user) Remove the login information for the givenuser
.- Specified by:
deleteUserInfoFor
in interfaceUserLoginInfoDao
-