Interface EvaluatedAssignment<AH extends AssignmentHolderType>
-
- All Superinterfaces:
DebugDumpable
- All Known Implementing Classes:
EvaluatedAssignmentImpl
public interface EvaluatedAssignment<AH extends AssignmentHolderType> extends DebugDumpable
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<AdminGuiConfigurationType>
getAdminGuiConfigurations()
Collection<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.Long
getAssignmentId()
AssignmentType
getAssignmentType()
AssignmentType
getAssignmentType(boolean old)
Collection<Authorization>
getAuthorizations()
DeltaSetTriple<EvaluatedConstruction>
getEvaluatedConstructions(Task task, OperationResult result)
Collection<EvaluatedPolicyRule>
getFocusPolicyRules()
Returns all policy rules that apply to the focal object and are derived from this assignment - even those that were not triggered.QName
getNormalizedRelation(RelationRegistry relationRegistry)
Collection<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.Collection<String>
getPolicySituations()
QName
getRelation()
DeltaSetTriple<? extends EvaluatedAssignmentTarget>
getRoles()
PrismObject<?>
getTarget()
Collection<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.default boolean
isBeingAdded()
Assignment is either being added in the current wave or was added in some of the previous waves.default boolean
isBeingDeleted()
Assignment is either being deleted in the current wave or was deleted in some of the previous waves.boolean
isPresentInCurrentObject()
boolean
isPresentInNewObject()
boolean
isPresentInOldObject()
boolean
isValid()
void
triggerRule(EvaluatedPolicyRule rule, Collection<EvaluatedPolicyRuleTrigger<?>> triggers)
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getAssignmentType
AssignmentType getAssignmentType()
-
getAssignmentId
Long getAssignmentId()
-
getAuthorizations
Collection<Authorization> getAuthorizations()
-
getAdminGuiConfigurations
Collection<AdminGuiConfigurationType> getAdminGuiConfigurations()
-
getRoles
DeltaSetTriple<? extends EvaluatedAssignmentTarget> getRoles()
-
getEvaluatedConstructions
DeltaSetTriple<EvaluatedConstruction> getEvaluatedConstructions(Task task, OperationResult result) throws SchemaException, ObjectNotFoundException
-
getTarget
PrismObject<?> getTarget()
-
getAssignmentType
AssignmentType getAssignmentType(boolean old)
-
getRelation
QName getRelation()
-
getNormalizedRelation
QName getNormalizedRelation(RelationRegistry relationRegistry)
-
isValid
boolean isValid()
-
isPresentInCurrentObject
boolean isPresentInCurrentObject()
-
isPresentInOldObject
boolean isPresentInOldObject()
-
isPresentInNewObject
boolean isPresentInNewObject()
-
getFocusPolicyRules
@NotNull Collection<EvaluatedPolicyRule> getFocusPolicyRules()
Returns all policy rules that apply to the focal object 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 Collection<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 Collection<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 Collection<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
-
getPolicySituations
Collection<String> getPolicySituations()
-
triggerRule
void triggerRule(@NotNull EvaluatedPolicyRule rule, Collection<EvaluatedPolicyRuleTrigger<?>> triggers)
-
isBeingAdded
default boolean isBeingAdded()
Assignment is either being added in the current wave or was added in some of the previous waves.
-
isBeingDeleted
default boolean isBeingDeleted()
Assignment is either being deleted in the current wave or was deleted in some of the previous waves.
-
-