Class SessionMonitor
java.lang.Object
com.aquima.interactions.portal.model.session.SessionMonitor
- All Implemented Interfaces:
ISessionMonitor
,Serializable
This class can be used to retrieve debug information of the portal session it belongs to.
- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SessionMonitor
(PortalContext context, IPage currentPage, ITimeTracker tracker, DateTimeValue startTime) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
This method creates a dump of the current session state that may be used to restore the session at a later time.This method creates a dump of the current session state that may be used to restore the session at a later time.Returns extra information about the session.Method for retrieving the sessions start time.Retrieves the time tracker used in the active session.This method returns the current definitions from the meta model as XML.Returns the profile view which as current state of the profile.Returns the flow transaction view which as current state of the flow state..boolean
isActive()
-
Constructor Details
-
SessionMonitor
protected SessionMonitor(PortalContext context, IPage currentPage, ITimeTracker tracker, DateTimeValue startTime)
-
-
Method Details
-
endSession
protected void endSession() -
getEndTime
-
getSessionInfo
Description copied from interface:ISessionMonitor
Returns extra information about the session.- Specified by:
getSessionInfo
in interfaceISessionMonitor
- Returns:
- may be null
-
getStartTime
Description copied from interface:ISessionMonitor
Method for retrieving the sessions start time.- Specified by:
getStartTime
in interfaceISessionMonitor
- Returns:
- the time the session was started
-
getTimeTracker
Description copied from interface:ISessionMonitor
Retrieves the time tracker used in the active session.- Specified by:
getTimeTracker
in interfaceISessionMonitor
- Returns:
- time tracker
-
getXmlProfileView
Description copied from interface:ISessionMonitor
Returns the profile view which as current state of the profile. Including which attributes are sourced by rules and which other attributes are dependent on this attribute's value.- Specified by:
getXmlProfileView
in interfaceISessionMonitor
- Returns:
- String the XML in UTF-8 format
-
getXmlMetaModelView
Description copied from interface:ISessionMonitor
This method returns the current definitions from the meta model as XML. The resulting XML string will be encoded in UTF-8.- Specified by:
getXmlMetaModelView
in interfaceISessionMonitor
- Returns:
- The meta model definitions as XML string.
-
getXmlStateView
Description copied from interface:ISessionMonitor
Returns the flow transaction view which as current state of the flow state..- Specified by:
getXmlStateView
in interfaceISessionMonitor
- Returns:
- String the XML in UTF-8 format
-
isActive
public boolean isActive() -
getCurrentState
Description copied from interface:ISessionMonitor
This method creates a dump of the current session state that may be used to restore the session at a later time.- Specified by:
getCurrentState
in interfaceISessionMonitor
- Returns:
- A dump of the current session state.
-
getCurrentSessionState
Description copied from interface:ISessionMonitor
This method creates a dump of the current session state that may be used to restore the session at a later time.- Specified by:
getCurrentSessionState
in interfaceISessionMonitor
- Returns:
- The state
-