public interface PersonalInformationManager
Modifier and Type | Method and Description |
---|---|
PersonalInformation |
createPersonalInformation(com.atlassian.user.User user)
Creates a new
PersonalInformation for the specified user. |
PersonalInformation |
getOrCreatePersonalInformation(com.atlassian.user.User user)
Retrieve the personal information for a user.
|
PersonalInformation |
getPersonalInformation(com.atlassian.user.User user)
Deprecated.
since 4.2.5 - use getOrCreatePersonalInformation
|
boolean |
hasPersonalInformation(java.lang.String username) |
void |
removePersonalInformation(ConfluenceUser user) |
void |
removePersonalInformation(java.lang.String username)
Deprecated.
Since 5.2. Use
removePersonalInformation(ConfluenceUser) . |
void |
savePersonalInformation(PersonalInformation newInfo,
PersonalInformation oldInfo)
Saves personal information object.
|
void |
savePersonalInformation(com.atlassian.user.User user,
java.lang.String newInfo,
java.lang.String fullName)
Saves personal information and full name against the user object.
|
@Deprecated PersonalInformation getPersonalInformation(com.atlassian.user.User user)
user
- the user to retrieve personal information forjava.lang.NullPointerException
- if user is nullPersonalInformation getOrCreatePersonalInformation(com.atlassian.user.User user)
user
- the user to retrieve personal information forjava.lang.NullPointerException
- if user is nullvoid savePersonalInformation(PersonalInformation newInfo, PersonalInformation oldInfo)
newInfo
- oldInfo
- void savePersonalInformation(com.atlassian.user.User user, java.lang.String newInfo, java.lang.String fullName)
@Deprecated void removePersonalInformation(java.lang.String username)
removePersonalInformation(ConfluenceUser)
.void removePersonalInformation(ConfluenceUser user)
PersonalInformation createPersonalInformation(com.atlassian.user.User user)
PersonalInformation
for the specified user. Returns the existing one if it already exists.boolean hasPersonalInformation(java.lang.String username)
Copyright © 2003-2014 Atlassian. All Rights Reserved.