|
© 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
An abstract base class for constructing portal processors for the b2b portal.
Constructor Summary | |
AbstractProcessor()
Constructs a processor. |
Method Summary | |
protected static PortalAppflowEvent |
getAppflowEvent(PortalRequest pRequest)
|
static InventoryProvider |
getInventoryProvider()
Obtain an InventoryProvider EJB. |
protected static java.util.List |
getParts(Inventory product)
|
protected static PipelineSession |
getPipelineSession(javax.servlet.http.HttpServletRequest request)
|
protected static java.lang.String |
getPortalEvent(PortalRequest pRequest)
|
protected static java.lang.String |
getPortletEvent(javax.servlet.http.HttpServletRequest request)
|
protected static java.util.List |
getProducts(java.util.List idList)
|
static PurchaseManager |
getPurchaseManager()
Obtain a PurchaseManager EJB. |
protected static RequestState |
getRequestState(PipelineSession session,
java.lang.Object requestContext)
|
protected static SessionState |
getSessionState(PipelineSession session)
|
protected java.util.Calendar |
getTimeoutCalendar(java.util.Calendar currentTime,
long timeoutSeconds)
|
protected static boolean |
isPortletMaximized(PortalRequest portalRequest)
|
java.lang.Object |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PortalRequest portalRequest,
java.lang.Object requestContext)
This method will be called if the processor is session insensitive or the session has not timed-out. |
abstract java.lang.Object |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PortalRequest portalRequest,
java.lang.Object requestContext,
PipelineSession session,
RequestState requestState,
SessionState sessionState)
Processors extending this class must provide an implementation. |
protected static void |
submitPO(PurchaseQuote quote)
|
protected static void |
submitQPA(QPA qpa)
|
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 AbstractProcessor()
Method Detail |
public abstract java.lang.Object process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PortalRequest portalRequest, java.lang.Object requestContext, PipelineSession session, RequestState requestState, SessionState sessionState) 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.public java.lang.Object process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PortalRequest portalRequest, java.lang.Object requestContext) throws ProcessingException
process( HttpServletRequest,
HttpServletResponse, PortalRequest, Object, PipelineSession,
RequestState, SessionState )
method of its concrete
subclass and also provides logging and debugging
functionality.
request
- the HttpServletRequest
to process.response
- the HttpServletResponse
associated with the request.portalRequest
- the PortalRequest
associated with this http request.requestContext
- the webflow request context.PipelineSession
protected static RequestState getRequestState(PipelineSession session, java.lang.Object requestContext) throws ProcessingException
protected static SessionState getSessionState(PipelineSession session) throws ProcessingException
protected static PipelineSession getPipelineSession(javax.servlet.http.HttpServletRequest request)
protected static PortalAppflowEvent getAppflowEvent(PortalRequest pRequest)
protected static java.lang.String getPortalEvent(PortalRequest pRequest)
protected static java.lang.String getPortletEvent(javax.servlet.http.HttpServletRequest request)
protected static boolean isPortletMaximized(PortalRequest portalRequest)
public static InventoryProvider getInventoryProvider() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
InventoryProvider
EJB.
public static PurchaseManager getPurchaseManager() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
PurchaseManager
EJB.
protected static java.util.List getProducts(java.util.List idList) throws E2EProcessingException
protected static java.util.List getParts(Inventory product) throws E2EProcessingException
protected static void submitQPA(QPA qpa) throws E2EProcessingException
protected static void submitPO(PurchaseQuote quote) throws E2EProcessingException
protected java.util.Calendar getTimeoutCalendar(java.util.Calendar currentTime, long timeoutSeconds)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |