Class SessionMonitor

java.lang.Object
com.aquima.interactions.portal.model.session.SessionMonitor
All Implemented Interfaces:
ISessionMonitor, Serializable

public final class SessionMonitor extends Object implements ISessionMonitor
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 Details

  • Method Details

    • endSession

      protected void endSession()
    • getEndTime

      public DateTimeValue getEndTime()
    • getSessionInfo

      public IParameters getSessionInfo()
      Description copied from interface: ISessionMonitor
      Returns extra information about the session.
      Specified by:
      getSessionInfo in interface ISessionMonitor
      Returns:
      may be null
    • getStartTime

      public DateTimeValue getStartTime()
      Description copied from interface: ISessionMonitor
      Method for retrieving the sessions start time.
      Specified by:
      getStartTime in interface ISessionMonitor
      Returns:
      the time the session was started
    • getTimeTracker

      public ITimeTracker getTimeTracker()
      Description copied from interface: ISessionMonitor
      Retrieves the time tracker used in the active session.
      Specified by:
      getTimeTracker in interface ISessionMonitor
      Returns:
      time tracker
    • getXmlProfileView

      public String 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 interface ISessionMonitor
      Returns:
      String the XML in UTF-8 format
    • getXmlMetaModelView

      public String 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 interface ISessionMonitor
      Returns:
      The meta model definitions as XML string.
    • getXmlStateView

      public String getXmlStateView()
      Description copied from interface: ISessionMonitor
      Returns the flow transaction view which as current state of the flow state..
      Specified by:
      getXmlStateView in interface ISessionMonitor
      Returns:
      String the XML in UTF-8 format
    • isActive

      public boolean isActive()
    • getCurrentState

      public String 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 interface ISessionMonitor
      Returns:
      A dump of the current session state.
    • getCurrentSessionState

      public ISessionState 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 interface ISessionMonitor
      Returns:
      The state