Interface ImmutableSessionDataI
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImmutableSessionDataI.TerminationReasonPossible reasons for termination of a session.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableSessionDataIclone()Returns a deep copy of this object.ImmutableActiveFlowStackIgetActiveFlows()Returns the stack of active flows.StringgetApplicationName()Returns the name of the solution.ImmutableActiveFlowIgetCurrentFlow()Returns the topmost element of the active flows stack.Map<String,Object>getEndDialogChangedVariables()Returns the script variables set during session termination.Map<String,String>getEndDialogMetadata()Returns the metadata set during session termination.longgetLastSessionAccess()Returns the point in time when the session was last accessed (milliseconds since 1.1.1970).List<? extends ImmutableLogEntryI>getLogEntries()Returns the log data generated for the transactions of this session.Map<String,String>getLogVariables()For an active session the log variables of the last transaction are returned, for a terminated session the log variables set during session termination scripting are returned.StringgetPreviousSessionId()Returns the previous session ID if this is a continued session (seeisContinued()), otherwisenull.ImmutableScriptBindingsIgetScriptBindings()Returns the script bindings used for execution of script events in the session scope.longgetSessionBegin()Returns the point in time when the session was started (milliseconds since 1.1.1970).StringgetSessionId()Returns the ID of this session, a unique sequence of arbitrary characters.StringgetSolutionId()Only for internal use.ImmutableSessionDataI.TerminationReasongetTerminationReason()Returns the reason for termination of this session.booleanisContinued()Returns whether this session is a continuation of a previously timedout session.
-
-
-
Method Detail
-
clone
ImmutableSessionDataI clone()
Returns a deep copy of this object.
-
getApplicationName
String getApplicationName()
Returns the name of the solution.
-
getSolutionId
String getSolutionId()
Only for internal use.
-
getLastSessionAccess
long getLastSessionAccess()
Returns the point in time when the session was last accessed (milliseconds since 1.1.1970).
-
getScriptBindings
ImmutableScriptBindingsI getScriptBindings()
Returns the script bindings used for execution of script events in the session scope.
-
getSessionBegin
long getSessionBegin()
Returns the point in time when the session was started (milliseconds since 1.1.1970).
-
getSessionId
String getSessionId()
Returns the ID of this session, a unique sequence of arbitrary characters.
-
getPreviousSessionId
String getPreviousSessionId()
Returns the previous session ID if this is a continued session (seeisContinued()), otherwisenull.
-
isContinued
boolean isContinued()
Returns whether this session is a continuation of a previously timedout session.
-
getCurrentFlow
ImmutableActiveFlowI getCurrentFlow()
Returns the topmost element of the active flows stack.
-
getActiveFlows
ImmutableActiveFlowStackI getActiveFlows()
Returns the stack of active flows. SeeImmutableActiveFlowStackIfor details on the structure of the stack.
-
getLogEntries
List<? extends ImmutableLogEntryI> getLogEntries()
Returns the log data generated for the transactions of this session. The first (that is, oldest) transaction is stored at list index 0.
-
getEndDialogMetadata
Map<String,String> getEndDialogMetadata()
Returns the metadata set during session termination.
-
getEndDialogChangedVariables
Map<String,Object> getEndDialogChangedVariables()
Returns the script variables set during session termination.
-
getLogVariables
Map<String,String> getLogVariables()
For an active session the log variables of the last transaction are returned, for a terminated session the log variables set during session termination scripting are returned.
-
getTerminationReason
ImmutableSessionDataI.TerminationReason getTerminationReason()
Returns the reason for termination of this session.
-
-