Skip to content

Instantly share code, notes, and snippets.

@MichaH
Created August 13, 2018 13:17
Show Gist options
  • Save MichaH/62962b6f4fc32d9205776985814c2e5e to your computer and use it in GitHub Desktop.
Save MichaH/62962b6f4fc32d9205776985814c2e5e to your computer and use it in GitHub Desktop.
FilterCriterion
FilterCriterion c1 = new FilterCriterion(
AufgabeSelectFilter.Criterion.AUFGABENAME_LIKE, vopa.getNextTask());
FilterCriterion c2 = new FilterCriterion(
AufgabeSelectFilter.Criterion.FALLID_EQ, vopa.getGfallId());
FilterAndList andFilter = new FilterAndList(c1, c2);
TreeSelectFilter selectFilter = new AufgabeSelectFilter(andFilter);
List<AufgabeLW> aufgabenListe = AufgabeLWHome.getDefault().findAll(selectFilter, em);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment