public interface ActionRepositoryService
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 actionDefinitionId)
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.
|
ActionDefinition |
getActionDefinition(String actionDefinitionId)
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.
|
ActionDeploymentBuilder createDeployment()
List<String> getDeploymentResourceNames(String deploymentId)
deploymentId
- id of the deployment, cannot be null.InputStream getResourceAsStream(String deploymentId, String resourceName)
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.FlowableObjectNotFoundException
- when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.ActionDefinitionModel getActionDefinitionModel(String actionDefinitionId)
ActionDefinitionModel
including all action model info.ActionDefinitionModel getActionDefinitionModelByKey(String actionDefinitionKey)
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)
ActionDefinitionModel
including all action model info,
using the action definition key and resolving the key to the latest version.String convertActionDefinitionModelToJson(String actionDefinitionId)
ActionDefinitionModel
as a JSON string.ActionDefinition getActionDefinition(String actionDefinitionId)
ActionDefinition
including all action information like additional Properties (e.g. documentation).ActionDefinition getActionDefinitionByKey(String actionDefinitionKey)
ActionDefinition
including all action information like additional Properties (e.g. documentation).
The latest version for the given key will be returned.ActionDefinition getActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId)
ActionDefinition
including all action information like additional Properties (e.g. documentation).
The latest version for the given key will be returned.List<ActionDefinitionLink> getActionDefinitionLinks(String actionDefinitionId)
ActionDefinitionLink
s for the given action definition id.ActionDefinitionLink addActionDefinitionLink(String actionDefinitionId, String type, String linkValue)
ActionDefinitionLink
for the given action definition id.void deleteActionDefinitionLink(String actionDefinitionLinkId)
ActionDefinitionLink
for the given action definition link id.void deleteDeployment(String deploymentId)
deploymentId
- id of the deployment, cannot be null.ActionDeploymentQuery createDeploymentQuery()
ActionDefinitionQuery createActionDefinitionQuery()