Interface DmnRepositoryService


  • public interface DmnRepositoryService
    Service providing access to the repository of decision(services) and deployments.
    Author:
    Tijs Rademakers, Yvo Swillens
    • Method Detail

      • deleteDeployment

        void deleteDeployment​(String deploymentId)
      • setDeploymentCategory

        void setDeploymentCategory​(String deploymentId,
                                   String category)
        Changes the category of a deployment.
        Parameters:
        deploymentId - The id of the deployment of which the category will be changed.
        category - The new category.
      • setDeploymentTenantId

        void setDeploymentTenantId​(String deploymentId,
                                   String newTenantId)
        Changes the tenant id of a deployment.
        Parameters:
        deploymentId - The id of the deployment of which the tenant identifier will be changed.
        newTenantId - The new tenant identifier.
      • changeDeploymentParentDeploymentId

        void changeDeploymentParentDeploymentId​(String deploymentId,
                                                String newParentDeploymentId)
        Changes the parent deployment id of a deployment. This is used to move deployments to a different app deployment parent.
        Parameters:
        deploymentId - The id of the deployment of which the parent deployment identifier will be changed.
        newParentDeploymentId - The new parent deployment identifier.
      • getDeploymentResourceNames

        List<String> getDeploymentResourceNames​(String deploymentId)
      • setDecisionCategory

        void setDecisionCategory​(String decisionId,
                                 String category)
      • getDecisionRequirementsDiagram

        InputStream getDecisionRequirementsDiagram​(String decisionId)