public class AdminSettingService
extends org.youngmonkeys.ezyplatform.service.DefaultSettingService
| Constructor and Description |
|---|
AdminSettingService(org.youngmonkeys.ezyplatform.concurrent.Scheduler scheduler,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
AdminFileSystemManager fileSystemManager,
AdminSettingRepository settingRepository,
AdminModelToEntityConverter modelToEntityConverter,
AdminEntityToModelConverter entityToModelConverter) |
addValueConverter, cacheValueIfNotNull, convertValue, decryptValue, decryptValue, getAndParseValue, getCachedValue, getChangedSetting, getDecryptionValue, getEncryptionKey, getObjectValue, getSettingValue, scheduleCacheValue, watchLastUpdatedTime, watchLastUpdatedTimeAndCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainSetting, getAdminDateFormat, getAdminDateTimeFormat, getArrayValue, getBooleanValue, getBooleanValue, getCachedValue, getIntValue, getIntValue, getListStringValue, getListStringValue, getListValue, getLongValue, getLongValue, getObjectValue, getObjectValueOrDefault, getPasswordValue, getSetStringValue, getSetStringValue, getSetValue, getTextValue, getTextValue, getUserTokenExpiredTimeInDay, getWebDateFormat, getWebDateTimeFormat, getWebManagementUrl, getWebSiteName, getWebsocketUrl, getWebUrl, isAllowSendStatisticsData, resolveAdminUri, resolveWebManagementUri, resolveWebUri, scheduleCacheValue, watchLastUpdatedTime, watchLastUpdatedTimeAndCachepublic AdminSettingService(org.youngmonkeys.ezyplatform.concurrent.Scheduler scheduler,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
AdminFileSystemManager fileSystemManager,
AdminSettingRepository settingRepository,
AdminModelToEntityConverter modelToEntityConverter,
AdminEntityToModelConverter entityToModelConverter)
protected void watchEncryptionKeysFile()
watchEncryptionKeysFile in class org.youngmonkeys.ezyplatform.service.DefaultSettingServicepublic void setLastUpdateTime(String settingName)
public void setLastUpdateTime(String settingName, long time)
public void setArrayValue(String settingName, Collection<?> array)
public void setAdminDateFormat(String format)
public void setAdminDateTimeFormat(String format)
public void setWebDateFormat(String format)
public void setWebDateTimeFormat(String format)
public void setAdminUrl(String webUrl)
public void setWebUrl(String webUrl)
public void setWebManagementUrl(String webManagementUrl)
public void setWebSocketUrl(String webSocketUrl)
public void saveEncryptionValue(SaveSettingModel model)
public void saveSetting(SaveSettingModel model)
public SettingModel addNewSetting(SaveSettingModel model)
public void addNewSettingIfNotExists(SaveSettingModel model)
public void addNewSettingIfNotExists(SaveSettingModel model, boolean setLastUpdateTimeIfNotExists)
public void removeSetting(long settingId)
public void removeSetting(String settingName)
public boolean isSocketEnable()
public long countAllSettings()
public List<SettingModel> getAllSettings()
public long getAdminTokenExpiredTimeInDay()
public long getMaxUploadFileSize()
public long getMaxProjectBundleFileSize()
public String getAdminUrl()
public void saveRegularSettings(RegularSettingsModel model)
public RegularSettingsModel getRegularSettings()
public void saveAdminLoginSettings(AdminLoginSettingsModel model)
public org.youngmonkeys.ezyplatform.rx.RxOperation getAdminLoginSettings()
public int getAdminMaxLoginFailures()
public long getAdminResetPasswordTokenExpiredInDay()
public void changeEncryptionKey(String newEncryptionKey, boolean reEncrypt)
Copyright © 2024 Young Monkeys. All rights reserved.