Class WidgetFocusTrimContribution
java.lang.Object
com.evolveum.midpoint.gui.impl.page.self.dashboard.WidgetFocusTrimContribution
Mutable contribution assembled for a single supported self-dashboard widget while trim rules are being derived.
Instances are populated by DashboardWidgetTrimRegistry for registered assignment-backed panels and then
merged into DashboardWidgetRuntimeInspector.TrimPlan. Unsupported panels return no contribution, which keeps
trimming disabled for them and preserves correctness.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssignmentPanelRule(String panelType, int limit, QName targetType) Adds an assignment-preserving rule for a preview widget.voidaddPreservedAssignmentPanelRule(String panelType, QName targetType) Adds a rule that preserves all assignments matching the widget semantics.booleanisEmpty()voidsetKeepAssignmentsMatchingRoleMembershipRef(boolean keepAssignmentsMatchingRoleMembershipRef) Preserves assignments whose target matchesroleMembershipRefentries used by non-assignment-backed access widgets such asuserAllAccesses.
-
Constructor Details
-
WidgetFocusTrimContribution
public WidgetFocusTrimContribution()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
addAssignmentPanelRule
Adds an assignment-preserving rule for a preview widget. -
addPreservedAssignmentPanelRule
Adds a rule that preserves all assignments matching the widget semantics. -
setKeepAssignmentsMatchingRoleMembershipRef
public void setKeepAssignmentsMatchingRoleMembershipRef(boolean keepAssignmentsMatchingRoleMembershipRef) Preserves assignments whose target matchesroleMembershipRefentries used by non-assignment-backed access widgets such asuserAllAccesses.
-