Class Benutzer

    • Constructor Detail

      • Benutzer

        public Benutzer()
    • Method Detail

      • getId

        public Long getId()
        Specified by:
        getId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
      • getUUID

        public String getUUID()
        Specified by:
        getUUID in interface IUUIDEntity
        Returns:
        UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a context, e.g. Mandant, Projekt, ...
      • setUUIDObject

        public void setUUIDObject​(UUID uuid)
      • getClearTextPasswort

        @Deprecated
        public String getClearTextPasswort()
        Deprecated.
        Returns a string of *
        Returns:
        Z
      • setClearTextPasswort

        public void setClearTextPasswort​(String ctp)
        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()
        This method returns the user's encrypted password
        Returns:
        the password
      • setPasswort

        public void setPasswort​(String passwort)
        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)
      • setBeschreibung

        public void setBeschreibung​(String beschreibung)
      • getLoginName

        public String getLoginName()
        Returns:
        The login name of this user.
      • setLoginName

        public void setLoginName​(String loginname)
      • getEmail

        public String getEmail()
        Returns:
        The email address of this user.
      • setEmail

        public void setEmail​(String email)
      • getTelefon

        public String getTelefon()
        Returns:
        The phone number of this user. May be null or empty.
      • setTelefon

        public void setTelefon​(String telefon)
      • getVorname

        public String getVorname()
        Returns:
        The personal name part of this user.
      • setVorname

        public void setVorname​(String vorname)
      • getNachname

        public String getNachname()
        The family name part of this user.
      • setNachname

        public void setNachname​(String nachname)
      • getAnrede

        public EAnrede getAnrede()
        Returns:
        The form of address for this user.
      • setAnrede

        public void setAnrede​(EAnrede anrede)
      • setBenutzerstatus

        public void setBenutzerstatus​(EBenutzerStatus benutzerstatus)
      • addBenutzerGruppe

        public void addBenutzerGruppe​(BenutzerGruppe benutzerGruppe)
      • removeBenutzerGruppe

        public void removeBenutzerGruppe​(BenutzerGruppe benutzerGruppe)
      • getFullName

        public String getFullName()
        Returns:
        The full name of this user, ie. the personal name (getVorname() followed by the family name (getNachname().
      • getRolle

        public Rolle getRolle()
        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)
      • getAltesPasswort

        public String getAltesPasswort()
      • setAltesPasswort

        public void setAltesPasswort​(String altesPasswort)
      • getBenutzertyp

        public EBenutzerTyp getBenutzertyp()
        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)
      • getRef

        public String getRef()
      • isForcePasswordChange

        public boolean isForcePasswordChange()
      • setForcePasswordChange

        public void setForcePasswordChange​(boolean forcePasswordChange)
      • getPasswordLinkId

        public String getPasswordLinkId()
      • setPasswordLinkId

        public void setPasswordLinkId​(String passwordLinkId)
      • getPasswordLinkValidDate

        public Date getPasswordLinkValidDate()
      • setPasswordLinkValidDate

        public void setPasswordLinkValidDate​(Date passwordLinkValidDate)
      • setPasswordLinkType

        public void setPasswordLinkType​(EPasswordLinkType passwordLinkType)
      • getPasswordVersion

        public Integer getPasswordVersion()
      • setPasswordVersion

        public void setPasswordVersion​(Integer passwordVersion)
      • getLastLogin

        public Date getLastLogin()
      • setLastLogin

        public void setLastLogin​(Date lastLogin)
      • setCustomAttributes

        public void setCustomAttributes​(Map<String,​String> customAttributes)