public final class XfcSession extends HashMap<Serializable,Serializable> implements Serializable
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.
|
void |
dispose() |
boolean |
equals(Object obj) |
ELoginContext |
getContext() |
Map<String,FD2Session> |
getFD2Sessions()
Retrieve the FD2Session-Map from the current HTTP-Session, which is inside the XfcSession object.
|
Map<String,String> |
getFridMapping() |
Map<String,FRQSession> |
getFRQSessions()
Deprecated.
|
Locale |
getLocale()
Returns the current session-specific locale setting.
|
String |
getLoginName() |
String |
getSessionId() |
String |
getStayLoggedInToken() |
int |
hashCode() |
boolean |
isBenutzerAuth()
Liefert
true, wenn es einen (erfolgreich) angemeldeten Benutzer gibt. |
void |
setContext(ELoginContext context) |
void |
setCurrentMandant(Mandant client) |
void |
setLanguage(String langCode)
Setter für sessionabhängige Spracheinstellung
|
void |
setLocale(Locale loc) |
void |
setLoginName(String loginName) |
void |
setSessionId(String sessionId) |
void |
setStayLoggedInToken(String token) |
String |
toString() |
void |
update(Benutzer user) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic Benutzer currentBenutzer()
public boolean isBenutzerAuth()
true, wenn es einen (erfolgreich) angemeldeten Benutzer gibt.public Mandant currentMandant()
public void update(Benutzer user)
public void setCurrentMandant(Mandant client)
public void setLanguage(String langCode)
langCode - - Sprachkürzel (siehe http://www.loc.gov/standards/iso639-2/englangn.html)getLocale(),
Locale.forLanguageTag(String)public void setLocale(Locale loc)
public Locale getLocale()
Locale.ENGLISH when not set to a different
value via setLocale(Locale).setLanguage(String)public String getSessionId()
public void setSessionId(String sessionId)
sessionId - the session Id to setpublic ELoginContext getContext()
public void setContext(ELoginContext context)
public void setLoginName(String loginName)
public String getLoginName()
public String getStayLoggedInToken()
public void setStayLoggedInToken(String token)
public boolean equals(Object obj)
equals in interface Map<Serializable,Serializable>equals in class AbstractMap<Serializable,Serializable>public int hashCode()
hashCode in interface Map<Serializable,Serializable>hashCode in class AbstractMap<Serializable,Serializable>public void dispose()
public Map<String,FD2Session> getFD2Sessions()
Map or null if the HttpSession inside is nullpublic String toString()
toString in class AbstractMap<Serializable,Serializable>@Deprecated public Map<String,FRQSession> getFRQSessions()
Map or null if the HttpSession inside is nullCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.