public class

DelegatingUserWithAttributes

extends AbstractDelegatingEntityWithAttributes
implements UserWithAttributes
java.lang.Object
   ↳ com.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
     ↳ com.atlassian.crowd.embedded.impl.DelegatingUserWithAttributes

Class Overview

Implementation of UserWithAttributes that simply delegates to an underlying User and Attributes object.

Instances of this class will be effectively immutable so long as either:

  • It is constructed with immutable objects.
  • or,
  • The mutable objects it is constructed with are not "leaked".

Summary

Public Constructors
DelegatingUserWithAttributes(User user, Attributes attributes)
Public Methods
int compareTo(User user)
CompareTo must be compatible with the equals() and hashCode() methods
boolean equals(Object o)
long getDirectoryId()
String getDisplayName()
String getEmailAddress()
String getName()
int hashCode()
boolean isActive()
[Expand]
Inherited Methods
From class com.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
From class java.lang.Object
From interface com.atlassian.crowd.embedded.api.Attributes
From interface com.atlassian.crowd.embedded.api.User
From interface java.lang.Comparable
From interface java.security.Principal

Public Constructors

public DelegatingUserWithAttributes (User user, Attributes attributes)

Public Methods

public int compareTo (User user)

CompareTo must be compatible with the equals() and hashCode() methods

public boolean equals (Object o)

public long getDirectoryId ()

public String getDisplayName ()

public String getEmailAddress ()

public String getName ()

public int hashCode ()

public boolean isActive ()