@Service(value="squashtest.core.configuration.ConfigurationService") @Transactional public class ConfigurationServiceImpl extends Object implements ConfigurationService
CASE_INSENSITIVE_LOGIN_FEATURE_ENABLED, MILESTONE_FEATURE_ENABLED| Constructor and Description |
|---|
ConfigurationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
createNewConfiguration(String key,
String value) |
String |
findConfiguration(String key) |
boolean |
getBoolean(String key)
As per interface spec, when stored value is "true" (ignoring case), this returns
true, otherwise it
returns false |
void |
set(String key,
boolean value)
Sets the given boolean config property.
|
void |
set(String key,
String value)
Sets the given string config property.
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
void |
updateConfiguration(String key,
String value) |
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public void createNewConfiguration(String key, String value)
createNewConfiguration in interface ConfigurationServicepublic void updateConfiguration(String key, String value)
updateConfiguration in interface ConfigurationServicepublic String findConfiguration(String key)
findConfiguration in interface ConfigurationServicepublic boolean getBoolean(String key)
true, otherwise it
returns falsegetBoolean in interface ConfigurationServiceConfigurationService.getBoolean(java.lang.String)public void set(String key, boolean value)
ConfigurationServiceset in interface ConfigurationServiceConfigurationService.set(java.lang.String, boolean)public void set(String key, String value)
ConfigurationServiceset in interface ConfigurationServiceConfigurationService.set(java.lang.String, java.lang.String)Copyright © 2010-2015 Henix, henix.fr. All Rights Reserved.