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)Methode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-ProzessList<XLogAppender>getAvailableLogAppenders()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 dateBooleantestConnection(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
-
createManantWithDependencies
boolean createManantWithDependencies(UserContext uc, Mandant client, MandantMailData clientMailData, MandantLdapData clientLdapData, Benutzer user)
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
-
getAvailableLogAppenders
List<XLogAppender> getAvailableLogAppenders()
-
-