Package com.atlassian.confluence.user
Class DeletedUser
java.lang.Object
com.atlassian.confluence.user.UnknownUser
com.atlassian.confluence.user.DeletedUser
- All Implemented Interfaces:
com.atlassian.user.Entity
,com.atlassian.user.User
,Serializable
,Principal
Class that represents a user that has been deleted from Confluence post-RTBF (CONFSRVDEV-7360).
This is a user with a matching username and userkey. The user's fullname is generated using a hash of of their userkey.
- Since:
- 6.13.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
getName()
static boolean
isDeletedUser
(com.atlassian.user.User user) Helper method to determine if a User object represents a Deleted user.Methods inherited from class com.atlassian.confluence.user.UnknownUser
isUnknownUser, unknownUser, unknownUser
-
Constructor Details
-
DeletedUser
-
-
Method Details
-
getFullName
- Specified by:
getFullName
in interfacecom.atlassian.user.User
- Overrides:
getFullName
in classUnknownUser
-
getEmail
- Specified by:
getEmail
in interfacecom.atlassian.user.User
- Overrides:
getEmail
in classUnknownUser
-
getName
- Specified by:
getName
in interfacecom.atlassian.user.Entity
- Specified by:
getName
in interfacePrincipal
- Overrides:
getName
in classUnknownUser
-
isDeletedUser
public static boolean isDeletedUser(com.atlassian.user.User user) Helper method to determine if a User object represents a Deleted user.- Parameters:
user
- the user to check- Returns:
- true if the user has been deleted from Confluence and false otherwise (including null)
- Since:
- 6.13.0
-