java.lang.Objectorg.objectweb.telosys.rpl.ScreenRequestProcessor
Field Summary | |
static java.lang.String |
ACTION_CLEAR
|
static java.lang.String |
ACTION_CLOSE
|
static java.lang.String |
ACTION_DELETE
|
static java.lang.String |
ACTION_DELETE_CURRENT
|
static java.lang.String |
ACTION_ECHO
|
static java.lang.String |
ACTION_EXEC
|
static java.lang.String |
ACTION_GET
|
static java.lang.String |
ACTION_INSERT
|
static java.lang.String |
ACTION_LIST_ADD
|
static java.lang.String |
ACTION_LIST_CLEAR
|
static java.lang.String |
ACTION_LIST_INSERT
|
static java.lang.String |
ACTION_LIST_REMOVE
|
static java.lang.String |
ACTION_LIST_SELECT
|
static java.lang.String |
ACTION_LIST_SORT
|
static java.lang.String |
ACTION_LOAD
|
static java.lang.String |
ACTION_OPEN
|
static java.lang.String |
ACTION_PING
|
static java.lang.String |
ACTION_SAVE
|
static java.lang.String |
ACTION_SAVE_CURRENT
|
static java.lang.String |
ACTION_SET
|
static java.lang.String |
ACTION_UPDATE
|
Method Summary | |
protected static void |
executeAction(ScreenSession screenSession,
ScreenContext screenContext,
ScreenRequest request,
ScreenResponse response)
Execute the ScreenRequest ACTION in a ScreenContext, and set the ScreenResponse. |
protected static void |
executeSynchronizedAction(ScreenSession screenSession,
ScreenContext screenContext,
ScreenRequest request,
ScreenResponse response)
Execute the ScreenRequest ACTION in a ScreenContext, and set the ScreenResponse. |
protected static ScreenContext |
getScreenContext(ScreenRequest request,
ScreenSession screenSession)
Return the current Screen Context corresponding to the Screen Id and Screen Name of the request |
protected static ScreenResponse |
getScreenResponse(ScreenRequest request,
javax.servlet.http.HttpServletResponse httpResponse)
Returns a ScreenResponse instance created from the given ScreenRequest and HttpServletResponse |
protected static ScreenSession |
getScreenSession(javax.servlet.http.HttpServletRequest httpRequest)
Return the current ScreenSession for the HttpSession, throws a TelosysException if the session is not opened. |
protected static ScreenRequest |
parseInputStream(ScreenRequest screenRequest,
java.io.InputStream input,
java.lang.String sCharset)
Parse the XML input stream and return the resulting ScreenRequest instance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ACTION_OPEN
public static final java.lang.String ACTION_CLOSE
public static final java.lang.String ACTION_GET
public static final java.lang.String ACTION_SET
public static final java.lang.String ACTION_CLEAR
public static final java.lang.String ACTION_LOAD
public static final java.lang.String ACTION_SAVE
public static final java.lang.String ACTION_SAVE_CURRENT
public static final java.lang.String ACTION_INSERT
public static final java.lang.String ACTION_UPDATE
public static final java.lang.String ACTION_DELETE
public static final java.lang.String ACTION_DELETE_CURRENT
public static final java.lang.String ACTION_EXEC
public static final java.lang.String ACTION_PING
public static final java.lang.String ACTION_ECHO
public static final java.lang.String ACTION_LIST_SELECT
public static final java.lang.String ACTION_LIST_INSERT
public static final java.lang.String ACTION_LIST_ADD
public static final java.lang.String ACTION_LIST_REMOVE
public static final java.lang.String ACTION_LIST_CLEAR
public static final java.lang.String ACTION_LIST_SORT
Method Detail |
protected static ScreenRequest parseInputStream(ScreenRequest screenRequest, java.io.InputStream input, java.lang.String sCharset) throws TelosysException
input
-
TelosysException
protected static ScreenResponse getScreenResponse(ScreenRequest request, javax.servlet.http.HttpServletResponse httpResponse) throws TelosysException
request
- httpResponse
-
TelosysException
protected static ScreenSession getScreenSession(javax.servlet.http.HttpServletRequest httpRequest) throws TelosysException
httpRequest
-
TelosysException
protected static ScreenContext getScreenContext(ScreenRequest request, ScreenSession screenSession) throws TelosysException
request
- screenSession
-
TelosysException
protected static void executeSynchronizedAction(ScreenSession screenSession, ScreenContext screenContext, ScreenRequest request, ScreenResponse response) throws TelosysException
screenContext
- request
- response
-
TelosysException
protected static void executeAction(ScreenSession screenSession, ScreenContext screenContext, ScreenRequest request, ScreenResponse response) throws TelosysException
screenContext
- request
- response
-
TelosysException