|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.services.beans.BaseBean
com.fatwire.services.beans.entity.UserBean
public class UserBean
The UserBean represents the fundamental entity of the user. A user can exist independently. However, a user can gain access to a site only once roles are assigned to the user for that site. Both the name and the id of a user can serve as unique identifiers. The roles assigned to the user in a site governs the aspects of the application that user will have access to within the site. The UserBean is a value object used by services handling user-based operations.
SiteBean
,
RoleBean
,
Serialized FormConstructor Summary | |
---|---|
UserBean()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getId()
Returns the identifier of this user. |
java.lang.String |
getLocale()
Returns the locale associated with this user. |
java.lang.String |
getName()
Returns the name of this user. |
int |
hashCode()
|
void |
setId(java.lang.String id)
Sets the unique identifier of this user. |
void |
setLocale(java.util.Locale locale)
Sets the locale associated with this user. |
void |
setLocale(java.lang.String locale)
Sets the locale associated with this user. |
void |
setName(java.lang.String name)
Sets the name of this user. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserBean()
Method Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- the unique identifier for this user to set.public void setName(java.lang.String name)
name
- the name of this user to set.public java.lang.String getName()
public void setLocale(java.lang.String locale)
Sets the locale associated with this user.
Overloaded method with aString
argument.
locale
- the locale to associate with this user.public void setLocale(java.util.Locale locale)
Sets the locale associated with this user.
Overloaded method with aLocale
argument.
locale
- the locale to associate with this user.public java.lang.String getLocale()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |