Class KnownUser
- java.lang.Object
-
- com.atlassian.confluence.api.model.people.Person
-
- com.atlassian.confluence.api.model.people.User
-
- com.atlassian.confluence.api.model.people.KnownUser
-
- All Implemented Interfaces:
Subject
,Relatable
,NavigationAware
public class KnownUser extends User implements NavigationAware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KnownUser.Builder
-
Nested classes/interfaces inherited from class com.atlassian.confluence.api.model.people.User
User.Expansions
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.api.model.people.User
isUserKnown, mapUserToUsername, username
-
Fields inherited from class com.atlassian.confluence.api.model.people.Person
ANONYMOUS_USER_TYPE, KNOWN_USER_TYPE
-
-
Constructor Summary
Constructors Constructor Description KnownUser(Icon profilePicture, String username, String displayName)
Deprecated.since 5.5.KnownUser(Icon profilePicture, String username, String displayName, com.atlassian.sal.api.user.UserKey userKey)
Deprecated.since 6.5.0.KnownUser(Icon profilePicture, String username, String displayName, String userKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KnownUser.Builder
builder()
Reference<UserStatus>
getStatusRef()
Navigation.Builder
resolveNavigation(NavigationService navigationService)
-
Methods inherited from class com.atlassian.confluence.api.model.people.User
fromUserkey, fromUsername, getUsername, optionalUserKey, optionalUsername, toString
-
Methods inherited from class com.atlassian.confluence.api.model.people.Person
getDisplayName, getOptionalUsername, getProfilePicture, getSubjectType, getUserKey
-
-
-
-
Constructor Detail
-
KnownUser
public KnownUser(Icon profilePicture, String username, String displayName, String userKey)
-
KnownUser
@Deprecated public KnownUser(Icon profilePicture, String username, String displayName, com.atlassian.sal.api.user.UserKey userKey)
Deprecated.since 6.5.0. Use thebuilder()
instead.
-
KnownUser
@Deprecated public KnownUser(Icon profilePicture, String username, String displayName)
Deprecated.since 5.5. UseKnownUser(Icon, String, String, UserKey)
instead.
-
-
Method Detail
-
builder
public static KnownUser.Builder builder()
- Since:
- 5.9
-
resolveNavigation
public Navigation.Builder resolveNavigation(NavigationService navigationService)
- Specified by:
resolveNavigation
in interfaceNavigationAware
-
getStatusRef
public Reference<UserStatus> getStatusRef()
-
-