@Service public class VersionServiceImpl extends Object implements VersionService
| Modifier and Type | Field and Description |
|---|---|
static String |
SQL_PLATFORM_VERSION |
| Constructor and Description |
|---|
VersionServiceImpl() |
VersionServiceImpl(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
VersionServiceImpl(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
String dbVendor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPlatformSetupVersion()
Retrieves the platform setup tool version
|
String |
getPlatformVersion()
Retrieves the platform version in database
|
boolean |
isValidPlatformVersion()
Check if platform an platform setup tool are in same version
|
public static final String SQL_PLATFORM_VERSION
@Autowired public VersionServiceImpl(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public VersionServiceImpl(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
String dbVendor)
public VersionServiceImpl()
throws NamingException
NamingExceptionpublic String getPlatformVersion() throws PlatformException
VersionServicegetPlatformVersion in interface VersionServicePlatformExceptionpublic String getPlatformSetupVersion()
VersionServicegetPlatformSetupVersion in interface VersionServicepublic boolean isValidPlatformVersion()
throws PlatformException
VersionServiceisValidPlatformVersion in interface VersionServicePlatformExceptionCopyright © 2017 Bonitasoft. All rights reserved.