Class ActionRepositoryServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ActionEngineConfiguration>
com.flowable.action.engine.impl.repository.ActionRepositoryServiceImpl
- All Implemented Interfaces:
ActionRepositoryService
public class ActionRepositoryServiceImpl
extends CommonEngineServiceImpl<ActionEngineConfiguration>
implements ActionRepositoryService
- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionaddActionDefinitionLink
(String actionDefinitionId, String type, String linkValue) Adds a newActionDefinitionLink
for the given action definition id.convertActionDefinitionModelToJson
(String appDefinitionId) Returns theActionDefinitionModel
as a JSON string.Query case definitionsStarts creating a new deploymentQuery deploymentsvoid
deleteActionDefinitionLink
(String actionDefinitionLinkId) Deletes anActionDefinitionLink
for the given action definition link id.void
deleteDeployment
(String deploymentId) Deletes the given deployment.deploy
(ActionDeploymentBuilderImpl deploymentBuilder) getActionDefinition
(String appDefinitionId) Returns theActionDefinition
including all action information like additional Properties (e.g.getActionDefinitionByKey
(String actionDefinitionKey) Returns theActionDefinition
including all action information like additional Properties (e.g.getActionDefinitionByKeyAndTenantId
(String actionDefinitionKey, String tenantId) Returns theActionDefinition
including all action information like additional Properties (e.g.getActionDefinitionLinks
(String actionDefinitionId) ReturnsActionDefinitionLink
s for the given action definition id.getActionDefinitionModel
(String actionDefinitionId) Returns theActionDefinitionModel
including all action model info.getActionDefinitionModelByKey
(String actionDefinitionKey) Returns theActionDefinitionModel
including all action model info, using the action definition key and resolving the key to the latest version.getActionDefinitionModelByKeyAndTenantId
(String actionDefinitionKey, String tenantId) Returns theActionDefinitionModel
including all action model info, using the action definition key and resolving the key to the latest version.getDeploymentResourceNames
(String deploymentId) Retrieves a list of deployment resources for the given deployment, ordered alphabetically.getResourceAsStream
(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.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
-
Constructor Details
-
ActionRepositoryServiceImpl
-
-
Method Details
-
createDeployment
Description copied from interface:ActionRepositoryService
Starts creating a new deployment- Specified by:
createDeployment
in interfaceActionRepositoryService
-
getDeploymentResourceNames
Description copied from interface:ActionRepositoryService
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Specified by:
getDeploymentResourceNames
in interfaceActionRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Description copied from interface:ActionRepositoryService
Gives access to a deployment resource through a stream of bytes.- Specified by:
getResourceAsStream
in interfaceActionRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.
-
deploy
-
getActionDefinition
Description copied from interface:ActionRepositoryService
Returns theActionDefinition
including all action information like additional Properties (e.g. documentation).- Specified by:
getActionDefinition
in interfaceActionRepositoryService
-
getActionDefinitionByKey
Description copied from interface:ActionRepositoryService
Returns theActionDefinition
including all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getActionDefinitionByKey
in interfaceActionRepositoryService
-
getActionDefinitionByKeyAndTenantId
public ActionDefinition getActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId) Description copied from interface:ActionRepositoryService
Returns theActionDefinition
including all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getActionDefinitionByKeyAndTenantId
in interfaceActionRepositoryService
-
getActionDefinitionLinks
Description copied from interface:ActionRepositoryService
ReturnsActionDefinitionLink
s for the given action definition id.- Specified by:
getActionDefinitionLinks
in interfaceActionRepositoryService
-
addActionDefinitionLink
public ActionDefinitionLink addActionDefinitionLink(String actionDefinitionId, String type, String linkValue) Description copied from interface:ActionRepositoryService
Adds a newActionDefinitionLink
for the given action definition id.- Specified by:
addActionDefinitionLink
in interfaceActionRepositoryService
-
deleteActionDefinitionLink
Description copied from interface:ActionRepositoryService
Deletes anActionDefinitionLink
for the given action definition link id.- Specified by:
deleteActionDefinitionLink
in interfaceActionRepositoryService
-
getActionDefinitionModel
Description copied from interface:ActionRepositoryService
Returns theActionDefinitionModel
including all action model info.- Specified by:
getActionDefinitionModel
in interfaceActionRepositoryService
-
getActionDefinitionModelByKey
Description copied from interface:ActionRepositoryService
Returns theActionDefinitionModel
including all action model info, using the action definition key and resolving the key to the latest version.- Specified by:
getActionDefinitionModelByKey
in interfaceActionRepositoryService
-
getActionDefinitionModelByKeyAndTenantId
public ActionDefinitionModel getActionDefinitionModelByKeyAndTenantId(String actionDefinitionKey, String tenantId) Description copied from interface:ActionRepositoryService
Returns theActionDefinitionModel
including all action model info, using the action definition key and resolving the key to the latest version.- Specified by:
getActionDefinitionModelByKeyAndTenantId
in interfaceActionRepositoryService
-
convertActionDefinitionModelToJson
Description copied from interface:ActionRepositoryService
Returns theActionDefinitionModel
as a JSON string.- Specified by:
convertActionDefinitionModelToJson
in interfaceActionRepositoryService
-
deleteDeployment
Description copied from interface:ActionRepositoryService
Deletes the given deployment.- Specified by:
deleteDeployment
in interfaceActionRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
Description copied from interface:ActionRepositoryService
Query deployments- Specified by:
createDeploymentQuery
in interfaceActionRepositoryService
-
createActionDefinitionQuery
Description copied from interface:ActionRepositoryService
Query case definitions- Specified by:
createActionDefinitionQuery
in interfaceActionRepositoryService
-