public class UnknownUser extends Object implements com.atlassian.user.User
User
which represents a user that no longer exists, perhaps because the repository which
contains it is no longer accessible, or the user has been removed from an external repository.
Rather than checking for null throughout the view, this object can be passed that returns useful values for all the accessors.
Modifier | Constructor and Description |
---|---|
protected |
UnknownUser() |
Modifier and Type | Method and Description |
---|---|
String |
getEmail() |
String |
getFullName() |
String |
getName() |
static boolean |
isUnknownUser(com.atlassian.user.User user) |
static com.atlassian.user.User |
unknownUser(ConfluenceUser user,
I18NBean i18NBean) |
static com.atlassian.user.User |
unknownUser(String userName,
I18NBean i18NBean) |
public static com.atlassian.user.User unknownUser(ConfluenceUser user, I18NBean i18NBean)
public String getFullName()
getFullName
in interface com.atlassian.user.User
public String getEmail()
getEmail
in interface com.atlassian.user.User
public String getName()
public static boolean isUnknownUser(com.atlassian.user.User user)
Copyright © 2003–2019 Atlassian. All rights reserved.