ลักษณะ |
ตัวอย่างโค้ด |
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";
Folder name used to contains all profile folders for cloud installation. |
ชื่อโฟลเดอร์ที่ใช้เพื่อบรรจุโฟลเดอร์โปรไฟล์ทั้งหมดสำหรับการติดตั้งระบบคลาวด์ |
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.
คุณสมบัติระบบที่ใช้เพื่อตั้งค่าไดเรกทอรีของโฟลเดอร์ wflow |
กระบวนการ |
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
รับเส้นทางของโฟลเดอร์ wflow |
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
วิธีที่ระบบใช้ในการรับการติดตั้ง SetupDao |
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
วิธีที่ระบบใช้เพื่อตั้งค่าการใช้งาน SetupDao |