@Component public class DefaultSettingService extends Object implements SettingService
| Constructor and Description |
|---|
DefaultSettingService(SettingClient settingClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSetting(String name,
String value) |
void |
deleteSetting(String name) |
org.nhindirect.config.model.Setting |
getSetting(String name) |
Collection<org.nhindirect.config.model.Setting> |
getSettings() |
void |
setSettingClient(SettingClient settingClient) |
void |
updateSetting(String name,
String value) |
public DefaultSettingService(SettingClient settingClient)
@Autowired public void setSettingClient(SettingClient settingClient)
public Collection<org.nhindirect.config.model.Setting> getSettings() throws org.nhindirect.common.rest.exceptions.ServiceException
getSettings in interface SettingServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic org.nhindirect.config.model.Setting getSetting(String name) throws org.nhindirect.common.rest.exceptions.ServiceException
getSetting in interface SettingServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void addSetting(String name, String value) throws org.nhindirect.common.rest.exceptions.ServiceException
addSetting in interface SettingServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void updateSetting(String name, String value) throws org.nhindirect.common.rest.exceptions.ServiceException
updateSetting in interface SettingServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteSetting(String name) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteSetting in interface SettingServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.