Package com.fluig.sdk.user
Class UserVO
- java.lang.Object
-
- com.fluig.sdk.user.UserVO
-
- All Implemented Interfaces:
Serializable
public class UserVO extends Object implements Serializable
Value Object para usuário- Version:
- 1.00.000
- Author:
- vanei
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringEXTATTR_birthDayConstante birthDay String - EXTATTR_birthDayprotected static StringEXTATTR_consumerKeyConstante consumerKey String - EXTATTR_consumerKeyprotected static StringEXTATTR_firstAccessConstante firstAccess String - EXTATTR_firstAccessprotected static StringEXTATTR_groupsConstante groups String - EXTATTR_groupsprotected static StringEXTATTR_idpIdConstante idpId String - EXTATTR_idpIdprotected static StringEXTATTR_locationIdConstante locationid String - EXTATTR_locationIdprotected static StringEXTATTR_passwordTypeConstante passwordType String - EXTATTR_passwordTypeprotected static StringEXTATTR_rolesConstante roles String - EXTATTR_rolesprotected static StringEXTATTR_tenantCodeConstante tenantCode String - EXTATTR_tenantCodeprotected static StringEXTATTR_tenantIdConstante tenantId String - EXTATTR_tenantIdprotected static StringEXTATTR_userTypeConstante userType String - EXTATTR_userType
-
Constructor Summary
Constructors Constructor Description UserVO()Construtor default.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtData(String key, Object value)Adicionar chave e valor no mapa.StringgetCode()Recupera valor do codeStringgetEmail()Recupera valor do emailHashMap<String,Object>getExtData()Recupera mapa de extraDataObjectgetExtraData(String key)Recupera valor do extDataStringgetFirstName()Recupera valor do firstNameStringgetFullName()Recupera valor do fullNameList<String>getGroups()LonggetId()Recupera valor do idBooleangetIsActive()Return user statusStringgetLastName()Recupera valor do lastNameStringgetLogin()Recupera valor do loginStringgetPassword()Recupera valor do passwordList<String>getRoles()StringgetTimezone()Atribui valor ao timezoneStringgetTokenAccess()Retorna tokenAccessStringgetTokenSecret()Retorna token secretStringgetUserUUID()Recupera valor do userUUIDObjectgetValueExtData(String key)Retorna objeto no mapavoidsetCode(String code)Atribui valor para codevoidsetEmail(String email)Atribui valor para emailvoidsetExtData(HashMap<String,Object> extData)Atribui valor ao mapvoidsetExtraData(String key, Object value)Atribui valor para extDatavoidsetFirstName(String firstName)Atribui valor para firstNamevoidsetFullName(String fullName)Atribui valor para fullNamevoidsetGroups(List<String> groups)voidsetId(Long id)Atribui valor para idvoidsetIsActive(Boolean isActive)Set user statusvoidsetLastName(String lastName)Atribui valor para lastNamevoidsetLogin(String login)Atribui valor para loginvoidsetPassword(String password)Atribui valor para passwordvoidsetRoles(List<String> roles)voidsetTimezone(String timezone)Retorna o timezonevoidsetTokenAccess(String token)Atribui valor ao tokenAccessvoidsetTokenSecret(String tokenSecret)Atribui valor ao token secretvoidsetUserUUID(String userUUID)Atribui valor para userUUIDStringtoString()
-
-
-
Field Detail
-
EXTATTR_idpId
protected static final String EXTATTR_idpId
Constante idpId String - EXTATTR_idpId- See Also:
- Constant Field Values
-
EXTATTR_birthDay
protected static final String EXTATTR_birthDay
Constante birthDay String - EXTATTR_birthDay- See Also:
- Constant Field Values
-
EXTATTR_firstAccess
protected static final String EXTATTR_firstAccess
Constante firstAccess String - EXTATTR_firstAccess- See Also:
- Constant Field Values
-
EXTATTR_roles
protected static final String EXTATTR_roles
Constante roles String - EXTATTR_roles- See Also:
- Constant Field Values
-
EXTATTR_groups
protected static final String EXTATTR_groups
Constante groups String - EXTATTR_groups- See Also:
- Constant Field Values
-
EXTATTR_locationId
protected static final String EXTATTR_locationId
Constante locationid String - EXTATTR_locationId- See Also:
- Constant Field Values
-
EXTATTR_tenantCode
protected static final String EXTATTR_tenantCode
Constante tenantCode String - EXTATTR_tenantCode- See Also:
- Constant Field Values
-
EXTATTR_tenantId
protected static final String EXTATTR_tenantId
Constante tenantId String - EXTATTR_tenantId- See Also:
- Constant Field Values
-
EXTATTR_userType
protected static final String EXTATTR_userType
Constante userType String - EXTATTR_userType- See Also:
- Constant Field Values
-
EXTATTR_passwordType
protected static final String EXTATTR_passwordType
Constante passwordType String - EXTATTR_passwordType- See Also:
- Constant Field Values
-
EXTATTR_consumerKey
protected static final String EXTATTR_consumerKey
Constante consumerKey String - EXTATTR_consumerKey- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public Long getId()
Recupera valor do id- Returns:
- the id
-
setId
public void setId(Long id)
Atribui valor para id- Parameters:
id- the id to set
-
getUserUUID
public String getUserUUID()
Recupera valor do userUUID- Returns:
- the userUUID
-
setUserUUID
public void setUserUUID(String userUUID)
Atribui valor para userUUID- Parameters:
id- the userUUID to set
-
getLogin
public String getLogin()
Recupera valor do login- Returns:
- the login
-
setLogin
public void setLogin(String login)
Atribui valor para login- Parameters:
login- the login to set
-
getEmail
public String getEmail()
Recupera valor do email- Returns:
- the email
-
setEmail
public void setEmail(String email)
Atribui valor para email- Parameters:
email- the email to set
-
getCode
public String getCode()
Recupera valor do code- Returns:
- the code
-
setCode
public void setCode(String code)
Atribui valor para code- Parameters:
code- the code to set
-
getFirstName
public String getFirstName()
Recupera valor do firstName- Returns:
- the firstName
-
setFirstName
public void setFirstName(String firstName)
Atribui valor para firstName- Parameters:
firstName- the firstName to set
-
getLastName
public String getLastName()
Recupera valor do lastName- Returns:
- the lastName
-
setLastName
public void setLastName(String lastName)
Atribui valor para lastName- Parameters:
lastName- the lastName to set
-
getFullName
public String getFullName()
Recupera valor do fullName- Returns:
- the fullName
-
setFullName
public void setFullName(String fullName)
Atribui valor para fullName- Parameters:
fullName- the fullName to set
-
getPassword
public String getPassword()
Recupera valor do password- Returns:
- the password
-
setPassword
public void setPassword(String password)
Atribui valor para password- Parameters:
password- the password to set
-
addExtData
public void addExtData(String key, Object value)
Adicionar chave e valor no mapa.- Parameters:
key-value-
-
getValueExtData
public Object getValueExtData(String key)
Retorna objeto no mapa- Parameters:
key-- Returns:
- Object
-
setExtraData
public void setExtraData(String key, Object value)
Atribui valor para extData- Parameters:
key-value-
-
setExtData
public void setExtData(HashMap<String,Object> extData)
Atribui valor ao map- Parameters:
extData-
-
getTokenAccess
public String getTokenAccess()
Retorna tokenAccess- Returns:
- String
-
setTokenAccess
public void setTokenAccess(String token)
Atribui valor ao tokenAccess- Parameters:
token-
-
getTokenSecret
public String getTokenSecret()
Retorna token secret- Returns:
- String
-
setTokenSecret
public void setTokenSecret(String tokenSecret)
Atribui valor ao token secret- Parameters:
tokenSecret-
-
getTimezone
public String getTimezone()
Atribui valor ao timezone- Returns:
- timezone
-
setTimezone
public void setTimezone(String timezone)
Retorna o timezone- Parameters:
timezone-
-
getIsActive
public Boolean getIsActive()
Return user status- Returns:
- Boolean
-
setIsActive
public void setIsActive(Boolean isActive)
Set user status- Parameters:
isActive-
-
-