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
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
ConstructorsConstructorDescriptionEventRepositoryServiceImpl(EventRegistryEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeDeploymentParentDeploymentId(String deploymentId, String newParentDeploymentId) Changes the parent deployment id of a deployment.Programmatically build and register a newEventModel.voiddeleteDeployment(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) voidregisterEventModel(EventModel eventModel) voidsetChannelDefinitionCategory(String channelDefinitionId, String category) voidsetDeploymentCategory(String deploymentId, String category) Changes the category of a deployment.voidsetDeploymentTenantId(String deploymentId, String newTenantId) Changes the tenant id of a deployment.voidsetEventDefinitionCategory(String eventDefinitionId, String category) Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Field Details
-
eventRegistryEngineConfiguration
-
-
Constructor Details
-
EventRepositoryServiceImpl
-
-
Method Details
-
createDeployment
- Specified by:
createDeploymentin interfaceEventRepositoryService
-
deploy
-
deleteDeployment
- Specified by:
deleteDeploymentin interfaceEventRepositoryService
-
createEventDefinitionQuery
- Specified by:
createEventDefinitionQueryin interfaceEventRepositoryService
-
createChannelDefinitionQuery
- Specified by:
createChannelDefinitionQueryin interfaceEventRepositoryService
-
getDeploymentResourceNames
- Specified by:
getDeploymentResourceNamesin interfaceEventRepositoryService
-
getResourceAsStream
- Specified by:
getResourceAsStreamin interfaceEventRepositoryService
-
setDeploymentCategory
Description copied from interface:EventRepositoryServiceChanges the category of a deployment.- Specified by:
setDeploymentCategoryin interfaceEventRepositoryService- Parameters:
deploymentId- The id of the deployment of which the category will be changed.category- The new category.
-
setDeploymentTenantId
Description copied from interface:EventRepositoryServiceChanges the tenant id of a deployment.- Specified by:
setDeploymentTenantIdin 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:EventRepositoryServiceChanges the parent deployment id of a deployment. This is used to move deployments to a different app deployment parent.- Specified by:
changeDeploymentParentDeploymentIdin 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:
createDeploymentQueryin interfaceEventRepositoryService
-
getEventDefinition
- Specified by:
getEventDefinitionin interfaceEventRepositoryService
-
getEventDefinitionResource
- Specified by:
getEventDefinitionResourcein interfaceEventRepositoryService
-
setEventDefinitionCategory
- Specified by:
setEventDefinitionCategoryin interfaceEventRepositoryService
-
getChannelDefinition
- Specified by:
getChannelDefinitionin interfaceEventRepositoryService
-
getChannelDefinitionResource
- Specified by:
getChannelDefinitionResourcein interfaceEventRepositoryService
-
setChannelDefinitionCategory
- Specified by:
setChannelDefinitionCategoryin interfaceEventRepositoryService
-
getEventModelById
- Specified by:
getEventModelByIdin interfaceEventRepositoryService
-
getEventModelByKey
- Specified by:
getEventModelByKeyin interfaceEventRepositoryService
-
getEventModelByKey
- Specified by:
getEventModelByKeyin interfaceEventRepositoryService
-
getEventModelByKeyAndParentDeploymentId
public EventModel getEventModelByKeyAndParentDeploymentId(String eventDefinitionKey, String parentDeploymentId) - Specified by:
getEventModelByKeyAndParentDeploymentIdin interfaceEventRepositoryService
-
getEventModelByKeyAndParentDeploymentId
public EventModel getEventModelByKeyAndParentDeploymentId(String eventDefinitionKey, String parentDeploymentId, String tenantId) - Specified by:
getEventModelByKeyAndParentDeploymentIdin interfaceEventRepositoryService
-
getChannelModelById
- Specified by:
getChannelModelByIdin interfaceEventRepositoryService
-
getChannelModelByKey
- Specified by:
getChannelModelByKeyin interfaceEventRepositoryService
-
getChannelModelByKey
- Specified by:
getChannelModelByKeyin interfaceEventRepositoryService
-
getChannelModelByKeyAndParentDeploymentId
public ChannelModel getChannelModelByKeyAndParentDeploymentId(String channelDefinitionKey, String parentDeploymentId) - Specified by:
getChannelModelByKeyAndParentDeploymentIdin interfaceEventRepositoryService
-
getChannelModelByKeyAndParentDeploymentId
public ChannelModel getChannelModelByKeyAndParentDeploymentId(String channelDefinitionKey, String parentDeploymentId, String tenantId) - Specified by:
getChannelModelByKeyAndParentDeploymentIdin interfaceEventRepositoryService
-
createEventModelBuilder
Description copied from interface:EventRepositoryServiceProgrammatically build and register a newEventModel.- Specified by:
createEventModelBuilderin interfaceEventRepositoryService
-
createInboundChannelModelBuilder
- Specified by:
createInboundChannelModelBuilderin interfaceEventRepositoryService
-
createOutboundChannelModelBuilder
- Specified by:
createOutboundChannelModelBuilderin interfaceEventRepositoryService
-
registerEventModel
-