use of org.identityconnectors.framework.common.objects.SyncDeltaBuilder in project syncope by apache.
the class ConnectorFacadeProxy method filteredReconciliation.
@Transactional
@Override
public void filteredReconciliation(final ObjectClass objectClass, final ReconFilterBuilder filterBuilder, final SyncResultsHandler handler, final OperationOptions options) {
Filter filter = null;
OperationOptions actualOptions = options;
if (filterBuilder != null) {
filter = filterBuilder.build();
actualOptions = filterBuilder.build(actualOptions);
}
search(objectClass, filter, object -> handler.handle(new SyncDeltaBuilder().setObject(object).setUid(object.getUid()).setDeltaType(SyncDeltaType.CREATE_OR_UPDATE).setToken(new SyncToken("")).build()), actualOptions);
}
Aggregations