Class UiProperties

java.lang.Object
io.jmix.flowui.UiProperties

@ConfigurationProperties(prefix="jmix.ui") public class UiProperties extends Object
  • Constructor Details

    • UiProperties

      public UiProperties(@DefaultValue("login") String loginViewId, @DefaultValue("main") String mainViewId, @Nullable String defaultViewId, @DefaultValue("true") boolean compositeMenu, @DefaultValue("10000") Integer defaultMaxFetchSize, @Nullable Map<String,Integer> entityMaxFetchSize, @DefaultValue("50") Integer defaultPageSize, @Nullable Map<String,Integer> entityPageSize, @DefaultValue({"htm","html","jpg","png","jpeg","pdf"}) List<String> viewFileExtensions, @DefaultValue("102400") int saveExportedByteArrayDataThresholdBytes, @DefaultValue("true") boolean useSessionFixationProtection, @DefaultValue("true") boolean websocketRequestSecurityContextProvided)
  • Method Details

    • getLoginViewId

      public String getLoginViewId()
      See Also:
      • loginViewId
    • getMainViewId

      public String getMainViewId()
      See Also:
      • mainViewId
    • getDefaultViewId

      @Nullable public String getDefaultViewId()
      See Also:
      • defaultViewId
    • isCompositeMenu

      public boolean isCompositeMenu()
      See Also:
      • compositeMenu
    • getDefaultMaxFetchSize

      public int getDefaultMaxFetchSize()
    • getEntityMaxFetchSize

      public int getEntityMaxFetchSize(String entityName)
    • getDefaultPageSize

      public int getDefaultPageSize()
    • getEntityPageSize

      public int getEntityPageSize(String entityName)
    • getViewFileExtensions

      public List<String> getViewFileExtensions()
      See Also:
      • viewFileExtensions
    • getSaveExportedByteArrayDataThresholdBytes

      public int getSaveExportedByteArrayDataThresholdBytes()
      See Also:
      • saveExportedByteArrayDataThresholdBytes
    • isUseSessionFixationProtection

      public boolean isUseSessionFixationProtection()
      See Also:
      • useSessionFixationProtection
    • isWebsocketRequestSecurityContextProvided

      public boolean isWebsocketRequestSecurityContextProvided()
      See Also:
      • websocketRequestSecurityContextProvided