Class ActionRepositoryServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ActionEngineConfiguration>
com.flowable.action.engine.impl.repository.ActionRepositoryServiceImpl
- All Implemented Interfaces:
ActionRepositoryService
public class ActionRepositoryServiceImpl
extends CommonEngineServiceImpl<ActionEngineConfiguration>
implements ActionRepositoryService
- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddActionDefinitionLink(String actionDefinitionId, String type, String linkValue) Adds a newActionDefinitionLinkfor the given action definition id.convertActionDefinitionModelToJson(String appDefinitionId) Returns theActionDefinitionModelas a JSON string.Query case definitionsStarts creating a new deploymentQuery deploymentsvoiddeleteActionDefinitionLink(String actionDefinitionLinkId) Deletes anActionDefinitionLinkfor the given action definition link id.voiddeleteDeployment(String deploymentId) Deletes the given deployment.deploy(ActionDeploymentBuilderImpl deploymentBuilder) getActionDefinition(String appDefinitionId) Returns theActionDefinitionincluding all action information like additional Properties (e.g.getActionDefinitionByKey(String actionDefinitionKey) Returns theActionDefinitionincluding all action information like additional Properties (e.g.getActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId) Returns theActionDefinitionincluding all action information like additional Properties (e.g.getActionDefinitionLinks(String actionDefinitionId) ReturnsActionDefinitionLinks for the given action definition id.getActionDefinitionModel(String actionDefinitionId) Returns theActionDefinitionModelincluding all action model info.getActionDefinitionModelByKey(String actionDefinitionKey) Returns theActionDefinitionModelincluding all action model info, using the action definition key and resolving the key to the latest version.getActionDefinitionModelByKeyAndTenantId(String actionDefinitionKey, String tenantId) Returns theActionDefinitionModelincluding 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.Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
ActionRepositoryServiceImpl
-
-
Method Details
-
createDeployment
Description copied from interface:ActionRepositoryServiceStarts creating a new deployment- Specified by:
createDeploymentin interfaceActionRepositoryService
-
getDeploymentResourceNames
Description copied from interface:ActionRepositoryServiceRetrieves a list of deployment resources for the given deployment, ordered alphabetically.- Specified by:
getDeploymentResourceNamesin interfaceActionRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.
-
getResourceAsStream
Description copied from interface:ActionRepositoryServiceGives access to a deployment resource through a stream of bytes.- Specified by:
getResourceAsStreamin interfaceActionRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.resourceName- name of the resource, cannot be null.
-
deploy
-
getActionDefinition
Description copied from interface:ActionRepositoryServiceReturns theActionDefinitionincluding all action information like additional Properties (e.g. documentation).- Specified by:
getActionDefinitionin interfaceActionRepositoryService
-
getActionDefinitionByKey
Description copied from interface:ActionRepositoryServiceReturns theActionDefinitionincluding all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getActionDefinitionByKeyin interfaceActionRepositoryService
-
getActionDefinitionByKeyAndTenantId
public ActionDefinition getActionDefinitionByKeyAndTenantId(String actionDefinitionKey, String tenantId) Description copied from interface:ActionRepositoryServiceReturns theActionDefinitionincluding all action information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getActionDefinitionByKeyAndTenantIdin interfaceActionRepositoryService
-
getActionDefinitionLinks
Description copied from interface:ActionRepositoryServiceReturnsActionDefinitionLinks for the given action definition id.- Specified by:
getActionDefinitionLinksin interfaceActionRepositoryService
-
addActionDefinitionLink
public ActionDefinitionLink addActionDefinitionLink(String actionDefinitionId, String type, String linkValue) Description copied from interface:ActionRepositoryServiceAdds a newActionDefinitionLinkfor the given action definition id.- Specified by:
addActionDefinitionLinkin interfaceActionRepositoryService
-
deleteActionDefinitionLink
Description copied from interface:ActionRepositoryServiceDeletes anActionDefinitionLinkfor the given action definition link id.- Specified by:
deleteActionDefinitionLinkin interfaceActionRepositoryService
-
getActionDefinitionModel
Description copied from interface:ActionRepositoryServiceReturns theActionDefinitionModelincluding all action model info.- Specified by:
getActionDefinitionModelin interfaceActionRepositoryService
-
getActionDefinitionModelByKey
Description copied from interface:ActionRepositoryServiceReturns theActionDefinitionModelincluding all action model info, using the action definition key and resolving the key to the latest version.- Specified by:
getActionDefinitionModelByKeyin interfaceActionRepositoryService
-
getActionDefinitionModelByKeyAndTenantId
public ActionDefinitionModel getActionDefinitionModelByKeyAndTenantId(String actionDefinitionKey, String tenantId) Description copied from interface:ActionRepositoryServiceReturns theActionDefinitionModelincluding all action model info, using the action definition key and resolving the key to the latest version.- Specified by:
getActionDefinitionModelByKeyAndTenantIdin interfaceActionRepositoryService
-
convertActionDefinitionModelToJson
Description copied from interface:ActionRepositoryServiceReturns theActionDefinitionModelas a JSON string.- Specified by:
convertActionDefinitionModelToJsonin interfaceActionRepositoryService
-
deleteDeployment
Description copied from interface:ActionRepositoryServiceDeletes the given deployment.- Specified by:
deleteDeploymentin interfaceActionRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.
-
createDeploymentQuery
Description copied from interface:ActionRepositoryServiceQuery deployments- Specified by:
createDeploymentQueryin interfaceActionRepositoryService
-
createActionDefinitionQuery
Description copied from interface:ActionRepositoryServiceQuery case definitions- Specified by:
createActionDefinitionQueryin interfaceActionRepositoryService
-