Class ConfParamServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.keymaster.rest.cxf.service.ConfParamServiceImpl
-
- All Implemented Interfaces:
Serializable,ConfParamService
@Service public class ConfParamServiceImpl extends Object implements ConfParamService
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static LoggerLOGprotected ConfParamLogiclogic
-
Constructor Summary
Constructors Constructor Description ConfParamServiceImpl(ConfParamLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responseget(String key)Returns the value(s) of the given conf parameter, if defined.Map<String,Object>list()Returns the full list of defined conf parameters, with values.voidremove(String key)Deletes the conf parameter matching the provided key.voidset(String key, InputStream value)Sets the value(s) for the given conf parameter.
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
logic
protected final ConfParamLogic logic
-
-
Constructor Detail
-
ConfParamServiceImpl
public ConfParamServiceImpl(ConfParamLogic logic)
-
-
Method Detail
-
list
public Map<String,Object> list()
Description copied from interface:ConfParamServiceReturns the full list of defined conf parameters, with values.- Specified by:
listin interfaceConfParamService- Returns:
- full list of defined conf parameters, with values
-
get
public javax.ws.rs.core.Response get(String key)
Description copied from interface:ConfParamServiceReturns the value(s) of the given conf parameter, if defined.- Specified by:
getin interfaceConfParamService- Parameters:
key- conf parameter key- Returns:
- the value(s) of the given conf parameter, if defined
-
set
public void set(String key, InputStream value)
Description copied from interface:ConfParamServiceSets the value(s) for the given conf parameter.- Specified by:
setin interfaceConfParamService- Parameters:
key- conf parameter keyvalue- conf parameter value(s)
-
remove
public void remove(String key)
Description copied from interface:ConfParamServiceDeletes the conf parameter matching the provided key.- Specified by:
removein interfaceConfParamService- Parameters:
key- conf parameter key
-
-