Class EmbeddedCrowdUser
- java.lang.Object
 - 
- com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdUser
 
 
- 
- All Implemented Interfaces:
 com.atlassian.crowd.embedded.api.User,com.atlassian.user.Entity,com.atlassian.user.User,Serializable,Comparable<com.atlassian.crowd.embedded.api.User>,Principal
@Deprecated public class EmbeddedCrowdUser extends Object implements com.atlassian.user.User, com.atlassian.crowd.embedded.api.User
Deprecated.since 7.0.1 because atlassian-embedded-crowd-atlassian-user module was removed. No replacementAn implementation of both the Atlassian-UserUserinterface and the CrowdUserinterface, used to bridge the two APIs.Where the contracts of the two APIs differ, like with
Copied from atlassian-embedded-crowd libraryequals(Object)behaviour, the Crowd API is followed.- Since:
 - 7.0.1
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description EmbeddedCrowdUser(long directoryId, String name, String displayName, String emailAddress)Deprecated.Constructs a new active EmbeddedCrowdUser with the specified properties.EmbeddedCrowdUser(long directoryId, String name, String displayName, String emailAddress, boolean isActive)Deprecated.Constructs a new EmbeddedCrowdUser with the specified properties.EmbeddedCrowdUser(com.atlassian.crowd.embedded.api.User crowdUser)Deprecated.Constructs a new Embedded Crowd user with a copy of the properties from the provided user. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(com.atlassian.crowd.embedded.api.User user)Deprecated.booleanequals(Object o)Deprecated.longgetDirectoryId()Deprecated.StringgetDisplayName()Deprecated.StringgetEmail()Deprecated.StringgetEmailAddress()Deprecated.StringgetFullName()Deprecated.StringgetName()Deprecated.inthashCode()Deprecated.booleanisActive()Deprecated.StringtoString()Deprecated. 
 - 
 
- 
- 
Constructor Detail
- 
EmbeddedCrowdUser
public EmbeddedCrowdUser(long directoryId, String name, String displayName, String emailAddress, boolean isActive)Deprecated.Constructs a new EmbeddedCrowdUser with the specified properties. The name must not be null.- Throws:
 NullPointerException- if the provided name is null
 
- 
EmbeddedCrowdUser
public EmbeddedCrowdUser(long directoryId, String name, String displayName, String emailAddress)Deprecated.Constructs a new active EmbeddedCrowdUser with the specified properties. The name must not be null. The user's active property will be set to true.- Throws:
 NullPointerException- if the provided name is null
 
- 
EmbeddedCrowdUser
public EmbeddedCrowdUser(com.atlassian.crowd.embedded.api.User crowdUser)
Deprecated.Constructs a new Embedded Crowd user with a copy of the properties from the provided user.- Parameters:
 crowdUser- a user from Crowd, which must not benulland must not have anullname- Throws:
 NullPointerException- if the user or its name isnull
 
 - 
 
- 
Method Detail
- 
getFullName
public String getFullName()
Deprecated.- Specified by:
 getFullNamein interfacecom.atlassian.user.User
 
- 
getEmail
public String getEmail()
Deprecated.- Specified by:
 getEmailin interfacecom.atlassian.user.User
 
- 
isActive
public boolean isActive()
Deprecated.- Specified by:
 isActivein interfacecom.atlassian.crowd.embedded.api.User
 
- 
getEmailAddress
public String getEmailAddress()
Deprecated.- Specified by:
 getEmailAddressin interfacecom.atlassian.crowd.embedded.api.User
 
- 
getDisplayName
public String getDisplayName()
Deprecated.- Specified by:
 getDisplayNamein interfacecom.atlassian.crowd.embedded.api.User
 
- 
compareTo
public int compareTo(com.atlassian.crowd.embedded.api.User user)
Deprecated.- Specified by:
 compareToin interfaceComparable<com.atlassian.crowd.embedded.api.User>- Specified by:
 compareToin interfacecom.atlassian.crowd.embedded.api.User
 
- 
getDirectoryId
public final long getDirectoryId()
Deprecated.- Specified by:
 getDirectoryIdin interfacecom.atlassian.crowd.embedded.api.User
 
- 
getName
public final String getName()
Deprecated. 
- 
toString
public String toString()
Deprecated. 
- 
equals
public final boolean equals(Object o)
Deprecated. 
 - 
 
 -