Modifier and Type | Method and Description |
---|---|
static <T extends ObjectType> |
CryptoUtil.computeReencryptModifications(Protector protector,
PrismObject<T> object) |
Modifier and Type | Method and Description |
---|---|
static void |
CryptoUtil.checkEncrypted(Collection<? extends ItemDelta> modifications) |
Modifier and Type | Method and Description |
---|---|
void |
UserProfileService.updateUser(com.evolveum.midpoint.security.api.MidPointPrincipal principal,
Collection<? extends ItemDelta<?,?>> itemDeltas) |
Modifier and Type | Method and Description |
---|---|
ItemDelta<?,?> |
SceneDeltaItem.getSourceDelta()
Item delta (if applicable).
|
Modifier and Type | Method and Description |
---|---|
ItemDelta<V,D> |
Item.createDelta()
Creates specific subclass of ItemDelta appropriate for type of item that this definition
represents (e.g.
|
ItemDelta<V,D> |
Item.createDelta(ItemPath path) |
ItemDelta |
PrismReferenceDefinition.createEmptyDelta(ItemPath path) |
ItemDelta |
ItemDefinition.createEmptyDelta(ItemPath path) |
ItemDelta<V,D> |
Item.diff(Item<V,D> other)
Computes a difference (delta) with the specified item using IGNORE_METADATA_CONSIDER_DIFFERENT_IDS equivalence strategy.
|
ItemDelta<V,D> |
Item.diff(Item<V,D> other,
ParameterizedEquivalenceStrategy strategy)
Computes a difference (delta) with the specified item using given equivalence strategy.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends ItemDelta> |
PrismValue.diff(PrismValue otherValue)
Assumes matching representations.
|
Collection<? extends ItemDelta> |
PrismValue.diff(PrismValue otherValue,
ParameterizedEquivalenceStrategy strategy)
Assumes matching representations.
|
List<? extends ItemDelta> |
PrismContainer.diffModifications(PrismContainer<C> other) |
List<? extends ItemDelta> |
PrismContainer.diffModifications(PrismContainer<C> other,
ParameterizedEquivalenceStrategy strategy) |
Collection<? extends ItemDelta<?,?>> |
PrismObject.narrowModifications(Collection<? extends ItemDelta<?,?>> modifications,
boolean assumeMissingItems) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ItemDelta<?,?>> |
PrismObject.narrowModifications(Collection<? extends ItemDelta<?,?>> modifications,
boolean assumeMissingItems) |
Modifier and Type | Interface and Description |
---|---|
interface |
ContainerDelta<V extends Containerable> |
interface |
PropertyDelta<T>
Relative difference (delta) of a property values.
|
interface |
ReferenceDelta |
Modifier and Type | Method and Description |
---|---|
<D extends ItemDelta> |
ObjectDelta.addModification(D itemDelta)
Adds modification (itemDelta) and returns the modification that was added.
|
static <D extends ItemDelta<?,?>> |
ItemDeltaCollectionsUtil.cloneCollection(Collection<D> orig) |
static <DD extends ItemDelta> |
ItemDeltaCollectionsUtil.findItemDelta(Collection<? extends ItemDelta> deltas,
ItemPath propertyPath,
Class<DD> deltaType,
boolean strict) |
static <D extends ItemDelta> |
ItemDeltaCollectionsUtil.findItemDelta(Collection<? extends ItemDelta> deltas,
QName itemName,
Class<D> deltaType) |
<IV extends PrismValue,ID extends ItemDefinition,I extends Item<IV,ID>,DD extends ItemDelta<IV,ID>> |
ObjectDelta.findItemDelta(ItemPath itemPath,
Class<DD> deltaType,
Class<I> itemType,
boolean strict) |
static <D extends ItemDelta> |
ItemDeltaCollectionsUtil.removeItemDelta(Collection<? extends ItemDelta> deltas,
ItemDelta deltaToRemove) |
static <D extends ItemDelta> |
ItemDeltaCollectionsUtil.removeItemDelta(Collection<? extends ItemDelta> deltas,
ItemPath propertyPath,
Class<D> deltaType) |
<D extends ItemDelta> |
ObjectDelta.removeModification(ItemDelta<?,?> itemDelta) |
Modifier and Type | Method and Description |
---|---|
ItemDelta<V,D> |
ItemDelta.clone() |
ItemDelta<V,D> |
ItemDelta.cloneWithChangedParentPath(ItemPath newParentPath) |
static <V extends PrismValue,D extends ItemDefinition> |
ItemDeltaUtil.createAddDeltaFor(Item<V,D> item) |
static <V extends PrismValue,D extends ItemDefinition> |
ItemDeltaUtil.createAddDeltaFor(Item<V,D> item,
PrismValue value) |
ItemDelta<V,D> |
ItemDelta.createReverseDelta() |
<IV extends PrismValue,ID extends ItemDefinition> |
ObjectDelta.findItemDelta(ItemPath itemPath)
TODO specify this method!
An attempt:
Given this ADD or MODIFY object delta OD, finds an item delta ID such that "ID has the same effect on an item specified
by itemPath as OD" (simply said).
|
<IV extends PrismValue,ID extends ItemDefinition> |
ObjectDelta.findItemDelta(ItemPath itemPath,
boolean strict) |
ItemDelta<V,D> |
PartiallyResolvedDelta.getDelta() |
ItemDelta<?,?> |
ItemDelta.getSubDelta(ItemPath path) |
ItemDelta<?,?> |
ContainerDelta.getSubDelta(ItemPath path) |
ItemDelta<V,D> |
ItemDelta.narrow(PrismObject<? extends Objectable> object,
boolean assumeMissingItems)
Filters out all delta values that are meaningless to apply.
|
ItemDelta<V,D> |
ItemDelta.narrow(PrismObject<? extends Objectable> object,
Comparator<V> comparator,
boolean assumeMissingItems)
Filters out all delta values that are meaningless to apply.
|
Modifier and Type | Method and Description |
---|---|
<T extends Objectable> |
DeltaFactory.Reference.createModificationAddCollection(Class<T> type,
ItemName refName,
PrismObject<?> refTarget) |
<T extends Objectable> |
DeltaFactory.Reference.createModificationAddCollection(Class<T> type,
ItemName refName,
PrismReferenceValue refValue) |
<T extends Objectable> |
DeltaFactory.Reference.createModificationAddCollection(Class<T> type,
ItemName refName,
String targetOid) |
Collection<? extends ItemDelta> |
DeltaFactory.Reference.createModificationAddCollection(ItemName propertyName,
PrismObjectDefinition<?> objectDefinition,
PrismReferenceValue refValue) |
<T extends Objectable> |
DeltaFactory.Reference.createModificationDeleteCollection(Class<T> type,
QName refName,
PrismObject<?> refTarget) |
<T extends Objectable> |
DeltaFactory.Reference.createModificationDeleteCollection(Class<T> type,
QName refName,
PrismReferenceValue refValue) |
Collection<? extends ItemDelta> |
DeltaFactory.Reference.createModificationDeleteCollection(QName propertyName,
PrismObjectDefinition<?> objectDefinition,
PrismReferenceValue refValue) |
Collection<? extends ItemDelta> |
DeltaFactory.Container.createModificationReplaceContainerCollection(ItemName containerName,
PrismObjectDefinition<?> objectDefinition,
PrismContainerValue... cValues)
Deprecated.
|
Collection<? extends ItemDelta> |
DeltaFactory.Property.createModificationReplacePropertyCollection(QName propertyName,
PrismObjectDefinition<?> objectDefinition,
Object... propertyValues) |
static Collection<? extends ItemDelta<?,?>> |
ItemDeltaCollectionsUtil.findItemDeltasSubPath(Collection<? extends ItemDelta<?,?>> deltas,
ItemPath itemPath) |
Collection<? extends ItemDelta<?,?>> |
ObjectDelta.findItemDeltasSubPath(ItemPath itemPath)
Returns all item deltas at or below a specified path.
|
Collection<? extends ItemDelta<?,?>> |
ObjectDelta.getModifications() |
Modifier and Type | Method and Description |
---|---|
void |
ObjectDelta.addModifications(ItemDelta<?,?>... itemDeltas) |
boolean |
ItemDelta.contains(ItemDelta<V,D> other)
Returns true if the other delta is a complete subset of this delta.
|
boolean |
ItemDelta.contains(ItemDelta<V,D> other,
EquivalenceStrategy strategy)
Returns true if the other delta is a complete subset of this delta.
|
boolean |
ObjectDelta.containsModification(ItemDelta itemDelta) |
boolean |
ObjectDelta.containsModification(ItemDelta itemDelta,
EquivalenceStrategy strategy) |
<T extends Objectable> |
DeltaFactory.Object.createModifyDelta(String oid,
ItemDelta modification,
Class<T> objectTypeClass) |
boolean |
ItemDelta.equivalent(ItemDelta other)
Deltas are equivalent if they have the same result when
applied to an object.
|
static boolean |
ItemDeltaCollectionsUtil.hasEquivalent(Collection<? extends ItemDelta> col,
ItemDelta delta) |
static void |
ItemDeltaCollectionsUtil.merge(Collection<? extends ItemDelta> modifications,
ItemDelta delta) |
void |
ItemDelta.merge(ItemDelta<V,D> deltaToMerge)
Merge specified delta to this delta.
|
void |
ObjectDelta.mergeModification(ItemDelta<?,?> modificationToMerge) |
static <D extends ItemDelta> |
ItemDeltaCollectionsUtil.removeItemDelta(Collection<? extends ItemDelta> deltas,
ItemDelta deltaToRemove) |
<D extends ItemDelta> |
ObjectDelta.removeModification(ItemDelta<?,?> itemDelta) |
void |
PartiallyResolvedDelta.setDelta(ItemDelta<V,D> itemDelta) |
void |
ObjectDelta.swallow(ItemDelta<?,?> newItemDelta)
Incorporates the property delta into the existing property deltas
(regardless of the change type).
|
static <IV extends PrismValue,ID extends ItemDefinition> |
ItemDeltaUtil.toDeltaSetTriple(Item<IV,ID> item,
ItemDelta<IV,ID> delta,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
static void |
ItemDeltaCollectionsUtil.accept(Collection<? extends ItemDelta> modifications,
Visitor visitor,
ItemPath path,
boolean recursive) |
static void |
ItemDeltaCollectionsUtil.addAll(Collection<? extends ItemDelta> modifications,
Collection<? extends ItemDelta> deltasToAdd) |
static void |
ItemDeltaCollectionsUtil.addAll(Collection<? extends ItemDelta> modifications,
Collection<? extends ItemDelta> deltasToAdd) |
void |
ObjectDelta.addModifications(Collection<? extends ItemDelta> itemDeltas) |
static void |
ItemDeltaCollectionsUtil.applyDefinitionIfPresent(Collection<? extends ItemDelta> deltas,
PrismObjectDefinition definition,
boolean tolerateNoDefinition) |
static void |
ItemDeltaCollectionsUtil.applyTo(Collection<? extends ItemDelta> deltas,
PrismContainer propertyContainer) |
static void |
ItemDeltaCollectionsUtil.applyTo(Collection<? extends ItemDelta> deltas,
PrismContainerValue propertyContainerValue) |
static <O extends Objectable> |
ObjectDeltaUtil.applyTo(PrismObject<O> targetObject,
Collection<? extends ItemDelta<?,?>> modifications) |
static void |
ItemDeltaCollectionsUtil.applyToMatchingPath(Collection<? extends ItemDelta> deltas,
PrismContainer propertyContainer) |
static void |
ItemDeltaCollectionsUtil.checkConsistence(Collection<? extends ItemDelta> deltas) |
static void |
ItemDeltaCollectionsUtil.checkConsistence(Collection<? extends ItemDelta> deltas,
boolean requireDefinition,
boolean prohibitRaw,
ConsistencyCheckScope scope) |
static void |
ItemDeltaCollectionsUtil.checkConsistence(Collection<? extends ItemDelta> deltas,
ConsistencyCheckScope scope) |
boolean |
ObjectDelta.containsAllModifications(Collection<? extends ItemDelta<?,?>> itemDeltas,
EquivalenceStrategy strategy) |
<T extends Objectable> |
DeltaFactory.Object.createModifyDelta(String oid,
Collection<? extends ItemDelta> modifications,
Class<T> objectTypeClass) |
static <X extends Containerable> |
ItemDeltaCollectionsUtil.findContainerDelta(Collection<? extends ItemDelta> deltas,
ItemPath propertyPath) |
static <DD extends ItemDelta> |
ItemDeltaCollectionsUtil.findItemDelta(Collection<? extends ItemDelta> deltas,
ItemPath propertyPath,
Class<DD> deltaType,
boolean strict) |
static <D extends ItemDelta> |
ItemDeltaCollectionsUtil.findItemDelta(Collection<? extends ItemDelta> deltas,
QName itemName,
Class<D> deltaType) |
static Collection<? extends ItemDelta<?,?>> |
ItemDeltaCollectionsUtil.findItemDeltasSubPath(Collection<? extends ItemDelta<?,?>> deltas,
ItemPath itemPath) |
static <T> PropertyDelta<T> |
PropertyDeltaCollectionsUtil.findPropertyDelta(Collection<? extends ItemDelta> modifications,
ItemPath propertyPath) |
static <T> PropertyDelta<T> |
ItemDeltaCollectionsUtil.findPropertyDelta(Collection<? extends ItemDelta> deltas,
ItemPath propertyPath) |
static <T> PropertyDelta<T> |
PropertyDeltaCollectionsUtil.findPropertyDelta(Collection<? extends ItemDelta> modifications,
QName propertyName) |
static ReferenceDelta |
ItemDeltaCollectionsUtil.findReferenceModification(Collection<? extends ItemDelta> deltas,
QName itemName) |
static boolean |
ItemDeltaCollectionsUtil.hasEquivalent(Collection<? extends ItemDelta> col,
ItemDelta delta) |
static void |
ItemDeltaCollectionsUtil.merge(Collection<? extends ItemDelta> modifications,
ItemDelta delta) |
static void |
ItemDeltaCollectionsUtil.mergeAll(Collection<? extends ItemDelta<?,?>> modifications,
Collection<? extends ItemDelta<?,?>> deltasToMerge) |
static void |
ItemDeltaCollectionsUtil.mergeAll(Collection<? extends ItemDelta<?,?>> modifications,
Collection<? extends ItemDelta<?,?>> deltasToMerge) |
void |
ObjectDelta.mergeModifications(Collection<? extends ItemDelta> modificationsToMerge) |
static boolean |
ItemDeltaCollectionsUtil.pathMatches(Collection<? extends ItemDelta<?,?>> deltas,
ItemPath path,
int segmentsToSkip,
boolean exactMatch) |
static <D extends ItemDelta> |
ItemDeltaCollectionsUtil.removeItemDelta(Collection<? extends ItemDelta> deltas,
ItemDelta deltaToRemove) |
static <D extends ItemDelta> |
ItemDeltaCollectionsUtil.removeItemDelta(Collection<? extends ItemDelta> deltas,
ItemPath propertyPath,
Class<D> deltaType) |
void |
ObjectDelta.swallow(List<ItemDelta<?,?>> itemDeltas) |
Constructor and Description |
---|
PartiallyResolvedDelta(ItemDelta<V,D> itemDelta,
ItemPath residualPath) |
Modifier and Type | Method and Description |
---|---|
ItemDelta<?,?> |
S_ItemEntry.asItemDelta() |
Modifier and Type | Method and Description |
---|---|
List<ItemDelta<?,?>> |
S_ItemEntry.asItemDeltas() |
Modifier and Type | Method and Description |
---|---|
ItemDelta<PrismContainerValue<O>,PrismObjectDefinition<O>> |
ObjectDeltaObject.getDelta() |
ItemDelta<V,D> |
ItemDeltaItem.getDelta() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ItemDelta<?,?>> |
ItemDeltaItem.getSubItemDeltas() |
Modifier and Type | Method and Description |
---|---|
static <IV extends PrismValue,ID extends ItemDefinition> |
PrismAsserts.assertNoAdd(ItemDelta<IV,ID> delta) |
static <IV extends PrismValue,ID extends ItemDefinition> |
PrismAsserts.assertNoAdd(String message,
ItemDelta<IV,ID> delta) |
static <IV extends PrismValue,ID extends ItemDefinition> |
PrismAsserts.assertNoDelete(ItemDelta<IV,ID> delta) |
static <IV extends PrismValue,ID extends ItemDefinition> |
PrismAsserts.assertNoDelete(String message,
ItemDelta<IV,ID> delta) |
static <IV extends PrismValue,ID extends ItemDefinition> |
PrismAsserts.assertNoReplace(ItemDelta<IV,ID> delta) |
static <IV extends PrismValue,ID extends ItemDefinition> |
PrismAsserts.assertNoReplace(String message,
ItemDelta<IV,ID> delta) |
static void |
PrismAsserts.assertOrigin(ItemDelta<?,?> itemDelta,
Objectable expectedOriginObject,
OriginType... expectedOriginTypes) |
static <T> void |
PrismAsserts.assertOrigin(ItemDelta<?,?> itemDelta,
OriginType... expectedOriginTypes) |
static <T extends Objectable> |
ObjectDeltaObject.create(PrismObject<T> oldObject,
ItemDelta<?,?>... itemDeltas) |
void |
ObjectDeltaObject.setDelta(ItemDelta<PrismContainerValue<O>,PrismObjectDefinition<O>> delta) |
void |
ItemDeltaItem.setDelta(ItemDelta<V,D> delta) |
static <O extends Objectable> |
PrismUtil.setDeltaOldValue(PrismObject<O> oldObject,
ItemDelta<?,?> itemDelta) |
void |
ObjectDeltaObject.update(ItemDelta<?,?> itemDelta) |
Modifier and Type | Method and Description |
---|---|
static void |
PrismAsserts.assertPropertyAdd(Collection<? extends ItemDelta> modifications,
ItemPath propertyPath,
Object... expectedValues) |
static void |
PrismAsserts.assertPropertyDelete(Collection<? extends ItemDelta> modifications,
ItemPath propertyPath,
Object... expectedValues) |
static void |
PrismAsserts.assertPropertyReplace(Collection<? extends ItemDelta> modifications,
ItemPath propertyPath,
Object... expectedValues) |
static <O extends Objectable> |
PrismUtil.setDeltaOldValue(PrismObject<O> oldObject,
Collection<? extends ItemDelta> itemDeltas) |
void |
ItemDeltaItem.setSubItemDeltas(Collection<? extends ItemDelta<?,?>> subItemDeltas) |
Constructor and Description |
---|
ItemDeltaItem(Item<V,D> itemOld,
ItemDelta<V,D> delta,
Item<V,D> itemNew,
D definition) |
Modifier and Type | Method and Description |
---|---|
static <IV extends PrismValue,ID extends ItemDefinition> |
DeltaConvertor.createItemDelta(ItemDeltaType propMod,
Class<? extends Containerable> objectType,
PrismContext prismContext)
Creates delta from PropertyModificationType (XML).
|
static <IV extends PrismValue,ID extends ItemDefinition> |
DeltaConvertor.createItemDelta(ItemDeltaType propMod,
PrismContainerDefinition<?> pcDef) |
static <IV extends PrismValue,ID extends ItemDefinition> |
DeltaConvertor.createItemDelta(ItemDeltaType propMod,
PrismContainerDefinition<?> pcDef,
boolean allowRawValues) |
Modifier and Type | Method and Description |
---|---|
static <T extends Objectable> |
DeltaConvertor.toModifications(Collection<ItemDeltaType> itemDeltaTypes,
PrismObjectDefinition<T> objDef) |
static <T extends Objectable> |
DeltaConvertor.toModifications(ObjectModificationType objectModification,
Class<T> type,
PrismContext prismContext) |
static <T extends Objectable> |
DeltaConvertor.toModifications(ObjectModificationType objectModification,
PrismObjectDefinition<T> objDef) |
Modifier and Type | Method and Description |
---|---|
static Collection<ItemDeltaType> |
DeltaConvertor.toItemDeltaTypes(ItemDelta delta)
Converts this delta to PropertyModificationType (XML).
|
static Collection<ItemDeltaType> |
DeltaConvertor.toItemDeltaTypes(ItemDelta delta,
DeltaConversionOptions options) |
Modifier and Type | Method and Description |
---|---|
static Collection<? extends ItemDelta<?,?>> |
MiscSchemaUtil.createCollection(ItemDelta<?,?>... deltas)
Convenience method that helps avoid some compiler warnings.
|
Modifier and Type | Method and Description |
---|---|
static Collection<? extends ItemDelta<?,?>> |
MiscSchemaUtil.createCollection(ItemDelta<?,?>... deltas)
Convenience method that helps avoid some compiler warnings.
|
Copyright © 2020 Evolveum. All rights reserved.