@DependsOn(value="deploymentTransactionSupport") @Service(value="systemSettings") public class SystemSettingsImpl extends Object implements SystemSettings
instance, SERVICE_NAME| Constructor and Description |
|---|
SystemSettingsImpl(JpaDao jpaDao,
org.springframework.context.ApplicationEventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanValue(LOV key) |
int |
getIntegerValue(LOV key,
int defaultValue) |
List<String> |
getListValue(LOV key) |
long |
getLongValue(LOV key,
long defaultValue) |
String |
getValue(LOV key) |
String |
getValue(LOV key,
String defaultValue) |
void |
reload() |
Stream<? extends org.apache.commons.lang3.tuple.Pair<String,String>> |
select(Predicate<String> predicate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsystemSettingspublic SystemSettingsImpl(JpaDao jpaDao, org.springframework.context.ApplicationEventPublisher eventPublisher)
public String getValue(LOV key)
getValue in interface SystemSettingspublic String getValue(LOV key, String defaultValue)
getValue in interface SystemSettingspublic boolean getBooleanValue(LOV key)
getBooleanValue in interface SystemSettingspublic int getIntegerValue(LOV key, int defaultValue)
getIntegerValue in interface SystemSettingspublic long getLongValue(LOV key, long defaultValue)
getLongValue in interface SystemSettingspublic List<String> getListValue(LOV key)
getListValue in interface SystemSettingspublic void reload()
reload in interface SystemSettingsCopyright © 2018–2021 Tesler. All rights reserved.