Package org.bonitasoft.engine.api.impl
Class TenantAdministrationAPIImpl
java.lang.Object
org.bonitasoft.engine.api.impl.TenantAdministrationAPIImpl
- All Implemented Interfaces:
org.bonitasoft.engine.api.TenantAdministrationAPI
public class TenantAdministrationAPIImpl
extends Object
implements org.bonitasoft.engine.api.TenantAdministrationAPI
- Author:
- Matthieu Chaffotte, Baptiste Mesta
-
Field Summary
Fields inherited from interface org.bonitasoft.engine.api.TenantAdministrationAPI
UPDATE_BDM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.bonitasoft.engine.tenant.TenantResourcebyte[]protected ServiceAccessorprotected ServiceAccessorprotected org.bonitasoft.engine.tenant.TenantResourcegetTenantResource(org.bonitasoft.engine.tenant.TenantResourceType type) protected longbooleanisPaused()voidpause()voidresume()voidupdateBusinessDataModel(byte[] zip) Deprecated.
-
Constructor Details
-
TenantAdministrationAPIImpl
public TenantAdministrationAPIImpl()
-
-
Method Details
-
getServiceAccessorNoException
-
isPaused
public boolean isPaused()- Specified by:
isPausedin interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI
-
pause
public void pause() throws org.bonitasoft.engine.exception.UpdateException- Specified by:
pausein interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI- Throws:
org.bonitasoft.engine.exception.UpdateException
-
resume
public void resume() throws org.bonitasoft.engine.exception.UpdateException- Specified by:
resumein interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI- Throws:
org.bonitasoft.engine.exception.UpdateException
-
getBusinessDataModelResource
public org.bonitasoft.engine.tenant.TenantResource getBusinessDataModelResource()- Specified by:
getBusinessDataModelResourcein interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI
-
getTenantResource
protected org.bonitasoft.engine.tenant.TenantResource getTenantResource(org.bonitasoft.engine.tenant.TenantResourceType type) -
getBusinessDataModelVersion
public String getBusinessDataModelVersion() throws org.bonitasoft.engine.business.data.BusinessDataRepositoryException- Specified by:
getBusinessDataModelVersionin interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI- Throws:
org.bonitasoft.engine.business.data.BusinessDataRepositoryException
-
uninstallBusinessDataModel
public void uninstallBusinessDataModel() throws org.bonitasoft.engine.business.data.BusinessDataRepositoryDeploymentException- Specified by:
uninstallBusinessDataModelin interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI- Throws:
org.bonitasoft.engine.business.data.BusinessDataRepositoryDeploymentException
-
updateBusinessDataModel
@Deprecated(since="9.0.0") public String updateBusinessDataModel(byte[] zip) throws org.bonitasoft.engine.business.data.BusinessDataRepositoryDeploymentException, org.bonitasoft.engine.business.data.InvalidBusinessDataModelException Deprecated.- Specified by:
updateBusinessDataModelin interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI- Throws:
org.bonitasoft.engine.business.data.BusinessDataRepositoryDeploymentExceptionorg.bonitasoft.engine.business.data.InvalidBusinessDataModelException
-
cleanAndUninstallBusinessDataModel
public void cleanAndUninstallBusinessDataModel() throws org.bonitasoft.engine.business.data.BusinessDataRepositoryDeploymentException- Specified by:
cleanAndUninstallBusinessDataModelin interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI- Throws:
org.bonitasoft.engine.business.data.BusinessDataRepositoryDeploymentException
-
getClientBDMZip
public byte[] getClientBDMZip() throws org.bonitasoft.engine.business.data.BusinessDataRepositoryException- Specified by:
getClientBDMZipin interfaceorg.bonitasoft.engine.api.TenantAdministrationAPI- Throws:
org.bonitasoft.engine.business.data.BusinessDataRepositoryException
-
getServiceAccessor
-
getUserId
- Throws:
IllegalStateException
-