public abstract class FlatTableBeanAction extends InstantiateBeanAction
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 |
|---|
FlatTableBeanAction(TxType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAlwaysInstantiate()
Returns whether to always instantiate a
TableBean when this
action executes. |
java.lang.String |
getDefaultBeanClassName()
Returns the default
TableBean class name that should be used
unless another class name was explicitly defined in the request. |
java.lang.String |
getRequiredBeanClassName()
Returns the reqired
TableBean class name. |
abstract com.technia.tvc.struts.action.ActionForward |
perform(FlatTableBean 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) |
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.
|
TableBean<?> |
updateTable(javax.servlet.http.HttpServletRequest request,
TableBean<?> table)
Updates the table for the current request.
|
afterCreate, copyEnv, createEntryProcessor, createSelectionBehavior, createTable, createTableFactory, createTableInstance, createTableLinkFactory, createTableRenderer, createViewFactory, finishRequest, getBeanClass, getBeanClassName, getCopyEnv, getDefaultPageConfigName, getObjectNameFromRequest, getPageConfig, isBeanInstantiated, setBeanInstantiated, setSystemTableAndFilters, setViewafterPerform, beforePerform, createEnvironment, discardEnv, discardTable, ensureContextMenu, ensureMenuBar, execute, generateKey, getChoosableViewNamesParameter, getEnv, getGeneratedKey, getMonitor, getOriginalTable, getParameter, getTable, getTable, getViewNameParameter, handleErrors, insertCategoryMenu, loadContextMenu, loadMenuBar, replaceRequest, saveEnv, saveTable, storePageConfig, storeRequestAttributes, updateexecuteImpl, 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 FlatTableBeanAction(TxType type)
public final 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.io.IOException, javax.servlet.ServletException, TVCException
TableBeanActionperform in class TableBeanActionjava.io.IOExceptionjavax.servlet.ServletExceptionTVCExceptionpublic abstract com.technia.tvc.struts.action.ActionForward perform(FlatTableBean 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.io.IOException, javax.servlet.ServletException, TVCException
java.io.IOExceptionjavax.servlet.ServletExceptionTVCExceptionpublic TableBean<?> updateTable(javax.servlet.http.HttpServletRequest request, TableBean<?> table) throws TVCException
TableBeanActionThis implementation will make sure the current table's view, system table and filters are valid.
updateTable in class InstantiateBeanActionTVCExceptionpublic java.lang.String getDefaultBeanClassName()
InstantiateBeanActionTableBean class name that should be used
unless another class name was explicitly defined in the request.getDefaultBeanClassName in class InstantiateBeanActionTableBean class name.public java.lang.String getRequiredBeanClassName()
InstantiateBeanActionTableBean class name. If a custom class name
was explicitly defined in the request that class has to be assignable to
the class returned by this method.getRequiredBeanClassName in class InstantiateBeanActionTableBean class name.public boolean getAlwaysInstantiate()
InstantiateBeanActionTableBean when this
action executes. If not, any existing TableBean that was found will be
reused.getAlwaysInstantiate in class InstantiateBeanActionCopyright ? Technia AB. All Rights Reserved.