converts a documentmodellist to a list of task s. concode_field_sep long serialVersionUID concode_elem_sep Log log concode_field_sep String endTask concode_elem_sep List<Task> getTasks concode_elem_sep List<Task> getAllTaskInstances concode_elem_sep List<Task> getAllTaskInstances concode_elem_sep List<Task> getAllTaskInstances concode_elem_sep List<Task> getAllTaskInstances concode_elem_sep List<Task> getTaskInstances concode_elem_sep List<Task> getTaskInstances concode_elem_sep List<Task> getTaskInstances concode_elem_sep List<Task> getCurrentTaskInstances concode_elem_sep List<Task> getCurrentTaskInstances concode_elem_sep List<Task> getCurrentTaskInstances concode_elem_sep List<Task> getCurrentTaskInstances
List < Task > function ( DocumentModelList arg0 , boolean arg1 ) { List < Task > loc0 = new ArrayList < Task > ( ) ; for ( DocumentModel loc1 : arg0 ) { if ( arg1 ) { loc1 . arg1 ( true ) ; } loc0 . add ( loc1 . getAdapter ( Task . class ) ) ; } return loc0 ; }