Package com.aquima.web.ui
Class PageWard
java.lang.Object
com.aquima.web.ui.PageWard
- All Implemented Interfaces:
com.blueriq.component.api.ui.IPageWard
,Serializable
A ward is a boundary which signals when one crosses it. This class generates a key on which one can detect if one
crossed a certain boundary.
Used in conjunction with 'back', 'forward' and F5 detection of the browser. Stored on the session
- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic PageWard
acquire
(jakarta.servlet.http.HttpSession session, com.aquima.interactions.foundation.ApplicationID applicationId, String sessionId) static PageWard
acquire
(org.springframework.web.context.request.WebRequest request, com.aquima.interactions.foundation.ApplicationID applicationId, String sessionId) This method acquires the pageward for servlets and portlets.void
getKey()
getWard()
boolean
isExpectedSubmit
(org.springframework.web.context.request.WebRequest request, String idPrefix)
-
Method Details
-
acquire
-
acquire
public static PageWard acquire(org.springframework.web.context.request.WebRequest request, com.aquima.interactions.foundation.ApplicationID applicationId, String sessionId) This method acquires the pageward for servlets and portlets.- Parameters:
request
- the webrequest (ServletWebRequest or PortletWebRequest)applicationId
- the application idsessionId
- the current session id- Returns:
- the pageward
-
isExpectedSubmit
public boolean isExpectedSubmit(org.springframework.web.context.request.WebRequest request, String idPrefix) - Specified by:
isExpectedSubmit
in interfacecom.blueriq.component.api.ui.IPageWard
-
generateNewWard
public void generateNewWard()- Specified by:
generateNewWard
in interfacecom.blueriq.component.api.ui.IPageWard
-
getKey
- Specified by:
getKey
in interfacecom.blueriq.component.api.ui.IPageWard
-
getWard
- Specified by:
getWard
in interfacecom.blueriq.component.api.ui.IPageWard
-