public interface TenantAdministrationAPI
| Modifier and Type | Method and Description |
|---|---|
void |
cleanAndUninstallBusinessDataModel()
Deletes all business data and uninstalls the business data model.
|
TenantResource |
getBusinessDataModelResource()
Retrieves the BDM resource, as a tenant-level resource.
|
String |
getBusinessDataModelVersion()
Returns the current Business Data Model version, if any, or null if no Business Data Model is currently deployed.
|
byte[] |
getClientBDMZip() |
String |
installBusinessDataModel(byte[] zip)
Installs a new business data model.
|
boolean |
isPaused() |
void |
pause()
Pause the tenant so nothing is executed anymore.
|
void |
resume()
Resume the tenant to a normal state after a pause.
|
void |
uninstallBusinessDataModel()
Uninstalls the business data model.
|
boolean isPaused()
void pause()
throws UpdateException
UpdateException - if the tenant cannot be paused.void resume()
throws UpdateException
UpdateException - if the tenant cannot be resumed.String installBusinessDataModel(byte[] zip) throws InvalidBusinessDataModelException, BusinessDataRepositoryDeploymentException
zip - the binary content of the business object model.InvalidBusinessDataModelException - if the Business Data Model content passed as parameter is invalid.BusinessDataRepositoryDeploymentException - if the deployment cannot be fulfilled completely.void uninstallBusinessDataModel()
throws BusinessDataRepositoryDeploymentException
BusinessDataRepositoryDeploymentException - if the deployment cannot be fulfilled completely.void cleanAndUninstallBusinessDataModel()
throws BusinessDataRepositoryDeploymentException
BusinessDataRepositoryDeploymentException - if the deployment cannot be fulfilled completely.byte[] getClientBDMZip()
throws BusinessDataRepositoryException
BusinessDataRepositoryException - if the Business Data Model cannot be retrieved.String getBusinessDataModelVersion() throws BusinessDataRepositoryException
BusinessDataRepositoryException - if the BDM version cannot be retrieved properly.TenantResource getBusinessDataModelResource()
TenantResource representing the current BDM on the current tenant,
or TenantResource.NONE if no BDM is installed.Copyright © 2018 Bonitasoft S.A.. All rights reserved.