public interface SessionI extends SessionReaderI
SessionReaderI.
Manages active runtime session state including global session variables, authenticated user context,
persistent database session records (Sitzung), and in-memory UI layout and LRU history state
(SessionStateXml).
SessionReaderI,
SessionStateXml,
Sitzung| Modifier and Type | Method and Description |
|---|---|
de.ipcon.db.core.Sitzung |
flushPersistentSession(Transaction tx,
de.ipcon.swing.WindowState windowState,
ClientStateSaveReason reason)
Updates window geometry applying reason-based overrides, enforces maximum LRU capacity,
and writes the active in-memory
SessionStateXml payload into the persistent Sitzung BO
within the given transaction. |
SessionReaderI |
getReadOnlyInstance()
Returns a read-only view of this session instance that delegates query calls to this instance
while hiding state-mutating operations.
|
SessionStateXml |
getStateXml()
Returns the active in-memory UI state helper managing window layout geometry and LRU history.
|
java.lang.Object |
set(java.lang.String name,
java.lang.Object value)
Sets or updates a session-scoped variable in the synchronized variable map.
|
void |
setPersistentSession(de.ipcon.db.core.Sitzung persistentSession)
Binds a persistent session BO (
Sitzung) to this runtime session. |
void |
setStateXml(SessionStateXml stateXml)
Sets the active in-memory UI state helper managing window layout geometry and LRU history to the passed one.
|
void |
setUser(Benutzer user)
Sets or clears the authenticated user BO for this session.
|
get, getLocale, getUser, getVariablesjava.lang.Object set(java.lang.String name,
java.lang.Object value)
name - variable key identifier (mandatory)value - value object to store, or null to clearnull if none was setvoid setUser(Benutzer user)
user - authenticated Benutzer BO, or null to signify logoutvoid setPersistentSession(de.ipcon.db.core.Sitzung persistentSession)
Sitzung) to this runtime session.persistentSession - persistent session BO, or nullSessionStateXml getStateXml()
SessionStateXml instancevoid setStateXml(SessionStateXml stateXml)
stateXml - the SessionStateXml instance to setde.ipcon.db.core.Sitzung flushPersistentSession(Transaction tx, de.ipcon.swing.WindowState windowState, ClientStateSaveReason reason)
SessionStateXml payload into the persistent Sitzung BO
within the given transaction.tx - transaction used for persisting session changes (mandatory)windowState - current mainframe window geometry and scale state, or null to use fallback defaultsreason - the trigger context defining potential window dimension and state overrides (mandatory)Sitzung instance included in tx, or null if an existing
persistent session record was updatedSessionReaderI getReadOnlyInstance()
SessionReaderI delegate viewCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.