CampaignEnrollmentsQuery function ( String arg0 ) { criteria . add ( new ExternalIdCriterion ( arg0 ) ) ; return this ; }
this provides the method for the externalid criterion , using which , the campaign enrollments are filtered based on external id . concode_field_sep List<Criterion> criteria concode_field_sep List<Criterion> getCriteria concode_elem_sep List<Criterion> getSecondaryCriteria concode_elem_sep CampaignEnrollmentsQuery havingState concode_elem_sep Criterion getPrimaryCriterion concode_elem_sep CampaignEnrollmentsQuery withCampaignName