public class BaseEventDefinitionResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected EventRepositoryService |
repositoryService |
protected EventRegistryRestApiInterceptor |
restApiInterceptor |
protected EventRegistryRestResponseFactory |
restResponseFactory |
| Constructor and Description |
|---|
BaseEventDefinitionResource() |
| Modifier and Type | Method and Description |
|---|---|
protected ChannelDefinition |
getChannelDefinitionFromRequest(String channelDefinitionId)
Returns the
ChannelDefinition that is requested. |
protected EventDefinition |
getEventDefinitionFromRequest(String eventDefinitionId)
Returns the
EventDefinition that is requested. |
@Autowired protected EventRegistryRestResponseFactory restResponseFactory
@Autowired protected EventRepositoryService repositoryService
@Autowired(required=false) protected EventRegistryRestApiInterceptor restApiInterceptor
protected EventDefinition getEventDefinitionFromRequest(String eventDefinitionId)
EventDefinition that is requested. Throws the right exceptions when bad request was made or definition was not found.protected ChannelDefinition getChannelDefinitionFromRequest(String channelDefinitionId)
ChannelDefinition that is requested. Throws the right exceptions when bad request was made or definition was not found.Copyright © 2023 Flowable. All rights reserved.