Class StatisticsRestController

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    @RestController
    @RequestMapping("/api/statistics")
    public class StatisticsRestController
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • StatisticsRestController

        public StatisticsRestController()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • getViewEvent

        @RequestMapping(method=GET,
                        value="/viewevents/{uuid}")
        public org.springframework.hateoas.PagedResources<ViewEventResource> getViewEvent​(@PathVariable(name="uuid")
                                                                                          UUID uuid)
                                                                                   throws Exception
        Throws:
        Exception
      • getSearchEvent

        @RequestMapping(method=GET,
                        value="/searchevents/{uuid}")
        public org.springframework.hateoas.PagedResources<SearchEventResource> getSearchEvent​(@PathVariable(name="uuid")
                                                                                              UUID uuid)
                                                                                       throws Exception
        Throws:
        Exception
      • getViewEvents

        @RequestMapping(method=GET,
                        value="/viewevents")
        public org.springframework.hateoas.PagedResources<ViewEventResource> getViewEvents()
                                                                                    throws Exception
        Throws:
        Exception
      • getSearchEvents

        @RequestMapping(method=GET,
                        value="/searchevents")
        public org.springframework.hateoas.PagedResources<SearchEventResource> getSearchEvents()
                                                                                        throws Exception
        Throws:
        Exception
      • postViewEvent

        @RequestMapping(method=POST,
                        value="/viewevents")
        public org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> postViewEvent()
                                                                                                           throws Exception
        Throws:
        Exception
      • postSearchEvent

        @RequestMapping(method=POST,
                        value="/searchevents")
        public org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> postSearchEvent()
                                                                                                             throws Exception
        Throws:
        Exception