Class NonInteractiveProcessEnabledSession
java.lang.Object
com.aquima.interactions.portal.model.process.ProcessEnabledSession
com.aquima.interactions.portal.model.process.Dcm2ProcessEnabledSession
com.aquima.interactions.portal.model.process.NonInteractiveProcessEnabledSession
- All Implemented Interfaces:
Interruptible
,IPortalSession
,ISessionLifecycle
Extension of the ProcessEnabledSession where automatic tasks can be executed. Flows that are executed should not
contain pages!
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aquima.interactions.portal.model.process.ProcessEnabledSession
ProcessEnabledSession.PortalEventBusBridge, ProcessEnabledSession.TaskPortalEventBusBridge
-
Field Summary
Fields inherited from class com.aquima.interactions.portal.model.process.Dcm2ProcessEnabledSession
LOAD_AGGREGATES_INTO_PROFILE_ACTION_HANDLER, PROFILE_INTO_AGGREGATE_MODELS_HANDLER, RESULT_MODEL_PARAMETER
Fields inherited from class com.aquima.interactions.portal.model.process.ProcessEnabledSession
currentTask, eventBus, mainBridge, processEngine, processMapping, session, solution
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NonInteractiveProcessEnabledSession
(ISolution solution, PortalSession session, ProcessMapping processMapping, IPortalEventBus eventBus) -
Method Summary
Modifier and TypeMethodDescriptionprotected PortalEvent
createEventFor
(String buttonPostfix, IPage executeTaskPage) protected PortalEvent
createEventForExitState
(ExitState exitState) protected String
protected long
handleEvent
(PortalEvent portalEvent) This method will process the event passed, and continue the flow if needed.protected boolean
protected PortalResponse
startTask
(String caseId, long taskId, IProcessScope processScope) Methods inherited from class com.aquima.interactions.portal.model.process.Dcm2ProcessEnabledSession
abortCurrentTask, completeTask, handleResponse, startTask
Methods inherited from class com.aquima.interactions.portal.model.process.ProcessEnabledSession
activate, close, createSession, disposeCurrentTask, executeAction, executeCallback, executeInlineAction, getApplicationId, getAuditEngine, getCaseEngineClient, getConfiguration, getCurrentChannel, getCurrentFlow, getCurrentFlowState, getCurrentLanguage, getCurrentPage, getCurrentUser, getEventBus, getMessageBus, getModule, getMonitor, getSessionId, getState, handlingTask, interrupt, isInterrupted, passivate, reset, restore, setCurrentLanguage, setSessionId, startFlow, stopFlow
-
Constructor Details
-
NonInteractiveProcessEnabledSession
protected NonInteractiveProcessEnabledSession(ISolution solution, PortalSession session, ProcessMapping processMapping, IPortalEventBus eventBus)
-
-
Method Details
-
startTask
- Overrides:
startTask
in classDcm2ProcessEnabledSession
-
handleEvent
Description copied from interface:IPortalSession
This method will process the event passed, and continue the flow if needed. Depending on the type of event this method will either stay on the same page (refresh) or try to continue the flow to the next page (submit). The response that is returned by this method contains the page definition of the next page that should be displayed.
Note: The next page to display may be the same as the page that was already shown.- Specified by:
handleEvent
in interfaceIPortalSession
- Overrides:
handleEvent
in classProcessEnabledSession
- Parameters:
portalEvent
- Event object containing input values from the client and the requested action.- Returns:
- The response of the flow action containing the page definition of the page where the flow stopped.
-
createEventFor
- Overrides:
createEventFor
in classProcessEnabledSession
-
shouldHandleResponse
protected boolean shouldHandleResponse()- Overrides:
shouldHandleResponse
in classProcessEnabledSession
-
getCaseId
- Overrides:
getCaseId
in classDcm2ProcessEnabledSession
-
getTaskId
protected long getTaskId()- Overrides:
getTaskId
in classProcessEnabledSession
-
createEventForExitState
- Overrides:
createEventForExitState
in classDcm2ProcessEnabledSession
-