public final class XfcSession extends ConcurrentHashMap<Serializable,Serializable> implements Map<Serializable,Serializable>, Serializable
ConcurrentHashMap.KeySetView<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Method and Description |
---|---|
Benutzer |
currentBenutzer()
Liefert den (erfolgreich) angemeldeten Benutzer.
|
Mandant |
currentMandant()
Liefert den aktuell verwendeten Mandanten.
|
ELoginContext |
getContext() |
String |
getId() |
Locale |
getLocale()
Getter für sessionabhängige Locale-Einstellung (Standard: der Wert von
Locale.getDefault() zum
Zeitpunkt der Instanziierung). |
boolean |
isBenutzerAuth()
Liefert
true , wenn es einen (erfolgreich) angemeldeten Benutzer gibt. |
void |
setContext(ELoginContext context) |
void |
setCurrentMandant(Mandant mandant) |
void |
setLanguage(String langCode)
Setter für sessionabhängige Spracheinstellung
|
void |
setLocale(Locale loc) |
void |
update(Benutzer benutzer) |
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
clone
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public Benutzer currentBenutzer()
public boolean isBenutzerAuth()
true
, wenn es einen (erfolgreich) angemeldeten Benutzer gibt.public Mandant currentMandant()
public void update(Benutzer benutzer)
public void setCurrentMandant(Mandant mandant)
public void setLanguage(String langCode)
langCode
- - Sprachkürzel (siehe http://www.loc.gov/standards/iso639-2/englangn.html)getLocale()
,
#locale(Object)
public void setLocale(Locale loc)
public Locale getLocale()
Locale.getDefault()
zum
Zeitpunkt der Instanziierung).setLanguage(String)
,
#locale(Object)
public String getId()
public ELoginContext getContext()
public void setContext(ELoginContext context)
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.