java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.screen.core.StandardScreenActions
This class is the default implementation of the ScreenActions interface.
This is the standard behavior of a screen context.
This is a "composite" using external "components" :
. ScreenManager
. ScreenTriggers
. ScreenProcedures
Constructor Summary | |
StandardScreenActions(ScreenManager manager,
ScreenTriggers triggers,
ScreenProcedures procedures)
Constructor |
Method Summary | |
void |
actionClear(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"CLEAR" action ( to clear the ScreenContext ) |
void |
actionDelete(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"DELETE" action ( to delete informations in the database ) |
void |
actionDeleteCurrent(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"DELETE_CURRENT" action ( to delete current informations in the database ) |
void |
actionExec(ScreenContext screenContext,
ScreenRequest screenRequest,
ScreenResponse screenResponse)
"EXEC" action ( to execute a specific "procedure" ) |
void |
actionGet(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"GET" action ( to get informations from the ScreenContext ) |
void |
actionInsert(ScreenContext screenContext,
ScreenRequest screenRequest,
ScreenResponse screenResponse)
"INSERT" action ( to insert informations in the database ) |
void |
actionListAdd(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"LIST_ADD" action ( to add an item at the end of a list ) |
void |
actionListClear(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"LIST_CLEAR" action ( to clear a list ) |
void |
actionListInsert(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"LIST_INSERT" action ( to insert an item in a list ) |
void |
actionListRemove(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"LIST_REMOVE" action ( to remove an item from a list ) |
void |
actionListSelect(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"LIST_SELECT" action ( to select an item in a list ) |
void |
actionListSort(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"LIST_SORT" action ( to sort a list ) |
void |
actionLoad(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"LOAD" action ( to load informations from the database ) |
void |
actionSave(ScreenContext screenContext,
ScreenRequest screenRequest,
ScreenResponse screenResponse)
"SAVE" action ( to save informations in the database ) |
void |
actionSaveCurrent(ScreenContext screenContext,
ScreenRequest screenRequest,
ScreenResponse screenResponse)
"SAVE_CURRENT" action ( to save current informations in the database ) |
void |
actionSet(ScreenContext screen,
ScreenRequest request,
ScreenResponse response)
"SET" action ( to set informations in the ScreenContext ) |
void |
actionUpdate(ScreenContext screenContext,
ScreenRequest screenRequest,
ScreenResponse screenResponse)
"UPDATE" action ( to update informations in the database ) |
void |
eventCreate(ScreenContext screenContext,
ScreenRequestParameters params,
ScreenSession screenSession)
Event fired when the screen context has just been created by - a screenmap request with "open" action - a screenmap request with "use" action on a non existent screen context - an "open" screen action sent by the client-side ( in this case no parameters ) |
void |
eventReuse(ScreenContext screenContext,
ScreenRequestParameters params,
ScreenSession screenSession)
Event fired when the screen context is reused |
protected ScreenManager |
getScreenManager()
Returns the ScreenManager if any NB : just for backward compatibility In future version this method will become 'private' |
java.lang.String |
toString()
|
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StandardScreenActions(ScreenManager manager, ScreenTriggers triggers, ScreenProcedures procedures)
manager
- triggers
- procedures
- Method Detail |
protected ScreenManager getScreenManager() throws TelosysException
TelosysException
public void eventCreate(ScreenContext screenContext, ScreenRequestParameters params, ScreenSession screenSession) throws TelosysException
ScreenActions
eventCreate
in interface ScreenActions
screenContext
- the ScreenContext instance createdparams
- screenSession
-
TelosysException
public void eventReuse(ScreenContext screenContext, ScreenRequestParameters params, ScreenSession screenSession) throws TelosysException
ScreenActions
eventReuse
in interface ScreenActions
screenContext
- params
- screenSession
-
TelosysException
public void actionSet(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionSet
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionGet(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionGet
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionClear(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionClear
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionLoad(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionLoad
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionSave(ScreenContext screenContext, ScreenRequest screenRequest, ScreenResponse screenResponse) throws TelosysException
ScreenActions
actionSave
in interface ScreenActions
screenContext
- screenRequest
- screenResponse
-
TelosysException
public void actionSaveCurrent(ScreenContext screenContext, ScreenRequest screenRequest, ScreenResponse screenResponse) throws TelosysException
ScreenActions
actionSaveCurrent
in interface ScreenActions
screenContext
- screenRequest
- screenResponse
-
TelosysException
public void actionInsert(ScreenContext screenContext, ScreenRequest screenRequest, ScreenResponse screenResponse) throws TelosysException
ScreenActions
actionInsert
in interface ScreenActions
screenContext
- screenRequest
- screenResponse
-
TelosysException
public void actionUpdate(ScreenContext screenContext, ScreenRequest screenRequest, ScreenResponse screenResponse) throws TelosysException
ScreenActions
actionUpdate
in interface ScreenActions
screenContext
- screenRequest
- screenResponse
-
TelosysException
public void actionDelete(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionDelete
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionDeleteCurrent(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionDeleteCurrent
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionListSelect(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionListSelect
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionListInsert(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionListInsert
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionListAdd(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionListAdd
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionListRemove(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionListRemove
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionListClear(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionListClear
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionListSort(ScreenContext screen, ScreenRequest request, ScreenResponse response) throws TelosysException
ScreenActions
actionListSort
in interface ScreenActions
screen
- request
- response
-
TelosysException
public void actionExec(ScreenContext screenContext, ScreenRequest screenRequest, ScreenResponse screenResponse) throws TelosysException
ScreenActions
actionExec
in interface ScreenActions
screenContext
- screenRequest
- screenResponse
-
TelosysException
public java.lang.String toString()