public interface DocumentRepositoryService
Modifier and Type | Method and Description |
---|---|
String |
convertDocumentDefinitionModelToJson(String documentDefinitionId)
Returns the
DocumentDefinitionModel as a JSON string. |
DocumentDeploymentBuilder |
createDeployment()
Starts creating a new deployment
|
DocumentDeploymentQuery |
createDeploymentQuery()
Query deployments
|
DocumentDefinitionQuery |
createDocumentDefinitionQuery()
Query case definitions
|
void |
deleteDeployment(String deploymentId)
Deletes the given deployment.
|
List<String> |
getDeploymentResourceNames(String deploymentId)
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.
|
DocumentDefinition |
getDocumentDefinition(String documentDefinitionId)
Returns the
DocumentDefinition including all action information like additional Properties (e.g. |
DocumentDefinitionModel |
getDocumentDefinitionModel(String documentDefinitionId)
Returns the
DocumentDefinitionModel including all action model info. |
InputStream |
getResourceAsStream(String deploymentId,
String resourceName)
Gives access to a deployment resource through a stream of bytes.
|
void |
setDocumentDefinitionCategory(String documentDefinitionId,
String category) |
DocumentDeploymentBuilder 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.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.DocumentDefinitionModel getDocumentDefinitionModel(String documentDefinitionId)
DocumentDefinitionModel
including all action model info.String convertDocumentDefinitionModelToJson(String documentDefinitionId)
DocumentDefinitionModel
as a JSON string.DocumentDefinition getDocumentDefinition(String documentDefinitionId)
DocumentDefinition
including all action information like additional Properties (e.g. documentation).void setDocumentDefinitionCategory(String documentDefinitionId, String category)
void deleteDeployment(String deploymentId)
deploymentId
- id of the deployment, cannot be null.DocumentDeploymentQuery createDeploymentQuery()
DocumentDefinitionQuery createDocumentDefinitionQuery()
Copyright © 2019. All rights reserved.