public interface BusinessDataModelRepository
| Modifier and Type | Method and Description |
|---|---|
void |
dropAndUninstall(long tenantId) |
org.bonitasoft.engine.bdm.model.BusinessObjectModel |
getBusinessObjectModel()
Returns the currently deployed Business Object Data Model, or null if no BDM is deployed.
|
byte[] |
getClientBDMZip()
Retrieve the client side BDM generated zip.
|
java.lang.String |
getInstalledBDMVersion()
Returns the currently deployed BDM version, or null if no BDM is deployed.
|
java.lang.String |
install(byte[] bdmArchive,
long tenantId,
long userId)
Deploys a Business Data Model / repository on the specified tenant.
|
boolean |
isBDMDeployed() |
void |
uninstall(long tenantId)
Undeploy Business Data Model from specified tenant
|
java.lang.String install(byte[] bdmArchive,
long tenantId,
long userId)
throws SBusinessDataRepositoryDeploymentException
bdmArchive - the Business Data Model, as a jar containing the Business Object classes to deploy.tenantId - the ID of the tenant to deploy the Business Data Model to.userId - the ID of the user installing the BDM, typically tenant admin (id=-1)SBusinessDataRepositoryDeploymentException - if a deployment exception occurs.void uninstall(long tenantId)
throws SBusinessDataRepositoryException
tenantId - the ID of the tenant to undeploy the Business Data Model fromSBusinessDataRepositoryException - if error occurs during undeployementboolean isBDMDeployed()
byte[] getClientBDMZip()
throws SBusinessDataRepositoryException
SBusinessDataRepositoryExceptionvoid dropAndUninstall(long tenantId)
throws SBusinessDataRepositoryException
SBusinessDataRepositoryExceptionjava.lang.String getInstalledBDMVersion()
throws SBusinessDataRepositoryException
SBusinessDataRepositoryException - if the BDM cannot be retrieved.org.bonitasoft.engine.bdm.model.BusinessObjectModel getBusinessObjectModel()
throws SBusinessDataRepositoryException
SBusinessDataRepositoryException - if the BDM cannot be retrieved.