Interface ISetupHandler
- All Superinterfaces:
IAPIHandler
,Serializable
- All Known Implementing Classes:
SetupHandler
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionboolean
createManantWithDependencies
(UserContext uc, Mandant client, MandantMailData clientMailData, MandantLdapData clientLdapData, Benutzer user) Deprecated.boolean
createManantWithDependencies
(UserContext uc, Mandant client, MandantMailData clientMailData, String adminEmail, IUser creator) Methode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-ProzessDeprecated.invokeLiquibaseProzess
(UserContext uc, ELiquibaseCmd lbCmd) Deprecated.Use FormcycleUpdate instead.Methode zum Testen ob die Datenbank konfigureiert wurdeChecks whether the database is running or notChecks whether the database is up to dateChecks whether there are updated that have not been executed yet.Test connection.Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Method Details
-
invokeLiquibaseProzess
Deprecated.Use FormcycleUpdate instead.Invoke liquibase prozess.- Parameters:
uc
- theUserContext
to uselbCmd
- the lb cmd- Returns:
FCMessage
with errors or info messages
-
testConnection
Test connection.- Parameters:
db
- the db- Returns:
true
wenn die Verbindung hergestellt werden konnte @
-
isDbConfigured
Methode zum Testen ob die Datenbank konfigureiert wurde- Returns:
Boolean
true
wenn die Datenbank bereits konfiguriert ist, sonstfalse
-
isDbUpToDate
Boolean isDbUpToDate()Checks whether the database is up to date- Returns:
Boolean
whether the database is up to date or not
-
isDbRunning
Boolean isDbRunning()Checks whether the database is running or not- Returns:
Boolean
whether the database is running or not
-
isUpdateNeeded
Boolean isUpdateNeeded()Checks whether there are updated that have not been executed yet.- Returns:
Boolean
whether there are unperformed updates.
-
createManantWithDependencies
boolean createManantWithDependencies(UserContext uc, Mandant client, MandantMailData clientMailData, String adminEmail, IUser creator) Methode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-Prozess- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollclient
- the clientclientMailData
- the mail data of the clientadminEmail
- email address of the new client admincreator
- the user that is creating the client- Returns:
true
wenn der Mandant samt der initialen Konfiguration erfolgreich angelegt werden konnte. @ Fehler beim Anlegen- Since:
- 8.0.0
-
getAvailableLogAppenders
Deprecated. -
createManantWithDependencies
@Deprecated boolean createManantWithDependencies(UserContext uc, Mandant client, MandantMailData clientMailData, MandantLdapData clientLdapData, Benutzer user) Deprecated.UsecreateManantWithDependencies(UserContext, Mandant, MandantMailData, String, IUser)
instead. Methode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-Prozess- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollclient
- the clientclientMailData
- the mail data of the clientclientLdapData
- the LDAP data of the clientuser
- the initial user to create- Returns:
true
wenn der Mandant samt der initialen Konfiguration erfolgreich angelegt werden konnte. @ Fehler beim Anlegen
-
createManantWithDependencies(UserContext, Mandant, MandantMailData, String, IUser)
instead.