public NewResultSpecDocVo getOrderInvestigation(OrderInvestigationRefVo refOrderInvestigation) { if(refOrderInvestigation == null || refOrderInvestigation.getID_OrderInvestigation() == null) throw new DomainRuntimeException("Invalid orderInvestigation"); DomainFactory factory = getDomainFactory(); OrderInvestigation domOrdInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, refOrderInvestigation.getID_OrderInvestigation()); if (domOrdInv == null) return null; return NewResultSpecDocVoAssembler.create(domOrdInv); }