/** * saveResultSpecimenType */ public void saveResultSpecimenType(ims.ocrr.vo.ResultSpecimenTypesVo resultSpecimenType) throws ims.domain.exceptions.StaleObjectException { if (resultSpecimenType == null) throw new CodingRuntimeException("resultSpecimenType is null in method saveResultSpecimenType"); if (!resultSpecimenType.isValidated()) throw new CodingRuntimeException("resultSpecimenType has not been validated in method saveResultSpecimenType"); getDomainFactory().save(ResultSpecimenTypesVoAssembler.extractResultSpecimenTypes(getDomainFactory(), resultSpecimenType)); }
/** * listResultSpecimenTypes */ public ims.ocrr.vo.ResultSpecimenTypesVoCollection listResultSpecimenTypes() { List items = getDomainFactory().find("from ResultSpecimenTypes"); return ResultSpecimenTypesVoAssembler.createResultSpecimenTypesVoCollectionFromResultSpecimenTypes(items); }