Interface ActionRepositoryService
- All Known Implementing Classes:
ActionRepositoryServiceImpl
public interface ActionRepositoryService
-
Method Summary
Modifier and TypeMethodDescriptionaddActionDefinitionLink
(String actionDefinitionId, String type, String linkValue) Adds a newActionDefinitionLink
for the given action definition id.convertActionDefinitionModelToJson
(String actionDefinitionId) 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.getActionDefinition
(String actionDefinitionId) 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.
-
Method Details
-
createDeployment
ActionDeploymentBuilder createDeployment()Starts creating a new deployment -
getDeploymentResourceNames
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Gives access to a deployment resource through a stream of bytes.- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.- Throws:
FlowableObjectNotFoundException
- when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.
-
getActionDefinitionModel
Returns theActionDefinitionModel
including all action model info. -
getActionDefinitionModelByKey
Returns theActionDefinitionModel
including all action model info, using the action definition key and resolving the key to the latest version. -
getActionDefinitionModelByKeyAndTenantId
ActionDefinitionModel 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. -
convertActionDefinitionModelToJson
Returns theActionDefinitionModel
as a JSON string. -
getActionDefinition
Returns theActionDefinition
including all action information like additional Properties (e.g. documentation). -
getActionDefinitionByKey
Returns theActionDefinition
including all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned. -
getActionDefinitionByKeyAndTenantId
Returns theActionDefinition
including all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned. -
getActionDefinitionLinks
ReturnsActionDefinitionLink
s for the given action definition id. -
addActionDefinitionLink
ActionDefinitionLink addActionDefinitionLink(String actionDefinitionId, String type, String linkValue) Adds a newActionDefinitionLink
for the given action definition id. -
deleteActionDefinitionLink
Deletes anActionDefinitionLink
for the given action definition link id. -
deleteDeployment
Deletes the given deployment.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
ActionDeploymentQuery createDeploymentQuery()Query deployments -
createActionDefinitionQuery
ActionDefinitionQuery createActionDefinitionQuery()Query case definitions
-