public GPLiteWithPracticesVo listGPS(GpRefVo filter) { DomainFactory factory = getDomainFactory(); Gp doGP = (Gp) factory.getDomainObject(Gp.class, filter.getID_Gp()); return GPLiteWithPracticesVoAssembler.create(doGP); }
public GPLiteWithPracticesVo getGpLite(GpRefVo gpRefVo) { if(gpRefVo == null) throw new CodingRuntimeException("Cannot get GpLiteVo for null GpRefVo"); Gp doGp = (Gp)getDomainFactory().getDomainObject(Gp.class, gpRefVo.getID_Gp()); return GPLiteWithPracticesVoAssembler.create(doGp); }