Class RealmServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.RealmServiceImpl
- All Implemented Interfaces:
JAXRSService
,RealmService
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new realm under the given path.Deletes the realm under the given path.search
(RealmQuery query) Returns a paged list of existing realms matching the given query.Updates the realm under the given path.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sort
-
Field Details
-
logic
-
-
Constructor Details
-
RealmServiceImpl
-
-
Method Details
-
search
Description copied from interface:RealmService
Returns a paged list of existing realms matching the given query.- Specified by:
search
in interfaceRealmService
- Parameters:
query
- query conditions- Returns:
- paged list of existing realms matching the given query
-
create
Description copied from interface:RealmService
Creates a new realm under the given path.- Specified by:
create
in interfaceRealmService
- Parameters:
parentPath
- full path of the parent realmrealmTO
- new realm- Returns:
- Response object featuring Location header of created realm as well as the realm itself enriched with propagation status information
-
update
Description copied from interface:RealmService
Updates the realm under the given path.- Specified by:
update
in interfaceRealmService
- Parameters:
realmTO
- realm to be stored- Returns:
- Response object featuring the updated realm enriched with propagation status information
-
delete
Description copied from interface:RealmService
Deletes the realm under the given path.- Specified by:
delete
in interfaceRealmService
- Parameters:
fullPath
- realm path- Returns:
- Response object featuring the deleted realm enriched with propagation status information
-