public interface SessionReaderI
This interface provides the necessary context for features that rely on the current user's environment and persistent application settings.
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.String name)
Retrieves the value of a single global variable by its name.
|
java.util.Locale |
getLocale()
Retrieves the current
Locale set for the user's session. |
Benutzer |
getUser()
Retrieves the instance representing the currently logged-in user for this session.
|
java.util.Map<java.lang.String,java.lang.Object> |
getVariables()
Retrieves all currently stored global variables.
|
Benutzer getUser()
Benutzer instance representing the current user, or null
if the session is not currently authenticated.java.util.Locale getLocale()
Locale set for the user's session.
This locale is critical for correctly formatting numbers, dates, currency, and handling localized text.
Locale.java.util.Map<java.lang.String,java.lang.Object> getVariables()
These variables represent typically machine- or user-profile-specific, application settings.
Map<String, Object> containing all variable names (String) and
their values (Object). The map returned is typically unmodifiable.java.lang.Object get(java.lang.String name)
name - The name of the global variable to retrieve.Object, or null if the variable does not exist.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.