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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ALIAS
JPA attribute name for thegetAlias()
field.static String
ATTR_ALLOW_CUSTOM_MAIL_SERVER
JPA attribute name for theisAllowCustomMailServer()
field.static String
ATTR_ALLOW_SYSTEM_MAIL_SERVER
JPA attribute name for theisAllowSystemMailServer()
field.static String
ATTR_APPOINTMENT_USAGE
Deprecated.static String
ATTR_BASEURL
JPA attribute name for thegetBaseUrl()
field.static String
ATTR_BENUTZERVERWALTUNGSTYP
JPA attribute name for thegetBenutzerverwaltungstyp()
field.static String
ATTR_CREATED_AT
JPA attribute name for thegetCreatedAt()
field.static String
ATTR_CUSTOM_ATTRIBUTES
JPA attribute name for thegetCustomAttributes()
field.static String
ATTR_DEMO
Deprecated.static String
ATTR_FREIGABETYP
JPA attribute name for thegetFreigabeTyp()
field.static String
ATTR_LANGUAGE
JPA attribute name for thegetLanguage()
field.static String
ATTR_LAST_USER_LOGIN
JPA attribute name for thegetLastUserLogin()
field.static String
ATTR_LDAP_DATA
Deprecated.static String
ATTR_MAIL_DATA
Deprecated.static String
ATTR_MAXFORMS
Deprecated.static String
ATTR_MAXINVITES
Deprecated.static String
ATTR_PROJEKTE
JPA attribute name for thegetProjekte()
field.static String
ATTR_SADMIN_ACCESS
JPA attribute name for theisSadminAccess()
field.static String
ATTR_SADMIN_ACCESS_INBOX
JPA attribute name for theisSadminInboxAccess()
field.static String
COL_CREATED_AT
Database column name for thegetCreatedAt()
field.static String
COL_UUID
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.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 Constructor Description Mandant()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClientFile
getActiveImage()
String
getAlias()
String
getBaseUrl()
String
getBasisVerzeichnis()
Deprecated.EBenutzerverwaltungsTyp
getBenutzerverwaltungstyp()
Deprecated.String
getBeschreibung()
long
getCreatedAt()
Instant
getCreatedAtInstant()
Map<String,String>
getCustomAttributes()
Map<String,ClientFile>
getFileMap()
EFreigabeTyp
getFreigabeTyp()
Long
getId()
ELanguage
getLanguage()
Date
getLastUserLogin()
MandantLdapData
getLdapData()
Deprecated.useMandantLdapData
and the corresponding DAO or APILocale
getLocale()
MandantMailData
getMailData()
Deprecated.useMandantMailData
and the corresponding DAO or APIInteger
getMaxFormRecords()
Deprecated.Integer
getMaxFormulare()
Deprecated.Integer
getMaxInvites()
Deprecated.String
getName()
List<Projekt>
getProjekte()
String
getUUID()
UUID
getUUIDObject()
boolean
isAllowCustomMailServer()
boolean
isAllowSystemMailServer()
boolean
isAppointmentUsage()
Deprecated.boolean
isDemo()
Deprecated.boolean
isManuelleFreigebe()
boolean
isNtlmUsage()
Deprecated.boolean
isSadminAccess()
boolean
isSadminInboxAccess()
ClientFile
newFileEntiy()
Creates a new instance of file entity which is connected to the base entity (this
).void
removeActiveProfileImage()
void
setActiveImageData(byte[] data, String fileName, Object userRef)
void
setActiveImageData(File file, Object userRef)
void
setAlias(String alias)
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! Hibernate is managing this collection, so if it is overridden, Hibernate can't keep track of it anymore.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
setName(String name)
void
setProjekte(List<Projekt> projekte)
void
setSadminAccess(boolean sadminAccess)
void
setSadminInboxAccess(boolean sadminInboxAccess)
void
setUUID(String uuid)
void
setUUIDObject(UUID uuid)
String
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.fc.entities.interfaces.IFileMapProviding
putFile, removeFile, setFileData, setFileData
-
-
-
-
Field Detail
-
ATTR_BASEURL
public static final String ATTR_BASEURL
JPA attribute name for thegetBaseUrl()
field.- See Also:
- Constant Field Values
-
ATTR_FREIGABETYP
public static final String ATTR_FREIGABETYP
JPA attribute name for thegetFreigabeTyp()
field.- See Also:
- Constant Field Values
-
ATTR_PROJEKTE
public static final String ATTR_PROJEKTE
JPA attribute name for thegetProjekte()
field.- See Also:
- Constant Field Values
-
ATTR_SADMIN_ACCESS
public static final String ATTR_SADMIN_ACCESS
JPA attribute name for theisSadminAccess()
field.- See Also:
- Constant Field Values
-
ATTR_SADMIN_ACCESS_INBOX
public static final String ATTR_SADMIN_ACCESS_INBOX
JPA attribute name for theisSadminInboxAccess()
field.- See Also:
- Constant Field Values
-
ATTR_ALLOW_SYSTEM_MAIL_SERVER
public static final String ATTR_ALLOW_SYSTEM_MAIL_SERVER
JPA attribute name for theisAllowSystemMailServer()
field.- See Also:
- Constant Field Values
-
ATTR_ALLOW_CUSTOM_MAIL_SERVER
public static final String ATTR_ALLOW_CUSTOM_MAIL_SERVER
JPA attribute name for theisAllowCustomMailServer()
field.- See Also:
- Constant Field Values
-
ATTR_ALIAS
public static final String ATTR_ALIAS
JPA attribute name for thegetAlias()
field.- See Also:
- Constant Field Values
-
ATTR_LAST_USER_LOGIN
public static final String ATTR_LAST_USER_LOGIN
JPA attribute name for thegetLastUserLogin()
field.- See Also:
- Constant Field Values
-
ATTR_BENUTZERVERWALTUNGSTYP
public static final String ATTR_BENUTZERVERWALTUNGSTYP
JPA attribute name for thegetBenutzerverwaltungstyp()
field.- See Also:
- Constant Field Values
-
ATTR_CUSTOM_ATTRIBUTES
public static final String ATTR_CUSTOM_ATTRIBUTES
JPA attribute name for thegetCustomAttributes()
field.- See Also:
- Constant Field Values
-
ATTR_LANGUAGE
public static final String ATTR_LANGUAGE
JPA attribute name for thegetLanguage()
field.- See Also:
- Constant Field Values
-
ATTR_CREATED_AT
public static final String ATTR_CREATED_AT
JPA attribute name for thegetCreatedAt()
field.- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
Database column name for thegetUUID()
field.- See Also:
- Constant Field Values
-
COL_CREATED_AT
public static final String COL_CREATED_AT
Database column name for thegetCreatedAt()
field.- See Also:
- Constant Field Values
-
ATTR_LDAP_DATA
@Deprecated public static final String ATTR_LDAP_DATA
Deprecated.- See Also:
- Constant Field Values
-
ATTR_MAIL_DATA
@Deprecated public static final String ATTR_MAIL_DATA
Deprecated.- See Also:
- Constant Field Values
-
ATTR_MAXFORMS
@Deprecated public static final String ATTR_MAXFORMS
Deprecated.- See Also:
- Constant Field Values
-
ATTR_MAXINVITES
@Deprecated public static final String ATTR_MAXINVITES
Deprecated.- See Also:
- Constant Field Values
-
ATTR_DEMO
@Deprecated public static final String ATTR_DEMO
Deprecated.- See Also:
- Constant Field Values
-
ATTR_APPOINTMENT_USAGE
@Deprecated public static final String ATTR_APPOINTMENT_USAGE
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getUUID
public String 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
public void setUUID(String uuid)
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getBasisVerzeichnis
@Deprecated public String getBasisVerzeichnis()
Deprecated.
-
setBasisVerzeichnis
@Deprecated public void setBasisVerzeichnis(String basisVerzeichnis)
Deprecated.
-
getName
public String getName()
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
public void setName(String name)
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String beschreibung)
-
getAlias
public String getAlias()
- Returns:
- the alias
-
setAlias
public void setAlias(String alias)
- Parameters:
alias
- the alias to set
-
getBaseUrl
public String getBaseUrl()
-
setBaseUrl
public void setBaseUrl(String baseUrl)
-
getFreigabeTyp
public EFreigabeTyp getFreigabeTyp()
-
setFreigabeTyp
public void setFreigabeTyp(EFreigabeTyp freigabeTyp)
-
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
public Locale getLocale()
-
getLanguage
public ELanguage getLanguage()
-
setLanguage
public void setLanguage(ELanguage language)
-
isManuelleFreigebe
public boolean isManuelleFreigebe()
-
setManuelleFreigebe
public void setManuelleFreigebe(boolean manuell)
-
getLastUserLogin
public Date getLastUserLogin()
- Returns:
- the lastUserLogin
-
setLastUserLogin
public void setLastUserLogin(Date lastUserLogin)
- Parameters:
lastUserLogin
- the lastUserLogin to set
-
getActiveImage
public ClientFile getActiveImage()
-
setActiveImageData
public void setActiveImageData(File file, Object userRef) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
removeActiveProfileImage
public void removeActiveProfileImage()
-
getFileMap
public Map<String,ClientFile> getFileMap()
- Specified by:
getFileMap
in interfaceIFileMapProviding<ClientFile,ClientFileData>
-
setFileMap
public void setFileMap(Map<String,ClientFile> fileMap)
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
public ClientFile 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
public Instant getCreatedAtInstant()
-
setCreatedAtInstant
public void setCreatedAtInstant(Instant createdAt)
-
getMailData
@Deprecated public MandantMailData getMailData()
Deprecated.useMandantMailData
and the corresponding DAO or API
-
setMailData
@Deprecated public void setMailData(MandantMailData mailData)
Deprecated.useMandantMailData
and the corresponding DAO or API
-
getLdapData
@Deprecated public MandantLdapData getLdapData()
Deprecated.useMandantLdapData
and the corresponding DAO or API
-
toString
public String toString()
- Overrides:
toString
in classAbstractLockableEntity
-
setLdapData
@Deprecated public void setLdapData(MandantLdapData ldapData)
Deprecated.useMandantLdapData
and the corresponding DAO or API
-
isNtlmUsage
@Deprecated public boolean isNtlmUsage()
Deprecated.Gibt an, ob der Mandant laut Lizenz NTLM-Authentifizierung nutzen darf
-
isDemo
@Deprecated public boolean isDemo()
Deprecated.
-
setDemo
@Deprecated public void setDemo(boolean demo)
Deprecated.
-
isAppointmentUsage
@Deprecated public boolean isAppointmentUsage()
Deprecated.
-
setAppointmentUsage
@Deprecated public void setAppointmentUsage(boolean appointmentUsage)
Deprecated.
-
getMaxFormulare
@Deprecated public Integer getMaxFormulare()
Deprecated.
-
setMaxFormulare
@Deprecated public void setMaxFormulare(Integer maxFormulare)
Deprecated.
-
getMaxInvites
@Deprecated public Integer getMaxInvites()
Deprecated.
-
setMaxInvites
@Deprecated public void setMaxInvites(Integer maxInvites)
Deprecated.
-
getMaxFormRecords
@Deprecated public Integer getMaxFormRecords()
Deprecated.
-
setMaxFormRecords
@Deprecated public void setMaxFormRecords(Integer maxFormRecords)
Deprecated.
-
getBenutzerverwaltungstyp
@Deprecated public EBenutzerverwaltungsTyp getBenutzerverwaltungstyp()
Deprecated.
-
setBenutzerverwaltungstyp
@Deprecated public void setBenutzerverwaltungstyp(EBenutzerverwaltungsTyp benutzerverwaltungstyp)
Deprecated.
-
-