private void loadSpecimenContainers() { PathSpecimenContainerDetailVoCollection voCollSpecimenCont = form.getLocalContext().getContainers(); if(voCollSpecimenCont == null) { voCollSpecimenCont = domain.listPathSpecimenContainer(); form.getLocalContext().setContainers(voCollSpecimenCont); form.getGlobalContext().OCRR.setSpecimenContainers(voCollSpecimenCont); } }
public PathSpecimenContainerDetailVoCollection listPathSpecimenContainer() { List containers=getDomainFactory().find("from PathSpecimenContainer pathCont where pathCont.isActive = true order by pathSpecimenOrder ASC"); return PathSpecimenContainerDetailVoAssembler.createPathSpecimenContainerDetailVoCollectionFromPathSpecimenContainer(containers); }