|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.webgui.web.beans.session.UserBean
@Component @Scope(value="session") public final class UserBean
This bean contains information about the user of this session (like the properties and configurations). This class is a Spring managed bean with session
scope. This means also that it is possible to login the same user multiple times.
As it is a session bean, it must implement the Serializable interface.
| Constructor Summary | |
|---|---|
UserBean()
Default constructor. |
|
| Method Summary | |
|---|---|
String |
getGridColor()
|
int |
getGridSize()
|
String |
getLookAndFeel()
|
String |
getUsername()
Returns the name of the user of the current session. |
String |
getUserrole()
Delivers the role of the current user. |
protected void |
initialize()
This method initializes the bean. |
boolean |
isShowUnitializedComponents()
|
void |
setGlobalPropertiesBean(GlobalPropertiesBean globalPropertiesBean)
The setter for the property globalPropertiesBean. |
void |
setGridColor(String gridColor)
The setter for the property gridColor. |
void |
setGridSize(int gridSize)
The setter for the property gridSize. |
void |
setLookAndFeel(String lookAndFeel)
The setter for the property lookAndFeel. |
void |
setShowUnitializedComponents(boolean showUnitializedComponents)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserBean()
| Method Detail |
|---|
@PostConstruct protected void initialize()
public String getUsername()
public String getUserrole()
public void setGlobalPropertiesBean(GlobalPropertiesBean globalPropertiesBean)
globalPropertiesBean. Do not use this method. This property is Spring managed.
globalPropertiesBean - The new value for the property.public String getLookAndFeel()
public void setLookAndFeel(String lookAndFeel)
lookAndFeel. The method tries to save the value in the cookies of the user.
lookAndFeel - The new value for the property.public String getGridColor()
public boolean isShowUnitializedComponents()
public void setShowUnitializedComponents(boolean showUnitializedComponents)
public void setGridColor(String gridColor)
gridColor. The method tries to save the value in the cookies of the user.
gridColor - The new value for the property.public int getGridSize()
public void setGridSize(int gridSize)
gridSize. The method tries to save the value in the cookies of the user.
gridSize - The new value for the property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||