Class SyncopeServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.SyncopeServiceImpl
- All Implemented Interfaces:
JAXRSService
,SyncopeService
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BatchDAO
protected final VirtualThreadPoolTaskExecutor
protected final Bus
protected final EntityFactory
protected final SyncopeLogic
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
ConstructorDescriptionSyncopeServiceImpl
(SyncopeLogic logic, VirtualThreadPoolTaskExecutor batchExecutor, Bus bus, BatchDAO batchDAO, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionbatch()
Gets batch results, in case asynchronous was requested.batch
(InputStream input) Requests for batch execution.exportInternalStorageContent
(int tableThreshold) Exports internal storage content as downloadable XML file.readUserTypeExtension
(String groupName) Extracts User type extension information, for the provided group.searchAssignableGroups
(String realm, String term, int page, int size) Returns the list of Groups, according to provided paging instructions, assignable to Users and Any Objects of the provided Realm.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
-
batchExecutor
-
bus
-
batchDAO
-
entityFactory
-
-
Constructor Details
-
SyncopeServiceImpl
public SyncopeServiceImpl(SyncopeLogic logic, VirtualThreadPoolTaskExecutor batchExecutor, Bus bus, BatchDAO batchDAO, EntityFactory entityFactory)
-
-
Method Details
-
searchAssignableGroups
Description copied from interface:SyncopeService
Returns the list of Groups, according to provided paging instructions, assignable to Users and Any Objects of the provided Realm.- Specified by:
searchAssignableGroups
in interfaceSyncopeService
- Parameters:
realm
- of the User and Any Objects assignable to the returned Groupsterm
- groups search termpage
- search pagesize
- search page size- Returns:
- list of Groups, according to provided paging instructions, assignable to Users and Any Objects of the provided Realm
-
readUserTypeExtension
Description copied from interface:SyncopeService
Extracts User type extension information, for the provided group.- Specified by:
readUserTypeExtension
in interfaceSyncopeService
- Parameters:
groupName
- group name- Returns:
- User type extension information, for the provided group
-
batch
Description copied from interface:SyncopeService
Requests for batch execution.- Specified by:
batch
in interfaceSyncopeService
- Parameters:
input
- batch request- Returns:
- batch results returned as Response entity, in case no 'Prefer: respond-async' was specified
-
batch
Description copied from interface:SyncopeService
Gets batch results, in case asynchronous was requested.- Specified by:
batch
in interfaceSyncopeService
- Returns:
- batch results as Response entity
-
exportInternalStorageContent
Description copied from interface:SyncopeService
Exports internal storage content as downloadable XML file.- Specified by:
exportInternalStorageContent
in interfaceSyncopeService
- Parameters:
tableThreshold
- the maximum number of rows to take for each table of internal storage- Returns:
- internal storage content as downloadable XML file
-