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 TypeMethodDescriptionvoid
void
void
Deprecated.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()
boolean
boolean
Deprecated.boolean
boolean
Deprecated.boolean
void
logout()
void
setCurrentClient
(Mandant currentClient) Deprecated.UseViewContextBean.getClient()
instead.void
setCurrentUser
(Benutzer currentUser) Deprecated.void
setCurrentUserGroups
(List<BenutzerGruppe> currentUserGroups) Deprecated.void
setLastVisitedClient
(Mandant lastVisitedClient) void
setLogin
(LoginModel login) Deprecated.void
setParameterPID
(Long id) void
Deprecated.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, 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, 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, msg
Methods 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:
getCurrentClient
in interfaceISessionBean
-
setCurrentClient
Deprecated.UseViewContextBean.getClient()
instead.- Specified by:
setCurrentClient
in interfaceISessionBean
-
getCurrentUser
Deprecated.- Specified by:
getCurrentUser
in interfaceISessionBean
-
setCurrentUser
Deprecated.- Specified by:
setCurrentUser
in interfaceISessionBean
-
getCurrentUserGroups
Deprecated.the user groups of a user within a client should be gotten viaIUser.getClientUserGroups(String, Mandant)
.- Specified by:
getCurrentUserGroups
in interfaceISessionBean
-
setCurrentUserGroups
Deprecated.- Specified by:
setCurrentUserGroups
in 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.
-