private void ensuringAccesedPropertiesAreLoaded(
         List<AggregatedHoursGroup> result) {
     for (AggregatedHoursGroup each : result) {
         each.getCriterionsJoinedByComma();
         each.getHours();
     }
 }
 @Override
 @Transactional(readOnly=true)
 public Integer getOrderHours() {
     if (task == null) {
         return 0;
     }
     return AggregatedHoursGroup.sum(getHoursAggregatedByCriteria());
 }