Class HibernateUserLoginInfoDao
java.lang.Object
com.atlassian.confluence.impl.security.login.dao.HibernateUserLoginInfoDao
- All Implemented Interfaces:
UserLoginInfoDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRemove the login information for the givenuser.Lookup an existing audit object for the givenuseror create a new audit object if there isn't one for this user.@Nullable UserLoginInfovoidsaveOrUpdate(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:UserLoginInfoDaoLookup an existing audit object for the givenuseror create a new audit object if there isn't one for this user.- Specified by:
findOrCreateUserLoginInfoForUserin interfaceUserLoginInfoDao- Parameters:
user-- Returns:
- UserLoginInfo, never returns null
-
saveOrUpdate
Description copied from interface:UserLoginInfoDaoStore the login attached to a particular user- Specified by:
saveOrUpdatein interfaceUserLoginInfoDao- Parameters:
loginAudit-
-
deleteUserInfoFor
Description copied from interface:UserLoginInfoDaoRemove the login information for the givenuser.- Specified by:
deleteUserInfoForin interfaceUserLoginInfoDao- Parameters:
user-
-
lookupLoginInfo
- Specified by:
lookupLoginInfoin interfaceUserLoginInfoDao
-