Interface UserLoginInfoDao
-
- All Known Implementing Classes:
HibernateUserLoginInfoDao
public interface UserLoginInfoDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteUserInfoFor(com.atlassian.user.User user)Remove the login information for the givenuser.UserLoginInfofindOrCreateUserLoginInfoForUser(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 loginInfo)Store the login attached to a particular user
-
-
-
Method Detail
-
findOrCreateUserLoginInfoForUser
UserLoginInfo 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.- Parameters:
user-- Returns:
- UserLoginInfo, never returns null
-
saveOrUpdate
void saveOrUpdate(UserLoginInfo loginInfo)
Store the login attached to a particular user- Parameters:
loginInfo-
-
deleteUserInfoFor
void deleteUserInfoFor(com.atlassian.user.User user)
Remove the login information for the givenuser.- Parameters:
user-
-
-