public abstract class TableDataAction extends ProcessTableBeanAction
CLIENT_TASK_ERROR, CLIENT_TASK_ERROR_KEY, CLIENT_TASK_NOTICE_KEY, CLIENT_TASK_WARNING_KEY, GLOBAL_ERROR_KEY, INFORMATION_ERRORCHOOSABLE_FILTERS_REQUEST_KEY, CHOOSABLE_SYSTEM_TABLES_REQUEST_KEY, CHOOSABLE_VIEWS_REQUEST_KEY, CURRENT_FILTERS_REQUEST_KEY, CURRENT_SYSTEM_TABLE_REQUEST_KEY, CURRENT_VIEW_REQUEST_KEY, DISPLAY_MODE_CURRENT_VIEW_REQUEST_KEY, DISPLAYABLE_CHOOSABLE_FILTERS_REQUEST_KEY, DISPLAYABLE_CHOOSABLE_SYSTEM_TABLES_REQUEST_KEY, DISPLAYABLE_CHOOSABLE_VIEWS_REQUEST_KEY, DISPLAYABLE_CURRENT_FILTERS_REQUEST_KEY, DISPLAYABLE_CURRENT_SYSTEM_TABLE_REQUEST_KEY, DISPLAYABLE_CURRENT_VIEW_REQUEST_KEY, KEY_GENERATOR_SESSION_KEY, TABLE_BEAN_REQUEST_KEY, TABLE_NAME_REQUEST_KEY| Constructor and Description |
|---|
TableDataAction(TxType type) |
| Modifier and Type | Method and Description |
|---|---|
static TableData |
getTableData(TableBean<?> table,
javax.servlet.http.HttpServletRequest request)
Returns the TableData instance referenced by the specified
request.
|
static TableData |
getTableData(TableBean<?> table,
java.lang.String dataIdStr)
Returns the TableData instance with the specified ID.
|
com.technia.tvc.struts.action.ActionForward |
perform(TableBean<?> table,
com.technia.tvc.struts.action.ActionMapping mapping,
com.technia.tvc.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method should be overridden to perform business logic on the
TableBean instance.
|
abstract com.technia.tvc.struts.action.ActionForward |
perform(TableBean<?> table,
TableData data,
com.technia.tvc.struts.action.ActionMapping mapping,
com.technia.tvc.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
createTableafterPerform, beforePerform, copyEnv, createEnvironment, discardEnv, discardTable, ensureContextMenu, ensureMenuBar, execute, finishRequest, generateKey, getChoosableViewNamesParameter, getEnv, getGeneratedKey, getMonitor, getObjectNameFromRequest, getOriginalTable, getPageConfig, getParameter, getTable, getTable, getViewNameParameter, handleErrors, insertCategoryMenu, loadContextMenu, loadMenuBar, replaceRequest, saveEnv, saveTable, setSystemTableAndFilters, setView, storePageConfig, storeRequestAttributes, update, updateTableexecuteImpl, getOriginContext, handleClientTasks, handleException, handleLogin, handleTransactionEndFailure, ignoreClientTasksaddError, addError, addErrors, addGlobalError, addGlobalError, addInformationError, asActionError, asActionErrors, copy, debugRequest, execute, findErrorForward, findForwardOrTargetPage, perform, perform, saveError, saveError, saveGlobalError, saveGlobalError, saveInformationError, setLocaleaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setServletpublic TableDataAction(TxType type)
public static TableData getTableData(TableBean<?> table, javax.servlet.http.HttpServletRequest request)
table - The current table.request - The request.public static TableData getTableData(TableBean<?> table, java.lang.String dataIdStr)
table - The current table.dataIdStr - The requested dataId as a java.lang.String.public com.technia.tvc.struts.action.ActionForward perform(TableBean<?> table, com.technia.tvc.struts.action.ActionMapping mapping, com.technia.tvc.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
TableBeanActionperform in class TableBeanActionjava.lang.Exceptionpublic abstract com.technia.tvc.struts.action.ActionForward perform(TableBean<?> table, TableData data, com.technia.tvc.struts.action.ActionMapping mapping, com.technia.tvc.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.ExceptionCopyright ? Technia AB. All Rights Reserved.