@Entity public class Benutzer extends AbstractMandantDependentEntity implements IBenutzerGruppeDependent, INameProviding, IDescriptionProviding, IUUIDEntity
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_ALTES_PASSWORT |
static String |
ATTR_ANREDE |
static String |
ATTR_BENUTZERTYP |
static String |
ATTR_CLEARTEXT_PWD |
static String |
ATTR_EMAIL |
static String |
ATTR_LAST_LOGIN |
static String |
ATTR_LOGIN_NAME |
static String |
ATTR_NNAME |
static String |
ATTR_PASSWORD_LINK_ID |
static String |
ATTR_PASSWORD_LINK_TYPE |
static String |
ATTR_PASSWORD_LINK_VALIDDATE |
static String |
ATTR_PASSWORT |
static String |
ATTR_ROLLE |
static String |
ATTR_STATUS |
static String |
ATTR_TELEFON |
static String |
ATTR_VNAME |
static String |
COL_UUID |
mandant
COL_LOCKINGVERSION, lockingVersion
COL_ID, id
ATTR_BENUTZERGRUPPEN
IMPORT_ID, INVALID_ID
ATTR_NAME, COL_NAME
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
ATTR_MANDANT, COL_CLIENT_ID
Constructor and Description |
---|
Benutzer() |
getMandant, setMandant
entityHasChanged, getLockingVersion, setLockingVersion
asIntValue, isPersisted, setId, setId
compareTo, equals, getDBTableName, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo
getDescription
public static final String ATTR_ANREDE
public static final String ATTR_VNAME
public static final String ATTR_NNAME
public static final String ATTR_LOGIN_NAME
public static final String ATTR_CLEARTEXT_PWD
public static final String ATTR_EMAIL
public static final String ATTR_TELEFON
public static final String ATTR_ROLLE
public static final String ATTR_STATUS
public static final String ATTR_PASSWORT
public static final String ATTR_ALTES_PASSWORT
public static final String ATTR_BENUTZERTYP
public static final String ATTR_PASSWORD_LINK_TYPE
public static final String ATTR_PASSWORD_LINK_VALIDDATE
public static final String ATTR_PASSWORD_LINK_ID
public static final String ATTR_LAST_LOGIN
public static final String COL_UUID
public String getUUID()
getUUID
in interface IUUIDEntity
Mandant
, Projekt
, ...public void setUUID(String uuid)
setUUID
in interface IUUIDEntity
public UUID getUUIDObject()
getUUIDObject
in interface IUUIDEntity
public void setUUIDObject(UUID uuid)
@Deprecated public String getClearTextPasswort()
public void setClearTextPasswort(String ctp)
ctp
- - plaintext password, which should be set encryptedpublic String getPasswort()
public void setPasswort(String passwort)
passwort
- - user's password (encrypted, because it will be stored in database)public String getBeschreibung()
getBeschreibung
in interface IDescriptionProviding
public void setBeschreibung(String beschreibung)
public String getLoginName()
public void setLoginName(String loginname)
public String getEmail()
public void setEmail(String email)
public String getTelefon()
null
or empty.public void setTelefon(String telefon)
public String getVorname()
public void setVorname(String vorname)
public String getNachname()
public void setNachname(String nachname)
public EAnrede getAnrede()
public void setAnrede(EAnrede anrede)
public EBenutzerStatus getBenutzerstatus()
public void setBenutzerstatus(EBenutzerStatus benutzerstatus)
public List<BenutzerGruppe> getBenutzerGruppen()
getBenutzerGruppen
in interface IBenutzerGruppeDependent
List
of BenutzerGruppe
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.public void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
setBenutzerGruppen
in interface IBenutzerGruppeDependent
public void addBenutzerGruppe(BenutzerGruppe benutzerGruppe)
public void removeBenutzerGruppe(BenutzerGruppe benutzerGruppe)
public String getName()
getName
in interface INameProviding
public String getFullName()
getVorname()
followed by the family name
(getNachname()
.public Rolle getRolle()
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.public void setRolle(Rolle rolle)
public String getAltesPasswort()
public void setAltesPasswort(String altesPasswort)
public EBenutzerTyp getBenutzertyp()
public void setBenutzertyp(EBenutzerTyp benutzertyp)
public String getRef()
public boolean isForcePasswordChange()
public void setForcePasswordChange(boolean forcePasswordChange)
public String getPasswordLinkId()
public void setPasswordLinkId(String passwordLinkId)
public Date getPasswordLinkValidDate()
public void setPasswordLinkValidDate(Date passwordLinkValidDate)
public EPasswordLinkType getPasswordLinkType()
public void setPasswordLinkType(EPasswordLinkType passwordLinkType)
public Integer getPasswordVersion()
public void setPasswordVersion(Integer passwordVersion)
public Date getLastLogin()
public void setLastLogin(Date lastLogin)
public String toString()
toString
in class AbstractLockableEntity
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.