Interface ImmutableSessionDataI
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ImmutableSessionDataI.TerminationReason
Possible reasons for termination of a session.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableSessionDataI
clone()
Returns a deep copy of this object.ImmutableActiveFlowStackI
getActiveFlows()
Returns the stack of active flows.String
getApplicationName()
Returns the name of the solution.ImmutableActiveFlowI
getCurrentFlow()
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.long
getLastSessionAccess()
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.String
getPreviousSessionId()
Returns the previous session ID if this is a continued session (seeisContinued()
), otherwisenull
.ImmutableScriptBindingsI
getScriptBindings()
Returns the script bindings used for execution of script events in the session scope.long
getSessionBegin()
Returns the point in time when the session was started (milliseconds since 1.1.1970).String
getSessionId()
Returns the ID of this session, a unique sequence of arbitrary characters.String
getSolutionId()
Only for internal use.ImmutableSessionDataI.TerminationReason
getTerminationReason()
Returns the reason for termination of this session.boolean
isContinued()
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. SeeImmutableActiveFlowStackI
for 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.
-
-