Package com.evolveum.midpoint.common
Class SynchronizationUtils
java.lang.Object
com.evolveum.midpoint.common.SynchronizationUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemDelta<?,
?> createFullSynchronizationTimestampDelta
(ShadowType oldShadow, XMLGregorianCalendar timestamp) createSynchronizationSituationAndDescriptionDelta
(ShadowType shadow, SynchronizationSituationType situation, String sourceChannel, boolean full, XMLGregorianCalendar timestamp) Creates situation, description, and timestamp deltas.static ItemDelta<?,
?> createSynchronizationSituationDelta
(ShadowType shadow, SynchronizationSituationType situation) static @NotNull ItemDelta<?,
?> createSynchronizationSituationDescriptionDelta
(ShadowType shadow, SynchronizationSituationType situation, XMLGregorianCalendar timestamp, String sourceChannel, boolean full) Creates delta for `synchronizationSituationDescription` (adding new, removing obsolete if present).static ItemDelta<?,
?> createSynchronizationTimestampDelta
(ShadowType oldShadow, XMLGregorianCalendar timestamp)
-
Constructor Details
-
SynchronizationUtils
public SynchronizationUtils()
-
-
Method Details
-
createSynchronizationSituationAndDescriptionDelta
public static List<ItemDelta<?,?>> createSynchronizationSituationAndDescriptionDelta(ShadowType shadow, SynchronizationSituationType situation, String sourceChannel, boolean full, XMLGregorianCalendar timestamp) throws SchemaException Creates situation, description, and timestamp deltas.- Parameters:
full
- if true, we consider this synchronization to be "full", and set the appropriate flag in `synchronizationSituationDescription` as well as update `fullSynchronizationTimestamp`.- Throws:
SchemaException
-
createSynchronizationSituationDelta
public static ItemDelta<?,?> createSynchronizationSituationDelta(ShadowType shadow, SynchronizationSituationType situation) throws SchemaException - Throws:
SchemaException
-
createSynchronizationTimestampDelta
public static ItemDelta<?,?> createSynchronizationTimestampDelta(ShadowType oldShadow, XMLGregorianCalendar timestamp) throws SchemaException - Throws:
SchemaException
-
createFullSynchronizationTimestampDelta
public static ItemDelta<?,?> createFullSynchronizationTimestampDelta(ShadowType oldShadow, XMLGregorianCalendar timestamp) throws SchemaException - Throws:
SchemaException
-
createSynchronizationSituationDescriptionDelta
@NotNull public static @NotNull ItemDelta<?,?> createSynchronizationSituationDescriptionDelta(ShadowType shadow, SynchronizationSituationType situation, XMLGregorianCalendar timestamp, String sourceChannel, boolean full) throws SchemaException Creates delta for `synchronizationSituationDescription` (adding new, removing obsolete if present).- Throws:
SchemaException
-