public class TenantAdministrationAPIImpl extends Object implements TenantAdministrationAPI
| Constructor and Description |
|---|
TenantAdministrationAPIImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanAndUninstallBusinessDataModel() |
String |
getBusinessDataModelVersion() |
byte[] |
getClientBDMZip() |
protected PlatformServiceAccessor |
getPlatformAccessorNoException() |
protected TenantServiceAccessor |
getTenantAccessor() |
protected long |
getTenantId() |
String |
installBusinessDataModel(byte[] zip) |
boolean |
isPaused() |
void |
pause() |
protected void |
pauseServicesForTenant(PlatformServiceAccessor platformServiceAccessor,
long tenantId) |
void |
resume() |
void |
uninstallBusinessDataModel() |
protected void |
updateTenant(PlatformService platformService,
org.bonitasoft.engine.platform.model.builder.STenantUpdateBuilder descriptor,
org.bonitasoft.engine.platform.model.STenant tenant) |
protected PlatformServiceAccessor getPlatformAccessorNoException()
protected long getTenantId()
public boolean isPaused()
isPaused in interface TenantAdministrationAPIpublic void pause()
throws UpdateException
pause in interface TenantAdministrationAPIUpdateExceptionpublic void resume()
throws UpdateException
resume in interface TenantAdministrationAPIUpdateExceptionprotected void pauseServicesForTenant(PlatformServiceAccessor platformServiceAccessor, long tenantId) throws UpdateException
UpdateExceptionprotected void updateTenant(PlatformService platformService, org.bonitasoft.engine.platform.model.builder.STenantUpdateBuilder descriptor, org.bonitasoft.engine.platform.model.STenant tenant) throws UpdateException
UpdateExceptionprotected TenantServiceAccessor getTenantAccessor()
public String getBusinessDataModelVersion() throws BusinessDataRepositoryException
getBusinessDataModelVersion in interface TenantAdministrationAPIBusinessDataRepositoryExceptionpublic String installBusinessDataModel(byte[] zip) throws InvalidBusinessDataModelException, BusinessDataRepositoryDeploymentException
installBusinessDataModel in interface TenantAdministrationAPIInvalidBusinessDataModelExceptionBusinessDataRepositoryDeploymentExceptionpublic void uninstallBusinessDataModel()
throws BusinessDataRepositoryDeploymentException
uninstallBusinessDataModel in interface TenantAdministrationAPIBusinessDataRepositoryDeploymentExceptionpublic void cleanAndUninstallBusinessDataModel()
throws BusinessDataRepositoryDeploymentException
cleanAndUninstallBusinessDataModel in interface TenantAdministrationAPIBusinessDataRepositoryDeploymentExceptionpublic byte[] getClientBDMZip()
throws BusinessDataRepositoryException
getClientBDMZip in interface TenantAdministrationAPIBusinessDataRepositoryExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.