public class SetupHandler extends AMSApiHandler implements ISetupHandler
| Constructor and Description |
|---|
SetupHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createManantWithDependencies(UserContext uc,
Mandant mandant,
MandantMailData mailData,
MandantLdapData ldapData,
Benutzer ben)
Methode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-Prozess
|
List<XLogAppender> |
getAvailableLogAppenders() |
ELizenzTyp |
getLicenseType() |
FCMessage |
invokeLiquibaseProzess(UserContext uc,
ELiquibaseCmd lbCmd)
Invoke liquibase prozess.
|
Boolean |
isDbConfigured(UserContext uc)
Methode zum Testen ob die Datenbank konfigureiert wurde
|
Boolean |
isDbRunning()
Checks whether the database is running or not
|
Boolean |
isDbUpToDate()
Checks whether the database is up to date
|
Boolean |
isValidLicense()
Method for determining if there is a valid license provided on the master server
|
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
ISetupHandlerinvokeLiquibaseProzess in interface ISetupHandleruc - the UserContext to uselbCmd - the lb cmdFCMessage with errors or info messagesde.xima.cmn.dao.exceptions.UpdateExceptionpublic Boolean testConnection(UserContext uc, DBConnectionData db) throws de.xima.cmn.dao.exceptions.ReadException
ISetupHandlertestConnection in interface ISetupHandlerdb - the dbtrue wenn die Verbindung hergestellt werden konnte @de.xima.cmn.dao.exceptions.ReadExceptionpublic Boolean isDbConfigured(UserContext uc)
ISetupHandlerisDbConfigured in interface ISetupHandlerBoolean true wenn die Datenbank bereits konfiguriert ist, sonst falsepublic Boolean isDbUpToDate()
ISetupHandlerisDbUpToDate in interface ISetupHandlerBoolean whether the database is up to date or notpublic Boolean isDbRunning()
ISetupHandlerisDbRunning in interface ISetupHandlerBoolean whether the database is running or notpublic Boolean isValidLicense()
ISetupHandlerisValidLicense in interface ISetupHandlerBoolean true if the license provided on the master server is validpublic ELizenzTyp getLicenseType()
getLicenseType in interface ISetupHandlerpublic boolean createManantWithDependencies(UserContext uc, Mandant mandant, MandantMailData mailData, MandantLdapData ldapData, Benutzer ben)
ISetupHandlercreateManantWithDependencies in interface ISetupHandleruc - UserContext der Benutzerkontext in welchem die Aktion durchgeführt werden sollmandant - the clientmailData - the mail data of the clientldapData - the LDAP data of the clientben - the initial user to createtrue wenn der Mandant samt der initialen Konfiguration erfolgreich angelegt werden konnte. @ Fehler
beim Anlegenpublic List<XLogAppender> getAvailableLogAppenders()
getAvailableLogAppenders in interface ISetupHandlerCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.