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, setSynchronizeOnSession
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getCacheControl, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public 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.InitializingBean
Exception
- 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.AbstractController
Exception
Copyright © 2021. All rights reserved.