Interface EvaluatedAssignment
- 
- All Superinterfaces:
- DebugDumpable,- Serializable,- ShortDumpable
 
 public interface EvaluatedAssignment extends ShortDumpable, DebugDumpable, Serializable 
- 
- 
Field Summary- 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Collection<AdminGuiConfigurationType>getAdminGuiConfigurations()Set<String>getAdminGuiDependencies()Set of abstract role OIDs considered for addition of admin gui configuration.@NotNull Collection<AssociatedPolicyRule>getAllAssociatedPolicyRules()ReturnsgetAllTargetsPolicyRules()plus so-called "foreign policy rules".@NotNull Collection<? extends EvaluatedPolicyRule>getAllTargetsPolicyRules()Returns all policy rules that apply to any of the target objects provided by this assignment (and are derived from this assignment) - even those that were not triggered.intgetAllTargetsPolicyRulesCount()How many target policy rules are there.AssignmentTypegetAssignment()AssignmentTypegetAssignment(boolean old)LonggetAssignmentId()default AssignmentTypegetAssignmentType()Deprecated.default AssignmentTypegetAssignmentType(boolean old)Deprecated.Collection<com.evolveum.midpoint.security.api.Authorization>getAuthorizations()@NotNull DeltaSetTriple<EvaluatedResourceObjectConstruction>getEvaluatedConstructions(@NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result)Collection<? extends Mapping<?,?>>getFocusMappings()These are evaluated focus mappings.QNamegetNormalizedRelation()@NotNull Collection<? extends EvaluatedPolicyRule>getObjectPolicyRules()Returns all policy rules that apply to the focal/projections objects and are derived from this assignment - even those that were not triggered.@NotNull Collection<? extends EvaluatedPolicyRule>getOtherTargetsPolicyRules()Returns all policy rules that apply to some other target object of this assignment (and are derived from this assignment) - even those that were not triggered.QNamegetRelation()DeltaSetTriple<? extends EvaluatedAssignmentTarget>getRoles()PrismObject<?>getTarget()@NotNull Collection<? extends EvaluatedPolicyRule>getThisTargetPolicyRules()Returns all policy rules that directly apply to the target object of this assignment (and are derived from this assignment) - even those that were not triggered.booleanisBeingAdded()Assignment is either being added in the current wave or was added in some of the previous waves.booleanisBeingDeleted()Assignment is either being deleted in the current wave or was deleted in some of the previous waves.booleanisBeingKept()Assignment was present at the beginning and is not being deleted.booleanisPresentInCurrentObject()booleanisPresentInOldObject()booleanisValid()TODO Define this concept.StringtoHumanReadableString()- 
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDump, debugDumpLazily, debugDumpLazily
 - 
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpableshortDump, shortDump, shortDumpLazily
 
- 
 
- 
- 
- 
Method Detail- 
getAssignmentAssignmentType getAssignment() 
 - 
getAssignmentAssignmentType getAssignment(boolean old) 
 - 
getAssignmentType@Deprecated default AssignmentType getAssignmentType() Deprecated.
 - 
getAssignmentType@Deprecated default AssignmentType getAssignmentType(boolean old) Deprecated.
 - 
getAssignmentIdLong getAssignmentId() 
 - 
getAuthorizationsCollection<com.evolveum.midpoint.security.api.Authorization> getAuthorizations() 
 - 
getAdminGuiConfigurationsCollection<AdminGuiConfigurationType> getAdminGuiConfigurations() 
 - 
getRolesDeltaSetTriple<? extends EvaluatedAssignmentTarget> getRoles() 
 - 
getEvaluatedConstructions@NotNull @NotNull DeltaSetTriple<EvaluatedResourceObjectConstruction> getEvaluatedConstructions(@NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException 
 - 
getTargetPrismObject<?> getTarget() 
 - 
getRelationQName getRelation() 
 - 
getNormalizedRelationQName getNormalizedRelation() 
 - 
isValidboolean isValid() TODO Define this concept. It looks like it mixes ideas of validity (activation, lifecycle state) and relativity mode (condition).
 - 
isPresentInCurrentObjectboolean isPresentInCurrentObject() 
 - 
isPresentInOldObjectboolean isPresentInOldObject() 
 - 
getObjectPolicyRules@NotNull @NotNull Collection<? extends EvaluatedPolicyRule> getObjectPolicyRules() Returns all policy rules that apply to the focal/projections objects and are derived from this assignment - even those that were not triggered. The policy rules are compiled from all the applicable sources (target, meta-roles, etc.)
 - 
getThisTargetPolicyRules@NotNull @NotNull Collection<? extends EvaluatedPolicyRule> getThisTargetPolicyRules() Returns all policy rules that directly apply to the target object of this assignment (and are derived from this assignment) - even those that were not triggered. The policy rules are compiled from all the applicable sources (target, meta-roles, etc.)
 - 
getOtherTargetsPolicyRules@NotNull @NotNull Collection<? extends EvaluatedPolicyRule> getOtherTargetsPolicyRules() Returns all policy rules that apply to some other target object of this assignment (and are derived from this assignment) - even those that were not triggered. The policy rules are compiled from all the applicable sources (target, meta-roles, etc.)
 - 
getAllTargetsPolicyRules@NotNull @NotNull Collection<? extends EvaluatedPolicyRule> getAllTargetsPolicyRules() Returns all policy rules that apply to any of the target objects provided by this assignment (and are derived from this assignment) - even those that were not triggered. The policy rules are compiled from all the applicable sources (target, meta-roles, etc.) The difference to getThisTargetPolicyRules is that if e.g. jack is a Pirate, and Pirate induces Sailor, then - `getThisTargetPolicyRules` will show rules that are attached to Pirate - `getAllTargetsPolicyRules` will show rules that are attached to Pirate and Sailor - `getOtherTargetsPolicyRules` will show rules that are attached to Sailor
 - 
getAllAssociatedPolicyRules@NotNull @NotNull Collection<AssociatedPolicyRule> getAllAssociatedPolicyRules() ReturnsgetAllTargetsPolicyRules()plus so-called "foreign policy rules". Those are rules that are related to this assignment because they contain an exclusion trigger pointing to this assignment as the conflicting one. This is necessary to implement "declare once, use twice" approach where it should be sufficient to declare an exclusion constraint at one of the targets only. See e.g. MID-8269. There are important things to be aware of, though. Please seeAssociatedPolicyRulefor more information.
 - 
getAllTargetsPolicyRulesCountint getAllTargetsPolicyRulesCount() How many target policy rules are there.
 - 
getFocusMappingsCollection<? extends Mapping<?,?>> getFocusMappings() These are evaluated focus mappings. Since 4.0.1 the evaluation is carried out not during assignment evaluation but afterwards.
 - 
toHumanReadableStringString toHumanReadableString() 
 - 
isBeingAddedboolean isBeingAdded() Assignment is either being added in the current wave or was added in some of the previous waves.
 - 
isBeingDeletedboolean isBeingDeleted() Assignment is either being deleted in the current wave or was deleted in some of the previous waves.
 - 
isBeingKeptboolean isBeingKept() Assignment was present at the beginning and is not being deleted.
 
- 
 
-