Package de.xima.fc.entities
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>,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, 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 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 thegetUUID()field.Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, idFields inherited from interface de.xima.fc.entities.interfaces.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 de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Deprecated.Deprecated.longgetId()Deprecated.Deprecated.useMandantMailDataand the corresponding DAO or APIDeprecated.Deprecated.Deprecated.getName()getUUID()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) 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) voidvoidsetUUIDObject(UUID uuid) toString()Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescriptionMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setIdMethods inherited from interface de.xima.fc.entities.interfaces.IFileMapProviding
putFile, removeFile, setFileData, setFileData
-
Field Details
-
ATTR_BASEURL
JPA attribute name for thegetBaseUrl()field.- See Also:
-
ATTR_FREIGABETYP
JPA attribute name for thegetFreigabeTyp()field.- See Also:
-
ATTR_PROJEKTE
JPA attribute name for thegetProjekte()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
JPA attribute name for thegetAlias()field.- See Also:
-
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
JPA attribute name for thegetLanguage()field.- See Also:
-
ATTR_CREATED_AT
JPA attribute name for thegetCreatedAt()field.- See Also:
-
COL_UUID
Database column name for thegetUUID()field.- See Also:
-
COL_CREATED_AT
Database column name for thegetCreatedAt()field.- See Also:
-
ATTR_LDAP_DATA
Deprecated.- See Also:
-
ATTR_MAIL_DATA
Deprecated.- See Also:
-
ATTR_MAXFORMS
Deprecated.- See Also:
-
ATTR_MAXINVITES
Deprecated.- See Also:
-
ATTR_DEMO
Deprecated.- See Also:
-
ATTR_APPOINTMENT_USAGE
Deprecated.- See Also:
-
-
Constructor Details
-
Mandant
public Mandant()
-
-
Method Details
-
getId
- Specified by:
getIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getUUID
- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a
context, e.g.
Mandant,Projekt, ...
-
setUUID
- Specified by:
setUUIDin interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObjectin interfaceIUUIDEntity
-
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
-
setCustomAttributes
-
getActiveImage
-
setActiveImageData
- Throws:
FileNotFoundExceptionIOException
-
setActiveImageData
-
removeActiveProfileImage
public void removeActiveProfileImage() -
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