public class DefaultClientCreator extends Object implements IClientCreator
Constructor and Description |
---|
DefaultClientCreator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createMandant
public Mandant createClient(IEntityContext ec, Mandant client, MandantMailData mailData, MandantLdapData ldapData, Benutzer defaultUser, IClientCreateData defaultData)
IClientCreator
IClientCreator.createMandant(IEntityContext, Mandant, Benutzer, IClientCreateData)
for compatibility-reasons.createClient
in interface IClientCreator
ec
- the IEntityContext
for database-transactionsclient
- Mandant
the client to createmailData
- MandantMailData
the clients mail-server-dataldapData
- MandantLdapData
the clients ldap-server-datadefaultUser
- Benutzer
the clients admin-userdefaultData
- IClientCreateData
the default data to use while creating the clientMandant
the created clientprotected MandantLdapData createLdapData(IEntityContext ec, MandantLdapData ldapData, Mandant client)
ec
- IEntityContext
the entity-contextmailData
- MandantLdapData
to createclient
- Mandant
the client to create the ldap-data forMandantLdapData
protected MandantMailData createMailData(IEntityContext ec, MandantMailData mailData, Mandant client)
ec
- IEntityContext
the entity-contextmailData
- MandantMailData
to createclient
- Mandant
the client to create the mail-data forMandantMailData
@Deprecated protected Benutzer createBenutzer(IEntityContext ec, Mandant client, Benutzer user, Rolle role)
createUser(IEntityContext, Mandant, Benutzer, Rolle)
ec
- IEntityContext
client
- Mandant
user
- Benutzer
role
- Rolle
Benutzer
protected Benutzer createUser(IEntityContext ec, Mandant client, Benutzer user, Rolle role)
ec
- IEntityContext
the entity-contextclient
- Mandant
the client to create the templates foruser
- Benutzer
to createrole
- Rolle
to create the user withBenutzer
the created user@Deprecated protected List<Textbaustein> createTextbausteine(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client)
ec
- IEntityContext
defaultData
- IClientCreateData
installLocale
- Locale
client
- Mandant
List
of Textbaustein
protected List<Textbaustein> createTemplates(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client)
ec
- IEntityContext
the entity-contextdefaultData
- IClientCreateData
the client-create-datainstallLocale
- Locale
the locale to create the templates withclient
- Mandant
the client to create the templates forList
of the created Textbaustein
public Textbaustein createI18nTemplate(IEntityContext ec, Locale installLocale, Mandant client)
@Deprecated public List<BenutzerGruppe> createBenutzergruppen(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client)
ec
- IEntityContext
defaultData
- IClientCreateData
installLocale
- Locale
client
- Mandant
List
of the created BenutzerGruppe
protected List<BenutzerGruppe> createUsergroups(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client)
ec
- IEntityContext
the entity-contextdefaultData
- IClientCreateData
the client-create-datainstallLocale
- Locale
the locale to create the user-groups withclient
- Mandant
the client to create the user-groups forList
of the created BenutzerGruppe
@Deprecated public Rolle createMandantAdminRolle(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client, List<Modul> modules)
ec
- IEntityContext
defaultData
- IClientCreateData
installLocale
- Locale
client
- Mandant
modules
- List
of Modul
Rolle
protected Rolle createClientAdminRole(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client, List<Modul> modules)
ec
- IEntityContext
defaultData
- IClientCreateData
installLocale
- Locale
client
- Mandant
modules
- List
of Modul
Rolle
@Deprecated public List<Rolle> createNoneAdminRollen(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client, List<Modul> modules)
ec
- IEntityContext
defaultData
- IClientCreateData
installLocale
- Locale
client
- Mandant
modules
- List
of Modul
List
of Rolle
protected List<Rolle> createNoneAdminRoles(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client, List<Modul> modules)
ec
- IEntityContext
the entity-contextdefaultData
- IClientCreateData
the client-create-datainstallLocale
- Locale
the locale to create the roles withclient
- Mandant
the client to create the roles formodules
- List
of Modul
for the roles to createList
of the created Rolle
protected List<Modul> createModules(IEntityContext ec, IClientCreateData defaultData, Mandant client)
ec
- IEntityContext
the entity-contextdefaultData
- IClientCreateData
the client-create-dataclient
- Mandant
the client to create the modules forList
of Modul
@Deprecated public List<Postfach> createPostfaecher(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client)
ec
- IEntityContext
defaultData
- IClientCreateData
installLocale
- Locale
client
- Mandant
List
of Postfach
protected List<Postfach> createInboxes(IEntityContext ec, IClientCreateData defaultData, Locale installLocale, Mandant client)
ec
- IEntityContext
the entity-contextdefaultData
- IClientCreateData
the client-create-datainstallLocale
- Locale
the locale to create the inboxes withclient
- Mandant
the client to create the inboxes forList
of the created Postfach
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.