Class ReconciliationServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.AbstractSearchService
-
- org.apache.syncope.core.rest.cxf.service.ReconciliationServiceImpl
-
- All Implemented Interfaces:
JAXRSService
,ReconciliationService
@Service public class ReconciliationServiceImpl extends AbstractSearchService implements ReconciliationService
-
-
Field Summary
Fields Modifier and Type Field Description protected ReconciliationLogic
logic
-
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractSearchService
searchCondVisitor
-
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 ReconciliationServiceImpl(SearchCondVisitor searchCondVisitor, ReconciliationLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ProvisioningReport>
pull(CSVPullSpec spec, InputStream csv)
Pulls the CSV input into Syncope according to the provided specification.List<ProvisioningReport>
pull(ReconQuery query, PullTaskTO pullTask)
Pulls the matching user, group, any object or linked account from the External Resource into Syncope.javax.ws.rs.core.Response
push(AnyQuery query, CSVPushSpec spec)
Export a list of any objects matching the given query as CSV according to the provided specification.List<ProvisioningReport>
push(ReconQuery query, PushTaskTO pushTask)
Pushes the matching user, group, any object or linked account in Syncope onto the External Resource.ReconStatus
status(ReconQuery query)
Gets compared status between attributes in Syncope and on the given External Resource.-
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractSearchService
getSearchCond
-
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 ReconciliationLogic logic
-
-
Constructor Detail
-
ReconciliationServiceImpl
public ReconciliationServiceImpl(SearchCondVisitor searchCondVisitor, ReconciliationLogic logic)
-
-
Method Detail
-
status
public ReconStatus status(ReconQuery query)
Description copied from interface:ReconciliationService
Gets compared status between attributes in Syncope and on the given External Resource.- Specified by:
status
in interfaceReconciliationService
- Parameters:
query
- query conditions- Returns:
- reconciliation status
-
push
public List<ProvisioningReport> push(ReconQuery query, PushTaskTO pushTask)
Description copied from interface:ReconciliationService
Pushes the matching user, group, any object or linked account in Syncope onto the External Resource.- Specified by:
push
in interfaceReconciliationService
- Parameters:
query
- query conditionspushTask
- push specification- Returns:
- push report
-
pull
public List<ProvisioningReport> pull(ReconQuery query, PullTaskTO pullTask)
Description copied from interface:ReconciliationService
Pulls the matching user, group, any object or linked account from the External Resource into Syncope.- Specified by:
pull
in interfaceReconciliationService
- Parameters:
query
- query conditionspullTask
- pull specification- Returns:
- pull report
-
push
public javax.ws.rs.core.Response push(AnyQuery query, CSVPushSpec spec)
Description copied from interface:ReconciliationService
Export a list of any objects matching the given query as CSV according to the provided specification.- Specified by:
push
in interfaceReconciliationService
- Parameters:
query
- query conditionsspec
- CSV push specification- Returns:
- CSV content matching the provided specification
-
pull
public List<ProvisioningReport> pull(CSVPullSpec spec, InputStream csv)
Description copied from interface:ReconciliationService
Pulls the CSV input into Syncope according to the provided specification.- Specified by:
pull
in interfaceReconciliationService
- Parameters:
spec
- CSV pull specificationcsv
- CSV input- Returns:
- pull report
-
-