public interface EvaluatedAssignment<F extends FocusType> extends DebugDumpable
INDENT_STRING
Modifier and Type | Method and 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<com.evolveum.midpoint.security.api.Authorization> |
getAuthorizations() |
DeltaSetTriple<EvaluatedConstruction> |
getEvaluatedConstructions(com.evolveum.midpoint.task.api.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.
|
boolean |
isPresentInCurrentObject() |
boolean |
isPresentInOldObject() |
boolean |
isValid() |
void |
triggerConstraintLegacy(EvaluatedPolicyRuleTrigger trigger,
LocalizationService localizationService) |
void |
triggerRule(EvaluatedPolicyRule rule,
Collection<EvaluatedPolicyRuleTrigger<?>> triggers) |
debugDump, debugDump, debugDumpLazily, debugDumpLazily
AssignmentType getAssignmentType()
Long getAssignmentId()
Collection<com.evolveum.midpoint.security.api.Authorization> getAuthorizations()
Collection<AdminGuiConfigurationType> getAdminGuiConfigurations()
DeltaSetTriple<? extends EvaluatedAssignmentTarget> getRoles()
DeltaSetTriple<EvaluatedConstruction> getEvaluatedConstructions(com.evolveum.midpoint.task.api.Task task, OperationResult result) throws SchemaException, ObjectNotFoundException
PrismObject<?> getTarget()
AssignmentType getAssignmentType(boolean old)
QName getRelation()
QName getNormalizedRelation(RelationRegistry relationRegistry)
boolean isValid()
boolean isPresentInCurrentObject()
boolean isPresentInOldObject()
@NotNull Collection<EvaluatedPolicyRule> getFocusPolicyRules()
@NotNull Collection<EvaluatedPolicyRule> getThisTargetPolicyRules()
@NotNull Collection<EvaluatedPolicyRule> getOtherTargetsPolicyRules()
@NotNull Collection<EvaluatedPolicyRule> getAllTargetsPolicyRules()
Collection<String> getPolicySituations()
void triggerRule(@NotNull EvaluatedPolicyRule rule, Collection<EvaluatedPolicyRuleTrigger<?>> triggers)
void triggerConstraintLegacy(EvaluatedPolicyRuleTrigger trigger, LocalizationService localizationService) throws PolicyViolationException
PolicyViolationException
Copyright © 2019 Evolveum. All rights reserved.