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 String
JPA attribute name for thegetAlias()
field.static final String
JPA attribute name for theisAllowCustomMailServer()
field.static final String
JPA attribute name for theisAllowSystemMailServer()
field.static final String
Deprecated.static final String
JPA attribute name for thegetBaseUrl()
field.static final String
JPA attribute name for thegetBenutzerverwaltungstyp()
field.static final String
JPA attribute name for thegetCreatedAt()
field.static final String
JPA attribute name for thegetCustomAttributes()
field.static final String
Deprecated.static final String
JPA attribute name for thegetFreigabeTyp()
field.static final String
JPA attribute name for thegetLanguage()
field.static final String
JPA attribute name for thegetLastUserLogin()
field.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
JPA attribute name for thegetProjekte()
field.static final String
JPA attribute name for theisSadminAccess()
field.static final String
JPA attribute name for theisSadminInboxAccess()
field.static final String
Database column name for thegetCreatedAt()
field.static final String
Database column name for thegetUUID()
field.Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
Fields 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.long
getId()
Deprecated.Deprecated.useMandantMailData
and the corresponding DAO or APIDeprecated.Deprecated.Deprecated.getName()
getUUID()
boolean
boolean
boolean
Deprecated.boolean
isDemo()
Deprecated.boolean
boolean
Deprecated.boolean
boolean
Creates a new instance of file entity which is connected to the base entity (this
).void
void
setActiveImageData
(byte[] data, String fileName, Object userRef) void
setActiveImageData
(File file, Object userRef) void
void
setAllowCustomMailServer
(boolean allowCustomMailServer) void
setAllowSystemMailServer
(boolean allowSystemMailServer) void
setAppointmentUsage
(boolean appointmentUsage) Deprecated.void
setBaseUrl
(String baseUrl) void
setBasisVerzeichnis
(String basisVerzeichnis) Deprecated.void
setBenutzerverwaltungstyp
(EBenutzerverwaltungsTyp benutzerverwaltungstyp) Deprecated.void
setBeschreibung
(String beschreibung) void
setCreatedAt
(long createdAt) void
setCreatedAtInstant
(Instant createdAt) void
setCustomAttributes
(Map<String, String> customAttributes) void
setDemo
(boolean demo) Deprecated.void
setFileMap
(Map<String, ClientFile> fileMap) DON'T USE!void
setFreigabeTyp
(EFreigabeTyp freigabeTyp) void
setLanguage
(ELanguage language) void
setLastUserLogin
(Date lastUserLogin) void
setLdapData
(MandantLdapData ldapData) Deprecated.useMandantLdapData
and the corresponding DAO or APIvoid
setMailData
(MandantMailData mailData) Deprecated.useMandantMailData
and the corresponding DAO or APIvoid
setManuelleFreigebe
(boolean manuell) void
setMaxFormRecords
(Integer maxFormRecords) Deprecated.void
setMaxFormulare
(Integer maxFormulare) Deprecated.void
setMaxInvites
(Integer maxInvites) Deprecated.void
void
setProjekte
(List<Projekt> projekte) void
setSadminAccess
(boolean sadminAccess) void
setSadminInboxAccess
(boolean sadminInboxAccess) void
void
setUUIDObject
(UUID uuid) toString()
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescription
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
Methods 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:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getUUID
- Specified by:
getUUID
in 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:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
-
getBasisVerzeichnis
Deprecated. -
setBasisVerzeichnis
Deprecated. -
getName
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
-
getBeschreibung
- Specified by:
getBeschreibung
in 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:
FileNotFoundException
IOException
-
setActiveImageData
-
removeActiveProfileImage
public void removeActiveProfileImage() -
getFileMap
- Specified by:
getFileMap
in interfaceIFileMapProviding<ClientFile,
ClientFileData>
-
setFileMap
Description copied from interface:IFileMapProviding
DON'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:
setFileMap
in interfaceIFileMapProviding<ClientFile,
ClientFileData>
-
newFileEntiy
Description copied from interface:IFileMapProviding
Creates 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:
newFileEntiy
in 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.useMandantMailData
and the corresponding DAO or API -
setMailData
Deprecated.useMandantMailData
and the corresponding DAO or API -
getLdapData
Deprecated.useMandantLdapData
and the corresponding DAO or API -
toString
- Overrides:
toString
in classAbstractLockableEntity
-
setLdapData
Deprecated.useMandantLdapData
and 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.
-
MandantLdapData
and the corresponding DAO or API