Interface AppRepositoryService


  • public interface AppRepositoryService
    • Method Detail

      • 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.
      • getAppModel

        AppModel getAppModel​(String appDefinitionId)
        Returns the AppModel including all App model info.
      • convertAppModelToJson

        String convertAppModelToJson​(String appDefinitionId)
        Returns the AppModel as a JSON string.
      • getAppDefinition

        AppDefinition getAppDefinition​(String appDefinitionId)
        Returns the AppDefinition including all App information like additional Properties (e.g. documentation).
      • deleteDeployment

        void deleteDeployment​(String deploymentId,
                              boolean cascade)
        Deletes the given deployment and cascade deletion to app instances, history case instances and jobs.
        Parameters:
        deploymentId - id of the deployment, cannot be null.
      • createAppDefinitionQuery

        AppDefinitionQuery createAppDefinitionQuery()
        Query app definitions