Class AuditEventsControllerImpl
- java.lang.Object
-
- org.activiti.cloud.services.audit.jpa.controllers.AuditEventsControllerImpl
-
- All Implemented Interfaces:
AuditEventsController
@RestController @RequestMapping(value="/v1/events", produces={"application/hal+json","application/json"}) public class AuditEventsControllerImpl extends Object implements AuditEventsController
-
-
Constructor Summary
Constructors Constructor Description AuditEventsControllerImpl(EventsRepository eventsRepository, EventRepresentationModelAssembler eventRepresentationModelAssembler, APIEventToEntityConverters eventConverters, SecurityPoliciesApplicationServiceImpl securityPoliciesApplicationService, AlfrescoPagedModelAssembler<CloudRuntimeEvent<?,CloudRuntimeEventType>> pagedCollectionModelAssembler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<CloudRuntimeEvent<?,CloudRuntimeEventType>>>findAll(String search, org.springframework.data.domain.Pageable pageable)org.springframework.hateoas.EntityModel<CloudRuntimeEvent<?,CloudRuntimeEventType>>findById(String eventId)
-
-
-
Constructor Detail
-
AuditEventsControllerImpl
@Autowired public AuditEventsControllerImpl(EventsRepository eventsRepository, EventRepresentationModelAssembler eventRepresentationModelAssembler, APIEventToEntityConverters eventConverters, SecurityPoliciesApplicationServiceImpl securityPoliciesApplicationService, AlfrescoPagedModelAssembler<CloudRuntimeEvent<?,CloudRuntimeEventType>> pagedCollectionModelAssembler)
-
-
Method Detail
-
findById
@RequestMapping(value="/{eventId}", method=GET) public org.springframework.hateoas.EntityModel<CloudRuntimeEvent<?,CloudRuntimeEventType>> findById(@PathVariable String eventId)- Specified by:
findByIdin interfaceAuditEventsController
-
findAll
@RequestMapping(method=GET) public org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<CloudRuntimeEvent<?,CloudRuntimeEventType>>> findAll(@RequestParam(value="search",required=false) String search, org.springframework.data.domain.Pageable pageable)
- Specified by:
findAllin interfaceAuditEventsController
-
-