examples.e2e.b2b.processors
Class InventorySummary
java.lang.Object
|
+--com.bea.portal.appflow.processor.AbstractPortalProcessor
|
+--examples.e2e.b2b.processors.AbstractProcessor
|
+--examples.e2e.b2b.processors.InventorySummary
- public class InventorySummary
- extends AbstractProcessor
The InventorySummary
processor
runs business logic for the
inventory summary portlet (inventorysummary.portlet).
This class handles the following portlet webflow
events
(See PortalAppflowConstants.PORTLET_WEBFLOW_EVENT_PARAMETER
)
directed to the inventory summary portlet:
- bea.portal.framework.internal.refresh
- null
The "bea.portal.framework.internal.refresh" and
"null" events are handled identically. If a
product has not yet been selected in the product inventory portlet
a return value of Constants.NOT_SELECTED
is
returned by the process()
method.
Otherwise Constants.DISPLAY
is
returned by the process()
method.
Method Summary
|
java.lang.Object |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PortalRequest portalRequest,
java.lang.Object requestContext,
PipelineSession session,
RequestState rState,
SessionState sState)
Processes events for the inventory summary portlet. |
Methods inherited from class examples.e2e.b2b.processors.AbstractProcessor |
getAppflowEvent,
getInventoryProvider,
getParts,
getPipelineSession,
getPortalEvent,
getPortletEvent,
getProducts,
getPurchaseManager,
getRequestState,
getSessionState,
getTimeoutCalendar,
isPortletMaximized,
process,
submitPO,
submitQPA |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
InventorySummary
public InventorySummary()
- Constructs a processor.
process
public java.lang.Object process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PortalRequest portalRequest,
java.lang.Object requestContext,
PipelineSession session,
RequestState rState,
SessionState sState)
throws ProcessingException
- Processes events for the inventory summary portlet.
- Parameters:
request
- an HttpServletRequest
to process.response
- the HttpServletRequest
associated
with the request.portalRequest
- the PortalRequest
associated with this http request.requestContext
- the webflow request context.session
- the PipelineSession
object associated with this request.requestState
- the RequestState
associated with this
http request.sessionState
- the SessionState
associated with this
user session.- Returns:
- a value of
Constants.NOT_SELECTED
if a product has not yet been selected in the product inventory portlet,
Otherwise Constants.DISPLAY
is
returned. - Overrides:
- process in class AbstractProcessor
Copyright © 2002 BEA Systems, Inc. All Rights Reserved