com.atlassian.crowd.model.user
Class LDAPUserWithAttributes
java.lang.Object
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
LDAPUserWithAttributes
public LDAPUserWithAttributes(String dn,
UserTemplateWithAttributes user)
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.