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 WAConfigLogiclogic-
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 voiddelete(String schema)Deletes the configuration parameter with matching schema.Attrget(String schema)Returns configuration parameter with matching schema.List<Attr>list()voidpushToWA(WAConfigService.PushSubject subject, List<String> services)Push to WA according to the provided parameters.voidset(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:
listin interfaceWAConfigService
-
delete
public void delete(String schema)
Description copied from interface:WAConfigServiceDeletes the configuration parameter with matching schema.- Specified by:
deletein interfaceWAConfigService- Parameters:
schema- configuration parameter schema
-
get
public Attr get(String schema)
Description copied from interface:WAConfigServiceReturns configuration parameter with matching schema.- Specified by:
getin 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:WAConfigServiceCreates / updates the configuration parameter with the given schema.- Specified by:
setin interfaceWAConfigService- Parameters:
value- parameter value
-
pushToWA
public void pushToWA(WAConfigService.PushSubject subject, List<String> services)
Description copied from interface:WAConfigServicePush to WA according to the provided parameters.- Specified by:
pushToWAin interfaceWAConfigService- Parameters:
subject- what is to be triggered for refresh on WAservices- WA instances to trigger; all if none specified
-
-