|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.store.dao.impl.SettingDaoImpl
@Repository public class SettingDaoImpl
Implementing class for Setting DAO methods.
| Constructor Summary | |
|---|---|
SettingDaoImpl()
|
|
| Method Summary | |
|---|---|
void |
add(String name,
String value)
Adds a new setting. |
void |
delete(Collection<String> names)
Delete a set of settings with the given names. |
Collection<Setting> |
getAll()
Get all settings. |
Collection<Setting> |
getByNames(Collection<String> names)
Get a collection of settings by names. |
void |
update(String name,
String value)
Updates a setting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SettingDaoImpl()
| Method Detail |
|---|
@Transactional(readOnly=false)
public void add(String name,
String value)
add in interface SettingDaoname - The name of the setting to add.value - The value of the setting to add.@Transactional(readOnly=false) public void delete(Collection<String> names)
delete in interface SettingDaonames - The names of the settings to delete.@Transactional(readOnly=true) public Collection<Setting> getAll()
getAll in interface SettingDao@Transactional(readOnly=true) public Collection<Setting> getByNames(Collection<String> names)
getByNames in interface SettingDaonames - The names to search for.
@Transactional(readOnly=false)
public void update(String name,
String value)
update in interface SettingDaoname - The name of the setting to update.value - The value of the setting to update.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||