com.atlassian.crowd.model.user
Class LDAPUserWithAttributes

java.lang.Object
  extended by com.atlassian.crowd.model.user.LDAPUserWithAttributes
All Implemented Interfaces:
Attributes, User, UserWithAttributes, DirectoryEntity, LDAPDirectoryEntity, Serializable, Comparable<User>, Principal

public class LDAPUserWithAttributes
extends Object
implements UserWithAttributes, LDAPDirectoryEntity

See Also:
Serialized Form

Constructor Summary
LDAPUserWithAttributes(String dn, UserTemplateWithAttributes user)
           
 
Method Summary
 int compareTo(User other)
           
 boolean equals(Object o)
           
 long getDirectoryId()
           
 String getDisplayName()
           
 String getDn()
          Gets the standardised distinguished name for the LDAP entity.
 String getEmailAddress()
           
 String getExternalId()
           
 String getFirstName()
           
 Set<String> getKeys()
           
 String getLastName()
           
 String getName()
           
 String getValue(String name)
           
 Set<String> getValues(String name)
           
 int hashCode()
           
 boolean isActive()
           
 boolean isEmpty()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LDAPUserWithAttributes

public LDAPUserWithAttributes(String dn,
                              UserTemplateWithAttributes user)
Method Detail

getDn

public String getDn()
Description copied from interface: LDAPDirectoryEntity
Gets the standardised distinguished name for the LDAP entity.

Specified by:
getDn in interface LDAPDirectoryEntity
Returns:
distinguished name.

getDirectoryId

public long getDirectoryId()
Specified by:
getDirectoryId in interface User
Specified by:
getDirectoryId in interface DirectoryEntity

getName

public String getName()
Specified by:
getName in interface DirectoryEntity
Specified by:
getName in interface Principal

isActive

public boolean isActive()
Specified by:
isActive in interface User

getEmailAddress

public String getEmailAddress()
Specified by:
getEmailAddress in interface User

getFirstName

public String getFirstName()

getLastName

public String getLastName()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface User

getValues

public Set<String> getValues(String name)
Specified by:
getValues in interface Attributes

getValue

public String getValue(String name)
Specified by:
getValue in interface Attributes

getKeys

public Set<String> getKeys()
Specified by:
getKeys in interface Attributes

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Attributes

getExternalId

public String getExternalId()

equals

public boolean equals(Object o)
Specified by:
equals in interface User
Specified by:
equals in interface DirectoryEntity
Specified by:
equals in interface Principal
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface User
Specified by:
hashCode in interface DirectoryEntity
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object

compareTo

public int compareTo(User other)
Specified by:
compareTo in interface User
Specified by:
compareTo in interface Comparable<User>

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object


Copyright © 2014 Atlassian. All Rights Reserved.