@Entity public class GuestUser extends GenericEcomUser
User.BIT_MASKSfirstName, lastName, middleName| Constructor and Description |
|---|
GuestUser() |
GuestUser(String userId) |
GuestUser(String firstName,
String email) |
GuestUser(String firstName,
String email,
String userAgent,
String ipaddress) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
Can be used for Login for Guest users also
|
Map<String,Collection<Authorization>> |
getAuthorizationMap()
Map of entity Name to
Set of Authorization.The entity name can refer to any section that has a name, that uniquely identifies the entity. |
int |
getBitmask() |
String |
getId() |
String |
getIpaddress() |
String |
getName() |
Collection<String> |
getRoleNames() |
String |
getUserAgent() |
String |
getUserId()
To maintain session information
Its transient by nature and only valid for the session;
could be SessionId or a reliable Id for a Registered user.
|
void |
setAlias(String alias)
Can be used for Login for Guest users also
|
User |
setAuthorizationMap(Map<String,Collection<Authorization>> _roles)
Map of entity Name to
Set of Authorization.The entity name can refer to any section that has a name, that uniquely identifies the entity. |
User |
setBitmask(int bitmask) |
void |
setId(String id) |
void |
setIpaddress(String ipaddress) |
void |
setRoleNames(Collection<String> roleNames) |
void |
setUserAgent(String userAgent) |
void |
setUserId(String userId)
To maintain session information
Its transient by nature and only valid for the session;
could be SessionId or a reliable Id for a Registered user.
|
clone, copyAs, equals, getAddress, getAddresses, getCreateDate, getDob, getEmail, getFirstName, getLastName, getMiddleName, getPhone, getSeq, hashCode, setAddress, setAddresses, setCreateDate, setDob, setEmail, setFirstName, setLastName, setMiddleName, setPhone, setSeq, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetEnvironmentSupplierpublic GuestUser()
public GuestUser(String userId)
public String getIpaddress()
public void setIpaddress(String ipaddress)
public String getAlias()
public void setAlias(String alias)
public String getUserAgent()
public void setUserAgent(String userAgent)
public String getName()
public String getId()
public void setId(String id)
public Map<String,Collection<Authorization>> getAuthorizationMap()
UserSet of Authorization.Mappublic User setAuthorizationMap(Map<String,Collection<Authorization>> _roles)
UserSet of Authorization.Mappublic int getBitmask()
public User setBitmask(int bitmask)
public String getUserId()
IGenericEcomUsergetUserId in interface IGenericEcomUsergetUserId in class GenericEcomUserpublic void setUserId(String userId)
IGenericEcomUsersetUserId in interface IGenericEcomUsersetUserId in class GenericEcomUserpublic Collection<String> getRoleNames()
Collection of Role.getName()public void setRoleNames(Collection<String> roleNames)
Copyright © 2018. All rights reserved.