Class ChangedItemPathComputer
java.lang.Object
com.evolveum.midpoint.repo.sqale.audit.ChangedItemPathComputer
Utility class for computing changed item paths from object delta operations.
- Author:
- Viliam Repan (lazyman)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPublic visibility only for testing purposes. -
Constructor Summary
ConstructorsConstructorDescriptionChangedItemPathComputer(boolean indexAddObjectDeltaOperation, @NotNull Set<ChangedItemPath> indexAdditionalItemPath, @NotNull PrismContext prismContext) -
Method Summary
Modifier and TypeMethodDescriptioncollectChangedItemPaths(Collection<ObjectDeltaOperation<? extends ObjectType>> deltas) String[]collectChangedItemPaths(List<ObjectDeltaOperationType> deltaOperations) Collect changed item paths from XML-based delta operations.
-
Constructor Details
-
ChangedItemPathComputer
public ChangedItemPathComputer(boolean indexAddObjectDeltaOperation, @NotNull @NotNull Set<ChangedItemPath> indexAdditionalItemPath, @NotNull @NotNull PrismContext prismContext)
-
-
Method Details
-
collectChangedItemPaths
public Set<String> collectChangedItemPaths(Collection<ObjectDeltaOperation<? extends ObjectType>> deltas) -
collectChangedItemPaths
Collect changed item paths from XML-based delta operations. TODO: is this OK? It's used in rawAuditService.audit(AuditEventRecordType, OperationResult)which doesn't do any processing on record. ParsesItemDeltaTypes, if parsing fails it's currently silently ignored. No additional paths collected for such deltas.
-