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 Logger
LOG
protected ConfParamLogic
logic
-
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.Response
get(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.void
remove(String key)
Deletes the conf parameter matching the provided key.void
set(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:ConfParamService
Returns the full list of defined conf parameters, with values.- Specified by:
list
in interfaceConfParamService
- Returns:
- full list of defined conf parameters, with values
-
get
public javax.ws.rs.core.Response get(String key)
Description copied from interface:ConfParamService
Returns the value(s) of the given conf parameter, if defined.- Specified by:
get
in 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:ConfParamService
Sets the value(s) for the given conf parameter.- Specified by:
set
in interfaceConfParamService
- Parameters:
key
- conf parameter keyvalue
- conf parameter value(s)
-
remove
public void remove(String key)
Description copied from interface:ConfParamService
Deletes the conf parameter matching the provided key.- Specified by:
remove
in interfaceConfParamService
- Parameters:
key
- conf parameter key
-
-