code: private void populateActivityCodes(Task task)
     {
        List<Integer> list = m_activityCodeAssignments.get(task.getUniqueID());
        if (list != null)
        {
           for (Integer id : list)
           {
              ActivityCodeValue value = m_activityCodeMap.get(id);
              if (value != null)
              {
                 task.addActivityCode(value);
              }
           }
        }
     }
docs: Read details of any activity codes assigned to this task.
  
  @param task parent task