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
ActionDefinitionLinks 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, setCommandExecutorpublic ActionRepositoryServiceImpl(ActionEngineConfiguration engineConfiguration)
public ActionDeploymentBuilder createDeployment()
ActionRepositoryServicecreateDeployment in interface ActionRepositoryServicepublic List<String> getDeploymentResourceNames(String deploymentId)
ActionRepositoryServicegetDeploymentResourceNames in interface ActionRepositoryServicedeploymentId - id of the deployment, cannot be null.public InputStream getResourceAsStream(String deploymentId, String resourceName)
ActionRepositoryServicegetResourceAsStream in interface ActionRepositoryServicedeploymentId - 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)
ActionRepositoryServiceActionDefinition including all action information like additional Properties (e.g. documentation).getActionDefinition in interface ActionRepositoryServicepublic ActionDefinition getActionDefinitionByKey(String actionDefinitionKey)
ActionRepositoryServiceActionDefinition including all action information like additional Properties (e.g. documentation).
The latest version for the given key will be returned.getActionDefinitionByKey in interface ActionRepositoryServicepublic ActionDefinition getActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId)
ActionRepositoryServiceActionDefinition including all action information like additional Properties (e.g. documentation).
The latest version for the given key will be returned.getActionDefinitionByKeyAndTenantId in interface ActionRepositoryServicepublic List<ActionDefinitionLink> getActionDefinitionLinks(String actionDefinitionId)
ActionRepositoryServiceActionDefinitionLinks for the given action definition id.getActionDefinitionLinks in interface ActionRepositoryServicepublic ActionDefinitionLink addActionDefinitionLink(String actionDefinitionId, String type, String linkValue)
ActionRepositoryServiceActionDefinitionLink for the given action definition id.addActionDefinitionLink in interface ActionRepositoryServicepublic void deleteActionDefinitionLink(String actionDefinitionLinkId)
ActionRepositoryServiceActionDefinitionLink for the given action definition link id.deleteActionDefinitionLink in interface ActionRepositoryServicepublic ActionDefinitionModel getActionDefinitionModel(String actionDefinitionId)
ActionRepositoryServiceActionDefinitionModel including all action model info.getActionDefinitionModel in interface ActionRepositoryServicepublic ActionDefinitionModel getActionDefinitionModelByKey(String actionDefinitionKey)
ActionRepositoryServiceActionDefinitionModel including all action model info,
using the action definition key and resolving the key to the latest version.getActionDefinitionModelByKey in interface ActionRepositoryServicepublic ActionDefinitionModel getActionDefinitionModelByKeyAndTenantId(String actionDefinitionKey, String tenantId)
ActionRepositoryServiceActionDefinitionModel including all action model info,
using the action definition key and resolving the key to the latest version.getActionDefinitionModelByKeyAndTenantId in interface ActionRepositoryServicepublic String convertActionDefinitionModelToJson(String appDefinitionId)
ActionRepositoryServiceActionDefinitionModel as a JSON string.convertActionDefinitionModelToJson in interface ActionRepositoryServicepublic void deleteDeployment(String deploymentId)
ActionRepositoryServicedeleteDeployment in interface ActionRepositoryServicedeploymentId - id of the deployment, cannot be null.public ActionDeploymentQuery createDeploymentQuery()
ActionRepositoryServicecreateDeploymentQuery in interface ActionRepositoryServicepublic ActionDefinitionQuery createActionDefinitionQuery()
ActionRepositoryServicecreateActionDefinitionQuery in interface ActionRepositoryServiceCopyright © 2019. All rights reserved.