Package 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,TimestampedEntity,TimestampedUser,User,UserWithAttributes,Comparable<User>,Principal
public class InternalUserWithAttributes
extends EntityWithAttributes
implements UserWithAttributes, TimestampedUser
Encapsulates the concept of user which has attributes.
-
Constructor Summary
ConstructorsConstructorDescriptionInternalUserWithAttributes(InternalUser user, Map<String, Set<String>> attributes) -
Method Summary
Methods inherited from class com.atlassian.crowd.model.EntityWithAttributes
getKeys, getValue, getValues, isEmpty, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.crowd.embedded.api.Attributes
getKeys, getValue, getValues, isEmptyMethods inherited from interface com.atlassian.crowd.embedded.api.User
isMarkedAsDeleted
-
Constructor Details
-
InternalUserWithAttributes
-
InternalUserWithAttributes
-
-
Method Details
-
getDirectoryId
public long getDirectoryId()- Specified by:
getDirectoryIdin interfaceDirectoryEntity- Specified by:
getDirectoryIdin interfaceUser
-
getName
- Specified by:
getNamein interfaceDirectoryEntity- Specified by:
getNamein interfacePrincipal
-
isActive
public boolean isActive() -
getEmailAddress
- Specified by:
getEmailAddressin interfaceUser
-
getFirstName
- Specified by:
getFirstNamein interfaceUser
-
getLastName
- Specified by:
getLastNamein interfaceUser
-
getDisplayName
- Specified by:
getDisplayNamein interfaceUser
-
getInternalUser
-
getCredential
-
getExternalId
- Specified by:
getExternalIdin interfaceUser
-
getCreatedDate
- Specified by:
getCreatedDatein interfaceTimestampedEntity
-
getUpdatedDate
- Specified by:
getUpdatedDatein interfaceTimestampedEntity
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<User>- Specified by:
compareToin interfaceUser
-