Package io.jmix.ui

Class UiProperties

java.lang.Object
io.jmix.ui.UiProperties

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

    • UiProperties

      public UiProperties(boolean testMode, boolean performanceTestMode, @DefaultValue("false") boolean productionMode, @DefaultValue("TABBED") String appWindowMode, @DefaultValue("true") boolean compositeMenu, @DefaultValue("false") boolean allowAnonymousAccess, @DefaultValue("600") int jmxConsoleMBeanOperationTimeoutSec, @DefaultValue("1800") int httpSessionExpirationTimeoutSec, @DefaultValue("URL_ROUTES") UrlHandlingMode urlHandlingMode, @DefaultValue({"open","o"}) List<String> linkHandlerActions, @DefaultValue({"htm","html","jpg","png","jpeg","pdf"}) List<String> viewFileExtensions, @DefaultValue("102400") int saveExportedByteArrayDataThresholdBytes, @DefaultValue("31536000") long webJarResourcesCacheTime, @DefaultValue("5000") long backgroundTaskTimeoutCheckInterval, @DefaultValue("10000") Integer defaultMaxFetchSize, @Nullable Map<String,Integer> entityMaxFetchSize, @DefaultValue("50") Integer defaultPageSize, @Nullable Map<String,Integer> entityPageSize, @DefaultValue("20") int maxTabCount, @DefaultValue("true") boolean showBreadCrumbs, @DefaultValue("true") boolean defaultScreenCanBeClosed, String defaultScreenId, @DefaultValue("login") String loginScreenId, @DefaultValue("main") String mainScreenId, String initialScreenId, @DefaultValue("true") boolean localeSelectVisible, @DefaultValue("25") int mainTabCaptionLength)
  • Method Details

    • isTestMode

      public boolean isTestMode()
    • isPerformanceTestMode

      public boolean isPerformanceTestMode()
    • getAppWindowMode

      public String getAppWindowMode()
      See Also:
      • appWindowMode
    • getHttpSessionExpirationTimeoutSec

      public int getHttpSessionExpirationTimeoutSec()
      See Also:
      • httpSessionExpirationTimeoutSec
    • getUrlHandlingMode

      public UrlHandlingMode getUrlHandlingMode()
    • getLinkHandlerActions

      public List<String> getLinkHandlerActions()
    • isAllowAnonymousAccess

      public boolean isAllowAnonymousAccess()
    • isCompositeMenu

      public boolean isCompositeMenu()
    • getViewFileExtensions

      public List<String> getViewFileExtensions()
    • getSaveExportedByteArrayDataThresholdBytes

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

      public long getWebJarResourcesCacheTime()
      See Also:
      • webJarResourcesCacheTime
    • isProductionMode

      public boolean isProductionMode()
      See Also:
      • productionMode
    • getJmxConsoleMBeanOperationTimeoutSec

      public int getJmxConsoleMBeanOperationTimeoutSec()
      See Also:
      • jmxConsoleMBeanOperationTimeoutSec
    • getBackgroundTaskTimeoutCheckInterval

      public long getBackgroundTaskTimeoutCheckInterval()
      See Also:
      • backgroundTaskTimeoutCheckInterval
    • getDefaultMaxFetchSize

      public int getDefaultMaxFetchSize()
    • getEntityMaxFetchSize

      public int getEntityMaxFetchSize(String entityName)
    • getDefaultPageSize

      public int getDefaultPageSize()
    • getEntityPageSize

      public int getEntityPageSize(String entityName)
    • getMaxTabCount

      public int getMaxTabCount()
      See Also:
      • maxTabCount
    • isShowBreadCrumbs

      public boolean isShowBreadCrumbs()
      See Also:
      • showBreadCrumbs
    • isDefaultScreenCanBeClosed

      public boolean isDefaultScreenCanBeClosed()
      See Also:
      • defaultScreenCanBeClosed
    • getDefaultScreenId

      public String getDefaultScreenId()
      See Also:
      • defaultScreenId
    • getLoginScreenId

      public String getLoginScreenId()
      See Also:
      • loginScreenId
    • getMainScreenId

      public String getMainScreenId()
      See Also:
      • mainScreenId
    • getInitialScreenId

      public String getInitialScreenId()
      See Also:
      • initialScreenId
    • getMainTabCaptionLength

      public int getMainTabCaptionLength()
      See Also:
      • mainTabCaptionLength
    • isLocaleSelectVisible

      public boolean isLocaleSelectVisible()
      See Also:
      • localeSelectVisible