Package org.flowable.eventregistry.impl
Class EventRepositoryServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EventRegistryEngineConfiguration>
org.flowable.eventregistry.impl.EventRepositoryServiceImpl
- All Implemented Interfaces:
EventRepositoryService
public class EventRepositoryServiceImpl
extends CommonEngineServiceImpl<EventRegistryEngineConfiguration>
implements EventRepositoryService
- Author:
- Tijs Rademakers
-
Field Summary
FieldsFields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
ConstructorsConstructorDescriptionEventRepositoryServiceImpl
(EventRegistryEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
changeDeploymentParentDeploymentId
(String deploymentId, String newParentDeploymentId) Changes the parent deployment id of a deployment.Programmatically build and register a newEventModel
.void
deleteDeployment
(String deploymentId) deploy
(EventDeploymentBuilderImpl deploymentBuilder) getChannelDefinition
(String channelDefinitionId) getChannelDefinitionResource
(String channelDefinitionId) getChannelModelById
(String channelDefinitionId) getChannelModelByKey
(String channelDefinitionKey) getChannelModelByKey
(String channelDefinitionKey, String tenantId) getChannelModelByKeyAndParentDeploymentId
(String channelDefinitionKey, String parentDeploymentId) getChannelModelByKeyAndParentDeploymentId
(String channelDefinitionKey, String parentDeploymentId, String tenantId) getDeploymentResourceNames
(String deploymentId) getEventDefinition
(String eventDefinitionId) getEventDefinitionResource
(String eventDefinitionId) getEventModelById
(String eventDefinitionId) getEventModelByKey
(String eventDefinitionKey) getEventModelByKey
(String eventDefinitionKey, String tenantId) getEventModelByKeyAndParentDeploymentId
(String eventDefinitionKey, String parentDeploymentId) getEventModelByKeyAndParentDeploymentId
(String eventDefinitionKey, String parentDeploymentId, String tenantId) getResourceAsStream
(String deploymentId, String resourceName) void
registerEventModel
(EventModel eventModel) void
setChannelDefinitionCategory
(String channelDefinitionId, String category) void
setDeploymentCategory
(String deploymentId, String category) Changes the category of a deployment.void
setDeploymentTenantId
(String deploymentId, String newTenantId) Changes the tenant id of a deployment.void
setEventDefinitionCategory
(String eventDefinitionId, String category) Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Field Details
-
eventRegistryEngineConfiguration
-
-
Constructor Details
-
EventRepositoryServiceImpl
-
-
Method Details
-
createDeployment
- Specified by:
createDeployment
in interfaceEventRepositoryService
-
deploy
-
deleteDeployment
- Specified by:
deleteDeployment
in interfaceEventRepositoryService
-
createEventDefinitionQuery
- Specified by:
createEventDefinitionQuery
in interfaceEventRepositoryService
-
createChannelDefinitionQuery
- Specified by:
createChannelDefinitionQuery
in interfaceEventRepositoryService
-
getDeploymentResourceNames
- Specified by:
getDeploymentResourceNames
in interfaceEventRepositoryService
-
getResourceAsStream
- Specified by:
getResourceAsStream
in interfaceEventRepositoryService
-
setDeploymentCategory
Description copied from interface:EventRepositoryService
Changes the category of a deployment.- Specified by:
setDeploymentCategory
in interfaceEventRepositoryService
- Parameters:
deploymentId
- The id of the deployment of which the category will be changed.category
- The new category.
-
setDeploymentTenantId
Description copied from interface:EventRepositoryService
Changes the tenant id of a deployment.- Specified by:
setDeploymentTenantId
in interfaceEventRepositoryService
- Parameters:
deploymentId
- The id of the deployment of which the tenant identifier will be changed.newTenantId
- The new tenant identifier.
-
changeDeploymentParentDeploymentId
Description copied from interface:EventRepositoryService
Changes the parent deployment id of a deployment. This is used to move deployments to a different app deployment parent.- Specified by:
changeDeploymentParentDeploymentId
in interfaceEventRepositoryService
- Parameters:
deploymentId
- The id of the deployment of which the parent deployment identifier will be changed.newParentDeploymentId
- The new parent deployment identifier.
-
createDeploymentQuery
- Specified by:
createDeploymentQuery
in interfaceEventRepositoryService
-
getEventDefinition
- Specified by:
getEventDefinition
in interfaceEventRepositoryService
-
getEventDefinitionResource
- Specified by:
getEventDefinitionResource
in interfaceEventRepositoryService
-
setEventDefinitionCategory
- Specified by:
setEventDefinitionCategory
in interfaceEventRepositoryService
-
getChannelDefinition
- Specified by:
getChannelDefinition
in interfaceEventRepositoryService
-
getChannelDefinitionResource
- Specified by:
getChannelDefinitionResource
in interfaceEventRepositoryService
-
setChannelDefinitionCategory
- Specified by:
setChannelDefinitionCategory
in interfaceEventRepositoryService
-
getEventModelById
- Specified by:
getEventModelById
in interfaceEventRepositoryService
-
getEventModelByKey
- Specified by:
getEventModelByKey
in interfaceEventRepositoryService
-
getEventModelByKey
- Specified by:
getEventModelByKey
in interfaceEventRepositoryService
-
getEventModelByKeyAndParentDeploymentId
public EventModel getEventModelByKeyAndParentDeploymentId(String eventDefinitionKey, String parentDeploymentId) - Specified by:
getEventModelByKeyAndParentDeploymentId
in interfaceEventRepositoryService
-
getEventModelByKeyAndParentDeploymentId
public EventModel getEventModelByKeyAndParentDeploymentId(String eventDefinitionKey, String parentDeploymentId, String tenantId) - Specified by:
getEventModelByKeyAndParentDeploymentId
in interfaceEventRepositoryService
-
getChannelModelById
- Specified by:
getChannelModelById
in interfaceEventRepositoryService
-
getChannelModelByKey
- Specified by:
getChannelModelByKey
in interfaceEventRepositoryService
-
getChannelModelByKey
- Specified by:
getChannelModelByKey
in interfaceEventRepositoryService
-
getChannelModelByKeyAndParentDeploymentId
public ChannelModel getChannelModelByKeyAndParentDeploymentId(String channelDefinitionKey, String parentDeploymentId) - Specified by:
getChannelModelByKeyAndParentDeploymentId
in interfaceEventRepositoryService
-
getChannelModelByKeyAndParentDeploymentId
public ChannelModel getChannelModelByKeyAndParentDeploymentId(String channelDefinitionKey, String parentDeploymentId, String tenantId) - Specified by:
getChannelModelByKeyAndParentDeploymentId
in interfaceEventRepositoryService
-
createEventModelBuilder
Description copied from interface:EventRepositoryService
Programmatically build and register a newEventModel
.- Specified by:
createEventModelBuilder
in interfaceEventRepositoryService
-
createInboundChannelModelBuilder
- Specified by:
createInboundChannelModelBuilder
in interfaceEventRepositoryService
-
createOutboundChannelModelBuilder
- Specified by:
createOutboundChannelModelBuilder
in interfaceEventRepositoryService
-
registerEventModel
-