Class UserProfileConfigBean
java.lang.Object
de.xima.fc.gui.common.bean.profile.UserProfileConfigBean
- All Implemented Interfaces:
Serializable
View scoped Bean for handling of displaying and changing user data
- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.model.file.UploadedFile
getFile()
Method to return a hashed String of the uploaded files byte Array for an hidden input fieldvoid
init()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
BiConsumer<javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse> void
void
Method to be called from profile.xhtml to save User data in anUserProfile
or for sadmin in application.propertiesvoid
void
setChangePwdModel
(ChangePwdModel changePwdModel) void
setFile
(org.primefaces.model.file.UploadedFile file) void
setSuperUserName
(String superUserName) void
setSuperUserPwdPanelMode
(String superUserPwdPanelMode) void
upload
(org.primefaces.event.FileUploadEvent evt)
-
Constructor Details
-
UserProfileConfigBean
public UserProfileConfigBean()
-
-
Method Details
-
init
@PostConstruct public void init() -
getProfile
-
getSaveButtonValue
-
getSuperUserName
-
setSuperUserName
-
isSuperUser
public boolean isSuperUser() -
getSuperUserPwdPanelMode
-
setSuperUserPwdPanelMode
-
isShowBaseSettings
public boolean isShowBaseSettings() -
isShowInactiveWarning
public boolean isShowInactiveWarning() -
isShowSaveButton
public boolean isShowSaveButton() -
isShowPreferences
public boolean isShowPreferences() -
isShowDefaultClientPreferences
public boolean isShowDefaultClientPreferences() -
isShowUserIdentitiesPanel
public boolean isShowUserIdentitiesPanel() -
isShowUserEmailsPanel
public boolean isShowUserEmailsPanel() -
isShowUserSecurityPanel
public boolean isShowUserSecurityPanel() -
getChangePwdModel
-
setChangePwdModel
-
getFile
public org.primefaces.model.file.UploadedFile getFile() -
setFile
public void setFile(org.primefaces.model.file.UploadedFile file) -
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 anUserProfile
or for sadmin in application.properties -
upload
public void upload(org.primefaces.event.FileUploadEvent evt) -
removeActiveProfilePic
public void removeActiveProfilePic() -
sendDeleteRequestEmail
public void sendDeleteRequestEmail() -
profileUpdatedCallback
-
profileUpdatedConsumer
public BiConsumer<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> profileUpdatedConsumer()
-