Package de.xima.fc.gui.bean
Class BackendBean
-
- All Implemented Interfaces:
ISupportChangeEventBean
,Serializable
@Named @SessionScoped public class BackendBean extends ABackendJSFContext implements ISupportChangeEventBean, Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Constructor Summary
Constructors Constructor Description BackendBean()
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
getSessionBean
public SessionBean getSessionBean()
-
setSessionBean
public void setSessionBean(SessionBean sessionBean)
-
getNavigationBean
public NavigationBean getNavigationBean()
-
setNavigationBean
public void setNavigationBean(NavigationBean navigationBean)
-
getUserProfileBean
public UserProfileBean getUserProfileBean()
-
setUserProfileBean
public void setUserProfileBean(UserProfileBean userProfileBean)
-
getApplicationEventBusBean
public ApplicationEventBusBean getApplicationEventBusBean()
-
setApplicationEventBusBean
public void setApplicationEventBusBean(ApplicationEventBusBean applicationEventBusBean)
-
init
@PostConstruct public void init()
-
destroy
@PreDestroy public void destroy()
-
isChangePwd
public boolean isChangePwd()
-
setChangePwd
public void setChangePwd(boolean changePwd)
-
clearPwd
public void clearPwd()
-
checkPasswordStrength
public void checkPasswordStrength()
-
handleChangeEvent
public void handleChangeEvent()
- Specified by:
handleChangeEvent
in interfaceISupportChangeEventBean
-
getConfiguredPwdRules
public String getConfiguredPwdRules()
-
getMinPwdLength
public int getMinPwdLength()
-
getClientsWithSadminAccess
public List<Mandant> getClientsWithSadminAccess()
- Returns:
- All clients with
Mandant.isSadminAccess()
set totrue
.
-
setCurrentClient
public void setCurrentClient(Mandant currentClient)
- Parameters:
currentClient
- the current client to set
-
getGroupsOfCurrentUser
public List<BenutzerGruppe> getGroupsOfCurrentUser()
-
getLdapGroupsOfCurrentUser
public List<LDAPGruppe> getLdapGroupsOfCurrentUser()
-
changeClient
public void changeClient()
Changes theMandant
within the Administration GUI; and redirects to the dashboard.
-
changeClient
public void changeClient(EViews redirectView)
Changes theMandant
within the Administration GUI- Parameters:
redirectView
- View to which the user is redirected after the client change. Ifnull
is given, redirect to the dashboard.
-
saveCurrentUser
public void saveCurrentUser()
-
-