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 List<PropertyDelta<?>>
createSynchronizationTimestampsDeltas(PrismObject<ShadowType> shadow)
static boolean
isPolicyApplicable(QName objectClass, ShadowKindType kind, String intent, @NotNull ObjectSynchronizationType synchronizationPolicy, PrismObject<ResourceType> resource, boolean strictIntent)
Checks if the synchronization policy matches given "parameters" (object class, kind, intent).static boolean
isPolicyApplicable(QName objectClass, ShadowKindType kind, String intent, ObjectSynchronizationType synchronizationPolicy, PrismObject<ResourceType> resource)
-
-
-
Method Detail
-
createSynchronizationSituationAndDescriptionDelta
public static List<ItemDelta<?,?>> createSynchronizationSituationAndDescriptionDelta(PrismObject<ShadowType> shadow, SynchronizationSituationType situation, String sourceChannel, boolean full, XMLGregorianCalendar timestamp) throws SchemaException
- Throws:
SchemaException
-
createSynchronizationTimestampsDeltas
public static List<PropertyDelta<?>> createSynchronizationTimestampsDeltas(PrismObject<ShadowType> shadow)
-
isPolicyApplicable
public static boolean isPolicyApplicable(QName objectClass, ShadowKindType kind, String intent, @NotNull @NotNull ObjectSynchronizationType synchronizationPolicy, PrismObject<ResourceType> resource, boolean strictIntent) throws SchemaException
Checks if the synchronization policy matches given "parameters" (object class, kind, intent).- Throws:
SchemaException
-
isPolicyApplicable
public static boolean isPolicyApplicable(QName objectClass, ShadowKindType kind, String intent, ObjectSynchronizationType synchronizationPolicy, PrismObject<ResourceType> resource) throws SchemaException
- Throws:
SchemaException
-
-