Package com.aquima.interactions.portal
Interface IPortalSessionListener
- All Known Subinterfaces:
IPortalEventBus
- All Known Implementing Classes:
PortalEventBus
,PortalSessionListenerAdapter
,ProcessEnabledSession.PortalEventBusBridge
,ProcessEnabledSession.TaskPortalEventBusBridge
public interface IPortalSessionListener
Listener for
PortalSession
which is responsible for delegating events from PortalSession
.
WARNING: in order to work correctly in clustered environments, implementations should not hold references to sessions.
- Since:
- 9.1
- Author:
- T.Middeldorp, Petru Galanton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activated
(IPortalSession session) Event handler for when the session is activated.void
beforeClose
(IPortalSession session) Event handler before closing the session.void
beforeFlowStarted
(IPortalSession session, String flowName) Event handler for the before flow started event.void
closed
(IPortalSession session) Event handler for the session closed.void
created
(IPortalSession session) Event handler for the session created.void
flowEnded
(IPortalSession session, ExitState exitState, ExitEvent exitEvent) Event handler for the flow ended event.void
flowStarted
(IPortalSession session, String flowName) Event handler for the flow started event.void
pageChanged
(IPortalSession session, IPage previous, IPage current) Event handler for the page changed event.void
passivated
(IPortalSession session) Event handler for when the session is passivated.void
portalChange
(IPortalChange portalChange) Event handler for the portal change event.void
projectChanged
(IPortalSession session, IProjectChange projectChange) Event handler for the project changed event.void
taskChanged
(IPortalSession session, String status, long taskId, long caseId) Event handler for the task changed event.
-
Method Details
-
created
Event handler for the session created.- Parameters:
session
- the session for which the event occurred
-
beforeFlowStarted
Event handler for the before flow started event.- Parameters:
session
- the session in which the event occurredflowName
- The name of the flow.
-
flowStarted
Event handler for the flow started event.- Parameters:
session
- the session in which the event occurredflowName
- The name of the flow.
-
pageChanged
Event handler for the page changed event.- Parameters:
session
- the session in which the event occurredprevious
- The before page, may be null.current
- The new page, may be null.
-
flowEnded
Event handler for the flow ended event.- Parameters:
session
- the session in which the event occurredexitState
- State of the flow ended event.exitEvent
- The exit event
-
projectChanged
Event handler for the project changed event. This event is fired when a new project was started (e.g. via the AQ_StartProject service call).- Parameters:
session
- the session in which the event occurredprojectChange
- details about the newly started project.
-
portalChange
Event handler for the portal change event. This event is fired when a new portal change was created.- Parameters:
portalChange
- details about the requested portal change
-
taskChanged
Event handler for the task changed event. This event is fired when the status of a task changes.- Parameters:
session
- the session in which the event occurredstatus
- the new status of the tasktaskId
- the id of the task in the DAOcaseId
- the id of the case in the DAO
-
beforeClose
Event handler before closing the session.- Parameters:
session
- the session in which the event occurred
-
closed
Event handler for the session closed.- Parameters:
session
- the session in which the event occurred
-
activated
Event handler for when the session is activated.- Parameters:
session
- the session for which the event occurred
-
passivated
Event handler for when the session is passivated.- Parameters:
session
- the session for which the event occurred
-