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
FieldsModifier and TypeFieldDescriptionprotected final BatchDAOprotected final AsyncTaskExecutorprotected final Busprotected final EntityFactoryprotected final SyncopeLogicFields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfoFields 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
ConstructorsConstructorDescriptionSyncopeServiceImpl(SyncopeLogic logic, AsyncTaskExecutor 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 threshold, List<String> elements) Exports the 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, AsyncTaskExecutor batchExecutor, Bus bus, BatchDAO batchDAO, EntityFactory entityFactory)
-
-
Method Details
-
searchAssignableGroups
Description copied from interface:SyncopeServiceReturns the list of Groups, according to provided paging instructions, assignable to Users and Any Objects of the provided Realm.- Specified by:
searchAssignableGroupsin 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:SyncopeServiceExtracts User type extension information, for the provided group.- Specified by:
readUserTypeExtensionin interfaceSyncopeService- Parameters:
groupName- group name- Returns:
- User type extension information, for the provided group
-
batch
Description copied from interface:SyncopeServiceRequests for batch execution.- Specified by:
batchin 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:SyncopeServiceGets batch results, in case asynchronous was requested.- Specified by:
batchin interfaceSyncopeService- Returns:
- batch results as Response entity
-
exportInternalStorageContent
Description copied from interface:SyncopeServiceExports the internal storage content as downloadable XML file.- Specified by:
exportInternalStorageContentin interfaceSyncopeService- Parameters:
threshold- the maximum number of rows to take for each element of internal storageelements- if provided, the list of elements to export; otherwise all elements will be included- Returns:
- internal storage content as downloadable XML file
-