Class GlobalPolicyRuleCounter
java.lang.Object
com.evolveum.midpoint.web.application.SimpleCounter<AssignmentHolderDetailsModel<AssignmentHolderType>,AssignmentHolderType>
com.evolveum.midpoint.gui.impl.page.admin.systemconfiguration.component.GlobalPolicyRuleCounter
public class GlobalPolicyRuleCounter
extends SimpleCounter<AssignmentHolderDetailsModel<AssignmentHolderType>,AssignmentHolderType>
Created by Viliam Repan (lazyman).
TODO actual implementation not very nice since it contains multiple ifs based on for which
ObjectType
and specific field we're doing the count
It either should be multiple classes per concrete use (type and itempath) or probably better pointer to container
which values we want to count (in this case GlobalPolicyRuleType container)-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
count
(AssignmentHolderDetailsModel<AssignmentHolderType> model, PageBase pageBase)
-
Constructor Details
-
GlobalPolicyRuleCounter
public GlobalPolicyRuleCounter()
-
-
Method Details
-
count
- Overrides:
count
in classSimpleCounter<AssignmentHolderDetailsModel<AssignmentHolderType>,
AssignmentHolderType>
-