Class DynRealmServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.DynRealmServiceImpl
-
- All Implemented Interfaces:
DynRealmService
,JAXRSService
@Service public class DynRealmServiceImpl extends AbstractService implements DynRealmService
-
-
Field Summary
Fields Modifier and Type Field Description protected DynRealmLogic
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 DynRealmServiceImpl(DynRealmLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
create(DynRealmTO roleTO)
Creates a new dynamic realm.void
delete(String key)
Deletes the dynamic realm matching the provided key.List<DynRealmTO>
list()
Returns a list of all dynamic realms.DynRealmTO
read(String key)
Returns dynamic realm with matching key.void
update(DynRealmTO roleTO)
Updates the dynamic realm matching the provided key.-
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 DynRealmLogic logic
-
-
Constructor Detail
-
DynRealmServiceImpl
public DynRealmServiceImpl(DynRealmLogic logic)
-
-
Method Detail
-
list
public List<DynRealmTO> list()
Description copied from interface:DynRealmService
Returns a list of all dynamic realms.- Specified by:
list
in interfaceDynRealmService
- Returns:
- list of all dynamic realms.
-
read
public DynRealmTO read(String key)
Description copied from interface:DynRealmService
Returns dynamic realm with matching key.- Specified by:
read
in interfaceDynRealmService
- Parameters:
key
- dynamic realm key to be read- Returns:
- dynamic realm with matching key
-
create
public javax.ws.rs.core.Response create(DynRealmTO roleTO)
Description copied from interface:DynRealmService
Creates a new dynamic realm.- Specified by:
create
in interfaceDynRealmService
- Parameters:
roleTO
- dynamic realm to be created- Returns:
- Response object featuring Location header of created dynamic realm
-
update
public void update(DynRealmTO roleTO)
Description copied from interface:DynRealmService
Updates the dynamic realm matching the provided key.- Specified by:
update
in interfaceDynRealmService
- Parameters:
roleTO
- dynamic realm to be stored
-
delete
public void delete(String key)
Description copied from interface:DynRealmService
Deletes the dynamic realm matching the provided key.- Specified by:
delete
in interfaceDynRealmService
- Parameters:
key
- dynamic realm key to be deleted
-
-