public class SessionData extends java.lang.Object implements DataObjectConstructionDetails
GlobalStd
Modifier and Type | Field and Description |
---|---|
java.lang.String |
actionForPost |
int |
activityNbr |
java.lang.String |
afterLoginJspName |
java.lang.String |
applicationTitle |
java.lang.Class<? extends Invokable> |
classToInvokeNext |
java.lang.String |
contextPath |
int |
dialogNbr |
EntitlementStd |
entitlement |
GlobalStd |
global |
IdManager |
idManager |
java.lang.String |
imageDirectory |
JspSessionStd |
jspSession |
JspButler |
lastProvidedButler |
JspButler |
lastRedirectingButler |
Layout |
layout |
java.util.Locale |
locale |
LoggedInUser |
loggedInUser |
java.lang.String |
loginJspName |
MustMenuBar |
menuBar |
java.lang.String |
messageForNextDialog |
java.lang.String |
realpath |
GeneralizedRequest |
request |
boolean |
sessionClosingRequested |
SessionDataAddOn |
sessionDataAddOn |
java.lang.String |
sessionId |
int |
stackPointer |
MustToolBar |
toolBar |
boolean |
transformAmp |
java.lang.String |
urlToBePresentedInNewWindowNextDialog |
java.lang.String |
userAgent |
Constructor and Description |
---|
SessionData()
Constructs a new SessionData object.
|
SessionData(JspSessionStd jspSession)
Constructs a new SessionData object with reference to a JSP session.
|
Modifier and Type | Method and Description |
---|---|
void |
forceLocale(java.util.Locale locale)
Forces the locale to be provided as specified, no matter where the session
is initialized from
|
java.lang.String |
getBaseURL()
Returns the base URL, which includes post action plus session identifier.
|
java.sql.Connection |
getConnection()
Returns the connection to use.
|
ConnectionHolder |
getConnectionHolder()
Returns the connection holder to use.
|
java.lang.String |
getCurrentURI(int windowNbr)
Returns the current URI.
|
java.lang.String |
getFrameworkResourceString(java.lang.String resourceKey)
Returns the framework resource of the specified key, which has to be a string.
|
IdManager |
getIdManager()
Returns the IdManager to use.
|
java.lang.String |
getImageDirectory()
Returns the image directory.
|
java.lang.String |
getPreviousURI(int windowNbr)
Returns the previous URI.
|
java.lang.String |
getRequestIP() |
java.lang.String |
getRequestIP(HttpServletRequest request) |
java.lang.String |
getResourceString(java.lang.String resourceKey)
Returns the individual application resource of the specified key, which has to be a string.
|
java.lang.String |
getUserName()
Returns the name of the logged in user or "" if no user is logged in.
|
boolean |
isMobile() |
void |
setConnection(ConnectionHolder connection) |
protected void |
setCurrentURI(java.lang.String currentURI,
int windowNbr)
Method sets the current URI.
|
protected void |
setPreviousURI(java.lang.String previousURI,
int windowNbr)
Sets the previous URI.
|
void |
setResourceBundle(java.util.ResourceBundle resourceBundle)
Sets the session's resource bundle.
|
public java.lang.String userAgent
public int dialogNbr
public GlobalStd global
public java.util.Locale locale
public IdManager idManager
public LoggedInUser loggedInUser
public boolean transformAmp
public java.lang.String actionForPost
public java.lang.String sessionId
public java.lang.String contextPath
public EntitlementStd entitlement
public java.lang.String applicationTitle
public MustMenuBar menuBar
public MustToolBar toolBar
public java.lang.String imageDirectory
public java.lang.Class<? extends Invokable> classToInvokeNext
public int stackPointer
public int activityNbr
public Layout layout
public java.lang.String messageForNextDialog
public java.lang.String urlToBePresentedInNewWindowNextDialog
public boolean sessionClosingRequested
public GeneralizedRequest request
public java.lang.String realpath
public JspSessionStd jspSession
public JspButler lastRedirectingButler
public JspButler lastProvidedButler
public java.lang.String loginJspName
public java.lang.String afterLoginJspName
public SessionDataAddOn sessionDataAddOn
public SessionData()
public SessionData(JspSessionStd jspSession)
public java.lang.String getBaseURL()
public java.lang.String getImageDirectory()
public boolean isMobile()
public void setResourceBundle(java.util.ResourceBundle resourceBundle)
resourceBundle
- the session's resource bundlepublic java.lang.String getResourceString(java.lang.String resourceKey)
resourceKey
- the key of the resource to retrievepublic java.lang.String getFrameworkResourceString(java.lang.String resourceKey)
resourceKey
- the key of the resource to retrievepublic void forceLocale(java.util.Locale locale)
locale
- the forced localepublic void setConnection(ConnectionHolder connection)
public java.sql.Connection getConnection()
getConnection
in interface DataObjectConstructionDetails
public ConnectionHolder getConnectionHolder()
protected void setCurrentURI(java.lang.String currentURI, int windowNbr)
currentURI
- the current URI to setwindowNbr
- the number of the relevant window (window separating must be true)public java.lang.String getCurrentURI(int windowNbr)
windowNbr
- the number of the relevant window (window separating must be true)protected void setPreviousURI(java.lang.String previousURI, int windowNbr)
previousURI
- the previous URI to setwindowNbr
- the number of the relevant window (window separating must be true)public java.lang.String getPreviousURI(int windowNbr)
windowNbr
- the number of the relevant window (window separating must be true)public IdManager getIdManager()
getIdManager
in interface DataObjectConstructionDetails
public java.lang.String getUserName()
public java.lang.String getRequestIP()
public java.lang.String getRequestIP(HttpServletRequest request)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de