public abstract class DashboardReloadAction extends NewTxAction
CLIENT_TASK_ERROR, CLIENT_TASK_ERROR_KEY, CLIENT_TASK_NOTICE_KEY, CLIENT_TASK_WARNING_KEY, GLOBAL_ERROR_KEY, INFORMATION_ERROR
Constructor and Description |
---|
DashboardReloadAction(TxType update) |
Modifier and Type | Method and Description |
---|---|
com.technia.tvc.struts.action.ActionForward |
execute(TxContext txc,
com.technia.tvc.struts.action.ActionMapping mapping,
com.technia.tvc.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override this method in subclasses to make use of the transaction
context.
|
protected abstract void |
perform(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.technia.tvc.core.gui.dashboard.Dashboard dashboard) |
protected abstract java.util.Collection<java.lang.String> |
reloadConfigIds()
Specifies the gadget which needs to be reloaded.
|
executeImpl, getMonitor, getOriginContext, handleClientTasks, handleException, handleLogin, handleTransactionEndFailure, ignoreClientTasks
addError, addError, addErrors, addGlobalError, addGlobalError, addInformationError, asActionError, asActionErrors, copy, debugRequest, execute, findErrorForward, findForwardOrTargetPage, perform, perform, saveError, saveError, saveGlobalError, saveGlobalError, saveInformationError, setLocale
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setServlet
public DashboardReloadAction(TxType update)
public com.technia.tvc.struts.action.ActionForward execute(TxContext txc, 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
NewTxAction
TxManager.getLocalTxContext()
.execute
in class NewTxAction
txc
- The transaction context.mapping
- The action mappings.form
- The action form.request
- The HTTP request.response
- The HTTP response.java.lang.Exception
- If an error occurs.protected abstract void perform(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.technia.tvc.core.gui.dashboard.Dashboard dashboard) throws TVCException
TVCException
protected abstract java.util.Collection<java.lang.String> reloadConfigIds()
Copyright ? Technia AB. All Rights Reserved.