Class ObjectMarkHelper

java.lang.Object
com.evolveum.midpoint.repo.common.ObjectMarkHelper

@Component public class ObjectMarkHelper extends Object
Computes effective object marks and their deltas. Does not deal with the policies attached to marks. See ObjectOperationPolicyHelper for that. Effective mark references have the following characteristics (see docs in the XSD): . They always have an OID. . They have either a default relation, or `org:related` one. The latter means that the reference is inactive, and is present only for the purpose of holding value metadata (usually that it was computed by a rule, but disabled by a statement). . They are computed using the `production` configuration (regarding statements, and later e.g. marking rules). Note the difference between computeObjectMarks(ObjectType, ObjectMarksComputer, TaskExecutionMode, OperationResult) and computeObjectMarksWithoutComputer(ObjectType, TaskExecutionMode). The former is able to add extra marking, whereas the latter simply applies policy statements to the existing marks. NOTE: Currently used for shadows only! Analogous functionality for focus objects is present in EvaluatedPolicyStatements and the model code that uses it.
See Also:
  • Constructor Details

    • ObjectMarkHelper

      public ObjectMarkHelper()
  • Method Details