Class SystemParameters


  • public class SystemParameters
    extends java.lang.Object
    System parameters
    • Method Summary

      Modifier and Type Method Description
      static void clearCache()  
      static java.lang.String getBeanDir()
      Deprecated. 
      static java.lang.String getBinDir()
      Deprecated.
      Use Platform.getBinDir
      static java.lang.String getCacheDir()
      Deprecated.
      Use Platform.getCacheDir
      static java.lang.String getClassesDir()
      Deprecated.
      Use Platform.getClassesDir
      static java.lang.String getContentDir()
      Deprecated.
      Use Platform.getContentDir
      static java.lang.String getContextPath()
      Deprecated. 
      static java.lang.String getContextURL()
      Deprecated. 
      static java.lang.String getDocDir()
      Deprecated.
      Use Platform.getDocDir
      static long getDocDirMax()
      Deprecated.
      Use Platform.getDocDirMax
      static java.lang.String getDocLocalDir()
      Deprecated.
      Use Platform.getDocLocalDir
      static java.lang.String getExportDir()
      Deprecated.
      Use Platform.getExportDir
      static java.lang.String getExternalDocsDir()
      Deprecated.
      Use Platform.getExternalDocsDir
      static java.lang.String getHashAlgorithm()
      Get password hash algorithm
      static java.lang.String getHashEncoding()
      Get password hash encoding
      static java.lang.String getHashPassword()
      Deprecated. 
      static java.lang.String getImportDir()
      Deprecated.
      Use Platform.getImportDir
      static java.lang.String getIndexDir()
      Deprecated.
      Use Platform.getIndexDir
      static SystemParameters getInstance()
      Get instance
      static java.lang.String getLibsDir()
      Deprecated.
      Use Platform.getLibsDir
      static java.lang.String getLogDir()
      Deprecated.
      Use Platform.getLogDir
      static java.lang.String getMavenDir()
      Deprecated.
      Use Platform.getMavenDir
      static long getMaxUploadSize()
      Upload limit size (Mo)
      static int getPanelCharMax()
      Panels (tabs) max width in char
      static java.lang.String getProjectDir()
      Deprecated.
      Use Platform.getProjectDir
      static int getRailway()
      Get navigator bar size
      static java.lang.String getRecycleBinDir()
      Deprecated.
      Use Platform.getRecycleBinDir
      static java.lang.String getSrcDir()
      Deprecated.
      Use Platform.getSrcDir
      static java.lang.String getSubPackage()
      get subpackage specific class
      static java.lang.String getSystemParamId​(java.lang.String code)
      System parameter id
      static java.lang.String getTmpDir()
      Deprecated.
      Use Platform.getTmpDir
      static java.lang.String getWindowTitle()
      Set application title
      static boolean isAboutEnable()
      Is about dialog visible ?
      static boolean isAPIInterfaceEnable()
      Use API interface feature ?
      static boolean isCompletionEnable()
      Use completion feature ?
      static boolean isConvertWildcards()
      Convert wildcards
      static boolean isGITInterfaceEnable()
      Use GIT interface feature ?
      static boolean isHtmlEditorEnable()
      Deprecated.
      Use GrantCore.isHtmlEditorEnable
      static boolean isIOInterfaceEnable()
      Use I/O interface feature ?
      static boolean isPanelFilterEnable()
      Display filters on panels
      static boolean logDebug()
      Log debug ? SYSTEM:LOG_DEBUG=yes
      static boolean logDocument()
      Log document ? SYSTEM:LOG_DOCUMENT=yes
      static boolean logError()
      Log error ? SYSTEM:LOG_ERROR=yes
      static boolean logFatal()
      Log fatal ? SYSTEM:LOG_FATAL=yes
      static boolean logInfo()
      Log info ? SYSTEM:LOG_INFO=yes
      static boolean logObject()
      Log object ? SYSTEM:LOG_OBJECT=yes
      static boolean logSession()
      Log session ? SYSTEM:LOG_SESSION=yes
      static boolean logWarning()
      Log warn ? SYSTEM:LOG_WARN=yes
      static void setAbout​(boolean b)
      Set about dialog visible
      static void setAPIInterface​(boolean b)  
      static void setBeanDir​(java.lang.String dir)
      Deprecated. 
      static void setBinDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setBinDir
      static void setCacheDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setCacheDir
      static void setClassesDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setClassesDir
      static void setCompletion​(boolean b)  
      static void setContentDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setContentDir
      static void setContextPath​(java.lang.String p)
      Deprecated. 
      static void setContextURL​(java.lang.String u)
      Deprecated. 
      static void setConvertWildcards​(boolean b)  
      static void setDocDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setDocDir
      static void setDocDirMax​(long n)
      Deprecated.
      Use Platform.setDocDirMax
      static void setDocLocalDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setDocLocalDir
      static void setExportDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setExportDir
      static void setExternalDocsDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setExternalDocsDir
      static void setGITInterface​(boolean b)  
      static void setHashAlgorithm​(java.lang.String a)
      Set password hash algorithm
      static void setHashEncoding​(java.lang.String e)
      Set password hash encoding
      static void setHashPassword​(java.lang.String p)
      Deprecated. 
      static void setHtmlEditor​(boolean b)
      Deprecated.
      Use GrantCore.setHtmlEditor
      static void setImportDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setImportDir
      static void setIndexDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setIndexDir
      static void setIOInterface​(boolean b)  
      static void setLibsDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setLibsDir
      static void setLogDebug​(boolean b)  
      static void setLogDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setLogDir
      static void setLogDocument​(boolean b)  
      static void setLogError​(boolean b)  
      static void setLogFatal​(boolean b)  
      static void setLogInfo​(boolean b)  
      static void setLogObject​(boolean b)  
      static void setLogSession​(boolean b)  
      static void setLogWarning​(boolean b)  
      static void setMavenDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setMavenDir
      static void setMaxUploadSize​(long s)  
      static void setPanelCharMax​(int n)  
      static void setPanelFilter​(boolean b)  
      static void setProjectDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setProjectDir
      static void setRailway​(int p)
      Set navigator bar size
      static void setRecycleBinDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setRecycleBinDir
      static void setShowNavigator​(boolean p)
      Set show navigator bar
      static void setSrcDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setSrcDir
      static void setSubPackage​(java.lang.String sp)
      Set subpackage specific class
      static void setTmpDir​(java.lang.String dir)
      Deprecated.
      Use Platform.setTmpDir
      static void setWindowTitle​(java.lang.String t)
      Get application title
      static boolean showNavigator()
      Show navigator bar ?
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EASYMODE

        public static final java.lang.String EASYMODE
        Flag to activate Easy mode
        See Also:
        Constant Field Values
      • EASYMODE_PATCHES

        public static final java.lang.String EASYMODE_PATCHES
        Patch mode
        See Also:
        Constant Field Values
      • EASYMODE_DEFAULTAPPCODE

        public static final java.lang.String EASYMODE_DEFAULTAPPCODE
        Default application prefix
        See Also:
        Constant Field Values
      • EASYMODE_DEFAULTMODULENAME

        public static final java.lang.String EASYMODE_DEFAULTMODULENAME
        Default module name
        See Also:
        Constant Field Values
      • EASYMODE_DEFAULTGROUPNAME

        public static final java.lang.String EASYMODE_DEFAULTGROUPNAME
        Default group name
        See Also:
        Constant Field Values
      • EASYMODE_DEFAULTDOMAINNAME

        public static final java.lang.String EASYMODE_DEFAULTDOMAINNAME
        Default domain name
        See Also:
        Constant Field Values
      • EASYMODE_CLEARCACHE

        public static final java.lang.String EASYMODE_CLEARCACHE
        Auto clear cache
        See Also:
        Constant Field Values
      • MODULE_FILTER

        public static final java.lang.String MODULE_FILTER
        User module filtering
        See Also:
        Constant Field Values
      • MODULE_FILTER_ALL

        public static final java.lang.String MODULE_FILTER_ALL
        See Also:
        Constant Field Values
      • USE_OBJECT_PREFS

        public static final java.lang.String USE_OBJECT_PREFS
        Activate object preference
        See Also:
        Constant Field Values
      • LIST_PREFS

        public static final java.lang.String LIST_PREFS
        User list preferences
        See Also:
        Constant Field Values
      • SEARCH_PREFS

        public static final java.lang.String SEARCH_PREFS
        User list preferences
        See Also:
        Constant Field Values
      • ACTION_PREFS

        public static final java.lang.String ACTION_PREFS
        User action preferences
        See Also:
        Constant Field Values
      • EXTRA_PREFS

        public static final java.lang.String EXTRA_PREFS
        User extra preferences
        See Also:
        Constant Field Values
      • SCOPE_PREFS

        public static final java.lang.String SCOPE_PREFS
        User scope preferences
        See Also:
        Constant Field Values
      • EDITOR_PREFS

        public static final java.lang.String EDITOR_PREFS
        Legacy editor preferences
        See Also:
        Constant Field Values
      • UI_EDITOR_PREFS

        public static final java.lang.String UI_EDITOR_PREFS
        Responsive editor preferences
        See Also:
        Constant Field Values
      • SHORTCUT_PREFS

        public static final java.lang.String SHORTCUT_PREFS
        Shortcut preferences
        See Also:
        Constant Field Values
      • MENU_TREEVIEW

        public static final java.lang.String MENU_TREEVIEW
        Treeviews added in menu
        See Also:
        Constant Field Values
      • USE_UNDO_REDO

        public static final java.lang.String USE_UNDO_REDO
        System parameter to enable global Undo/Redo
        See Also:
        Constant Field Values
      • UNDOREDO_USER

        public static final java.lang.String UNDOREDO_USER
        Parameter to manage user undo/redo
        See Also:
        Constant Field Values
      • UNDOREDO_USER_POOL

        public static final java.lang.String UNDOREDO_USER_POOL
        Parameter to manage user undo/redo pool
        See Also:
        Constant Field Values
      • UNDOREDO_PATCH

        public static final java.lang.String UNDOREDO_PATCH
        Parameter to manage Patch XML
        See Also:
        Constant Field Values
      • DELETELIST_MSG

        public static final java.lang.String DELETELIST_MSG
        Delete list messages in object parameters
        See Also:
        Constant Field Values
      • EDITLIST_MSG

        public static final java.lang.String EDITLIST_MSG
        Edit list messages in object parameters
        See Also:
        Constant Field Values
      • EDITLIST_DATA

        public static final java.lang.String EDITLIST_DATA
        Edit list data in object parameters
        See Also:
        Constant Field Values
      • EMBEDDEDOBJ_MSG

        public static final java.lang.String EMBEDDEDOBJ_MSG
        Embedded object messages in object parameters
        See Also:
        Constant Field Values
      • EMBEDDEDOBJ_DATA

        public static final java.lang.String EMBEDDEDOBJ_DATA
        Embedded object data in object parameters
        See Also:
        Constant Field Values
      • CRON_RELOAD

        public static final java.lang.String CRON_RELOAD
        Cron last reload
        See Also:
        Constant Field Values
      • LAST_CLEAR_CACHE

        public static final java.lang.String LAST_CLEAR_CACHE
        Clear cache date time
        See Also:
        Constant Field Values
      • USER_CLEAR_CACHE

        public static final java.lang.String USER_CLEAR_CACHE
        Clear user cache date time
        See Also:
        Constant Field Values
      • FIREBASE_TOKENS

        public static final java.lang.String FIREBASE_TOKENS
        Firebase device tokens of user
        See Also:
        Constant Field Values
    • Method Detail

      • getInstance

        public static SystemParameters getInstance()
        Get instance
        Returns:
        singleton instance
      • setContextPath

        @Deprecated
        public static void setContextPath​(java.lang.String p)
        Deprecated.
      • getContextPath

        @Deprecated
        public static java.lang.String getContextPath()
        Deprecated.
      • setContextURL

        @Deprecated
        public static void setContextURL​(java.lang.String u)
        Deprecated.
      • getContextURL

        @Deprecated
        public static java.lang.String getContextURL()
        Deprecated.
      • getRailway

        public static int getRailway()
        Get navigator bar size
      • setRailway

        public static void setRailway​(int p)
        Set navigator bar size
      • showNavigator

        public static boolean showNavigator()
        Show navigator bar ?
      • setShowNavigator

        public static void setShowNavigator​(boolean p)
        Set show navigator bar
      • getBeanDir

        @Deprecated
        public static java.lang.String getBeanDir()
        Deprecated.
      • setBeanDir

        @Deprecated
        public static void setBeanDir​(java.lang.String dir)
        Deprecated.
      • getProjectDir

        @Deprecated
        public static java.lang.String getProjectDir()
        Deprecated.
        Use Platform.getProjectDir
      • setProjectDir

        @Deprecated
        public static void setProjectDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setProjectDir
      • getDocDir

        @Deprecated
        public static java.lang.String getDocDir()
        Deprecated.
        Use Platform.getDocDir
      • setDocDir

        @Deprecated
        public static void setDocDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setDocDir
      • getDocLocalDir

        @Deprecated
        public static java.lang.String getDocLocalDir()
        Deprecated.
        Use Platform.getDocLocalDir
      • setDocLocalDir

        @Deprecated
        public static void setDocLocalDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setDocLocalDir
      • getDocDirMax

        @Deprecated
        public static long getDocDirMax()
        Deprecated.
        Use Platform.getDocDirMax
      • setDocDirMax

        @Deprecated
        public static void setDocDirMax​(long n)
        Deprecated.
        Use Platform.setDocDirMax
      • getTmpDir

        @Deprecated
        public static java.lang.String getTmpDir()
        Deprecated.
        Use Platform.getTmpDir
      • setTmpDir

        @Deprecated
        public static void setTmpDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setTmpDir
      • getContentDir

        @Deprecated
        public static java.lang.String getContentDir()
        Deprecated.
        Use Platform.getContentDir
      • setContentDir

        @Deprecated
        public static void setContentDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setContentDir
      • getExternalDocsDir

        @Deprecated
        public static java.lang.String getExternalDocsDir()
        Deprecated.
        Use Platform.getExternalDocsDir
      • setExternalDocsDir

        @Deprecated
        public static void setExternalDocsDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setExternalDocsDir
      • getLogDir

        @Deprecated
        public static java.lang.String getLogDir()
        Deprecated.
        Use Platform.getLogDir
      • setLogDir

        @Deprecated
        public static void setLogDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setLogDir
      • getRecycleBinDir

        @Deprecated
        public static java.lang.String getRecycleBinDir()
        Deprecated.
        Use Platform.getRecycleBinDir
      • setRecycleBinDir

        @Deprecated
        public static void setRecycleBinDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setRecycleBinDir
      • getCacheDir

        @Deprecated
        public static java.lang.String getCacheDir()
        Deprecated.
        Use Platform.getCacheDir
      • setCacheDir

        @Deprecated
        public static void setCacheDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setCacheDir
      • getImportDir

        @Deprecated
        public static java.lang.String getImportDir()
        Deprecated.
        Use Platform.getImportDir
      • setImportDir

        @Deprecated
        public static void setImportDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setImportDir
      • getExportDir

        @Deprecated
        public static java.lang.String getExportDir()
        Deprecated.
        Use Platform.getExportDir
      • setExportDir

        @Deprecated
        public static void setExportDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setExportDir
      • getIndexDir

        @Deprecated
        public static java.lang.String getIndexDir()
        Deprecated.
        Use Platform.getIndexDir
      • setIndexDir

        @Deprecated
        public static void setIndexDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setIndexDir
      • getSrcDir

        @Deprecated
        public static java.lang.String getSrcDir()
        Deprecated.
        Use Platform.getSrcDir
      • setSrcDir

        @Deprecated
        public static void setSrcDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setSrcDir
      • getBinDir

        @Deprecated
        public static java.lang.String getBinDir()
        Deprecated.
        Use Platform.getBinDir
      • setBinDir

        @Deprecated
        public static void setBinDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setBinDir
      • getMavenDir

        @Deprecated
        public static java.lang.String getMavenDir()
        Deprecated.
        Use Platform.getMavenDir
      • setMavenDir

        @Deprecated
        public static void setMavenDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setMavenDir
      • getClassesDir

        @Deprecated
        public static java.lang.String getClassesDir()
        Deprecated.
        Use Platform.getClassesDir
      • setClassesDir

        @Deprecated
        public static void setClassesDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setClassesDir
      • getLibsDir

        @Deprecated
        public static java.lang.String getLibsDir()
        Deprecated.
        Use Platform.getLibsDir
      • setLibsDir

        @Deprecated
        public static void setLibsDir​(java.lang.String dir)
        Deprecated.
        Use Platform.setLibsDir
      • getSubPackage

        public static java.lang.String getSubPackage()
        get subpackage specific class
      • setSubPackage

        public static void setSubPackage​(java.lang.String sp)
        Set subpackage specific class
      • isAboutEnable

        public static boolean isAboutEnable()
        Is about dialog visible ?
      • setAbout

        public static void setAbout​(boolean b)
        Set about dialog visible
      • setWindowTitle

        public static void setWindowTitle​(java.lang.String t)
        Get application title
      • getWindowTitle

        public static java.lang.String getWindowTitle()
        Set application title
      • isPanelFilterEnable

        public static boolean isPanelFilterEnable()
        Display filters on panels
      • setPanelFilter

        public static void setPanelFilter​(boolean b)
      • getPanelCharMax

        public static int getPanelCharMax()
        Panels (tabs) max width in char
      • setPanelCharMax

        public static void setPanelCharMax​(int n)
      • isHtmlEditorEnable

        @Deprecated
        public static boolean isHtmlEditorEnable()
        Deprecated.
        Use GrantCore.isHtmlEditorEnable
      • setHtmlEditor

        @Deprecated
        public static void setHtmlEditor​(boolean b)
        Deprecated.
        Use GrantCore.setHtmlEditor
      • isCompletionEnable

        public static boolean isCompletionEnable()
        Use completion feature ?
      • setCompletion

        public static void setCompletion​(boolean b)
      • isIOInterfaceEnable

        public static boolean isIOInterfaceEnable()
        Use I/O interface feature ?
      • setIOInterface

        public static void setIOInterface​(boolean b)
      • isGITInterfaceEnable

        public static boolean isGITInterfaceEnable()
        Use GIT interface feature ?
      • setGITInterface

        public static void setGITInterface​(boolean b)
      • isAPIInterfaceEnable

        public static boolean isAPIInterfaceEnable()
        Use API interface feature ?
      • setAPIInterface

        public static void setAPIInterface​(boolean b)
      • getMaxUploadSize

        public static long getMaxUploadSize()
        Upload limit size (Mo)
      • setMaxUploadSize

        public static void setMaxUploadSize​(long s)
      • getHashPassword

        @Deprecated
        public static java.lang.String getHashPassword()
        Deprecated.
      • setHashPassword

        @Deprecated
        public static void setHashPassword​(java.lang.String p)
        Deprecated.
      • getHashAlgorithm

        public static java.lang.String getHashAlgorithm()
        Get password hash algorithm
      • setHashAlgorithm

        public static void setHashAlgorithm​(java.lang.String a)
        Set password hash algorithm
      • getHashEncoding

        public static java.lang.String getHashEncoding()
        Get password hash encoding
      • setHashEncoding

        public static void setHashEncoding​(java.lang.String e)
        Set password hash encoding
      • logSession

        public static boolean logSession()
        Log session ? SYSTEM:LOG_SESSION=yes
      • setLogSession

        public static void setLogSession​(boolean b)
      • logDebug

        public static boolean logDebug()
        Log debug ? SYSTEM:LOG_DEBUG=yes
      • setLogDebug

        public static void setLogDebug​(boolean b)
      • logInfo

        public static boolean logInfo()
        Log info ? SYSTEM:LOG_INFO=yes
      • setLogInfo

        public static void setLogInfo​(boolean b)
      • logWarning

        public static boolean logWarning()
        Log warn ? SYSTEM:LOG_WARN=yes
      • setLogWarning

        public static void setLogWarning​(boolean b)
      • logError

        public static boolean logError()
        Log error ? SYSTEM:LOG_ERROR=yes
      • setLogError

        public static void setLogError​(boolean b)
      • logFatal

        public static boolean logFatal()
        Log fatal ? SYSTEM:LOG_FATAL=yes
      • setLogFatal

        public static void setLogFatal​(boolean b)
      • logObject

        public static boolean logObject()
        Log object ? SYSTEM:LOG_OBJECT=yes
      • setLogObject

        public static void setLogObject​(boolean b)
      • logDocument

        public static boolean logDocument()
        Log document ? SYSTEM:LOG_DOCUMENT=yes
      • setLogDocument

        public static void setLogDocument​(boolean b)
      • isConvertWildcards

        public static boolean isConvertWildcards()
        Convert wildcards
      • setConvertWildcards

        public static void setConvertWildcards​(boolean b)
      • getSystemParamId

        public static java.lang.String getSystemParamId​(java.lang.String code)
        System parameter id
      • clearCache

        public static void clearCache()