Class TaskOperationalDataManager

java.lang.Object
com.evolveum.midpoint.model.impl.lens.tasks.TaskOperationalDataManager
All Implemented Interfaces:
DeltaExecutionPreprocessor

@Component public class TaskOperationalDataManager extends Object implements DeltaExecutionPreprocessor
Updates "indexed" values in task objects; currently TaskType.getAffectedObjects().
  • Constructor Details

    • TaskOperationalDataManager

      public TaskOperationalDataManager()
  • Method Details

    • updateOnElementAdd

      public <O extends ObjectType> void updateOnElementAdd(@NotNull O objectToAdd, OperationResult result)
      Computes or re-computes "affected objects" on task being added.
    • updateOnElementModify

      public <O extends ObjectType> void updateOnElementModify(O current, @NotNull @NotNull ObjectDelta<O> delta, @NotNull @NotNull Class<O> objectClass, @NotNull @NotNull LensElementContext<O> elementContext, OperationResult result) throws SchemaException
      Updates "affected objects" data on task modification (by adding necessary changes to the `delta` parameter.)
      Throws:
      SchemaException