java.lang.Objectorg.objectweb.telosys.rpl.ScreenRequestProcessor
Set of methods used by the front servlet to process an "ACTION" Request
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 | |
static void |
executeAction(ScreenSession screenSession,
ScreenContext screenContext,
ScreenRequest screenRequest,
ScreenResponse screenResponse)
Executes the ACTION in a ScreenContext using the ScreenRequest and populates the ScreenResponse. |
static void |
executeSynchronizedAction(ScreenSession screenSession,
ScreenContext screenContext,
ScreenRequest screenRequest,
ScreenResponse screenResponse)
Executes the ACTION in a ScreenContext using the ScreenRequest and populates the ScreenResponse. |
static ScreenContext |
getScreenContext(ScreenRequest screenRequest,
ScreenSession screenSession)
Returns the current ScreenContext corresponding to the "Screen Id" and "Screen Name" of the request |
protected static ScreenResponse |
getScreenResponse(ScreenRequest screenRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Returns a ScreenResponse instance created from the given ScreenRequest and HttpServletResponse |
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
screenRequest
- input
- sCharset
-
TelosysException
protected static ScreenResponse getScreenResponse(ScreenRequest screenRequest, javax.servlet.http.HttpServletResponse httpResponse) throws TelosysException
screenRequest
- httpResponse
-
TelosysException
public static ScreenContext getScreenContext(ScreenRequest screenRequest, ScreenSession screenSession) throws TelosysException
screenRequest
- screenSession
-
TelosysException
public static void executeSynchronizedAction(ScreenSession screenSession, ScreenContext screenContext, ScreenRequest screenRequest, ScreenResponse screenResponse) throws TelosysException
screenSession
- screenContext
- screenRequest
- screenResponse
-
TelosysException
public static void executeAction(ScreenSession screenSession, ScreenContext screenContext, ScreenRequest screenRequest, ScreenResponse screenResponse) throws TelosysException
screenSession
- screenContext
- screenRequest
- screenResponse
-
TelosysException