public class SetupHandler extends AMSApiHandler implements ISetupHandler
| Constructor and Description |
|---|
SetupHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createManantWithDependencies(UserContext uc,
Mandant mandant,
Benutzer ben)
Methode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-Prozess
|
FCMessage |
invokeLiquibaseProzess(UserContext uc,
ELiquibaseCmd lbCmd)
Invoke liquibase prozess.
|
Boolean |
isDbConfigured(UserContext uc)
Methode zum Testen ob die Datenbank konfigureiert wurde
|
Boolean |
testConnection(UserContext uc,
DBConnectionData db)
Test connection.
|
getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic FCMessage invokeLiquibaseProzess(UserContext uc, ELiquibaseCmd lbCmd) throws de.xima.cmn.dao.exceptions.UpdateException
invokeLiquibaseProzess in interface ISetupHandlerlbCmd - the lb cmdliquibase.exception.DatabaseExceptionde.xima.cmn.dao.exceptions.UpdateExceptionpublic Boolean testConnection(UserContext uc, DBConnectionData db) throws de.xima.cmn.dao.exceptions.ReadException
testConnection in interface ISetupHandlerdb - the dbtrue wenn die Verbindung hergestellt werden konnte @liquibase.exception.DatabaseExceptionde.xima.cmn.dao.exceptions.ReadExceptionpublic Boolean isDbConfigured(UserContext uc)
isDbConfigured in interface ISetupHandlerBoolean true wenn die Datenbank bereits konfiguriert ist, sonst falsepublic boolean createManantWithDependencies(UserContext uc, Mandant mandant, Benutzer ben)
createManantWithDependencies in interface ISetupHandleruc - UserContext der Benutzerkontext in welchem die Aktion durchgeführt werden solltrue wenn der Mandant samt der initialen Konfiguration erfolgreich angelegt werden konnte. @ Fehler
beim AnlegenCopyright © 2018 XIMA MEDIA GmbH. All rights reserved.