public interface AppRepositoryService
| Modifier and Type | Method and Description |
|---|---|
String |
convertAppModelToJson(String appDefinitionId)
Returns the
AppModel as a JSON string. |
AppDefinitionQuery |
createAppDefinitionQuery()
Query app definitions
|
AppDeploymentBuilder |
createDeployment()
Starts creating a new deployment
|
AppDeploymentQuery |
createDeploymentQuery()
Query deployments
|
void |
deleteDeployment(String deploymentId,
boolean cascade)
Deletes the given deployment and cascade deletion to app instances, history case instances and jobs.
|
AppDefinition |
getAppDefinition(String appDefinitionId)
Returns the
AppDefinition including all App information like additional Properties (e.g. |
AppModel |
getAppModel(String appDefinitionId)
Returns the
AppModel including all App model info. |
List<String> |
getDeploymentResourceNames(String deploymentId)
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.
|
InputStream |
getResourceAsStream(String deploymentId,
String resourceName)
Gives access to a deployment resource through a stream of bytes.
|
void |
setAppDefinitionCategory(String appDefinitionId,
String category)
Sets the category of the app definition.
|
AppDeploymentBuilder createDeployment()
List<String> getDeploymentResourceNames(String deploymentId)
deploymentId - id of the deployment, cannot be null.InputStream getResourceAsStream(String deploymentId, String resourceName)
deploymentId - id of the deployment, cannot be null.resourceName - name of the resource, cannot be null.FlowableObjectNotFoundException - when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.AppModel getAppModel(String appDefinitionId)
AppModel including all App model info.String convertAppModelToJson(String appDefinitionId)
AppModel as a JSON string.AppDefinition getAppDefinition(String appDefinitionId)
AppDefinition including all App information like additional Properties (e.g. documentation).void deleteDeployment(String deploymentId, boolean cascade)
deploymentId - id of the deployment, cannot be null.AppDeploymentQuery createDeploymentQuery()
AppDefinitionQuery createAppDefinitionQuery()
void setAppDefinitionCategory(String appDefinitionId, String category)
AppDefinitionBaseQuery.appDefinitionCategory(String).FlowableObjectNotFoundException - if no app definition with the provided id can be found.Copyright © 2020 Flowable. All rights reserved.