Class AContextBean

    • Constructor Detail

      • AContextBean

        public AContextBean()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • destroy

        @PreDestroy
        public void destroy()
      • getViewBean

        public ViewBean getViewBean()
      • setViewBean

        public void setViewBean​(ViewBean viewBean)
      • setApplicationEventBusBean

        public void setApplicationEventBusBean​(ApplicationEventBusBean applicationEventBusBean)
      • getFcVersion

        public String getFcVersion()
      • setSessionEventBusBean

        public void setSessionEventBusBean​(SessionEventBusBean sessionEventBusBean)
      • setCurrentMailData

        public void setCurrentMailData​(MandantMailData currentMailData)
      • setCurrentLdapData

        public void setCurrentLdapData​(MandantLdapData currentLdapData)
      • initViewBean

        public void initViewBean()
      • listAvailableBackgrounds

        public void listAvailableBackgrounds()
      • getAvailableBackgrounds

        public File[] getAvailableBackgrounds()
      • setAvailableBackgrounds

        public void setAvailableBackgrounds​(File[] availableBackgrounds)
      • getAvailableBackgroundColors

        public String[] getAvailableBackgroundColors()
      • setAvailableBackgroundColors

        public void setAvailableBackgroundColors​(String[] availableBackgroundColors)
      • initViewProperties

        public void initViewProperties()
      • initContextDependentProperties

        public abstract void initContextDependentProperties()
      • initMailLdapData

        public abstract void initMailLdapData​(Mandant client)
        Initializes the mail and LDAP data for the given client.
        Parameters:
        client - The current client.
      • isMailServerConfigured

        public abstract boolean isMailServerConfigured()
        Returns:
        Whether at least one mail server (client mail server or system mail server) was configured.
      • isMasterServer

        public abstract boolean isMasterServer()
      • isShowTopbarClientChooser

        public abstract boolean isShowTopbarClientChooser()
        Returns:
        Whether the client chooser in the topbar should be shown. The logic is different between the frontend and the master server: The master server needs to check whether database updates are running and more, which needs some classes available only on the master server. The only view available on the frontend server is the inbox, and here the client chooser is not shown.