private void processChildTasks ( Task parentTask ) throws SQLException { List < Row > rows = getRows ( "select * from zscheduleitem where zparentactivity_=? and z_ent=? order by zorderinparentactivity" , parentTask . getUniqueID ( ) , m_entityMap . get ( "Activity" ) ) ; for ( Row row : rows ) { Task task = parentTask . addTask ( ) ; populateTask ( row , task ) ; processChildTasks ( task ) ; } }
Read all child tasks for a given parent .