public class UserInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UserInfo() |
UserInfo(java.lang.String userKey)
Constructs a
UserInfo with the user key |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String attrName)
Gets the value for the specified user attribute name
|
java.util.Map |
getAttributes()
Gets a
Map of the user attributes |
java.lang.String |
getDisplayName()
Gets the Display Name
|
java.lang.String |
getFirstName()
Gets the user first name
|
java.lang.String |
getLastName()
Gets the last name of the user
|
java.lang.String |
getLoginID()
Gets the user login ID
|
java.lang.String |
getManagerEmailID()
Gets the email ID of the user's manager
|
java.lang.String |
getManagerKey()
Gets the ID/key of the user's manager
|
java.lang.String |
getManagerLoginID()
Gets the user login of the user's manager
|
java.lang.String |
getNonMTUserLoginID()
Gets the NoN MT user login ID
|
java.lang.String |
getTenantName()
Gets the Tenant Name
|
java.lang.String |
getUserEmailID()
Gets the email ID of the user
|
java.lang.String |
getUserKey()
Get the user ID/key of the user
|
void |
setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets key value pair for an user attribute
|
void |
setAttributes(java.util.Map attributes)
Sets a
Map of the user attributes |
void |
setDisplayName(java.lang.String displayName)
Sets Display Name
|
void |
setFirstName(java.lang.String firstName)
Sets the user first name
|
void |
setLastName(java.lang.String lastName)
Sets the last name of the user
|
void |
setLoginID(java.lang.String loginID)
Sets the user login ID
|
void |
setManagerEmailID(java.lang.String managerEmailID)
Sets the email ID of the user's manager
|
void |
setManagerKey(java.lang.String managerKey)
Sets the ID/key of the user's manager
|
void |
setManagerLoginID(java.lang.String managerLoginID)
Sets the user login of the user's manager
|
void |
setNonMTUserLoginID(java.lang.String NonMTUserLoginID)
Sets the NoN MT user login ID
|
void |
setTenantName(java.lang.String TenantName)
Sets the Tenant Name
|
void |
setUserEmailID(java.lang.String userEmailID)
Sets the email ID of the user
|
void |
setUserKey(java.lang.String key)
Get the user ID/key of the user
|
public UserInfo(java.lang.String userKey)
UserInfo
with the user keyentityId
- public UserInfo()
public void setNonMTUserLoginID(java.lang.String NonMTUserLoginID)
NonMTUserLoginID
- Non MT User Login of the userpublic java.lang.String getNonMTUserLoginID()
public void setTenantName(java.lang.String TenantName)
TenantName
- Tenant Name of the userpublic java.lang.String getTenantName()
public void setDisplayName(java.lang.String displayName)
displayName
- Display Name of the userpublic java.lang.String getDisplayName()
public void setLoginID(java.lang.String loginID)
loginID
- login ID of the userpublic java.lang.String getLoginID()
public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- first name of the userpublic java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName
- last name of the userpublic java.lang.String getUserKey()
public void setUserKey(java.lang.String key)
key
- user ID of the userpublic java.lang.String getUserEmailID()
public void setUserEmailID(java.lang.String userEmailID)
userEmailID
- Email ID of the userpublic java.lang.String getManagerEmailID()
public void setManagerEmailID(java.lang.String managerEmailID)
managerEmailID
- Email ID of the user's managerpublic java.lang.String getManagerKey()
public void setManagerKey(java.lang.String managerKey)
managerKey
- ID of the user's managerpublic java.lang.String getManagerLoginID()
public void setManagerLoginID(java.lang.String managerLoginID)
managerLoginID
- user login of the user's managerpublic java.util.Map getAttributes()
Map
of the user attributesMap
of the user attributespublic void setAttribute(java.lang.String attributeName, java.lang.Object attributeValue)
attributeName
- the name of the attribute.attributeValue
- the value of the attribute. Note that that this
should be the actual attribute value and not any wrapper type that contains
the attribute value. For example, Do not provide ContextAwareString etc as
the attribute valuepublic void setAttributes(java.util.Map attributes)
Map
of the user attributesattributes
- the attributes to setpublic java.lang.Object getAttribute(java.lang.String attrName)
attrName
- attribute name whose value is to be retrieved