PortalAppflowHelper Class
DEPRECATED com.bea.portal is only useful in the compatibility domain. For the new portal framework please
use the classes under the com.bea.netuix package
- public abstract class PortalAppflowHelper
extends Object
An static helper class for assisting in common programming tasks.
-
Hierarchy
-
Object
PortalAppflowHelper
public static PortalManager |
-
createPortalManager ()
- Create a new instance of the PortalManager EJB from the cached PortalManagerHome.
|
public static WebflowExecutor |
-
getWebflowExecutor (PortalContext portalContext)
- Obtain an instance of the WebflowExecutor.
|
public static WebflowResponse |
-
invokePortletWebflow (HttpServletRequest request, HttpServletResponse response, String namespace, String origin, String event, PortalRequest portalRequest, PageState pageState, PortletState portletState)
- Invoke a portlet's webflow, and store the final presentation node in the
portal's content map.
|
public static WebflowResponse |
-
invokeWebflow (HttpServletRequest request, HttpServletResponse response, String namespace, String origin, String event, PortalRequest portalRequest)
- Invoke a webflow.
|
public static WebflowResponse |
-
invokeWebflow (HttpServletRequest request, HttpServletResponse response, String namespace, String origin, String event, WebflowExecutor executor)
- Invoke a webflow.
|
public static void |
-
updatePortalSession (HttpServletRequest request, PortalSession portalSession)
- Safely updates the PortalSession in the HttpSession and the PortalState.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portalManagerHome
protected static com.bea.portal.manager.ejb.PortalManagerHome
portalManagerHome
- A cached reference to the PortalManager Home.
PortalAppflowHelper
public PortalAppflowHelper()
createPortalManager() Method
public static PortalManager
createPortalManager()
throws RemoteException
, CreateException
Create a new instance of the PortalManager EJB from the cached PortalManagerHome.
Exceptions
-
RemoteException
-
CreateException
getWebflowExecutor(PortalContext) Method
public static WebflowExecutor
getWebflowExecutor(PortalContext
portalContext)
Obtain an instance of the WebflowExecutor. Used to invoke portlet webflows.
invokePortletWebflow(HttpServletRequest, HttpServletResponse, String, String, String, PortalRequest, PageState, PortletState) Method
public static WebflowResponse
invokePortletWebflow(HttpServletRequest
request,
HttpServletResponse
response,
String
namespace,
String
origin,
String
event,
PortalRequest
portalRequest,
PageState
pageState,
PortletState
portletState)
throws ConfigurationException
, WebflowSecurityException
Invoke a portlet's webflow, and store the final presentation node in the
portal's content map.
Exceptions
-
ConfigurationException
-
WebflowSecurityException
invokeWebflow(HttpServletRequest, HttpServletResponse, String, String, String, PortalRequest) Method
public static WebflowResponse
invokeWebflow(HttpServletRequest
request,
HttpServletResponse
response,
String
namespace,
String
origin,
String
event,
PortalRequest
portalRequest)
throws ConfigurationException
, WebflowSecurityException
Invoke a webflow. Used to invoke portlets webflows. A webflow will continue to
run until a presentation node is found and that is return in the WebflowResponse.
Exceptions
-
ConfigurationException
-
WebflowSecurityException
invokeWebflow(HttpServletRequest, HttpServletResponse, String, String, String, WebflowExecutor) Method
public static WebflowResponse
invokeWebflow(HttpServletRequest
request,
HttpServletResponse
response,
String
namespace,
String
origin,
String
event,
WebflowExecutor
executor)
throws ConfigurationException
, WebflowSecurityException
Invoke a webflow. Used to invoke portlets webflows. A webflow will continue to
run until a presentation node is found and that is return in the WebflowResponse.
Exceptions
-
ConfigurationException
-
WebflowSecurityException
updatePortalSession(HttpServletRequest, PortalSession) Method
public static void updatePortalSession(HttpServletRequest
request,
PortalSession
portalSession)
Safely updates the PortalSession in the HttpSession and the PortalState.