Class UserProfileConfigBean

  • All Implemented Interfaces:
    Serializable

    @Named
    @ViewScoped
    public class UserProfileConfigBean
    extends Object
    implements Serializable
    View scoped Bean for handling of displaying and changing user data
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • UserProfileConfigBean

        public UserProfileConfigBean()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getSaveButtonValue

        public String getSaveButtonValue()
      • getSuperUserName

        public String getSuperUserName()
      • setSuperUserName

        public void setSuperUserName​(String superUserName)
      • isSuperUser

        public boolean isSuperUser()
      • getSuperUserPwdPanelMode

        public String getSuperUserPwdPanelMode()
      • setSuperUserPwdPanelMode

        public void setSuperUserPwdPanelMode​(String superUserPwdPanelMode)
      • isShowBaseSettings

        public boolean isShowBaseSettings()
      • isShowSaveButton

        public boolean isShowSaveButton()
      • isShowPreferences

        public boolean isShowPreferences()
      • isShowDefaultClientPreferences

        public boolean isShowDefaultClientPreferences()
      • isShowUserIdentitiesPanel

        public boolean isShowUserIdentitiesPanel()
      • isShowUserEmailsPanel

        public boolean isShowUserEmailsPanel()
      • isShowUserSecurityPanel

        public boolean isShowUserSecurityPanel()
      • setChangePwdModel

        public void setChangePwdModel​(ChangePwdModel changePwdModel)
      • getFile

        public org.primefaces.model.file.UploadedFile getFile()
      • setFile

        public void setFile​(org.primefaces.model.file.UploadedFile file)
      • getResourceDataString

        public String getResourceDataString()
        Method to return a hashed String of the uploaded files byte Array for an hidden input field
        Returns:
        hased String
      • saveCurrentUser

        public void saveCurrentUser()
        Method to be called from profile.xhtml to save User data in an UserProfile or for sadmin in application.properties
      • upload

        public void upload​(org.primefaces.event.FileUploadEvent evt)
      • removeActiveProfilePic

        public void removeActiveProfilePic()
      • sendDeleteRequestEmail

        public void sendDeleteRequestEmail()
      • profileUpdatedCallback

        public Runnable profileUpdatedCallback()
      • profileUpdatedConsumer

        public BiConsumer<javax.servlet.http.HttpServletRequest,​javax.servlet.http.HttpServletResponse> profileUpdatedConsumer()