net.sf.shineframework.server.services.impl
Class ConfigurationServiceImpl
java.lang.Object
net.sf.shineframework.server.services.BaseService
net.sf.shineframework.server.services.impl.ConfigurationServiceImpl
- All Implemented Interfaces:
- ConfigurationService
public class ConfigurationServiceImpl
- extends BaseService
- implements ConfigurationService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationServiceImpl
public ConfigurationServiceImpl()
addConfiguration
@Transactional
public Configuration addConfiguration(java.lang.String name,
java.lang.String value)
- Specified by:
addConfiguration
in interface ConfigurationService
addConfiguration
@Transactional
public Configuration addConfiguration(java.lang.String name,
java.lang.String value,
java.lang.String defaultValue)
- Specified by:
addConfiguration
in interface ConfigurationService
getAllConfigurations
@Transactional(readOnly=true)
public java.util.Collection<Configuration> getAllConfigurations()
- Specified by:
getAllConfigurations
in interface ConfigurationService
getConfigurationDao
public NamedDao getConfigurationDao()
getProperty
@Transactional(readOnly=true)
public java.lang.String getProperty(java.lang.String name)
- Specified by:
getProperty
in interface ConfigurationService
getPropertyAsBoolean
@Transactional(readOnly=true)
public boolean getPropertyAsBoolean(java.lang.String name)
- Specified by:
getPropertyAsBoolean
in interface ConfigurationService
getPropertyAsConfiguration
@Transactional(readOnly=true)
public Configuration getPropertyAsConfiguration(java.lang.String name)
- Specified by:
getPropertyAsConfiguration
in interface ConfigurationService
getPropertyAsInt
@Transactional(readOnly=true)
public int getPropertyAsInt(java.lang.String name)
- Specified by:
getPropertyAsInt
in interface ConfigurationService
getPropertyAsInteger
@Transactional(readOnly=true)
public java.lang.Integer getPropertyAsInteger(java.lang.String name)
- Specified by:
getPropertyAsInteger
in interface ConfigurationService
setConfigurationDao
public void setConfigurationDao(NamedDao<Configuration> configurationDao)
setPropertyValue
@Transactional
public void setPropertyValue(java.lang.String name,
java.lang.String value)
- Specified by:
setPropertyValue
in interface ConfigurationService
createOrReplaceProperty
@Transactional
public void createOrReplaceProperty(java.lang.String name,
java.lang.String value,
java.lang.String defaultValue)
- Specified by:
createOrReplaceProperty
in interface ConfigurationService
Copyright © 2007 sourceforge.net. All Rights Reserved.