Interface ServiceRegistryRepositoryService

    • Method Detail

      • getDeploymentResourceNames

        java.util.List<java.lang.String> getDeploymentResourceNames​(java.lang.String deploymentId)
        Retrieves a list of deployment resources for the given deployment, ordered alphabetically.
        Parameters:
        deploymentId - id of the deployment, cannot be null.
      • getResourceAsStream

        java.io.InputStream getResourceAsStream​(java.lang.String deploymentId,
                                                java.lang.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:
        org.flowable.common.engine.api.FlowableObjectNotFoundException - when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.
      • getServiceDefinitionModelByKey

        ServiceDefinitionModel getServiceDefinitionModelByKey​(java.lang.String serviceDefinitionKey)
        Returns the ServiceDefinitionModel including all service model info, using the service definition key and resolving the key to the latest version.
      • getServiceDefinitionModelByKeyAndTenantId

        ServiceDefinitionModel getServiceDefinitionModelByKeyAndTenantId​(java.lang.String serviceDefinitionKey,
                                                                         java.lang.String tenantId)
        Returns the ServiceDefinitionModel including all service model info, using the service definition key and resolving the key to the latest version.
      • convertServiceDefinitionModelToJson

        java.lang.String convertServiceDefinitionModelToJson​(java.lang.String serviceDefinitionId)
        Returns the ServiceDefinitionModel as a JSON string.
      • getServiceDefinition

        ServiceDefinition getServiceDefinition​(java.lang.String serviceDefinitionId)
        Returns the ServiceDefinition including all service information like additional Properties (e.g. documentation).
      • getServiceDefinitionByKey

        ServiceDefinition getServiceDefinitionByKey​(java.lang.String serviceDefinitionKey)
        Returns the ServiceDefinition including all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned.
      • getServiceDefinitionByKeyAndTenantId

        ServiceDefinition getServiceDefinitionByKeyAndTenantId​(java.lang.String serviceDefinitionKey,
                                                               java.lang.String tenantId)
        Returns the ServiceDefinition including all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned.
      • createServiceDefinitionQuery

        ServiceDefinitionQuery createServiceDefinitionQuery()
        Query service definitions
      • deleteDeployment

        void deleteDeployment​(java.lang.String deploymentId)
        Deletes the given deployment.
        Parameters:
        deploymentId - id of the deployment, cannot be null.