|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.portal.appflow.processor.AbstractPortalProcessor | +--examples.e2e.b2b.processors.AbstractProcessor | +--examples.e2e.b2b.processors.POProcessor
The POProcessor
runs business logic for the
purchase order review portlet (purchaseorderreview.portlet).
This class handles the following portlet webflow
events
(See PortalAppflowConstants.PORTLET_WEBFLOW_EVENT_PARAMETER
)
directed to the purchase order review portlet:
The "bea.portal.framework.internal.refresh" and "null" events are handled identically.
If the StateValue
is
StateValue.START
,
StateValue.PRODUCT_SELECTED
,
StateValue.PART_SELECTED
or
StateValue.QPA_SENT
a value of
Constants.NOT_SELECTED
is returned by
process()
.
If the StateValue
is
StateValue.CREATE_PO
then
Constants.DISPLAY
is returned by
process()
.
Otherwise a value of
Constants.READ_ONLY
is returned by
process()
.
Note: the "submitPO" event is handled by the
.
POStatusProcessor
Constructor Summary | |
POProcessor()
Constructs a processor. |
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 purchase order review 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 com.bea.portal.appflow.processor.AbstractPortalProcessor |
getCurrentPortletState,
process |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public POProcessor()
Method Detail |
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
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.
StateValue
is
StateValue.START
,
StateValue.PRODUCT_SELECTED
,
StateValue.PART_SELECTED
or
StateValue.QPA_SENT
a value of
Constants.NOT_SELECTED
is returned by
process()
.
StateValue
is
StateValue.CREATE_PO
then
Constants.DISPLAY
is returned by
process()
.
Constants.READ_ONLY
is returned by
process()
.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |