public class AlarmSeverityChangeController
extends org.springframework.web.servlet.mvc.AbstractController
implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static String |
CLEAR_ACTION
Constant
CLEAR_ACTION="2" |
static String |
ESCALATE_ACTION
Constant
ESCALATE_ACTION="1" |
| Constructor and Description |
|---|
AlarmSeverityChangeController() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adjust the severity of the alarms specified in the POST and then redirect the client
to an appropriate URL for display.
|
void |
setAlarmRepository(AlarmRepository webAlarmRepository)
setWebAlarmRepository
|
void |
setRedirectView(String redirectView)
setRedirectView
|
handleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final String ESCALATE_ACTION
ESCALATE_ACTION="1"public static final String CLEAR_ACTION
CLEAR_ACTION="2"public void setRedirectView(String redirectView)
setRedirectView
redirectView - a String object.public void setAlarmRepository(AlarmRepository webAlarmRepository)
setWebAlarmRepository
webAlarmRepository - a AlarmRepository object.public void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractControllerExceptionCopyright © 2020. All rights reserved.