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