Package org.opennms.web.controller.alarm
Class AlarmDetailController
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.support.WebContentGenerator
-
- org.springframework.web.servlet.mvc.AbstractController
-
- org.springframework.web.servlet.mvc.multiaction.MultiActionController
-
- org.opennms.web.controller.alarm.AlarmDetailController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.servlet.mvc.Controller
,org.springframework.web.servlet.mvc.LastModified
public class AlarmDetailController extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
AlarmDetailController class.
- Author:
- Ronny Trommer
-
-
Constructor Summary
Constructors Constructor Description AlarmDetailController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetorg.springframework.web.servlet.ModelAndView
detail(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
Display alarm detail pageprotected org.springframework.web.servlet.ModelAndView
handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
org.springframework.web.servlet.ModelAndView
removeJournalMemo(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
org.springframework.web.servlet.ModelAndView
removeStickyMemo(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
org.springframework.web.servlet.ModelAndView
saveJournalMemo(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
org.springframework.web.servlet.ModelAndView
saveStickyMemo(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
void
setAlarmRepository(AlarmRepository repository)
void
setDefaultShortLimit(Integer limit)
void
setWebEventRepository(WebEventRepository repository)
-
Methods inherited from class org.springframework.web.servlet.mvc.multiaction.MultiActionController
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
-
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
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
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
-
-
-
Method Detail
-
setAlarmRepository
public void setAlarmRepository(AlarmRepository repository)
-
setWebEventRepository
public void setWebEventRepository(WebEventRepository repository)
-
setDefaultShortLimit
public void setDefaultShortLimit(Integer limit)
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
afterPropertiesSet
- Throws:
Exception
- if any.
-
handleRequestInternal
protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Overrides:
handleRequestInternal
in classorg.springframework.web.servlet.mvc.multiaction.MultiActionController
- Throws:
Exception
-
detail
public org.springframework.web.servlet.ModelAndView detail(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
Display alarm detail page- Throws:
Exception
-
removeStickyMemo
public org.springframework.web.servlet.ModelAndView removeStickyMemo(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
- Throws:
Exception
-
saveStickyMemo
public org.springframework.web.servlet.ModelAndView saveStickyMemo(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
- Throws:
Exception
-
removeJournalMemo
public org.springframework.web.servlet.ModelAndView removeJournalMemo(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
- Throws:
Exception
-
-