EnrollmentsQuery function ( String arg0 , String arg1 ) { criteria . add ( new MetadataCriterion ( arg0 , arg1 ) ) ; return this ; }
this adds the criteria using which enrollments are filtered based on them having given metadata values in their metadata map . concode_field_sep List<Criterion> criteria concode_field_sep List<Criterion> getCriteria concode_elem_sep EnrollmentsQuery havingExternalId concode_elem_sep List<Criterion> getSecondaryCriteria concode_elem_sep EnrollmentsQuery havingState concode_elem_sep Criterion getPrimaryCriterion concode_elem_sep EnrollmentsQuery havingWindowEndingDuring concode_elem_sep EnrollmentsQuery havingCurrentMilestone concode_elem_sep EnrollmentsQuery havingSchedule concode_elem_sep EnrollmentsQuery havingWindowStartingDuring concode_elem_sep EnrollmentsQuery currentlyInWindow concode_elem_sep EnrollmentsQuery completedDuring