Package com.atlassian.confluence.user
Class UnknownUser
java.lang.Object
com.atlassian.confluence.user.UnknownUser
- All Implemented Interfaces:
com.atlassian.user.Entity
,com.atlassian.user.User
,Serializable
,Principal
- Direct Known Subclasses:
DeletedUser
Implementation of
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.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
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)
-
Constructor Details
-
UnknownUser
protected UnknownUser()
-
-
Method Details
-
unknownUser
-
unknownUser
-
getFullName
- Specified by:
getFullName
in interfacecom.atlassian.user.User
-
getEmail
- Specified by:
getEmail
in interfacecom.atlassian.user.User
-
getName
-
isUnknownUser
public static boolean isUnknownUser(com.atlassian.user.User user)
-