Package org.bonitasoft.engine.platform
Interface PlatformService
- All Known Implementing Classes:
PlatformServiceImpl
public interface PlatformService
- Author:
- Charles Souillard, Matthieu Chaffotte, Celine Souchet
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the platform from the cache No need to be in a transactionReturn the platform propertiesbooleanReturn true if the platform is created, else return false.voidupdate status of tenant object to PAUSEDvoidSet status of the tenant into activatedvoidupdatePlatform(EntityUpdateDescriptor descriptor)
-
Field Details
-
PLATFORM
- See Also:
-
-
Method Details
-
getPlatform
Retrieve the platform from the cache No need to be in a transaction- Returns:
- sPlatform
- Throws:
SPlatformNotFoundException- occurs when the identifier does not refer to an existing sPlatform- Since:
- 6.0
-
resumeServices
void resumeServices() throws STenantNotFoundException, STenantActivationException, SPlatformNotFoundException, SPlatformUpdateExceptionSet status of the tenant into activated- Throws:
STenantNotFoundException- occurs when the identifier does not refer to an existing sTenantSTenantActivationException- occurs when an exception is thrown during activating sTenantSPlatformNotFoundExceptionSPlatformUpdateException- Since:
- 6.0
-
pauseServices
void pauseServices() throws STenantUpdateException, STenantNotFoundException, SPlatformNotFoundException, SPlatformUpdateExceptionupdate status of tenant object to PAUSED -
isPlatformCreated
boolean isPlatformCreated()Return true if the platform is created, else return false.- Returns:
- true or false
- Since:
- 6.0
-
getSPlatformProperties
SPlatformProperties getSPlatformProperties()Return the platform properties- Returns:
- The platform properties
- Since:
- 6.1
-
updatePlatform
- Throws:
SPlatformUpdateException
-