Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import org.joget.commons.util.SetupManager; import org.joget.apps.app.service.AppUtil; SetupManager setupManager = (SetupManager) AppUtil.getApplicationContext().getBean("setupManager"); //Get the system setting String systemDateFormat = setupManager.getSettingValue("systemDateFormat");
public static final java.lang.String DIRECTORY_PROFILES = "app_profiles";
public static final java.lang.String MASTER_LOGIN_PASSWORD = "masterLoginPassword";
Property key use to retrieve the password of a master login
public static final java.lang.String SECURE_VALUE = "****SECURE VALUE*****";
A dummy value used to replace password when render to the user.
public static final java.lang.String SYSTEM_PROPERTY_WFLOW_HOME = "wflow.home";
A system property used to set the directory of wflow folder.
public void clearCache()
Method used by system to clear cache
public void deleteSetting(java.lang.String property)
Delete system setting by property key.
public static java.lang.String getBaseDirectory()
Gets the path of base storing folder for a profile
public static java.lang.String getBaseSharedDirectory()
Gets the path of wflow folder
public org.joget.commons.spring.model.Setting getSettingByProperty(java.lang.String property)
Gets system setting by property key. Cached if possible.
public java.util.Collection<org.joget.commons.spring.model.Setting> getSettingList(java.lang.String propertyFilter, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)
Retrieve a list of System settings based on search criteria
public java.lang.String getSettingValue(java.lang.String property)
Gets the system setting value by property key. Cached if possible.
public org.joget.commons.util.SetupDao getSetupDao()
Method used by system to gets the SetupDao implementation
public void refreshCache()
Method used by system to refresh cache
public void saveSetting(org.joget.commons.spring.model.Setting setting)
Save a system setting
public void setCache(net.sf.ehcache.Cache cache)
Method used by system to set cache object
public void setSetupDao(org.joget.commons.util.SetupDao setupDao)
Method used by system to sets the SetupDao implementation