java.lang.Objectorg.objectweb.telosys.screen.env.ScreenContextManager
Set of static methods for Screen Context management
Method Summary | |
static void |
closeScreenContext(javax.servlet.http.HttpServletRequest request,
int iScreenId)
Close screen context |
static void |
closeScreenContext(ScreenSession screenSession,
int iScreenId)
Close screen context |
static ScreenContext |
findScreenContext(javax.servlet.http.HttpServletRequest httpRequest,
int iScreenId)
Try to find a ScreenContext if possible Return NULL if cannot be found ( no error ) |
static ScreenContext |
findScreenContext(javax.servlet.http.HttpServletRequest httpRequest,
int iScreenId,
java.lang.String sScreenName)
Try to find a ScreenContext if possible Return NULL if cannot be found ( no error ) |
static ScreenContext |
getScreenContext(javax.servlet.http.HttpServletRequest request,
int iScreenId)
Try to retrieve an existing screen context associated with the given screen ID |
static ScreenContext |
getScreenContextForName(javax.servlet.http.HttpServletRequest httpRequest,
int iScreenId,
java.lang.String sScreenName)
Try to retrieve an existing screen context associated with the given Screen ID and Screen Name |
static ScreenContext |
openScreenContext(javax.servlet.http.HttpServletRequest request,
java.lang.String sScreenName,
int iScreenId)
Open (create) a new Screen Context |
static ScreenContext |
openScreenContext(javax.servlet.http.HttpServletRequest request,
java.lang.String sScreenName,
int iScreenId,
ScreenRequestParameters params)
Open (create) a new Screen Context with parameters |
static ScreenContext |
openScreenContext(ScreenSession screenSession,
java.lang.String sScreenName,
int iScreenId)
Open (create) a new Screen Context |
static ScreenContext |
openScreenContext(ScreenSession screenSession,
java.lang.String sScreenName,
int iScreenId,
ScreenRequestParameters params)
Open (create) a new Screen Context with parameters |
static ScreenContext |
useScreenContext(javax.servlet.http.HttpServletRequest request,
java.lang.String sScreenName,
int iScreenId)
Retrieve an existing screen context or create a new one if it doesn't exist |
static ScreenContext |
useScreenContext(javax.servlet.http.HttpServletRequest request,
java.lang.String sScreenName,
int iScreenId,
ScreenRequestParameters params)
Retrieve an existing screen context or create a new one if it doesn't exist |
static ScreenContext |
useScreenContext(ScreenSession screenSession,
java.lang.String sScreenName,
int iScreenId)
Retrieve an existing screen context or create a new one if it doesn't exist |
static ScreenContext |
useScreenContext(ScreenSession screenSession,
java.lang.String sScreenName,
int iScreenId,
ScreenRequestParameters params)
Retrieve an existing screen context or create a new one if it doesn't exist |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ScreenContext findScreenContext(javax.servlet.http.HttpServletRequest httpRequest, int iScreenId)
httpRequest
- iScreenId
-
public static ScreenContext findScreenContext(javax.servlet.http.HttpServletRequest httpRequest, int iScreenId, java.lang.String sScreenName)
httpRequest
- iScreenId
- sScreenName
-
public static ScreenContext getScreenContext(javax.servlet.http.HttpServletRequest request, int iScreenId) throws TelosysException
request
- iScreenId
-
TelosysException
public static ScreenContext getScreenContextForName(javax.servlet.http.HttpServletRequest httpRequest, int iScreenId, java.lang.String sScreenName) throws TelosysException
httpRequest
- iScreenId
- sScreenName
-
TelosysException
public static ScreenContext openScreenContext(javax.servlet.http.HttpServletRequest request, java.lang.String sScreenName, int iScreenId) throws TelosysException
request
- sScreenName
- iScreenId
- the ScreenContext ID to use, or (since 1.0.4) a negative value for "next available ID"
TelosysException
public static ScreenContext openScreenContext(javax.servlet.http.HttpServletRequest request, java.lang.String sScreenName, int iScreenId, ScreenRequestParameters params) throws TelosysException
request
- sScreenName
- iScreenId
- the ScreenContext ID to use, or (since 1.0.4) a negative value for "next available ID"params
-
TelosysException
public static ScreenContext openScreenContext(ScreenSession screenSession, java.lang.String sScreenName, int iScreenId) throws TelosysException
screenSession
- sScreenName
- iScreenId
- the ScreenContext ID to use, or (since 1.0.4) a negative value for "next available ID"
TelosysException
public static ScreenContext openScreenContext(ScreenSession screenSession, java.lang.String sScreenName, int iScreenId, ScreenRequestParameters params) throws TelosysException
screenSession
- sScreenName
- the name of the ScreenContextiScreenId
- the ScreenContext ID to use, or (since 1.0.4) a negative value for "next available ID"params
-
TelosysException
public static void closeScreenContext(javax.servlet.http.HttpServletRequest request, int iScreenId) throws TelosysException
request
- iScreenId
-
TelosysException
public static void closeScreenContext(ScreenSession screenSession, int iScreenId) throws TelosysException
screenSession
- iScreenId
-
TelosysException
public static ScreenContext useScreenContext(javax.servlet.http.HttpServletRequest request, java.lang.String sScreenName, int iScreenId) throws TelosysException
request
- sScreenName
- iScreenId
-
TelosysException
public static ScreenContext useScreenContext(javax.servlet.http.HttpServletRequest request, java.lang.String sScreenName, int iScreenId, ScreenRequestParameters params) throws TelosysException
request
- sScreenName
- iScreenId
- params
-
TelosysException
public static ScreenContext useScreenContext(ScreenSession screenSession, java.lang.String sScreenName, int iScreenId) throws TelosysException
screenSession
- sScreenName
- iScreenId
-
TelosysException
public static ScreenContext useScreenContext(ScreenSession screenSession, java.lang.String sScreenName, int iScreenId, ScreenRequestParameters params) throws TelosysException
screenSession
- sScreenName
- iScreenId
- the ScreenContext ID ( cannot be < 0 )params
-
TelosysException