Package de.xima.fc.gui.common.bean
Class SessionBean
- All Implemented Interfaces:
ISessionBean,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder -
Field Summary
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidDeprecated.Deprecated.Deprecated.The client is now view dependent not session dependent.Deprecated.Deprecated.the user groups of a user within a client should be gotten viaIUser.getClientUserGroups(String, Mandant).getLogin()Deprecated.Deprecated.getUser()booleanbooleanDeprecated.booleanbooleanDeprecated.booleanvoidlogout()voidsetCurrentClient(Mandant currentClient) Deprecated.UseViewContextBean.getClient()instead.voidsetCurrentUser(Benutzer currentUser) Deprecated.voidsetCurrentUserGroups(List<BenutzerGruppe> currentUserGroups) Deprecated.voidsetLastVisitedClient(Mandant lastVisitedClient) voidsetLogin(LoginModel login) Deprecated.voidsetParameterPID(Long id) voidDeprecated.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, redirectToDashboard, setLocaleBean, setSessionAttribute, ucMethods 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, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
SessionBean
public SessionBean()
-
-
Method Details
-
getUser
-
getBrowserType
-
getParameterPID
-
setParameterPID
-
getLastVisitedClient
-
setLastVisitedClient
-
isLoggedIn
public boolean isLoggedIn() -
isSuperAdmin
public boolean isSuperAdmin() -
isHasUserInboxAccess
public boolean isHasUserInboxAccess() -
getUri
- Parameters:
view- the view to link to- Returns:
- an uri with maybe client id
-
checkMultiLogin
public void checkMultiLogin() -
checkProductUpdatePrompt
public void checkProductUpdatePrompt() -
disposeOtherSessions
public void disposeOtherSessions() -
getClientHash
-
getExpireDate
-
logout
public void logout() -
isSetupUser
Deprecated. -
isLdapUser
Deprecated. -
getSuperAdminName
Deprecated.TODO(fse) use UserDataBean.getSuperAdminName instead? -
getContextBean
Deprecated.- Returns:
- The context bean for the current context, that is, either the MSContextBean or the FSContextBean.
-
getCurrentClient
Deprecated.The client is now view dependent not session dependent. Users are now able to switch between clients and thus have multiple views with different client. Use the methodCurrentViewBean.getCurrentClient()instead to get the client for the current view.- Specified by:
getCurrentClientin interfaceISessionBean
-
setCurrentClient
Deprecated.UseViewContextBean.getClient()instead.- Specified by:
setCurrentClientin interfaceISessionBean
-
getCurrentUser
Deprecated.- Specified by:
getCurrentUserin interfaceISessionBean
-
setCurrentUser
Deprecated.- Specified by:
setCurrentUserin interfaceISessionBean
-
getCurrentUserGroups
Deprecated.the user groups of a user within a client should be gotten viaIUser.getClientUserGroups(String, Mandant).- Specified by:
getCurrentUserGroupsin interfaceISessionBean
-
setCurrentUserGroups
Deprecated.- Specified by:
setCurrentUserGroupsin interfaceISessionBean
-
getLogin
Deprecated. -
setLogin
Deprecated. -
getAjaxLoginUrl
Deprecated.- Returns:
- The URL for the login dialog. URL parameters are added for preselecting the username, client, and language.
-
updateCurrentUser
Deprecated.
-