Interface PageFlowStore
-
- All Known Implementing Classes:
HttpSessionPageFlowStore
public interface PageFlowStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PageFlow
getPageFlow(javax.servlet.http.HttpServletRequest request, String flowId)
boolean
removePageFlow(javax.servlet.http.HttpServletRequest request, String flowId)
Remove the associatedpageFlow
from the backend storage by theflowId
.boolean
storePageFlow(javax.servlet.http.HttpServletRequest request, String flowId, PageFlow pageFlow)
Store thepageFlow
into the backend storage by theflowId
.
-
-
-
Method Detail
-
getPageFlow
PageFlow getPageFlow(javax.servlet.http.HttpServletRequest request, String flowId) throws PageFlowException
Find and retrieve thePageFlow
instance by the identifier of thePageFlow
(flowId
) from the backend storage. Return null if not found.- Parameters:
request
-HttpServletRequest
objectflowId
- the identifier of thePageFlow
- Returns:
- the
PageFlow
instance by the identifier of thePageFlow
(flowId
) from the backend storage, or null if not found - Throws:
PageFlowException
- if any exception occurs
-
storePageFlow
boolean storePageFlow(javax.servlet.http.HttpServletRequest request, String flowId, PageFlow pageFlow) throws PageFlowException
Store thepageFlow
into the backend storage by theflowId
.- Parameters:
request
-HttpServletRequest
objectflowId
- the identifier of thePageFlow
pageFlow
-PageFlow
instance- Returns:
- true if stored
- Throws:
PageFlowException
- if any exception occurs
-
removePageFlow
boolean removePageFlow(javax.servlet.http.HttpServletRequest request, String flowId) throws PageFlowException
Remove the associatedpageFlow
from the backend storage by theflowId
.- Parameters:
request
-HttpServletRequest
objectflowId
- the identifier of thePageFlow
- Returns:
- true if removed
- Throws:
PageFlowException
- if any exception occurs
-
-