public final class

HibernateUserLoginInfoDao

extends HibernateDaoSupport
implements UserLoginInfoDao
java.lang.Object
   ↳ org.springframework.dao.support.DaoSupport
     ↳ org.springframework.orm.hibernate.support.HibernateDaoSupport
       ↳ com.atlassian.confluence.security.persistence.dao.hibernate.HibernateUserLoginInfoDao

Summary

[Expand]
Inherited Fields
From class org.springframework.dao.support.DaoSupport
Public Constructors
HibernateUserLoginInfoDao(SessionFactory sf)
Public Methods
void deleteUserInfoFor(User user)
Remove the login information for the given user.
UserLoginInfo findOrCreateUserLoginInfoForUser(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
[Expand]
Inherited Methods
From class org.springframework.orm.hibernate.support.HibernateDaoSupport
From class org.springframework.dao.support.DaoSupport
From class java.lang.Object
From interface com.atlassian.confluence.security.persistence.dao.UserLoginInfoDao
From interface org.springframework.beans.factory.InitializingBean

Public Constructors

public HibernateUserLoginInfoDao (SessionFactory sf)

Public Methods

public void deleteUserInfoFor (User user)

Remove the login information for the given user.

public UserLoginInfo findOrCreateUserLoginInfoForUser (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.

Returns
  • UserLoginInfo, never returns null

public void saveOrUpdate (UserLoginInfo loginAudit)

Store the login attached to a particular user