public interface FormRepositoryService
| Modifier and Type | Method and Description |
|---|---|
void |
changeDeploymentParentDeploymentId(String deploymentId,
String newParentDeploymentId)
Changes the parent deployment id of a deployment.
|
FormDeploymentBuilder |
createDeployment() |
FormDeploymentQuery |
createDeploymentQuery() |
FormDefinitionQuery |
createFormDefinitionQuery() |
NativeFormDeploymentQuery |
createNativeDeploymentQuery() |
NativeFormDefinitionQuery |
createNativeFormDefinitionQuery() |
void |
deleteDeployment(String deploymentId)
Deletes the given deployment.
|
void |
deleteDeployment(String deploymentId,
boolean cascade)
Deletes the given deployment and cascade deletion to form instances
|
List<String> |
getDeploymentResourceNames(String deploymentId) |
FormDefinition |
getFormDefinition(String formDefinitionId) |
InputStream |
getFormDefinitionResource(String formDefinitionId) |
FormInfo |
getFormModelById(String formDefinitionId) |
FormInfo |
getFormModelByKey(String formDefinitionKey) |
FormInfo |
getFormModelByKey(String formDefinitionKey,
String tenantId,
boolean fallbackToDefaultTenant) |
FormInfo |
getFormModelByKeyAndParentDeploymentId(String formDefinitionKey,
String parentDeploymentId) |
FormInfo |
getFormModelByKeyAndParentDeploymentId(String formDefinitionKey,
String parentDeploymentId,
String tenantId,
boolean fallbackToDefaultTenant) |
InputStream |
getResourceAsStream(String deploymentId,
String resourceName) |
void |
setDeploymentCategory(String deploymentId,
String category)
Changes the category of a deployment.
|
void |
setDeploymentTenantId(String deploymentId,
String newTenantId)
Changes the tenant id of a deployment.
|
void |
setFormDefinitionCategory(String formDefinitionId,
String category) |
FormDeploymentBuilder createDeployment()
void deleteDeployment(String deploymentId)
deploymentId - id of the deployment, cannot be null.void deleteDeployment(String deploymentId, boolean cascade)
deploymentId - id of the deployment, cannot be null.FormDefinitionQuery createFormDefinitionQuery()
NativeFormDefinitionQuery createNativeFormDefinitionQuery()
void setDeploymentCategory(String deploymentId, String category)
deploymentId - The id of the deployment of which the category will be changed.category - The new category.void setDeploymentTenantId(String deploymentId, String newTenantId)
deploymentId - The id of the deployment of which the tenant identifier will be changed.newTenantId - The new tenant identifier.void changeDeploymentParentDeploymentId(String deploymentId, String newParentDeploymentId)
deploymentId - The id of the deployment of which the parent deployment identifier will be changed.newParentDeploymentId - The new parent deployment identifier.InputStream getResourceAsStream(String deploymentId, String resourceName)
FormDeploymentQuery createDeploymentQuery()
NativeFormDeploymentQuery createNativeDeploymentQuery()
FormDefinition getFormDefinition(String formDefinitionId)
FormInfo getFormModelByKey(String formDefinitionKey, String tenantId, boolean fallbackToDefaultTenant)
FormInfo getFormModelByKeyAndParentDeploymentId(String formDefinitionKey, String parentDeploymentId)
FormInfo getFormModelByKeyAndParentDeploymentId(String formDefinitionKey, String parentDeploymentId, String tenantId, boolean fallbackToDefaultTenant)
InputStream getFormDefinitionResource(String formDefinitionId)
Copyright © 2022 Flowable. All rights reserved.