Package de.xima.fc.security.session
Class SessionDataBean
java.lang.Object
de.xima.fc.security.session.SessionDataBean
- All Implemented Interfaces:
Serializable
Simple bean for storing and accessing data in an HTTP session.
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addInitViewMessage
(ViewMessage message) Adds a view message that is to be displayed upon view initialization.removeInitViewMessages
(IView view) Removes all view messages that are to be displayed upon initialization of the given view.
-
Constructor Details
-
SessionDataBean
public SessionDataBean()
-
-
Method Details
-
addInitViewMessage
Adds a view message that is to be displayed upon view initialization. View messages are useful for displaying information to users after redirection.- Parameters:
message
- to be displayed upon view initialization- Returns:
true
(as specified byCollection.add
)
-
removeInitViewMessages
Removes all view messages that are to be displayed upon initialization of the given view. View messages are useful for displaying information to users after redirection.- Parameters:
view
- to get messages for that are to be displayed upon the views initialization.- Returns:
- a list of all messages that are to be displayed upon initialization of the given view. These messages are removed from the session data after method execution.
-