public final class XfcSessionManager extends Object
| Constructor and Description | 
|---|
XfcSessionManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
static XfcSession | 
createNew(javax.servlet.http.HttpSession session)
Session-Initialisierung (vor allem für Multi-Session-Betrieb), die den Mandanten des übergebenen Benutzers
 verwendet. 
 | 
static XfcSession | 
createNew(javax.servlet.http.HttpSession session,
         Benutzer user)  | 
static XfcSession | 
createNew(javax.servlet.http.HttpSession session,
         Benutzer user,
         String loginName)  | 
static XfcSession | 
current(javax.servlet.http.HttpServletRequest req)
Returns the XFC session for the HTTP session associated with the given HTTP request. 
 | 
static XfcSession | 
current(javax.servlet.http.HttpSession session)
Returns the XFC session for the given HTTP session. 
 | 
static XfcSession | 
current(String id)
Vor allem für Multi-Session-Betrieb. 
 | 
static XfcSession | 
currentOrNull(javax.servlet.http.HttpSession session)
Returns the XFC session for the given HTTP session, if it exists. 
 | 
static void | 
dispose(String id)
Löscht die Session (vor allem für Multi-Session-Betrieb). 
 | 
static void | 
disposeAll()  | 
static Map<String,javax.servlet.http.HttpSession> | 
getRawSessionMap()  | 
static Map<String,XfcSession> | 
getSessionMap()  | 
static Locale | 
locale(javax.servlet.http.HttpServletRequest req)  | 
static Locale | 
locale(javax.servlet.http.HttpSession session)
Liefert die 'Locale'-Einstellung der Session zur übergebenen ID oder einen Standardwert 
 | 
static void | 
renewId(String oldId,
       String newId)  | 
public static XfcSession createNew(javax.servlet.http.HttpSession session)
session - die HttpSession.NullPointerException - wenn ID oder Benutzer null sind (im Single-Session-Betrieb ist diese
 Initialisierung nicht notwendig).public static XfcSession createNew(javax.servlet.http.HttpSession session, Benutzer user)
public static XfcSession createNew(javax.servlet.http.HttpSession session, Benutzer user, String loginName)
public static XfcSession current(String id)
id - Die ID, die für die Session-Initialisierung per createNew(HttpSession, Benutzer) verwendet wurde
 (im Allgemeinen die HttpSession-ID).NullPointerException - wenn ID null ist (für Single-Session-Betrieb siehe
 current(String)).public static XfcSession currentOrNull(javax.servlet.http.HttpSession session)
null otherwise.session - The current HTTP session.null otherwise.public static XfcSession current(javax.servlet.http.HttpSession session)
session - The current HTTP session.null if the given HTTP session is null.public static XfcSession current(javax.servlet.http.HttpServletRequest req)
req - The current HTTP request.null if the given HTTP request is null.public static void dispose(String id)
id - Die ID, die für die Session-Initialisierung per createNew(HttpSession, Benutzer) verwendet wurde
 (im Allgemeinen die HttpSession-ID).public static Locale locale(javax.servlet.http.HttpServletRequest req)
public static Locale locale(javax.servlet.http.HttpSession session)
public static void disposeAll()
public static Map<String,javax.servlet.http.HttpSession> getRawSessionMap()
public static Map<String,XfcSession> getSessionMap()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.