Class ApplicationConfig

java.lang.Object
com.priint.pubserver.plannerengine.config.ApplicationConfig
All Implemented Interfaces:
MergableConfig<ApplicationConfig>, Serializable

public class ApplicationConfig extends Object implements MergableConfig<ApplicationConfig>, Serializable
This class is used in new UI and keeps application configuration
See Also:
  • Field Details

    • favIcon

      public String favIcon
      favicon file path
    • backgroundImg

      public String backgroundImg
      Background file path
    • theme

      public Theme theme
      Palette colors
    • defaultLanguage

      public String defaultLanguage
      Used in AuthService login window, if language is not set in LocalStorage, default value "en"
  • Constructor Details

    • ApplicationConfig

      public ApplicationConfig()
  • Method Details

    • getWindowSettings

      public List<Window> getWindowSettings()
    • setWindowSettings

      public void setWindowSettings(List<Window> windows)
    • getFavIcon

      public String getFavIcon()
    • setFavIcon

      public void setFavIcon(String favIcon)
    • getLogo

      public String getLogo()
    • setLogo

      public void setLogo(String logo)
    • getBackgroundImg

      public String getBackgroundImg()
    • setBackgroundImg

      public void setBackgroundImg(String backgroundImg)
    • getTheme

      public Theme getTheme()
    • setTheme

      public void setTheme(Theme theme)
    • getLoginLogo

      public String getLoginLogo()
    • setLoginLogo

      public void setLoginLogo(String loginLogo)
    • getDefaultLanguage

      public String getDefaultLanguage()
    • setDefaultLanguage

      public void setDefaultLanguage(String defaultLanguage)
    • mergeWithCustom

      public ApplicationConfig mergeWithCustom(ApplicationConfig customConfig)
      Description copied from interface: MergableConfig
      Merges this configuration with a second (custom) configuration. If settings are defined in the second configuration they will override the settings of the current one.
      Specified by:
      mergeWithCustom in interface MergableConfig<ApplicationConfig>
      Returns:
      merged configuration