@Deprecated public class EmbeddedCrowdUser extends Object implements com.atlassian.user.User, com.atlassian.crowd.embedded.api.User
User
interface and the Crowd User
interface, used to bridge the two APIs.
Where the contracts of the two APIs differ, like with equals(Object)
behaviour, the Crowd API is followed.
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(com.atlassian.crowd.embedded.api.User user)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
long |
getDirectoryId()
Deprecated.
|
String |
getDisplayName()
Deprecated.
|
String |
getEmail()
Deprecated.
|
String |
getEmailAddress()
Deprecated.
|
String |
getFullName()
Deprecated.
|
String |
getName()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isActive()
Deprecated.
|
String |
toString()
Deprecated.
|
public EmbeddedCrowdUser(long directoryId, String name, String displayName, String emailAddress, boolean isActive)
NullPointerException
- if the provided name is nullpublic EmbeddedCrowdUser(long directoryId, String name, String displayName, String emailAddress)
NullPointerException
- if the provided name is nullpublic EmbeddedCrowdUser(com.atlassian.crowd.embedded.api.User crowdUser)
crowdUser
- a user from Crowd, which must not be null
and must not have a null
nameNullPointerException
- if the user or its name is null
public String getFullName()
public String getEmail()
public boolean isActive()
isActive
in interface com.atlassian.crowd.embedded.api.User
public String getEmailAddress()
getEmailAddress
in interface com.atlassian.crowd.embedded.api.User
public String getDisplayName()
getDisplayName
in interface com.atlassian.crowd.embedded.api.User
public int compareTo(com.atlassian.crowd.embedded.api.User user)
compareTo
in interface com.atlassian.crowd.embedded.api.User
compareTo
in interface Comparable<com.atlassian.crowd.embedded.api.User>
public final long getDirectoryId()
getDirectoryId
in interface com.atlassian.crowd.embedded.api.User
public final String getName()
public String toString()
public final boolean equals(Object o)
Copyright © 2003–2019 Atlassian. All rights reserved.