public class ActionRepositoryServiceImpl extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ActionEngineConfiguration> implements ActionRepositoryService
Constructor and Description |
---|
ActionRepositoryServiceImpl(ActionEngineConfiguration engineConfiguration) |
Modifier and Type | Method and Description |
---|---|
ActionDefinitionLink |
addActionDefinitionLink(String actionDefinitionId,
String type,
String linkValue)
Adds a new
ActionDefinitionLink for the given action definition id. |
String |
convertActionDefinitionModelToJson(String appDefinitionId)
Returns the
ActionDefinitionModel as a JSON string. |
ActionDefinitionQuery |
createActionDefinitionQuery()
Query case definitions
|
ActionDeploymentBuilder |
createDeployment()
Starts creating a new deployment
|
ActionDeploymentQuery |
createDeploymentQuery()
Query deployments
|
void |
deleteActionDefinitionLink(String actionDefinitionLinkId)
Deletes an
ActionDefinitionLink for the given action definition link id. |
void |
deleteDeployment(String deploymentId)
Deletes the given deployment.
|
ActionDeployment |
deploy(ActionDeploymentBuilderImpl deploymentBuilder) |
ActionDefinition |
getActionDefinition(String appDefinitionId)
Returns the
ActionDefinition including all action information like additional Properties (e.g. |
ActionDefinition |
getActionDefinitionByKey(String actionDefinitionKey)
Returns the
ActionDefinition including all action information like additional Properties (e.g. |
ActionDefinition |
getActionDefinitionByKeyAndTenantId(String actionDefinitionKey,
String tenantId)
Returns the
ActionDefinition including all action information like additional Properties (e.g. |
List<ActionDefinitionLink> |
getActionDefinitionLinks(String actionDefinitionId)
Returns
ActionDefinitionLink s for the given action definition id. |
ActionDefinitionModel |
getActionDefinitionModel(String actionDefinitionId)
Returns the
ActionDefinitionModel including all action model info. |
ActionDefinitionModel |
getActionDefinitionModelByKey(String actionDefinitionKey)
Returns the
ActionDefinitionModel including all action model info,
using the action definition key and resolving the key to the latest version. |
ActionDefinitionModel |
getActionDefinitionModelByKeyAndTenantId(String actionDefinitionKey,
String tenantId)
Returns the
ActionDefinitionModel including all action model info,
using the action definition key and resolving the key to the latest version. |
List<String> |
getDeploymentResourceNames(String deploymentId)
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.
|
InputStream |
getResourceAsStream(String deploymentId,
String resourceName)
Gives access to a deployment resource through a stream of bytes.
|
getCommandExecutor, setCommandExecutor
public ActionRepositoryServiceImpl(ActionEngineConfiguration engineConfiguration)
public ActionDeploymentBuilder createDeployment()
ActionRepositoryService
createDeployment
in interface ActionRepositoryService
public List<String> getDeploymentResourceNames(String deploymentId)
ActionRepositoryService
getDeploymentResourceNames
in interface ActionRepositoryService
deploymentId
- id of the deployment, cannot be null.public InputStream getResourceAsStream(String deploymentId, String resourceName)
ActionRepositoryService
getResourceAsStream
in interface ActionRepositoryService
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.public ActionDeployment deploy(ActionDeploymentBuilderImpl deploymentBuilder)
public ActionDefinition getActionDefinition(String appDefinitionId)
ActionRepositoryService
ActionDefinition
including all action information like additional Properties (e.g. documentation).getActionDefinition
in interface ActionRepositoryService
public ActionDefinition getActionDefinitionByKey(String actionDefinitionKey)
ActionRepositoryService
ActionDefinition
including all action information like additional Properties (e.g. documentation).
The latest version for the given key will be returned.getActionDefinitionByKey
in interface ActionRepositoryService
public ActionDefinition getActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId)
ActionRepositoryService
ActionDefinition
including all action information like additional Properties (e.g. documentation).
The latest version for the given key will be returned.getActionDefinitionByKeyAndTenantId
in interface ActionRepositoryService
public List<ActionDefinitionLink> getActionDefinitionLinks(String actionDefinitionId)
ActionRepositoryService
ActionDefinitionLink
s for the given action definition id.getActionDefinitionLinks
in interface ActionRepositoryService
public ActionDefinitionLink addActionDefinitionLink(String actionDefinitionId, String type, String linkValue)
ActionRepositoryService
ActionDefinitionLink
for the given action definition id.addActionDefinitionLink
in interface ActionRepositoryService
public void deleteActionDefinitionLink(String actionDefinitionLinkId)
ActionRepositoryService
ActionDefinitionLink
for the given action definition link id.deleteActionDefinitionLink
in interface ActionRepositoryService
public ActionDefinitionModel getActionDefinitionModel(String actionDefinitionId)
ActionRepositoryService
ActionDefinitionModel
including all action model info.getActionDefinitionModel
in interface ActionRepositoryService
public ActionDefinitionModel getActionDefinitionModelByKey(String actionDefinitionKey)
ActionRepositoryService
ActionDefinitionModel
including all action model info,
using the action definition key and resolving the key to the latest version.getActionDefinitionModelByKey
in interface ActionRepositoryService
public ActionDefinitionModel getActionDefinitionModelByKeyAndTenantId(String actionDefinitionKey, String tenantId)
ActionRepositoryService
ActionDefinitionModel
including all action model info,
using the action definition key and resolving the key to the latest version.getActionDefinitionModelByKeyAndTenantId
in interface ActionRepositoryService
public String convertActionDefinitionModelToJson(String appDefinitionId)
ActionRepositoryService
ActionDefinitionModel
as a JSON string.convertActionDefinitionModelToJson
in interface ActionRepositoryService
public void deleteDeployment(String deploymentId)
ActionRepositoryService
deleteDeployment
in interface ActionRepositoryService
deploymentId
- id of the deployment, cannot be null.public ActionDeploymentQuery createDeploymentQuery()
ActionRepositoryService
createDeploymentQuery
in interface ActionRepositoryService
public ActionDefinitionQuery createActionDefinitionQuery()
ActionRepositoryService
createActionDefinitionQuery
in interface ActionRepositoryService
Copyright © 2019. All rights reserved.