public class NewNavigateAction extends StructureBeanAction
This action class is an improved variant of the NavigateAction, which
will load the data lazily compared to the old one that loads the data
directly.
The old action class is still available due to compatibility issues.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
NewNavigateAction.NavigateLoader |
| Modifier and Type | Field and Description |
|---|---|
static TableBeanLoader |
defaultLoader
The default loader
|
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| Modifier | Constructor and Description |
|---|---|
|
NewNavigateAction()
Default constructor.
|
protected |
NewNavigateAction(TxType type)
Constructor that takes a TxType parameter defining the
transaction type to use for a subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultForwardName()
Returns the name of the default forward instance.
|
protected TableBeanLoader |
getLoader(StructureBean structure,
javax.servlet.http.HttpServletRequest request) |
protected TableBeanLoaderInput |
getLoaderInput(StructureBean structure,
javax.servlet.http.HttpServletRequest request)
Returns the loader input used by the
TableBeanLoader when about
to load the data into the structure. |
protected boolean |
isLazyLoaded(javax.servlet.http.HttpServletRequest request) |
com.technia.tvc.struts.action.ActionForward |
perform(StructureBean structure,
com.technia.tvc.struts.action.ActionMapping mapping,
com.technia.tvc.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Launches the structure browser from the object specified by the
objectId parameter.
|
getAlwaysInstantiate, getDefaultBeanClassName, getRequiredBeanClassName, perform, updateTableafterCreate, 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 static final TableBeanLoader defaultLoader
public NewNavigateAction()
protected NewNavigateAction(TxType type)
protected boolean isLazyLoaded(javax.servlet.http.HttpServletRequest request)
public com.technia.tvc.struts.action.ActionForward perform(StructureBean structure, 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
perform in class StructureBeanActionstructure - The StructureBean that was created (or reused)
for this request.mapping - The action mappings.form - The form.request - The request.response - The response.java.lang.Exception - If the action fails.protected TableBeanLoader getLoader(StructureBean structure, javax.servlet.http.HttpServletRequest request)
structure - request - TableBeanLoader to be used.public java.lang.String getDefaultForwardName()
protected TableBeanLoaderInput getLoaderInput(StructureBean structure, javax.servlet.http.HttpServletRequest request)
TableBeanLoader when about
to load the data into the structure.structure - request - getLoader(StructureBean,HttpServletRequest)Copyright ? Technia AB. All Rights Reserved.