Interface ISetupHandler
-
- All Superinterfaces:
IAPIHandler,Serializable
- All Known Implementing Classes:
SetupHandler
public interface ISetupHandler extends IAPIHandler
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancreateManantWithDependencies(UserContext uc, Mandant client, MandantMailData clientMailData, MandantLdapData clientLdapData, Benutzer user)Deprecated.booleancreateManantWithDependencies(UserContext uc, Mandant client, MandantMailData clientMailData, String adminEmail, IUser creator)Methode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-ProzessList<XLogAppender>getAvailableLogAppenders()Deprecated.FCMessageinvokeLiquibaseProzess(UserContext uc, ELiquibaseCmd lbCmd)Deprecated.Use FormcycleUpdate instead.BooleanisDbConfigured(UserContext uc)Methode zum Testen ob die Datenbank konfigureiert wurdeBooleanisDbRunning()Checks whether the database is running or notBooleanisDbUpToDate()Checks whether the database is up to dateBooleanisUpdateNeeded()Checks whether there are updated that have not been executed yet.BooleantestConnection(UserContext uc, DBConnectionData db)Test connection.-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
-
-
-
Method Detail
-
invokeLiquibaseProzess
@Deprecated FCMessage invokeLiquibaseProzess(UserContext uc, ELiquibaseCmd lbCmd)
Deprecated.Use FormcycleUpdate instead.Invoke liquibase prozess.- Parameters:
uc- theUserContextto uselbCmd- the lb cmd- Returns:
FCMessagewith errors or info messages
-
testConnection
Boolean testConnection(UserContext uc, DBConnectionData db)
Test connection.- Parameters:
db- the db- Returns:
truewenn die Verbindung hergestellt werden konnte @
-
isDbConfigured
Boolean isDbConfigured(UserContext uc)
Methode zum Testen ob die Datenbank konfigureiert wurde- Returns:
Booleantruewenn die Datenbank bereits konfiguriert ist, sonstfalse
-
isDbUpToDate
Boolean isDbUpToDate()
Checks whether the database is up to date- Returns:
Booleanwhether the database is up to date or not
-
isDbRunning
Boolean isDbRunning()
Checks whether the database is running or not- Returns:
Booleanwhether the database is running or not
-
isUpdateNeeded
Boolean isUpdateNeeded()
Checks whether there are updated that have not been executed yet.- Returns:
Booleanwhether 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-UserContextder 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:
truewenn der Mandant samt der initialen Konfiguration erfolgreich angelegt werden konnte. @ Fehler beim Anlegen- Since:
- 8.0.0
-
getAvailableLogAppenders
@Deprecated List<XLogAppender> 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-UserContextder 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:
truewenn der Mandant samt der initialen Konfiguration erfolgreich angelegt werden konnte. @ Fehler beim Anlegen
-
-