Class XavaPreferences


  • public class XavaPreferences
    extends java.lang.Object
    Author:
    Javier Paniza
    • Method Detail

      • isReadOnlyAsLabel

        public boolean isReadOnlyAsLabel()
      • isShowDefaultActionInBottom

        public boolean isShowDefaultActionInBottom()
        Since:
        5.8
      • isShowCountInList

        public boolean isShowCountInList()
      • getSMTPHost

        public java.lang.String getSMTPHost()
      • getSMTPPort

        public int getSMTPPort()
      • getSMTPUserID

        public java.lang.String getSMTPUserID()
      • getSMTPUserPassword

        public java.lang.String getSMTPUserPassword()
      • getMapsTileProvider

        public java.lang.String getMapsTileProvider()
        Since:
        6.6
      • getMapsAttribution

        public java.lang.String getMapsAttribution()
        Since:
        6.6
      • getMapsTileSize

        public int getMapsTileSize()
        Since:
        6.6
      • getMapsZoomOffset

        public int getMapsZoomOffset()
        Since:
        6.6
      • getSMTPFromEmail

        public java.lang.String getSMTPFromEmail()
        Since:
        6.2
      • isSMTPHostTrusted

        public boolean isSMTPHostTrusted()
        Since:
        4.7
      • isSMTPStartTLSEnable

        public boolean isSMTPStartTLSEnable()
        Since:
        5.6
      • getCSVSeparator

        public java.lang.String getCSVSeparator()
      • getCSVEncoding

        public java.lang.String getCSVEncoding()
        Since:
        4.2.1
      • getReportParametersProviderClass

        public java.lang.String getReportParametersProviderClass()
      • getConnectionRefinerClass

        public java.lang.String getConnectionRefinerClass()
        Class to create an org.openxava.util.IConnectionRefiner to refine the JDBC connections just after get them from the data source and before use them.
        Since:
        5.6
      • getComponentParsersClasses

        public java.lang.String getComponentParsersClasses()
        Since:
        5.6
      • getAccessTrackerProvidersClasses

        public java.lang.String getAccessTrackerProvidersClasses()
        Since:
        5.9
      • getStyleClass

        public java.lang.String getStyleClass()
      • getStyleCSS

        public java.lang.String getStyleCSS()
      • getThemes

        public java.lang.String getThemes()
        Since:
        6.3
      • isEnterMovesToNextField

        public boolean isEnterMovesToNextField()
        Since:
        6.4
      • isMapFacadeAutoCommit

        public boolean isMapFacadeAutoCommit()
        Returns:
        true if isMapFacadeAsEJB() == true, otherwise the value of mapFacadeAutoCommit property.
      • isDetailOnBottomInCollections

        public boolean isDetailOnBottomInCollections()
      • isI18nWarnings

        public boolean isI18nWarnings()
      • isDuplicateComponentWarnings

        public boolean isDuplicateComponentWarnings()
      • isFailOnAnnotationMisuse

        public boolean isFailOnAnnotationMisuse()
      • getMaxSizeForTextEditor

        public int getMaxSizeForTextEditor()
      • getPageRowCount

        public int getPageRowCount()
      • getCurrencySymbol

        public java.lang.String getCurrencySymbol()
        Since:
        7.4
      • getApplicationPort

        public int getApplicationPort()
        Since:
        6.4.2
      • setDuplicateComponentWarnings

        public void setDuplicateComponentWarnings​(boolean duplicateComponentWarnings)
      • getJavaLoggingLevel

        public java.util.logging.Level getJavaLoggingLevel()
      • getHibernateJavaLoggingLevel

        public java.util.logging.Level getHibernateJavaLoggingLevel()
      • isButtonsForNoImageActions

        public boolean isButtonsForNoImageActions()
        If true when an action has no image it uses a button for display it, else it uses a link.

        The default value is false, that is, by default links for displaying no image actions.

      • isToUpperForStringArgumentsInConditions

        public boolean isToUpperForStringArgumentsInConditions()
        If true a upper case conversions will applied to string arguments for conditions in list and collections.

        If true the searching using list or collections are more flexible (the user can use indistinctly upper or lower case) but can be slower in some databases (because they cannot use index). The default value is true.

      • isShowFilterByDefaultInList

        public boolean isShowFilterByDefaultInList()
        If true filter is show by default for list on init.

        The user always have the option to show or hide the filter.
        The default value is true.

      • getDefaultPersistenceUnit

        public java.lang.String getDefaultPersistenceUnit()
      • isGenerateDefaultModules

        public boolean isGenerateDefaultModules()
      • getDefaultLabelFormat

        public int getDefaultLabelFormat()
      • getDefaultLabelStyle

        public java.lang.String getDefaultLabelStyle()
      • getHelpPrefix

        public java.lang.String getHelpPrefix()
        Since:
        4m5
      • getHelpSuffix

        public java.lang.String getHelpSuffix()
        Since:
        4m5
      • getDefaultModeController

        public java.lang.String getDefaultModeController()
        Since:
        4m5
      • isTurnOffWebSecurity

        public boolean isTurnOffWebSecurity()
        Since:
        7.2
      • isUnsafeEvalInScripts

        public boolean isUnsafeEvalInScripts()
        Since:
        7.2
      • isUseIconsInsteadOfImages

        public boolean isUseIconsInsteadOfImages()
        Since:
        5.4
      • isHelpInNewWindow

        public boolean isHelpInNewWindow()
        Since:
        4m5
      • isHelpAvailable

        public boolean isHelpAvailable()
        Since:
        5.6
      • isFlowLayout

        public boolean isFlowLayout()
        Since:
        5.7
      • isCustomizeList

        public boolean isCustomizeList()
        Since:
        4m5
      • isResizeColumns

        public boolean isResizeColumns()
        Since:
        4m5
      • isSaveAndStayForCollections

        public boolean isSaveAndStayForCollections()
        Since:
        4m6
      • isShowLabelsForToolBarActions

        public boolean isShowLabelsForToolBarActions()
        Since:
        4m6
      • isIgnoreAccentsForStringArgumentsInConditions

        public boolean isIgnoreAccentsForStringArgumentsInConditions()
        Since:
        4m6 If true it ignore accents to string arguments for conditions in list and collections.

        The default value is false.

      • isSummationInList

        public boolean isSummationInList()
        Since:
        4.3
      • isShowIconForViewReadOnly

        public boolean isShowIconForViewReadOnly()
        Since:
        4.6
      • isAlignedByColumns

        public boolean isAlignedByColumns()
        Since:
        4.7.1
      • isFilterOnChange

        public boolean isFilterOnChange()
        Since:
        4.8
      • getFilePersistorClass

        public java.lang.String getFilePersistorClass()
        Since:
        5.0
      • getFilesPath

        public java.lang.String getFilesPath()
        Since:
        5.0
      • getDefaultDescriptionPropertiesValueForDescriptionsList

        public java.lang.String[] getDefaultDescriptionPropertiesValueForDescriptionsList()
        Since:
        7.1
      • getTrustedHostsForImages

        public java.lang.String getTrustedHostsForImages()
        Since:
        7.1.2
      • getTrustedHostsForScripts

        public java.lang.String getTrustedHostsForScripts()
        Since:
        7.1.2
      • getTrustedHostsForStyles

        public java.lang.String getTrustedHostsForStyles()
        Since:
        7.1.2
      • getTrustedHostsForFrames

        public java.lang.String getTrustedHostsForFrames()
        Since:
        7.1.2