Class WAConfigServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.wa.WAConfigServiceImpl
-
- All Implemented Interfaces:
JAXRSService
,WAConfigService
@Service public class WAConfigServiceImpl extends AbstractService implements WAConfigService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.syncope.common.rest.api.service.wa.WAConfigService
WAConfigService.PushSubject
-
-
Field Summary
Fields Modifier and Type Field Description protected WAConfigLogic
logic
-
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
-
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
-
Constructor Summary
Constructors Constructor Description WAConfigServiceImpl(WAConfigLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String schema)
Deletes the configuration parameter with matching schema.Attr
get(String schema)
Returns configuration parameter with matching schema.List<Attr>
list()
void
pushToWA(WAConfigService.PushSubject subject, List<String> services)
Push to WA according to the provided parameters.void
set(Attr value)
Creates / updates the configuration parameter with the given schema.-
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getOrderByClauses, getPreference, isNullPriorityAsync, modificationResponse
-
-
-
-
Field Detail
-
logic
protected final WAConfigLogic logic
-
-
Constructor Detail
-
WAConfigServiceImpl
public WAConfigServiceImpl(WAConfigLogic logic)
-
-
Method Detail
-
list
public List<Attr> list()
- Specified by:
list
in interfaceWAConfigService
-
delete
public void delete(String schema)
Description copied from interface:WAConfigService
Deletes the configuration parameter with matching schema.- Specified by:
delete
in interfaceWAConfigService
- Parameters:
schema
- configuration parameter schema
-
get
public Attr get(String schema)
Description copied from interface:WAConfigService
Returns configuration parameter with matching schema.- Specified by:
get
in interfaceWAConfigService
- Parameters:
schema
- identifier of configuration to be read- Returns:
- configuration parameter with matching schema
-
set
public void set(Attr value)
Description copied from interface:WAConfigService
Creates / updates the configuration parameter with the given schema.- Specified by:
set
in interfaceWAConfigService
- Parameters:
value
- parameter value
-
pushToWA
public void pushToWA(WAConfigService.PushSubject subject, List<String> services)
Description copied from interface:WAConfigService
Push to WA according to the provided parameters.- Specified by:
pushToWA
in interfaceWAConfigService
- Parameters:
subject
- what is to be triggered for refresh on WAservices
- WA instances to trigger; all if none specified
-
-