/** * getClinicalNote */ public ims.core.vo.ScreenHintVo getScreenHint(ims.core.generic.vo.ScreenHintRefVo hintRefVo) { if(hintRefVo == null) throw new CodingRuntimeException("hintRefVo is null"); DomainFactory factory = getDomainFactory(); return ScreenHintVoAssembler.create((ScreenHint)factory.getDomainObject(ScreenHint.class, hintRefVo.getID_ScreenHint())); }
public ims.core.vo.ScreenHintVo saveHint(ims.core.vo.ScreenHintVo hintVo) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException { if(hintVo == null) throw new CodingRuntimeException("hintVo is null"); if(!hintVo.isValidated()) throw new CodingRuntimeException("hintVo Value Object has not been validated"); DomainFactory factory = getDomainFactory(); ScreenHint doHint = ScreenHintVoAssembler.extractScreenHint(factory, hintVo); factory.save(doHint); return ScreenHintVoAssembler.create(doHint); }
public IScreenHint getHint(String hintId) { return ScreenHintVoAssembler.create(ScreenHint.getScreenHintFromImsId(getDomainFactory(),hintId)); }
/** * listClinicalNote */ public ims.core.vo.ScreenHintVoCollection listScreenHints() { return ScreenHintVoAssembler.createScreenHintVoCollectionFromScreenHint(getDomainFactory().find(" from ScreenHint ")).sort(); }