@Entity public class GuestUser extends GenericEcomUser
User.BIT_MASKS
firstName, 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, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getEnvironmentSupplier
public 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()
User
Set
of Authorization
.Map
public User setAuthorizationMap(Map<String,Collection<Authorization>> _roles)
User
Set
of Authorization
.Map
public int getBitmask()
public User setBitmask(int bitmask)
public String getUserId()
IGenericEcomUser
getUserId
in interface IGenericEcomUser
getUserId
in class GenericEcomUser
public void setUserId(String userId)
IGenericEcomUser
setUserId
in interface IGenericEcomUser
setUserId
in class GenericEcomUser
public Collection<String> getRoleNames()
Collection
of Role.getName()
public void setRoleNames(Collection<String> roleNames)
Copyright © 2018. All rights reserved.