Class SessionBean

    • Constructor Detail

      • SessionBean

        public SessionBean()
    • Method Detail

      • getParameterPID

        public Long getParameterPID()
      • setParameterPID

        public void setParameterPID​(Long id)
      • setLogin

        public void setLogin​(LoginModel login)
      • getCurrentClient

        public Mandant getCurrentClient()
        Returns the current client, as set in the session. Please note that in future versions, users will be able to switch between client and thus have multiple views with different client. Use the method CurrentViewBean.getCurrentClient() instead to get the client for the current view.
        Specified by:
        getCurrentClient in interface ISessionBean
        Returns:
        The current client, as set in the session.
      • getSuperAdminName

        public String getSuperAdminName()
      • isLoggedIn

        public boolean isLoggedIn()
      • isSuperAdmin

        public boolean isSuperAdmin()
      • isSetupUser

        public boolean isSetupUser()
      • isLdapUser

        public boolean isLdapUser()
      • isHasUserInboxAccess

        public boolean isHasUserInboxAccess()
      • getContextBean

        public AContextBean getContextBean()
        Returns:
        The context bean for the current context, that is, either the MSContextBean or the FSContextBean.
      • checkMultiLogin

        public void checkMultiLogin()
      • checkProductUpdatePrompt

        public void checkProductUpdatePrompt()
      • disposeOtherSessions

        public void disposeOtherSessions()
      • updateCurrentUser

        public void updateCurrentUser()
      • getAjaxLoginUrl

        public String getAjaxLoginUrl()
        Returns:
        The URL for the login dialog. URL parameters are added for preselecting the username, client, and language.
      • getClientHash

        public String getClientHash()
      • getExpireDate

        public String getExpireDate()