public class SymUser
extends java.lang.Object
Constructor and Description |
---|
SymUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<SymAvatar> |
getAvatars()
Retrieves the avatars of a Symphony User.
|
java.lang.String |
getCompany()
Retrieves the company of a Symphony User.
|
java.util.Date |
getCreatedDate()
Retrieves the creation date of a Symphony User.
|
java.lang.String |
getDepartment()
Retrieves the department name of a Symphony User.
|
java.lang.String |
getDisplayName()
Retrieves the display/pretty name of a Symphony User.
|
java.lang.String |
getEmailAddress()
Retrieves the email address of a Symphony User.
|
org.symphonyoss.symphony.pod.model.FeatureList |
getFeatures()
Retrieves the
FeatureList of a Symphony User. |
java.lang.String |
getFirstName()
Retrieves the first name of a Symphony User.
|
java.lang.Long |
getId()
Retrieves the id of a Symphony User.
|
java.util.Date |
getLastLoginDate()
Retrieves the last login date of a Symphony User.
|
java.lang.String |
getLastName()
Retrieves the last name of a Symphony User.
|
java.lang.String |
getLocation()
Retrieves the location of a Symphony User.
|
java.util.Set<java.lang.String> |
getRoles()
Retrieves a set of roles of a Symphony User.
|
java.lang.String |
getTitle()
Retrieves the title of a Symphony User..
|
java.lang.String |
getUsername()
Retrieves the username of a Symphony User.
|
int |
hashCode() |
boolean |
isActive()
Checks whether a Symphony User is active.
|
void |
setActive(boolean active)
Sets the active status of a Symphony User.
|
void |
setAvatars(java.util.List<SymAvatar> avatars)
Sets the avatars of a Synphony User.
|
void |
setCompany(java.lang.String company)
Sets the company of a Symphony User.
|
void |
setCreatedDate(java.util.Date createdDate)
Sets the creation date of a Symphony User.
|
void |
setDepartment(java.lang.String department)
Sets the department name of a Symphony User.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of a Symphony User.
|
void |
setEmailAddress(java.lang.String emailAddress)
Sets the email address for a Symphony User.
|
void |
setFeatures(org.symphonyoss.symphony.pod.model.FeatureList features)
The
FeatureList to set for a Symphony User. |
void |
setFirstName(java.lang.String firstName)
Sets the first name for a Symphony User.
|
void |
setId(java.lang.Long id)
Sets the id for a Symphony User.
|
void |
setLastLoginDate(java.util.Date lastLoginDate)
Sets the last login date of a Symphony User.
|
void |
setLastName(java.lang.String lastName)
Sets the last name of a Symphony User.
|
void |
setLocation(java.lang.String location)
Sets the location of a Symphony User.
|
void |
setRoles(java.util.Set<java.lang.String> roles)
Sets the roles of a Symphony User.
|
void |
setTitle(java.lang.String title)
Sets the title of a Symphony User.
|
void |
setUsername(java.lang.String username)
Sets the username of a Symphony User.
|
static SymUser |
toSymUser(org.symphonyoss.symphony.pod.model.UserDetail userDetail)
This method takes a
UserDetail and converts it into SymUser . |
static SymUser |
toSymUser(org.symphonyoss.symphony.pod.model.UserV2 user)
This method converts a
UserV2 to a SymUser . |
static SymUser |
toSymUser(org.symphonyoss.symphony.agent.model.V4User user)
This method converts a
V4User to a SymUser . |
static org.symphonyoss.symphony.pod.model.UserAttributes |
toUserAttributes(SymUser symUser)
This method takes a SymUser and converts it into UserAttributes.
|
static org.symphonyoss.symphony.pod.model.UserV2 |
toUserV2(SymUser symUser)
The method convert a
SymUser to a UserV2 . |
public java.lang.Long getId()
public void setId(java.lang.Long id)
id
- the id to set for the Symphony Userpublic java.lang.String getEmailAddress()
public void setEmailAddress(java.lang.String emailAddress)
emailAddress
- the email address to set for a Symphony User.public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- the first name to set for a Symphony User.public java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName
- the last name to set for a Symphony User.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- the display name to set for a Symphony User.public java.lang.String getDepartment()
public void setDepartment(java.lang.String department)
department
- the department name to set for a Symphony User.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to set for a Symphony User.public java.lang.String getCompany()
public void setCompany(java.lang.String company)
company
- the company to set for a Symphony User.public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the username to set for a Symphony User.public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- the location to set for a Symphony User.public java.util.List<SymAvatar> getAvatars()
public void setAvatars(java.util.List<SymAvatar> avatars)
avatars
- the avatars to set for a Symphony User.public java.util.Date getLastLoginDate()
public void setLastLoginDate(java.util.Date lastLoginDate)
lastLoginDate
- the last login date to set for a Symphony User.public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
createdDate
- the creation date to set for a Symphony User.public boolean isActive()
public void setActive(boolean active)
active
- the active status to set for a Symphony User. Set to true if user is active, false if otherwise.public java.util.Set<java.lang.String> getRoles()
public void setRoles(java.util.Set<java.lang.String> roles)
roles
- the set of roles to set for a Symphony User.public org.symphonyoss.symphony.pod.model.FeatureList getFeatures()
FeatureList
of a Symphony User.public void setFeatures(org.symphonyoss.symphony.pod.model.FeatureList features)
FeatureList
to set for a Symphony User.features
- the features to set for a Symphony User.public static org.symphonyoss.symphony.pod.model.UserV2 toUserV2(SymUser symUser)
SymUser
to a UserV2
.public static SymUser toSymUser(org.symphonyoss.symphony.pod.model.UserV2 user)
UserV2
to a SymUser
.user
- the UserV2
to convert from.SymUser
generated from the UserV2
.public static SymUser toSymUser(org.symphonyoss.symphony.agent.model.V4User user)
V4User
to a SymUser
.user
- the V4User
to convert from.SymUser
generated from UserDetail
.public static SymUser toSymUser(org.symphonyoss.symphony.pod.model.UserDetail userDetail)
UserDetail
and converts it into SymUser
.
NOTE: Avatars and Company are not exposed by UserDetail
and so are not set as part of this implementationuserDetail
- User detailpublic static org.symphonyoss.symphony.pod.model.UserAttributes toUserAttributes(SymUser symUser)
symUser
- User objectpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object