com.atlassian.confluence.user
Class UnknownUser
java.lang.Object
com.atlassian.confluence.user.UnknownUser
- All Implemented Interfaces:
- Entity, User, Serializable, Principal
public class UnknownUser
- extends Object
- implements User
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:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnknownUser
public UnknownUser(String userName)
getFullName
public String getFullName()
- Specified by:
getFullName
in interface User
getEmail
public String getEmail()
- Specified by:
getEmail
in interface User
setFullName
public void setFullName(String string)
- Specified by:
setFullName
in interface User
setEmail
public void setEmail(String string)
- Specified by:
setEmail
in interface User
setPassword
public void setPassword(String string)
- Specified by:
setPassword
in interface User
getName
public String getName()
- Specified by:
getName
in interface Entity
- Specified by:
getName
in interface Principal