Java 类ims.ocrr.vo.domain.ReferralAppointmentDetailsOrderInvestigationVoAssembler 实例源码

项目:openmaxims-linux    文件:ClinicalOrdersResultsOCRRFormImpl.java   
public ReferralAppointmentDetailsOrderInvestigationVo getReferralAppointmentDetailsOrderInv(OrderInvestigationRefVo orderInvRef)
{
    if (orderInvRef==null || orderInvRef.getID_OrderInvestigation()==null)
        throw new CodingRuntimeException("OrderInvestigation parameter cannot be null !");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domainOrderInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orderInvRef.getID_OrderInvestigation());
    return ReferralAppointmentDetailsOrderInvestigationVoAssembler.create(domainOrderInv);
}
项目:AvoinApotti    文件:ClinicalOrdersResultsOCRRFormImpl.java   
public ReferralAppointmentDetailsOrderInvestigationVo getReferralAppointmentDetailsOrderInv(OrderInvestigationRefVo orderInvRef)
{
    if (orderInvRef==null || orderInvRef.getID_OrderInvestigation()==null)
        throw new CodingRuntimeException("OrderInvestigation parameter cannot be null !");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domainOrderInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orderInvRef.getID_OrderInvestigation());
    return ReferralAppointmentDetailsOrderInvestigationVoAssembler.create(domainOrderInv);
}
项目:AvoinApotti    文件:ReferralAppointmentDetailsComponentImpl.java   
public void saveOrderInv(ReferralAppointmentDetailsOrderInvestigationVo voOrderInv) throws StaleObjectException
{
    if(voOrderInv == null)
        throw new CodingRuntimeException("voOrderInv is null in method saveOrderInv");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation doOrderInv = ReferralAppointmentDetailsOrderInvestigationVoAssembler.extractOrderInvestigation(factory, voOrderInv);     
    factory.save(doOrderInv);
}
项目:openMAXIMS    文件:ClinicalOrdersResultsOCRRFormImpl.java   
public ReferralAppointmentDetailsOrderInvestigationVo getReferralAppointmentDetailsOrderInv(OrderInvestigationRefVo orderInvRef)
{
    if (orderInvRef==null || orderInvRef.getID_OrderInvestigation()==null)
        throw new CodingRuntimeException("OrderInvestigation parameter cannot be null !");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domainOrderInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orderInvRef.getID_OrderInvestigation());
    return ReferralAppointmentDetailsOrderInvestigationVoAssembler.create(domainOrderInv);
}
项目:openMAXIMS    文件:ReferralAppointmentDetailsComponentImpl.java   
public void saveOrderInv(ReferralAppointmentDetailsOrderInvestigationVo voOrderInv) throws StaleObjectException
{
    if(voOrderInv == null)
        throw new CodingRuntimeException("voOrderInv is null in method saveOrderInv");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation doOrderInv = ReferralAppointmentDetailsOrderInvestigationVoAssembler.extractOrderInvestigation(factory, voOrderInv);     
    factory.save(doOrderInv);
}
项目:openMAXIMS    文件:ClinicalOrdersResultsOCRRFormImpl.java   
public ReferralAppointmentDetailsOrderInvestigationVo getReferralAppointmentDetailsOrderInv(OrderInvestigationRefVo orderInvRef)
{
    if (orderInvRef==null || orderInvRef.getID_OrderInvestigation()==null)
        throw new CodingRuntimeException("OrderInvestigation parameter cannot be null !");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domainOrderInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orderInvRef.getID_OrderInvestigation());
    return ReferralAppointmentDetailsOrderInvestigationVoAssembler.create(domainOrderInv);
}
项目:openMAXIMS    文件:ReferralAppointmentDetailsComponentImpl.java   
public void saveOrderInv(ReferralAppointmentDetailsOrderInvestigationVo voOrderInv) throws StaleObjectException
{
    if(voOrderInv == null)
        throw new CodingRuntimeException("voOrderInv is null in method saveOrderInv");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation doOrderInv = ReferralAppointmentDetailsOrderInvestigationVoAssembler.extractOrderInvestigation(factory, voOrderInv);     
    factory.save(doOrderInv);
}