Interface ActionRepositoryService
-
- All Known Implementing Classes:
ActionRepositoryServiceImpl
public interface ActionRepositoryService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionDefinitionLinkaddActionDefinitionLink(String actionDefinitionId, String type, String linkValue)Adds a newActionDefinitionLinkfor the given action definition id.StringconvertActionDefinitionModelToJson(String actionDefinitionId)Returns theActionDefinitionModelas a JSON string.ActionDefinitionQuerycreateActionDefinitionQuery()Query case definitionsActionDeploymentBuildercreateDeployment()Starts creating a new deploymentActionDeploymentQuerycreateDeploymentQuery()Query deploymentsvoiddeleteActionDefinitionLink(String actionDefinitionLinkId)Deletes anActionDefinitionLinkfor the given action definition link id.voiddeleteDeployment(String deploymentId)Deletes the given deployment.ActionDefinitiongetActionDefinition(String actionDefinitionId)Returns theActionDefinitionincluding all action information like additional Properties (e.g.ActionDefinitiongetActionDefinitionByKey(String actionDefinitionKey)Returns theActionDefinitionincluding all action information like additional Properties (e.g.ActionDefinitiongetActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId)Returns theActionDefinitionincluding all action information like additional Properties (e.g.List<ActionDefinitionLink>getActionDefinitionLinks(String actionDefinitionId)ReturnsActionDefinitionLinks for the given action definition id.ActionDefinitionModelgetActionDefinitionModel(String actionDefinitionId)Returns theActionDefinitionModelincluding all action model info.ActionDefinitionModelgetActionDefinitionModelByKey(String actionDefinitionKey)Returns theActionDefinitionModelincluding all action model info, using the action definition key and resolving the key to the latest version.ActionDefinitionModelgetActionDefinitionModelByKeyAndTenantId(String actionDefinitionKey, String tenantId)Returns theActionDefinitionModelincluding 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.InputStreamgetResourceAsStream(String deploymentId, String resourceName)Gives access to a deployment resource through a stream of bytes.
-
-
-
Method Detail
-
createDeployment
ActionDeploymentBuilder createDeployment()
Starts creating a new deployment
-
getDeploymentResourceNames
List<String> getDeploymentResourceNames(String deploymentId)
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Parameters:
deploymentId- id of the deployment, cannot be null.
-
getResourceAsStream
InputStream getResourceAsStream(String deploymentId, String resourceName)
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
ActionDefinitionModel getActionDefinitionModel(String actionDefinitionId)
Returns theActionDefinitionModelincluding all action model info.
-
getActionDefinitionModelByKey
ActionDefinitionModel getActionDefinitionModelByKey(String actionDefinitionKey)
Returns theActionDefinitionModelincluding 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 theActionDefinitionModelincluding all action model info, using the action definition key and resolving the key to the latest version.
-
convertActionDefinitionModelToJson
String convertActionDefinitionModelToJson(String actionDefinitionId)
Returns theActionDefinitionModelas a JSON string.
-
getActionDefinition
ActionDefinition getActionDefinition(String actionDefinitionId)
Returns theActionDefinitionincluding all action information like additional Properties (e.g. documentation).
-
getActionDefinitionByKey
ActionDefinition getActionDefinitionByKey(String actionDefinitionKey)
Returns theActionDefinitionincluding all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned.
-
getActionDefinitionByKeyAndTenantId
ActionDefinition getActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId)
Returns theActionDefinitionincluding all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned.
-
getActionDefinitionLinks
List<ActionDefinitionLink> getActionDefinitionLinks(String actionDefinitionId)
ReturnsActionDefinitionLinks for the given action definition id.
-
addActionDefinitionLink
ActionDefinitionLink addActionDefinitionLink(String actionDefinitionId, String type, String linkValue)
Adds a newActionDefinitionLinkfor the given action definition id.
-
deleteActionDefinitionLink
void deleteActionDefinitionLink(String actionDefinitionLinkId)
Deletes anActionDefinitionLinkfor the given action definition link id.
-
deleteDeployment
void deleteDeployment(String deploymentId)
Deletes the given deployment.- Parameters:
deploymentId- id of the deployment, cannot be null.
-
createDeploymentQuery
ActionDeploymentQuery createDeploymentQuery()
Query deployments
-
createActionDefinitionQuery
ActionDefinitionQuery createActionDefinitionQuery()
Query case definitions
-
-