com.atlassian.crowd.acceptance.tests.directory
Class ImmutableUser

java.lang.Object
  extended by com.atlassian.crowd.acceptance.tests.directory.ImmutableUser
All Implemented Interfaces:
com.atlassian.crowd.embedded.api.User, DirectoryEntity, Comparable<com.atlassian.crowd.embedded.api.User>, Principal

public final class ImmutableUser
extends Object
implements User


Constructor Summary
ImmutableUser(long directoryId, String name, String firstName, String lastName, String displayName, String emailAddress)
           
ImmutableUser(long directoryId, String name, String firstName, String lastName, String displayName, String emailAddress, String externalId)
           
 
Method Summary
 int compareTo(com.atlassian.crowd.embedded.api.User other)
           
 boolean equals(Object o)
           
 long getDirectoryId()
           
 String getDisplayName()
           
 String getEmailAddress()
           
 String getExternalId()
           
 String getFirstName()
           
 String getLastName()
           
 String getName()
           
 int hashCode()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Constructor Detail

ImmutableUser

public ImmutableUser(long directoryId,
                     String name,
                     String firstName,
                     String lastName,
                     String displayName,
                     String emailAddress)

ImmutableUser

public ImmutableUser(long directoryId,
                     String name,
                     String firstName,
                     String lastName,
                     String displayName,
                     String emailAddress,
                     String externalId)
Method Detail

getDirectoryId

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

getName

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

getFirstName

public String getFirstName()

getLastName

public String getLastName()

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

isActive

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

getExternalId

public String getExternalId()

equals

public boolean equals(Object o)
Specified by:
equals in interface com.atlassian.crowd.embedded.api.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 com.atlassian.crowd.embedded.api.User
Specified by:
hashCode in interface DirectoryEntity
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object

compareTo

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


Copyright © 2014 Atlassian. All Rights Reserved.