Package de.xima.fc.entities
Class Benutzer
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IBenutzerGruppeDependent
,IDescriptionProviding
,ILockingVersionProviding
,IMandantDependent
,INameProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
AktuellerBenutzer
,LDAPBenutzer
,VirtualBenutzer
@Entity @Deprecated public class Benutzer extends AbstractMandantDependentEntity implements IBenutzerGruppeDependent, INameProviding, IDescriptionProviding, IUUIDEntity
Deprecated.Since Version 8.0.0 user information is stored inuser profiles
. An entity that describes a real-life person.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ALTES_PASSWORT
Deprecated.static String
ATTR_ANREDE
Deprecated.static String
ATTR_BENUTZERTYP
Deprecated.static String
ATTR_CLEARTEXT_PWD
Deprecated.static String
ATTR_EMAIL
Deprecated.static String
ATTR_LAST_LOGIN
Deprecated.static String
ATTR_LOGIN_NAME
Deprecated.static String
ATTR_NNAME
Deprecated.static String
ATTR_PASSWORD_LINK_ID
Deprecated.static String
ATTR_PASSWORD_LINK_TYPE
Deprecated.static String
ATTR_PASSWORD_LINK_VALIDDATE
Deprecated.static String
ATTR_PASSWORT
Deprecated.static String
ATTR_ROLLE
Deprecated.static String
ATTR_STATUS
Deprecated.static String
ATTR_TELEFON
Deprecated.static String
ATTR_VNAME
Deprecated.static String
COL_UUID
Deprecated.-
Fields inherited from class de.xima.fc.entities.AbstractMandantDependentEntity
mandant
-
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.IBenutzerGruppeDependent
ATTR_BENUTZERGRUPPEN
-
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.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
-
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, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description Benutzer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addBenutzerGruppe(BenutzerGruppe benutzerGruppe)
Deprecated.String
getAltesPasswort()
Deprecated.EAnrede
getAnrede()
Deprecated.List<BenutzerGruppe>
getBenutzerGruppen()
Deprecated.EBenutzerStatus
getBenutzerstatus()
Deprecated.EBenutzerTyp
getBenutzertyp()
Deprecated.String
getBeschreibung()
Deprecated.String
getClearTextPasswort()
Deprecated.Returns a string of *Map<String,String>
getCustomAttributes()
Deprecated.String
getEmail()
Deprecated.String
getFullName()
Deprecated.Long
getId()
Deprecated.Date
getLastLogin()
Deprecated.String
getLoginName()
Deprecated.String
getNachname()
Deprecated.The family name part of this user.String
getName()
Deprecated.String
getPasswordLinkId()
Deprecated.EPasswordLinkType
getPasswordLinkType()
Deprecated.Date
getPasswordLinkValidDate()
Deprecated.Integer
getPasswordVersion()
Deprecated.String
getPasswort()
Deprecated.This method returns the user's encrypted passwordString
getRef()
Deprecated.Rolle
getRolle()
Deprecated.String
getTelefon()
Deprecated.String
getUUID()
Deprecated.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.UUID
getUUIDObject()
Deprecated.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.String
getVorname()
Deprecated.boolean
isForcePasswordChange()
Deprecated.void
removeBenutzerGruppe(BenutzerGruppe benutzerGruppe)
Deprecated.void
setAltesPasswort(String altesPasswort)
Deprecated.void
setAnrede(EAnrede anrede)
Deprecated.void
setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
Deprecated.Ersetzt die zugeordneten Benutzergruppen mit der übergebenen Listevoid
setBenutzerstatus(EBenutzerStatus benutzerstatus)
Deprecated.void
setBenutzertyp(EBenutzerTyp benutzertyp)
Deprecated.void
setBeschreibung(String beschreibung)
Deprecated.void
setClearTextPasswort(String ctp)
Deprecated.This method is used to encrypt the plaintext password and then store it in the password attributevoid
setCustomAttributes(Map<String,String> customAttributes)
Deprecated.void
setEmail(String email)
Deprecated.void
setForcePasswordChange(boolean forcePasswordChange)
Deprecated.void
setLastLogin(Date lastLogin)
Deprecated.void
setLoginName(String loginname)
Deprecated.void
setNachname(String nachname)
Deprecated.void
setPasswordLinkId(String passwordLinkId)
Deprecated.void
setPasswordLinkType(EPasswordLinkType passwordLinkType)
Deprecated.void
setPasswordLinkValidDate(Date passwordLinkValidDate)
Deprecated.void
setPasswordVersion(Integer passwordVersion)
Deprecated.void
setPasswort(String passwort)
Deprecated.This method sets the password of the user.void
setRolle(Rolle rolle)
Deprecated.void
setTelefon(String telefon)
Deprecated.void
setUUID(String uuid)
Deprecated.Sets the UUID (universal unique identifier) that uniquely identifies this type of entity.void
setUUIDObject(UUID uuid)
Deprecated.void
setVorname(String vorname)
Deprecated.String
toString()
Deprecated.-
Methods inherited from class de.xima.fc.entities.AbstractMandantDependentEntity
getMandant, setMandant
-
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
-
-
-
-
Field Detail
-
ATTR_ANREDE
public static final String ATTR_ANREDE
Deprecated.- See Also:
- Constant Field Values
-
ATTR_VNAME
public static final String ATTR_VNAME
Deprecated.- See Also:
- Constant Field Values
-
ATTR_NNAME
public static final String ATTR_NNAME
Deprecated.- See Also:
- Constant Field Values
-
ATTR_LOGIN_NAME
public static final String ATTR_LOGIN_NAME
Deprecated.- See Also:
- Constant Field Values
-
ATTR_CLEARTEXT_PWD
public static final String ATTR_CLEARTEXT_PWD
Deprecated.- See Also:
- Constant Field Values
-
ATTR_EMAIL
public static final String ATTR_EMAIL
Deprecated.- See Also:
- Constant Field Values
-
ATTR_TELEFON
public static final String ATTR_TELEFON
Deprecated.- See Also:
- Constant Field Values
-
ATTR_ROLLE
public static final String ATTR_ROLLE
Deprecated.- See Also:
- Constant Field Values
-
ATTR_STATUS
public static final String ATTR_STATUS
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PASSWORT
public static final String ATTR_PASSWORT
Deprecated.- See Also:
- Constant Field Values
-
ATTR_ALTES_PASSWORT
public static final String ATTR_ALTES_PASSWORT
Deprecated.- See Also:
- Constant Field Values
-
ATTR_BENUTZERTYP
public static final String ATTR_BENUTZERTYP
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PASSWORD_LINK_TYPE
public static final String ATTR_PASSWORD_LINK_TYPE
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PASSWORD_LINK_VALIDDATE
public static final String ATTR_PASSWORD_LINK_VALIDDATE
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PASSWORD_LINK_ID
public static final String ATTR_PASSWORD_LINK_ID
Deprecated.- See Also:
- Constant Field Values
-
ATTR_LAST_LOGIN
public static final String ATTR_LAST_LOGIN
Deprecated.- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public Long getId()
Deprecated.- Specified by:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getUUID
public String getUUID()
Deprecated.Description copied from interface:IUUIDEntity
Gets 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 scopes
orproject scope
.- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUID
public void setUUID(String uuid)
Deprecated.Description copied from interface:IUUIDEntity
Sets 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 scopes
orproject scope
.- Specified by:
setUUID
in interfaceIUUIDEntity
- Parameters:
uuid
- The UUID of the entity.
-
getUUIDObject
public UUID getUUIDObject()
Deprecated.Description copied from interface:IUUIDEntity
Gets 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 scopes
orproject scope
.- Specified by:
getUUIDObject
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUIDObject
public void setUUIDObject(UUID uuid)
Deprecated.
-
getClearTextPasswort
@Deprecated public String getClearTextPasswort()
Deprecated.Returns a string of *- Returns:
- Z
-
setClearTextPasswort
public void setClearTextPasswort(String ctp)
Deprecated.This method is used to encrypt the plaintext password and then store it in the password attribute- Parameters:
ctp
- - plaintext password, which should be set encrypted
-
getPasswort
public String getPasswort()
Deprecated.This method returns the user's encrypted password- Returns:
- the password
-
setPasswort
public void setPasswort(String passwort)
Deprecated.This method sets the password of the user. This method should only be used, if passwords are not be encrypted or if an already encrypted password exists.- Parameters:
passwort
- - user's password (encrypted, because it will be stored in database)
-
getBeschreibung
public String getBeschreibung()
Deprecated.- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String beschreibung)
Deprecated.
-
getLoginName
public String getLoginName()
Deprecated.- Returns:
- The login name of this user.
-
setLoginName
public void setLoginName(String loginname)
Deprecated.
-
getEmail
public String getEmail()
Deprecated.- Returns:
- The email address of this user.
-
setEmail
public void setEmail(String email)
Deprecated.
-
getTelefon
public String getTelefon()
Deprecated.- Returns:
- The phone number of this user. May be
null
or empty.
-
setTelefon
public void setTelefon(String telefon)
Deprecated.
-
getVorname
public String getVorname()
Deprecated.- Returns:
- The personal name part of this user.
-
setVorname
public void setVorname(String vorname)
Deprecated.
-
getNachname
public String getNachname()
Deprecated.The family name part of this user.
-
setNachname
public void setNachname(String nachname)
Deprecated.
-
getAnrede
public EAnrede getAnrede()
Deprecated.- Returns:
- The form of address for this user.
-
setAnrede
public void setAnrede(EAnrede anrede)
Deprecated.
-
getBenutzerstatus
public EBenutzerStatus getBenutzerstatus()
Deprecated.
-
setBenutzerstatus
public void setBenutzerstatus(EBenutzerStatus benutzerstatus)
Deprecated.
-
getBenutzerGruppen
public List<BenutzerGruppe> getBenutzerGruppen()
Deprecated.- Specified by:
getBenutzerGruppen
in interfaceIBenutzerGruppeDependent
- Returns:
- A
List
ofBenutzerGruppe
s this user belongs to. A user may belong to no, one, or multiple user groups. The user groups determine, for example, which inboxes a user may access.
-
setBenutzerGruppen
public void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
Deprecated.Ersetzt die zugeordneten Benutzergruppen mit der übergebenen Liste- Specified by:
setBenutzerGruppen
in interfaceIBenutzerGruppeDependent
-
addBenutzerGruppe
public void addBenutzerGruppe(BenutzerGruppe benutzerGruppe)
Deprecated.
-
removeBenutzerGruppe
public void removeBenutzerGruppe(BenutzerGruppe benutzerGruppe)
Deprecated.
-
getName
public String getName()
Deprecated.- Specified by:
getName
in interfaceINameProviding
- Returns:
- The login name of this user.
-
getFullName
public String getFullName()
Deprecated.- Returns:
- The full name of this user, ie. the personal name (
getVorname()
followed by the family name (getNachname()
.
-
getRolle
public Rolle getRolle()
Deprecated.- Returns:
- The
Rolle
that is assigned to this user. Each user is always assigned to exactly one role. The role determines which permissions are granted to this user.
-
setRolle
public void setRolle(Rolle rolle)
Deprecated.
-
getAltesPasswort
public String getAltesPasswort()
Deprecated.
-
setAltesPasswort
public void setAltesPasswort(String altesPasswort)
Deprecated.
-
getBenutzertyp
public EBenutzerTyp getBenutzertyp()
Deprecated.- Returns:
- The type of this user, ie. whether it is a system user or an external user, such as an LDAP user.
-
setBenutzertyp
public void setBenutzertyp(EBenutzerTyp benutzertyp)
Deprecated.
-
getRef
public String getRef()
Deprecated.
-
isForcePasswordChange
public boolean isForcePasswordChange()
Deprecated.
-
setForcePasswordChange
public void setForcePasswordChange(boolean forcePasswordChange)
Deprecated.
-
getPasswordLinkId
public String getPasswordLinkId()
Deprecated.
-
setPasswordLinkId
public void setPasswordLinkId(String passwordLinkId)
Deprecated.
-
getPasswordLinkValidDate
public Date getPasswordLinkValidDate()
Deprecated.
-
setPasswordLinkValidDate
public void setPasswordLinkValidDate(Date passwordLinkValidDate)
Deprecated.
-
getPasswordLinkType
public EPasswordLinkType getPasswordLinkType()
Deprecated.
-
setPasswordLinkType
public void setPasswordLinkType(EPasswordLinkType passwordLinkType)
Deprecated.
-
getPasswordVersion
public Integer getPasswordVersion()
Deprecated.
-
setPasswordVersion
public void setPasswordVersion(Integer passwordVersion)
Deprecated.
-
getLastLogin
public Date getLastLogin()
Deprecated.
-
setLastLogin
public void setLastLogin(Date lastLogin)
Deprecated.
-
setCustomAttributes
public void setCustomAttributes(Map<String,String> customAttributes)
Deprecated.
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classAbstractLockableEntity
-
-