com.atlassian.crowd.model.user
Class InternalUserWithAttributes
java.lang.Object
com.atlassian.crowd.model.EntityWithAttributes
com.atlassian.crowd.model.user.InternalUserWithAttributes
- All Implemented Interfaces:
- Attributes, User, UserWithAttributes, DirectoryEntity, java.lang.Comparable<User>, java.security.Principal
public class InternalUserWithAttributes
- extends EntityWithAttributes
- implements UserWithAttributes
Encapsulates the concept of user which has attributes.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
InternalUserWithAttributes
public InternalUserWithAttributes(InternalUser user,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
getDirectoryId
public long getDirectoryId()
- Specified by:
getDirectoryId in interface User- Specified by:
getDirectoryId in interface DirectoryEntity
getName
public java.lang.String getName()
- Specified by:
getName in interface DirectoryEntity- Specified by:
getName in interface java.security.Principal
isActive
public boolean isActive()
- Specified by:
isActive in interface User
getEmailAddress
public java.lang.String getEmailAddress()
- Specified by:
getEmailAddress in interface User
getFirstName
public java.lang.String getFirstName()
getLastName
public java.lang.String getLastName()
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface User
getInternalUser
public InternalUser getInternalUser()
getCredential
public PasswordCredential getCredential()
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface User- Specified by:
equals in interface DirectoryEntity- Specified by:
equals in interface java.security.Principal- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface User- Specified by:
hashCode in interface DirectoryEntity- Specified by:
hashCode in interface java.security.Principal- Overrides:
hashCode in class java.lang.Object
compareTo
public int compareTo(User o)
- Specified by:
compareTo in interface User- Specified by:
compareTo in interface java.lang.Comparable<User>
Copyright © 2012 Atlassian. All Rights Reserved.