Package de.xima.fc.setup.interfaces
Interface IClientCreator
- All Known Subinterfaces:
IMandantCreator
- All Known Implementing Classes:
DefaultClientCreator,DefaultMandantCreator
public interface IClientCreator
Interface for classes which should create clients
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptiondefault MandantcreateClient(IEntityContext ec, Mandant man, MandantMailData mailData, MandantLdapData ldapData, Benutzer ben, IClientCreateData defaultData) Deprecated.createClient(IEntityContext ec, Mandant man, MandantMailData mailData, String adminEmail, IClientCreateData defaultData, IUser creator) Method to create an client with the given data.default MandantcreateMandant(IEntityContext ec, Mandant man, Benutzer ben, IClientCreateData defaultData) Deprecated.
-
Method Details
-
createClient
Mandant createClient(IEntityContext ec, Mandant man, MandantMailData mailData, String adminEmail, IClientCreateData defaultData, IUser creator) Method to create an client with the given data. Default: CallscreateMandant(IEntityContext, Mandant, Benutzer, IClientCreateData)for compatibility-reasons.- Parameters:
ec- theIEntityContextfor database-transactionsman-Mandantthe client to createmailData-MandantMailDatathe clients mail-server-dataadminEmail- email address of the new client admindefaultData-IClientCreateDatathe default data to use while creating the clientcreator- the user that is creating the client (needed for protocol purposes)- Returns:
Mandantthe created client- Since:
- 8.0.0
-
createMandant
@Deprecated default Mandant createMandant(IEntityContext ec, Mandant man, Benutzer ben, IClientCreateData defaultData) Deprecated.- Parameters:
ec- theIEntityContextfor database-transactionsman-Mandantthe client to createben-Benutzerthe clients admin-userdefaultData-IClientCreateDatathe default data to use while creating the client- Returns:
Mandantthe created client
-
createClient
@Deprecated default Mandant createClient(IEntityContext ec, Mandant man, MandantMailData mailData, MandantLdapData ldapData, Benutzer ben, IClientCreateData defaultData) Deprecated.Method to create an client with the given data. Default: CallscreateMandant(IEntityContext, Mandant, Benutzer, IClientCreateData)for compatibility-reasons.- Parameters:
ec- theIEntityContextfor database-transactionsman-Mandantthe client to createmailData-MandantMailDatathe clients mail-server-dataldapData-MandantLdapDatathe clients ldap-server-databen-Benutzerthe clients admin-userdefaultData-IClientCreateDatathe default data to use while creating the client- Returns:
Mandantthe created client
-
createClient(IEntityContext, Mandant, MandantMailData, String, IClientCreateData, IUser)instead.