Package org.cxbox.model.core.service
Class SystemSettingsImpl
- java.lang.Object
-
- org.cxbox.model.core.service.SystemSettingsImpl
-
- All Implemented Interfaces:
SystemSettings
@DependsOn("deploymentTransactionSupport") @Service("systemSettings") public class SystemSettingsImpl extends Object implements SystemSettings
-
-
Field Summary
-
Fields inherited from interface org.cxbox.api.system.SystemSettings
instance, SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description SystemSettingsImpl(JpaDao jpaDao, org.springframework.context.ApplicationEventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBooleanValue(LOV key)intgetIntegerValue(LOV key, int defaultValue)List<String>getListValue(LOV key)longgetLongValue(LOV key, long defaultValue)StringgetValue(LOV key)StringgetValue(LOV key, String defaultValue)voidreload()Stream<? extends org.apache.commons.lang3.tuple.Pair<String,String>>select(Predicate<String> predicate)
-
-
-
Constructor Detail
-
SystemSettingsImpl
public SystemSettingsImpl(JpaDao jpaDao, org.springframework.context.ApplicationEventPublisher eventPublisher)
-
-
Method Detail
-
getValue
public String getValue(LOV key)
- Specified by:
getValuein interfaceSystemSettings
-
getValue
public String getValue(LOV key, String defaultValue)
- Specified by:
getValuein interfaceSystemSettings
-
getBooleanValue
public boolean getBooleanValue(LOV key)
- Specified by:
getBooleanValuein interfaceSystemSettings
-
getIntegerValue
public int getIntegerValue(LOV key, int defaultValue)
- Specified by:
getIntegerValuein interfaceSystemSettings
-
getLongValue
public long getLongValue(LOV key, long defaultValue)
- Specified by:
getLongValuein interfaceSystemSettings
-
getListValue
public List<String> getListValue(LOV key)
- Specified by:
getListValuein interfaceSystemSettings
-
reload
public void reload()
- Specified by:
reloadin interfaceSystemSettings
-
-