Class 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
    • Field Summary

      • Fields inherited from class org.springframework.web.servlet.mvc.multiaction.MultiActionController

        DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
      • Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator

        HEADER_CACHE_CONTROL, METHOD_GET, METHOD_HEAD, METHOD_POST
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()
      afterPropertiesSet
      org.springframework.web.servlet.ModelAndView detail​(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
      Display alarm detail page
      protected 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
      • Methods inherited from class org.springframework.context.support.ApplicationObjectSupport

        getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
    • Constructor Detail

      • AlarmDetailController

        public AlarmDetailController()
    • 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 class org.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
      • saveJournalMemo

        public org.springframework.web.servlet.ModelAndView saveJournalMemo​(javax.servlet.http.HttpServletRequest httpServletRequest,
                                                                            javax.servlet.http.HttpServletResponse httpServletResponse)
                                                                     throws Exception
        Throws:
        Exception