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.PagedModel<ViewEventResource> getViewEvent​(@PathVariable(name="uuid")
                                                                                      UUID uuid)
                                                                               throws Exception
        Throws:
        Exception
      • getSearchEvent

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

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

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

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

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