Class CachedCrowdUser

  • All Implemented Interfaces:
    com.atlassian.crowd.embedded.api.User, com.atlassian.crowd.model.DirectoryEntity, com.atlassian.crowd.model.TimestampedEntity, com.atlassian.crowd.model.user.TimestampedUser, com.atlassian.crowd.model.user.User, Serializable, Comparable<com.atlassian.crowd.embedded.api.User>, Principal

    @Immutable
    public class CachedCrowdUser
    extends Object
    implements com.atlassian.crowd.model.user.TimestampedUser, Serializable
    Immutable Timestamped user for caching
    See Also:
    Serialized Form
    • Constructor Detail

      • CachedCrowdUser

        public CachedCrowdUser​(com.atlassian.crowd.model.user.TimestampedUser user)
    • Method Detail

      • getDirectoryId

        public long getDirectoryId()
        Specified by:
        getDirectoryId in interface com.atlassian.crowd.model.DirectoryEntity
        Specified by:
        getDirectoryId in interface com.atlassian.crowd.embedded.api.User
      • isActive

        public boolean isActive()
        Specified by:
        isActive in interface com.atlassian.crowd.embedded.api.User
      • getEmailAddress

        public String getEmailAddress()
        Specified by:
        getEmailAddress in interface com.atlassian.crowd.embedded.api.User
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface com.atlassian.crowd.embedded.api.User
      • getCreatedDate

        public Date getCreatedDate()
        Specified by:
        getCreatedDate in interface com.atlassian.crowd.model.TimestampedEntity
      • getUpdatedDate

        public Date getUpdatedDate()
        Specified by:
        getUpdatedDate in interface com.atlassian.crowd.model.TimestampedEntity
      • getFirstName

        public String getFirstName()
        Specified by:
        getFirstName in interface com.atlassian.crowd.model.user.User
      • getLastName

        public String getLastName()
        Specified by:
        getLastName in interface com.atlassian.crowd.model.user.User
      • getExternalId

        public String getExternalId()
        Specified by:
        getExternalId in interface com.atlassian.crowd.model.user.User
      • getName

        public String getName()
        Specified by:
        getName in interface com.atlassian.crowd.model.DirectoryEntity
        Specified by:
        getName in interface Principal
      • compareTo

        public int compareTo​(com.atlassian.crowd.embedded.api.User other)
        Specified by:
        compareTo in interface Comparable<com.atlassian.crowd.embedded.api.User>
        Specified by:
        compareTo in interface com.atlassian.crowd.embedded.api.User