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 whichObjectType
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
Constructors Constructor Description GlobalPolicyRuleCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count(AssignmentHolderDetailsModel<AssignmentHolderType> model, PageBase pageBase)
-
-
-
Method Detail
-
count
public int count(AssignmentHolderDetailsModel<AssignmentHolderType> model, PageBase pageBase)
- Overrides:
count
in classSimpleCounter<AssignmentHolderDetailsModel<AssignmentHolderType>,AssignmentHolderType>
-
-