Package com.evolveum.midpoint.common
Class SynchronizationUtils
- java.lang.Object
-
- com.evolveum.midpoint.common.SynchronizationUtils
-
public class SynchronizationUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SynchronizationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<ItemDelta<?,?>>
createSynchronizationSituationAndDescriptionDelta(PrismObject<ShadowType> shadow, SynchronizationSituationType situation, String sourceChannel, boolean full, XMLGregorianCalendar timestamp)
static PropertyDelta<SynchronizationSituationType>
createSynchronizationSituationDelta(PrismObject<ShadowType> shadow, SynchronizationSituationType situation)
static PropertyDelta<SynchronizationSituationDescriptionType>
createSynchronizationSituationDescriptionDelta(PrismObject<ShadowType> shadow, SynchronizationSituationType situation, XMLGregorianCalendar timestamp, String sourceChannel, boolean full)
static List<PropertyDelta<?>>
createSynchronizationTimestampsDeltas(PrismObject<ShadowType> shadow, XMLGregorianCalendar timestamp, boolean full)
-
-
-
Method Detail
-
createSynchronizationSituationDelta
public static PropertyDelta<SynchronizationSituationType> createSynchronizationSituationDelta(PrismObject<ShadowType> shadow, SynchronizationSituationType situation)
-
createSynchronizationSituationAndDescriptionDelta
public static List<ItemDelta<?,?>> createSynchronizationSituationAndDescriptionDelta(PrismObject<ShadowType> shadow, SynchronizationSituationType situation, String sourceChannel, boolean full, XMLGregorianCalendar timestamp) throws SchemaException
- 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
-
createSynchronizationSituationDescriptionDelta
public static PropertyDelta<SynchronizationSituationDescriptionType> createSynchronizationSituationDescriptionDelta(PrismObject<ShadowType> shadow, SynchronizationSituationType situation, XMLGregorianCalendar timestamp, String sourceChannel, boolean full) throws SchemaException
- Throws:
SchemaException
-
createSynchronizationTimestampsDeltas
public static List<PropertyDelta<?>> createSynchronizationTimestampsDeltas(PrismObject<ShadowType> shadow, XMLGregorianCalendar timestamp, boolean full)
-
-