org.objectweb.telosys.screen.core
Interface ScreenActions

All Known Implementing Classes:
StandardScreenActions

public interface ScreenActions

The ScreenActions interface
Defines all the methods that must be implemented by an ACTION
Implemented by "StandardScreenActions" (the default implementation provided by the framework)


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 screen, ScreenRequest request, ScreenResponse response)
          "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 screen, ScreenRequest request, ScreenResponse response)
          "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 screen, ScreenRequest request, ScreenResponse response)
          "SAVE" action ( to save informations in the database )
 void actionSaveCurrent(ScreenContext screen, ScreenRequest request, ScreenResponse response)
          "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 screen, ScreenRequest request, ScreenResponse response)
          "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
 

Method Detail

eventCreate

public void eventCreate(ScreenContext screenContext,
                        ScreenRequestParameters params,
                        ScreenSession screenSession)
                 throws TelosysException
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 )

Parameters:
screenContext - the ScreenContext instance created
params -
screenSession -
Throws:
TelosysException

eventReuse

public void eventReuse(ScreenContext screenContext,
                       ScreenRequestParameters params,
                       ScreenSession screenSession)
                throws TelosysException
Event fired when the screen context is reused

Parameters:
screenContext -
params -
screenSession -
Throws:
TelosysException

actionSet

public void actionSet(ScreenContext screen,
                      ScreenRequest request,
                      ScreenResponse response)
               throws TelosysException
"SET" action ( to set informations in the ScreenContext )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionGet

public void actionGet(ScreenContext screen,
                      ScreenRequest request,
                      ScreenResponse response)
               throws TelosysException
"GET" action ( to get informations from the ScreenContext )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionClear

public void actionClear(ScreenContext screen,
                        ScreenRequest request,
                        ScreenResponse response)
                 throws TelosysException
"CLEAR" action ( to clear the ScreenContext )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionLoad

public void actionLoad(ScreenContext screen,
                       ScreenRequest request,
                       ScreenResponse response)
                throws TelosysException
"LOAD" action ( to load informations from the database )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionSave

public void actionSave(ScreenContext screen,
                       ScreenRequest request,
                       ScreenResponse response)
                throws TelosysException
"SAVE" action ( to save informations in the database )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionSaveCurrent

public void actionSaveCurrent(ScreenContext screen,
                              ScreenRequest request,
                              ScreenResponse response)
                       throws TelosysException
"SAVE_CURRENT" action ( to save current informations in the database )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionInsert

public void actionInsert(ScreenContext screen,
                         ScreenRequest request,
                         ScreenResponse response)
                  throws TelosysException
"INSERT" action ( to insert informations in the database )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionUpdate

public void actionUpdate(ScreenContext screen,
                         ScreenRequest request,
                         ScreenResponse response)
                  throws TelosysException
"UPDATE" action ( to update informations in the database )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionDelete

public void actionDelete(ScreenContext screen,
                         ScreenRequest request,
                         ScreenResponse response)
                  throws TelosysException
"DELETE" action ( to delete informations in the database )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionDeleteCurrent

public void actionDeleteCurrent(ScreenContext screen,
                                ScreenRequest request,
                                ScreenResponse response)
                         throws TelosysException
"DELETE_CURRENT" action ( to delete current informations in the database )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionListSelect

public void actionListSelect(ScreenContext screen,
                             ScreenRequest request,
                             ScreenResponse response)
                      throws TelosysException
"LIST_SELECT" action ( to select an item in a list )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionListInsert

public void actionListInsert(ScreenContext screen,
                             ScreenRequest request,
                             ScreenResponse response)
                      throws TelosysException
"LIST_INSERT" action ( to insert an item in a list )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionListAdd

public void actionListAdd(ScreenContext screen,
                          ScreenRequest request,
                          ScreenResponse response)
                   throws TelosysException
"LIST_ADD" action ( to add an item at the end of a list )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionListRemove

public void actionListRemove(ScreenContext screen,
                             ScreenRequest request,
                             ScreenResponse response)
                      throws TelosysException
"LIST_REMOVE" action ( to remove an item from a list )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionListClear

public void actionListClear(ScreenContext screen,
                            ScreenRequest request,
                            ScreenResponse response)
                     throws TelosysException
"LIST_CLEAR" action ( to clear a list )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionListSort

public void actionListSort(ScreenContext screen,
                           ScreenRequest request,
                           ScreenResponse response)
                    throws TelosysException
"LIST_SORT" action ( to sort a list )

Parameters:
screen -
request -
response -
Throws:
TelosysException

actionExec

public void actionExec(ScreenContext screen,
                       ScreenRequest request,
                       ScreenResponse response)
                throws TelosysException
"EXEC" action ( to execute a specific "procedure" )

Parameters:
screen -
request -
response -
Throws:
TelosysException