Package org.cxbox.meta
Class SystemSettingsImpl
java.lang.Object
org.cxbox.meta.SystemSettingsImpl
- All Implemented Interfaces:
org.cxbox.api.system.SystemSettings
@DependsOn("deploymentTransactionSupport")
@Service("systemSettings")
public class SystemSettingsImpl
extends Object
implements org.cxbox.api.system.SystemSettings
-
Field Summary
Fields inherited from interface org.cxbox.api.system.SystemSettings
instance, SERVICE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionSystemSettingsImpl(JpaDao jpaDao, org.springframework.context.ApplicationEventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanValue(org.cxbox.api.data.dictionary.LOV key) intgetIntegerValue(org.cxbox.api.data.dictionary.LOV key, int defaultValue) getListValue(org.cxbox.api.data.dictionary.LOV key) longgetLongValue(org.cxbox.api.data.dictionary.LOV key, long defaultValue) getValue(org.cxbox.api.data.dictionary.LOV key) voidreload()
-
Constructor Details
-
SystemSettingsImpl
public SystemSettingsImpl(JpaDao jpaDao, org.springframework.context.ApplicationEventPublisher eventPublisher)
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceorg.cxbox.api.system.SystemSettings
-
getValue
- Specified by:
getValuein interfaceorg.cxbox.api.system.SystemSettings
-
getBooleanValue
public boolean getBooleanValue(org.cxbox.api.data.dictionary.LOV key) - Specified by:
getBooleanValuein interfaceorg.cxbox.api.system.SystemSettings
-
getIntegerValue
public int getIntegerValue(org.cxbox.api.data.dictionary.LOV key, int defaultValue) - Specified by:
getIntegerValuein interfaceorg.cxbox.api.system.SystemSettings
-
getLongValue
public long getLongValue(org.cxbox.api.data.dictionary.LOV key, long defaultValue) - Specified by:
getLongValuein interfaceorg.cxbox.api.system.SystemSettings
-
getListValue
- Specified by:
getListValuein interfaceorg.cxbox.api.system.SystemSettings
-
reload
public void reload()- Specified by:
reloadin interfaceorg.cxbox.api.system.SystemSettings
-
select
public Stream<? extends org.apache.commons.lang3.tuple.Pair<String,String>> select(Predicate<String> predicate) - Specified by:
selectin interfaceorg.cxbox.api.system.SystemSettings
-