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
ConstructorsConstructorDescriptionAuditEventsControllerImpl(EventsRepository eventsRepository, EventRepresentationModelAssembler eventRepresentationModelAssembler, APIEventToEntityConverters eventConverters, SecurityPoliciesApplicationServiceImpl securityPoliciesApplicationService, AlfrescoPagedModelAssembler<org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent<?, CloudRuntimeEventType>> pagedCollectionModelAssembler) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.EntityModel<org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent<?, CloudRuntimeEventType>> org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent<?, CloudRuntimeEventType>>> search(SearchParams searchParams, org.springframework.data.domain.Pageable pageable)
-
Constructor Details
-
AuditEventsControllerImpl
@Autowired public AuditEventsControllerImpl(EventsRepository eventsRepository, EventRepresentationModelAssembler eventRepresentationModelAssembler, APIEventToEntityConverters eventConverters, SecurityPoliciesApplicationServiceImpl securityPoliciesApplicationService, AlfrescoPagedModelAssembler<org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent<?, CloudRuntimeEventType>> pagedCollectionModelAssembler)
-
-
Method Details
-
findById
@RequestMapping(value="/{eventId}", method=GET) public org.springframework.hateoas.EntityModel<org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent<?,CloudRuntimeEventType>> findById(@PathVariable String eventId) - Specified by:
findByIdin interfaceAuditEventsController
-
search
@RequestMapping(method=GET) public org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent<?,CloudRuntimeEventType>>> search(SearchParams searchParams, org.springframework.data.domain.Pageable pageable) - Specified by:
searchin interfaceAuditEventsController
-