Package de.xima.fc.handler.system
Class SetupHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.system.SetupHandler
- All Implemented Interfaces:
IAPIHandler,ISetupHandler,Serializable
The Class SetupHandler.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateManantWithDependencies(UserContext uc, Mandant mandant, MandantMailData mailData, MandantLdapData ldapData, Benutzer ben) Deprecated.booleancreateManantWithDependencies(UserContext uc, Mandant mandant, MandantMailData mailData, 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 class de.xima.fc.handler.AMSApiHandler
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Constructor Details
-
SetupHandler
public SetupHandler()
-
-
Method Details
-
invokeLiquibaseProzess
@Deprecated public FCMessage invokeLiquibaseProzess(UserContext uc, ELiquibaseCmd lbCmd) throws de.xima.cmn.dao.exceptions.UpdateException Deprecated.Use FormcycleUpdate instead.Description copied from interface:ISetupHandlerInvoke liquibase prozess.- Specified by:
invokeLiquibaseProzessin interfaceISetupHandler- Parameters:
uc- theUserContextto uselbCmd- the lb cmd- Returns:
FCMessagewith errors or info messages- Throws:
de.xima.cmn.dao.exceptions.UpdateException
-
testConnection
public Boolean testConnection(UserContext uc, DBConnectionData db) throws de.xima.cmn.dao.exceptions.ReadException Description copied from interface:ISetupHandlerTest connection.- Specified by:
testConnectionin interfaceISetupHandlerdb- the db- Returns:
truewenn die Verbindung hergestellt werden konnte @- Throws:
de.xima.cmn.dao.exceptions.ReadException
-
isDbConfigured
Description copied from interface:ISetupHandlerMethode zum Testen ob die Datenbank konfigureiert wurde- Specified by:
isDbConfiguredin interfaceISetupHandler- Returns:
Booleantruewenn die Datenbank bereits konfiguriert ist, sonstfalse
-
isDbUpToDate
Description copied from interface:ISetupHandlerChecks whether the database is up to date- Specified by:
isDbUpToDatein interfaceISetupHandler- Returns:
Booleanwhether the database is up to date or not
-
isDbRunning
Description copied from interface:ISetupHandlerChecks whether the database is running or not- Specified by:
isDbRunningin interfaceISetupHandler- Returns:
Booleanwhether the database is running or not
-
isUpdateNeeded
Description copied from interface:ISetupHandlerChecks whether there are updated that have not been executed yet.- Specified by:
isUpdateNeededin interfaceISetupHandler- Returns:
Booleanwhether there are unperformed updates.
-
createManantWithDependencies
public boolean createManantWithDependencies(UserContext uc, Mandant mandant, MandantMailData mailData, String adminEmail, IUser creator) Description copied from interface:ISetupHandlerMethode zum Anlegen eines Mandanten mit der initialen Konfiguration, analog zum Setup-Prozess- Specified by:
createManantWithDependenciesin interfaceISetupHandler- Parameters:
uc-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollmandant- the clientmailData- 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
-
getAvailableLogAppenders
Deprecated.- Specified by:
getAvailableLogAppendersin interfaceISetupHandler
-
createManantWithDependencies
@Deprecated public boolean createManantWithDependencies(UserContext uc, Mandant mandant, MandantMailData mailData, MandantLdapData ldapData, Benutzer ben) Deprecated.- Specified by:
createManantWithDependenciesin interfaceISetupHandler- Parameters:
uc-UserContextder 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 create- Returns:
truewenn der Mandant samt der initialen Konfiguration erfolgreich angelegt werden konnte. @ Fehler beim Anlegen
-
createManantWithDependencies(UserContext, Mandant, MandantMailData, String, IUser)instead.