Class Mandant
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.Mandant
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, ICustomAttributeProviding, ICustomAttributesEntity, IDescriptionProviding, IFileMapProviding<ClientFile, ClientFileData>, ILockingVersionProviding, INameProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class Mandant
extends AbstractLockableEntity
implements INameProviding, IDescriptionProviding, IUUIDEntity, ICustomAttributesEntity, IFileMapProviding<ClientFile, ClientFileData>
Diese Entität bildet einen Mandanten ab. Mandanten werden dazu genutzt verschiedene, abgegrenzte Bereiche im System
anzulegen. Mandanten können dazu genutzt werden Organisationen aus dem realen Leben abzubilden
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for thegetAlias()field.static final StringJPA attribute name for theisAllowCustomMailServer()field.static final StringJPA attribute name for theisAllowSystemMailServer()field.static final StringDeprecated.static final StringJPA attribute name for thegetBaseUrl()field.static final StringJPA attribute name for thegetBenutzerverwaltungstyp()field.static final StringJPA attribute name for thegetCreatedAt()field.static final StringJPA attribute name for thegetCustomAttributes()field.static final StringJPA attribute name for thegetDefaultFormThemeString()field.static final StringDeprecated.static final StringJPA attribute name for thegetFreigabeTyp()field.static final StringJPA attribute name for thegetLanguage()field.static final StringJPA attribute name for thegetLastUserLogin()field.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringJPA attribute name for thegetProjekte()field.static final StringJPA attribute name for theisSadminAccess()field.static final StringJPA attribute name for theisSadminInboxAccess()field.static final StringDatabase column name for thegetCreatedAt()field.static final StringDatabase column name for thegetDefaultFormThemeString()field.static final StringDatabase column name for thegetUUID()field.Fields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface ICustomAttributesEntity
COL_CUSTOM_ATTRIBUTE_NAME, COL_CUSTOM_ATTRIBUTE_VALUEFields inherited from interface IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Deprecated.Deprecated.longGets the map of custom attributes that may be used to store additional information.Gets the default form theme for this client.getId()Deprecated.Deprecated.useMandantMailDataand the corresponding DAO or APIDeprecated.Deprecated.Deprecated.getName()getUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.booleanbooleanbooleanDeprecated.booleanisDemo()Deprecated.booleanbooleanDeprecated.booleanbooleanCreates a new instance of file entity which is connected to the base entity (this).voidvoidsetActiveImageData(byte[] data, String fileName, Object userRef) voidsetActiveImageData(File file, Object userRef) voidvoidsetAllowCustomMailServer(boolean allowCustomMailServer) voidsetAllowSystemMailServer(boolean allowSystemMailServer) voidsetAppointmentUsage(boolean appointmentUsage) Deprecated.voidsetBaseUrl(String baseUrl) voidsetBasisVerzeichnis(String basisVerzeichnis) Deprecated.voidsetBenutzerverwaltungstyp(EBenutzerverwaltungsTyp benutzerverwaltungstyp) Deprecated.voidsetBeschreibung(String beschreibung) voidsetCreatedAt(long createdAt) voidsetCreatedAtInstant(Instant createdAt) voidsetCustomAttributes(Map<String, String> customAttributes) Sets the map of custom attributes that may be used to store additional information.voidsetDefaultFormTheme(FormThemeReference defaultFormTheme) Sets the default form theme for this client.voidsetDefaultFormThemeString(String defaultFormThemeString) voidsetDemo(boolean demo) Deprecated.voidsetFileMap(Map<String, ClientFile> fileMap) DON'T USE!voidsetFreigabeTyp(EFreigabeTyp freigabeTyp) voidsetLanguage(ELanguage language) voidsetLastUserLogin(Date lastUserLogin) voidsetLdapData(MandantLdapData ldapData) Deprecated.useMandantLdapDataand the corresponding DAO or APIvoidsetMailData(MandantMailData mailData) Deprecated.useMandantMailDataand the corresponding DAO or APIvoidsetManuelleFreigebe(boolean manuell) voidsetMaxFormRecords(Integer maxFormRecords) Deprecated.voidsetMaxFormulare(Integer maxFormulare) Deprecated.voidsetMaxInvites(Integer maxInvites) Deprecated.voidvoidsetProjekte(List<Projekt> projekte) voidsetSadminAccess(boolean sadminAccess) voidsetSadminInboxAccess(boolean sadminInboxAccess) voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) toString()Methods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface ICustomAttributeProviding
getCustomAttribute, getCustomAttributeAs, getCustomAttributeAs, getCustomAttributeBoolean, getCustomAttributeDouble, getCustomAttributeDouble, getCustomAttributeEnum, getCustomAttributeEnum, getCustomAttributeInt, getCustomAttributeInt, getCustomAttributeJsonArray, getCustomAttributeJsonObject, getCustomAttributeLong, getCustomAttributeLong, getCustomAttributeString, getCustomAttributeString, getCustomAttributeUuidMethods inherited from interface ICustomAttributesEntity
removeCustomAttribute, setCustomAttribute, setCustomAttributeBoolean, setCustomAttributeDouble, setCustomAttributeEnum, setCustomAttributeInt, setCustomAttributeJSONArray, setCustomAttributeJSONObject, setCustomAttributeLong, setCustomAttributeString, setCustomAttributeUuidMethods inherited from interface IDescriptionProviding
getDescriptionMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setIdMethods inherited from interface IFileMapProviding
putFile, removeFile, setFileData, setFileData
-
Field Details
-
ATTR_BASEURL
-
ATTR_FREIGABETYP
JPA attribute name for thegetFreigabeTyp()field.- See Also:
-
ATTR_PROJEKTE
-
ATTR_DEFAULT_FORM_THEME
JPA attribute name for thegetDefaultFormThemeString()field.- See Also:
-
ATTR_SADMIN_ACCESS
JPA attribute name for theisSadminAccess()field.- See Also:
-
ATTR_SADMIN_ACCESS_INBOX
JPA attribute name for theisSadminInboxAccess()field.- See Also:
-
ATTR_ALLOW_SYSTEM_MAIL_SERVER
JPA attribute name for theisAllowSystemMailServer()field.- See Also:
-
ATTR_ALLOW_CUSTOM_MAIL_SERVER
JPA attribute name for theisAllowCustomMailServer()field.- See Also:
-
ATTR_ALIAS
-
ATTR_LAST_USER_LOGIN
JPA attribute name for thegetLastUserLogin()field.- See Also:
-
ATTR_BENUTZERVERWALTUNGSTYP
JPA attribute name for thegetBenutzerverwaltungstyp()field.- See Also:
-
ATTR_CUSTOM_ATTRIBUTES
JPA attribute name for thegetCustomAttributes()field.- See Also:
-
ATTR_LANGUAGE
-
ATTR_CREATED_AT
JPA attribute name for thegetCreatedAt()field.- See Also:
-
COL_UUID
-
COL_CREATED_AT
Database column name for thegetCreatedAt()field.- See Also:
-
COL_DEFAULT_FORM_THEME
Database column name for thegetDefaultFormThemeString()field.- See Also:
-
ATTR_LDAP_DATA
-
ATTR_MAIL_DATA
-
ATTR_MAXFORMS
-
ATTR_MAXINVITES
-
ATTR_DEMO
-
ATTR_APPOINTMENT_USAGE
-
-
Constructor Details
-
Mandant
public Mandant()
-
-
Method Details
-
getId
-
getUUID
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUID
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUIDObject
-
getBasisVerzeichnis
Deprecated. -
setBasisVerzeichnis
Deprecated. -
getName
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
-
getBeschreibung
- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
setBeschreibung
-
getAlias
- Returns:
- the alias
-
setAlias
- Parameters:
alias- the alias to set
-
getBaseUrl
-
setBaseUrl
-
getFreigabeTyp
-
setFreigabeTyp
-
getProjekte
-
setProjekte
-
isSadminAccess
public boolean isSadminAccess() -
setSadminAccess
public void setSadminAccess(boolean sadminAccess) -
isSadminInboxAccess
public boolean isSadminInboxAccess() -
setSadminInboxAccess
public void setSadminInboxAccess(boolean sadminInboxAccess) -
isAllowSystemMailServer
public boolean isAllowSystemMailServer() -
setAllowSystemMailServer
public void setAllowSystemMailServer(boolean allowSystemMailServer) -
isAllowCustomMailServer
public boolean isAllowCustomMailServer() -
setAllowCustomMailServer
public void setAllowCustomMailServer(boolean allowCustomMailServer) -
getLocale
-
getLanguage
-
setLanguage
-
isManuelleFreigebe
public boolean isManuelleFreigebe() -
setManuelleFreigebe
public void setManuelleFreigebe(boolean manuell) -
getLastUserLogin
- Returns:
- the lastUserLogin
-
setLastUserLogin
- Parameters:
lastUserLogin- the lastUserLogin to set
-
getCustomAttributes
Description copied from interface:ICustomAttributeProvidingGets the map of custom attributes that may be used to store additional information. The stored data depends on the type of the object.- Specified by:
getCustomAttributesin interfaceICustomAttributeProviding- Returns:
- The custom attributes.
-
setCustomAttributes
Description copied from interface:ICustomAttributesEntitySets the map of custom attributes that may be used to store additional information. The stored data depends on the type of the object.- Specified by:
setCustomAttributesin interfaceICustomAttributesEntity- Parameters:
customAttributes- The new custom attributes to set.
-
getActiveImage
-
setActiveImageData
- Throws:
FileNotFoundExceptionIOException
-
setActiveImageData
-
removeActiveProfileImage
public void removeActiveProfileImage() -
getDefaultFormTheme
Gets the default form theme for this client. This theme is used when no more specific theme is set for a form, or when no form context is available.May return null, in which case the default form theme that was configured for the entire system should be used.
- Returns:
- The default form theme for this client.
-
setDefaultFormTheme
Sets the default form theme for this client. This theme is used when no more specific theme is set for a form, or when no form context is available.- Parameters:
defaultFormTheme- The default form theme for this client.
-
getDefaultFormThemeString
UsegetDefaultFormTheme().Gets the default form theme for this client, in its serialized string representation. This theme is used when no more specific theme is set for a form, or when no form context is available.
- Returns:
- The default form theme for this client.
-
setDefaultFormThemeString
UsesetDefaultFormTheme(FormThemeReference).Gets the default form theme for this client, in its serialized string representation. This theme is used when no more specific theme is set for a form, or when no form context is available.
- Parameters:
defaultFormThemeString- The default form theme for this client.
-
getFileMap
- Specified by:
getFileMapin interfaceIFileMapProviding<ClientFile, ClientFileData>
-
setFileMap
Description copied from interface:IFileMapProvidingDON'T USE! Hibernate is managing this collection, so if it is overridden, Hibernate can't keep track of it anymore. UseIFileMapProviding.putFile(String, IKeyDependentFileEntity),IFileMapProviding.removeFile(String)orIFileMapProviding.getFileMap()instead to modify the map.- Specified by:
setFileMapin interfaceIFileMapProviding<ClientFile, ClientFileData>
-
newFileEntiy
Description copied from interface:IFileMapProvidingCreates a new instance of file entity which is connected to the base entity (this). However this entity is not yet persisted nor is it connected to file key- Specified by:
newFileEntiyin interfaceIFileMapProviding<ClientFile, ClientFileData>- Returns:
- a new file entity connected to this entity
-
getCreatedAt
public long getCreatedAt() -
setCreatedAt
public void setCreatedAt(long createdAt) -
getCreatedAtInstant
-
setCreatedAtInstant
-
getMailData
Deprecated.useMandantMailDataand the corresponding DAO or API -
setMailData
Deprecated.useMandantMailDataand the corresponding DAO or API -
getLdapData
Deprecated.useMandantLdapDataand the corresponding DAO or API -
toString
- Overrides:
toStringin classAbstractLockableEntity
-
setLdapData
Deprecated.useMandantLdapDataand the corresponding DAO or API -
isNtlmUsage
Deprecated.Gibt an, ob der Mandant laut Lizenz NTLM-Authentifizierung nutzen darf -
isDemo
Deprecated. -
setDemo
Deprecated. -
isAppointmentUsage
Deprecated. -
setAppointmentUsage
Deprecated. -
getMaxFormulare
Deprecated. -
setMaxFormulare
Deprecated. -
getMaxInvites
Deprecated. -
setMaxInvites
Deprecated. -
getMaxFormRecords
Deprecated. -
setMaxFormRecords
Deprecated. -
getBenutzerverwaltungstyp
Deprecated. -
setBenutzerverwaltungstyp
Deprecated.
-
MandantLdapDataand the corresponding DAO or API