Package org.dspace.app.rest
Class StatisticsRestController
- java.lang.Object
-
- org.dspace.app.rest.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 Summary
Constructors Constructor Description StatisticsRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()org.springframework.hateoas.PagedModel<SearchEventResource>getSearchEvent(UUID uuid)org.springframework.hateoas.PagedModel<SearchEventResource>getSearchEvents()StatisticsSupportResourcegetStatisticsSupport()org.springframework.hateoas.PagedModel<ViewEventResource>getViewEvent(UUID uuid)org.springframework.hateoas.PagedModel<ViewEventResource>getViewEvents()org.springframework.http.ResponseEntity<org.springframework.hateoas.RepresentationModel<?>>postSearchEvent()org.springframework.http.ResponseEntity<org.springframework.hateoas.RepresentationModel<?>>postViewEvent()
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getStatisticsSupport
@RequestMapping(method=GET) public StatisticsSupportResource getStatisticsSupport() throws Exception
- 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
-
-