Package org.dspace.app.rest
Class StatisticsRestController
java.lang.Object
org.dspace.app.rest.StatisticsRestController
- All Implemented Interfaces:
InitializingBean
@RestController
@RequestMapping("/api/statistics")
public class StatisticsRestController
extends Object
implements InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.hateoas.PagedModel<SearchEventResource>getSearchEvent(UUID uuid) org.springframework.hateoas.PagedModel<SearchEventResource>org.springframework.hateoas.PagedModel<ViewEventResource>getViewEvent(UUID uuid) org.springframework.hateoas.PagedModel<ViewEventResource>ResponseEntity<org.springframework.hateoas.RepresentationModel<?>>ResponseEntity<org.springframework.hateoas.RepresentationModel<?>>
-
Constructor Details
-
StatisticsRestController
public StatisticsRestController()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceInitializingBean- 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 ResponseEntity<org.springframework.hateoas.RepresentationModel<?>> postViewEvent() throws Exception- Throws:
Exception
-
postSearchEvent
@RequestMapping(method=POST, value="/searchevents") public ResponseEntity<org.springframework.hateoas.RepresentationModel<?>> postSearchEvent() throws Exception- Throws:
Exception
-