Date: Fri, 29 Mar 2024 06:10:58 +0000 (UTC) Message-ID: <1513057269.140396.1711692658948@ip-10-0-0-39.us-west-2.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_140395_1278440585.1711692658942" ------=_Part_140395_1278440585.1711692658942 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
import = org.joget.commons.util.SetupManager; import org.joget.apps.app.service.AppUtil; SetupManager setupManager =3D (SetupManager) AppUtil.getApplicationContext(= ).getBean("setupManager"); //Get the system setting String systemDateFormat =3D setupManager.getSettingValue("systemDateFormat"= );
public static final java.lang.String DI= RECTORY_PROFILES =3D "app_profiles";
public static final java.lang.String MA= STER_LOGIN_PASSWORD =3D "masterLoginPassword";
Property key use to retrieve the password= of a master login
public static final java.lang.String SE= CURE_VALUE =3D "****SECURE VALUE*****";
A dummy value used to replace password wh= en render to the user.
public static final java.lang.String SY= STEM_PROPERTY_WFLOW_HOME =3D "wflow.home";
A system property used to set the directo= ry of wflow folder.
public void clearCache()
Method used by system to clear cache
public void deleteSetting(java.lang.Str= ing property)
Delete system setting by property key.
public static java.lang.String getBaseD= irectory()
Gets the path of base storing folder for = a profile
public static java.lang.String getBaseS= haredDirectory()
Gets the path of wflow folder
public org.joget.commons.spring.model.S= etting getSettingByProperty(java.lang.String property)
Gets system setting by property key. Cach= ed if possible.
public java.util.Collection<org.joge= t.commons.spring.model.Setting> getSettingList(java.lang.String property= Filter, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer st= art, 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 SetupDa= o implementation
public void refreshCache()
Method used by system to refresh cache&nb= sp;
public void saveSetting(org.joget.commo= ns.spring.model.Setting setting)
Save a system setting
public void setCache(net.sf.ehcache.Cac= he cache)
Method used by system to set cache object=
public void setSetupDao(org.joget.commo= ns.util.SetupDao setupDao)
Method used by system to sets the SetupDa= o implementation