|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.flow.helper.FlowManagerHelper
Helper for scoping session values per application.
Fields inherited from interface com.beasys.commerce.foundation.flow.FlowManagerConstants |
APPLICATION_FLOW_MANAGER,
APPLICATION_RESET_FLAG,
PERIOD |
Constructor Summary | |
FlowManagerHelper()
|
Method Summary | |
protected static java.lang.String |
fixupName(java.lang.String aName,
javax.servlet.ServletRequest aRequest)
Fixup name. |
static java.lang.String |
getApplicationFlowManager(javax.servlet.ServletRequest aRequest)
Get application flow manager. |
static java.lang.String |
getApplicationFlowManagerNoContext(javax.servlet.ServletRequest aRequest)
Get application flow manager no context. |
static java.lang.Object |
getCachedValue(java.lang.String aName,
javax.servlet.http.HttpServletRequest aRequest,
boolean isScoped)
Get cached value. |
static java.lang.Object |
getGlobalCachedValue(java.lang.String aName,
javax.servlet.http.HttpServletRequest aRequest,
boolean isScoped)
Get cached value. |
static java.lang.Object |
getSessionAttribute(java.lang.String aName,
javax.servlet.http.HttpServletRequest aRequest)
Get a scoped session attribute. |
static void |
removeCachedValue(java.lang.String aName,
javax.servlet.http.HttpServletRequest aRequest,
boolean isScoped)
Remove cached value. |
static void |
removeGlobalCachedValue(java.lang.String aName,
javax.servlet.http.HttpServletRequest aRequest,
boolean isScoped)
Remove cached value. |
static void |
removeSessionAttribute(java.lang.String aName,
javax.servlet.http.HttpServletRequest aRequest)
Remove session attribute. |
static void |
setCachedValue(java.lang.String aName,
java.lang.Object aValue,
javax.servlet.http.HttpServletRequest aRequest,
boolean isScoped)
Set cached value. |
static void |
setGlobalCachedValue(java.lang.String aName,
java.lang.Object aValue,
javax.servlet.http.HttpServletRequest aRequest,
boolean isScoped)
Set cached value. |
static void |
setSessionAttribute(java.lang.String aName,
java.lang.Object aValue,
javax.servlet.http.HttpServletRequest aRequest)
Set a scoped session attribute. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FlowManagerHelper()
Method Detail |
public static java.lang.String getApplicationFlowManager(javax.servlet.ServletRequest aRequest)
aRequest
- String
public static java.lang.String getApplicationFlowManagerNoContext(javax.servlet.ServletRequest aRequest)
aRequest
- String
protected static java.lang.String fixupName(java.lang.String aName, javax.servlet.ServletRequest aRequest)
aName
- aRequest
- String
public static void setSessionAttribute(java.lang.String aName, java.lang.Object aValue, javax.servlet.http.HttpServletRequest aRequest)
aName
- aValue
- aRequest
- public static java.lang.Object getSessionAttribute(java.lang.String aName, javax.servlet.http.HttpServletRequest aRequest)
aName
- aRequest
- Object
public static void removeSessionAttribute(java.lang.String aName, javax.servlet.http.HttpServletRequest aRequest)
aName
- aRequest
- Object
public static java.lang.Object getCachedValue(java.lang.String aName, javax.servlet.http.HttpServletRequest aRequest, boolean isScoped)
aName
- aRequest
- isScoped
- if true, will scope the value to the applicationObject
public static void setCachedValue(java.lang.String aName, java.lang.Object aValue, javax.servlet.http.HttpServletRequest aRequest, boolean isScoped)
aName
- aValue
- aRequest
- isScoped
- if true, will scope the value to the applicationpublic static void removeCachedValue(java.lang.String aName, javax.servlet.http.HttpServletRequest aRequest, boolean isScoped)
aName
- aRequest
- isScoped
- if true, will scope the value to the applicationpublic static java.lang.Object getGlobalCachedValue(java.lang.String aName, javax.servlet.http.HttpServletRequest aRequest, boolean isScoped)
aName
- aRequest
- isScoped
- if true, will scope the value to the applicationObject
public static void setGlobalCachedValue(java.lang.String aName, java.lang.Object aValue, javax.servlet.http.HttpServletRequest aRequest, boolean isScoped)
aName
- aValue
- aRequest
- isScoped
- if true, will scope the value to the applicationpublic static void removeGlobalCachedValue(java.lang.String aName, javax.servlet.http.HttpServletRequest aRequest, boolean isScoped)
aName
- aRequest
- isScoped
- if true, will scope the value to the application
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |