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.
Constructor and Description |
---|
UnknownUser(String userName)
Deprecated.
|
UnknownUser(String userName,
I18NBeanFactory i18NBeanFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getEmail() |
String |
getFullName() |
String |
getName() |
static boolean |
isUnknownUser(com.atlassian.user.User user) |
void |
setEmail(String string)
Deprecated.
since 5.4. Does nothing.
|
void |
setFullName(String string)
Deprecated.
since 5.4. Does nothing.
|
void |
setPassword(String string)
Deprecated.
since 5.4. Does nothing.
|
static com.atlassian.user.User |
unknownUser(String userName,
I18NBean i18NBean) |
@Deprecated public UnknownUser(String userName)
unknownUser(String, com.atlassian.confluence.util.i18n.I18NBean)
@Deprecated public UnknownUser(String userName, I18NBeanFactory i18NBeanFactory)
unknownUser(String, com.atlassian.confluence.util.i18n.I18NBean)
public String getFullName()
getFullName
in interface com.atlassian.user.User
public String getEmail()
getEmail
in interface com.atlassian.user.User
@Deprecated public void setFullName(String string)
@Deprecated public void setEmail(String string)
@Deprecated public void setPassword(String string)
public String getName()
public static boolean isUnknownUser(com.atlassian.user.User user)
Copyright © 2003–2017 Atlassian. All rights reserved.