public OrganisationWithSitesVo getGPPractice(OrganisationRefVo organisationRef) { if(organisationRef == null) throw new CodingRuntimeException("Cannot get Organisation on null Id."); return OrganisationWithSitesVoAssembler.create((Organisation) getDomainFactory().getDomainObject(Organisation.class, organisationRef.getID_Organisation())); }
@Override public OrganisationWithSitesVo getPractice(OrganisationRefVo refVo) { if(refVo == null || refVo.getID_Organisation() == null) throw new CodingRuntimeException("OrganisationRefVo is null or id not provided for method getPractice"); return OrganisationWithSitesVoAssembler.create((Organisation) getDomainFactory().getDomainObject(refVo)); }
public ims.core.vo.OrganisationWithSitesVo getGPPractice(ims.core.resource.place.vo.OrganisationRefVo organisationRef) { if(organisationRef == null) throw new CodingRuntimeException("Cannot get Organisation on null Id."); return OrganisationWithSitesVoAssembler.create((Organisation) getDomainFactory().getDomainObject(Organisation.class, organisationRef.getID_Organisation())); }