public interface BridgeRequestScopeManager
| Modifier and Type | Method and Description |
|---|---|
BridgeRequestScope |
createRequestScope(BridgeContext ctx,
String viewId)
Create a new empty RequestScope.
|
BridgeRequestScope |
createRequestScope(BridgeContext ctx,
String portletName,
String sessionId,
String viewId,
String portletMode)
Create a new empty RequestScope.
|
BridgeRequestScope |
getRequestScope(BridgeContext ctx)
Returns the BridgeRequestScope corresponding to the portletId, sessionId, viewId and portletMode.
|
BridgeRequestScope |
getRequestScope(BridgeContext ctx,
String viewId)
Returns the BridgeRequestScope corresponding to the portletId, sessionId, viewId and portletMode.
|
BridgeRequestScope |
getRequestScope(BridgeContext ctx,
String viewId,
String portletMode)
Returns the BridgeRequestScope corresponding to the portletId, sessionId, viewId and portletMode.
|
BridgeRequestScope |
getRequestScope(BridgeContext ctx,
String portletName,
String sessionId,
String viewId,
String portletMode)
Returns the BridgeRequestScope corresponding to the portletId, sessionId, viewId and portletMode.
|
BridgeRequestScope |
getRequestScopeById(BridgeContext ctx,
String id)
Returns the BridgeRequestScope corresponding to the supplied key (id)
|
BridgeRequestScope |
removeRequestScope(BridgeContext ctx,
BridgeRequestScope scope)
Removes the supplied BridgeRequestScope from management.
|
BridgeRequestScope |
removeRequestScope(BridgeContext ctx,
String viewId)
Removes the request scope pertaining to the portletId, sessionId, viewId and portletMode.
|
BridgeRequestScope |
removeRequestScope(BridgeContext ctx,
String viewId,
String portletMode)
Removes the request scope pertaining to the portletName, sessionId, viewId and portletMode.
|
BridgeRequestScope |
removeRequestScope(BridgeContext ctx,
String portletName,
String sessionId,
String viewId,
String portletMode)
Removes the request scope pertaining to the portletName, sessionId, viewId and portletMode.
|
BridgeRequestScope |
removeRequestScopeById(BridgeContext ctx,
String id)
Removes the specific BridgeRequestScope (from management) that corresponds to the supplied key.
|
void |
removeRequestScopesByPortlet(BridgeContext ctx)
Removes all the BridgeRequestScope's currently being managed by this manager for the specific portlet that is
identified in the PortletConfig object obtainable from the BridgeContext.
|
void |
removeRequestScopesByPortlet(BridgeContext ctx,
String portletName)
Removes all the BridgeRequestScope's currently being managed by this manager for the specific portlet that is
identified
portletName. |
void |
removeRequestScopesBySession(BridgeContext ctx)
Removes all the BridgeRequestScope's currently being managed by this manager for the current session.
|
void |
removeRequestScopesBySession(BridgeContext ctx,
String sessionId)
Removes all the BridgeRequestScope's currently being managed by this manager for the session identified by
sessionId. |
BridgeRequestScope createRequestScope(BridgeContext ctx, String portletName, String sessionId, String viewId, String portletMode)
ctx - portletName - name of the portlet to which this scope pertainssessionId - a unique identifier for the user session in which this scope pertainsviewId - the faces viewId of this scopeportletMode - the mode this scope pertains toBridgeRequestScope createRequestScope(BridgeContext ctx, String viewId)
BridgeContext.ctx - viewId - the faces viewId of this scopeBridgeRequestScope getRequestScopeById(BridgeContext ctx, String id)
ctx - id - BridgeRequestScope's idBridgeRequestScope getRequestScope(BridgeContext ctx, String portletName, String sessionId, String viewId, String portletMode)
ctx - portletName - uniquely identifies this portlet.sessionId - uniquely identifies a user context (session)viewId - Faces view to which this scope pertainsportletMode - portlet mode that this scope representsBridgeRequestScope getRequestScope(BridgeContext ctx, String viewId, String portletMode)
ctx - viewId - Faces view to which this scope pertainsportletMode - portlet mode that this scope representsBridgeRequestScope getRequestScope(BridgeContext ctx, String viewId)
ctx - viewId - Faces view to which this scope pertainsBridgeRequestScope getRequestScope(BridgeContext ctx)
ctx - BridgeRequestScope removeRequestScopeById(BridgeContext ctx, String id)
ctx - id - BridgeRequestScope removeRequestScope(BridgeContext ctx, BridgeRequestScope scope)
ctx - scope - BridgeRequestScope removeRequestScope(BridgeContext ctx, String portletName, String sessionId, String viewId, String portletMode)
ctx - portletName - uniquely identifies this portlet.sessionId - uniquely identifies a user context (session)viewId - Faces view to which this scope pertainsportletMode - portlet mode that this scope representsBridgeRequestScope removeRequestScope(BridgeContext ctx, String viewId, String portletMode)
ctx - viewId - Faces view to which this scope pertainsportletMode - portlet mode that this scope representsBridgeRequestScope removeRequestScope(BridgeContext ctx, String viewId)
ctx - viewId - Faces view to which this scope pertainsvoid removeRequestScopesByPortlet(BridgeContext ctx, String portletName)
portletName.ctx - void removeRequestScopesByPortlet(BridgeContext ctx)
ctx - void removeRequestScopesBySession(BridgeContext ctx, String sessionId)
sessionId.ctx - void removeRequestScopesBySession(BridgeContext ctx)
ctx - Copyright © 2015 JBoss by Red Hat. All rights reserved.