public class

DelegatingApplicationUser

extends Object
implements ApplicationUser
java.lang.Object
   ↳ com.atlassian.jira.user.DelegatingApplicationUser
Known Direct Subclasses

Class Overview

An ApplicationUser comprising of a String key and an embedded crowd User.

Summary

Public Constructors
DelegatingApplicationUser(String key, User user)
Public Methods
boolean equals(Object obj)
long getDirectoryId()
User getDirectoryUser()
String getDisplayName()
Returns the display name of the user.
String getEmailAddress()
String getKey()
Returns the key which distinguishes the ApplicationUser as unique.
String getName()
Synonym for getUsername() and implementation of getName().
String getUsername()
int hashCode()
boolean isActive()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.user.ApplicationUser
From interface java.security.Principal

Public Constructors

public DelegatingApplicationUser (String key, User user)

Public Methods

public boolean equals (Object obj)

public long getDirectoryId ()

public User getDirectoryUser ()

public String getDisplayName ()

Returns the display name of the user. This is sometimes referred to as "full name".

Returns
  • display name of the user, must never be null.

public String getEmailAddress ()

public String getKey ()

Returns the key which distinguishes the ApplicationUser as unique. The same key is shared by all Users with the same username (ignoring case) across all user directories.

Returns
  • the key which distinguishes the ApplicationUser as unique

public String getName ()

Synonym for getUsername() and implementation of getName().

Returns
  • the username (login) of the user; must never be null.

public String getUsername ()

public int hashCode ()

public boolean isActive ()

public String toString ()