private void orderPolicies ( PoliciesBean policies ) { int idx = 1 ; for ( PolicyBean policy : policies . getPolicies ( ) ) { policy . setOrderIndex ( idx ++ ) ; } }
Set the order index of all policies .