Java 类ims.nursing.vo.domain.InterventionChartVoAssembler 实例源码

项目:AvoinApotti    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartVo getInterventionRecord(ims.nursing.vo.InterventionChartHeaderVo intervention)
{
    DomainFactory factory = getDomainFactory();
    ims.nursing.domain.objects.InterventionChart interventionChart = (InterventionChart)factory.getDomainObject(InterventionChart.class, intervention.getID_InterventionChart());   
    return (InterventionChartVoAssembler.create(interventionChart));
}
项目:openMAXIMS    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartVo getInterventionRecord(ims.nursing.vo.InterventionChartHeaderVo intervention)
{
    DomainFactory factory = getDomainFactory();
    ims.nursing.domain.objects.InterventionChart interventionChart = (InterventionChart)factory.getDomainObject(InterventionChart.class, intervention.getID_InterventionChart());   
    return (InterventionChartVoAssembler.create(interventionChart));
}
项目:openMAXIMS    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartVo getInterventionRecord(ims.nursing.vo.InterventionChartHeaderVo intervention)
{
    DomainFactory factory = getDomainFactory();
    ims.nursing.domain.objects.InterventionChart interventionChart = (InterventionChart)factory.getDomainObject(InterventionChart.class, intervention.getID_InterventionChart());   
    return (InterventionChartVoAssembler.create(interventionChart));
}
项目:openmaxims-linux    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartVo getInterventionRecord(ims.nursing.vo.InterventionChartHeaderVo intervention)
{
    DomainFactory factory = getDomainFactory();
    ims.nursing.domain.objects.InterventionChart interventionChart = (InterventionChart)factory.getDomainObject(InterventionChart.class, intervention.getID_InterventionChart());   
    return (InterventionChartVoAssembler.create(interventionChart));
}
项目:AvoinApotti    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartHeaderVo saveIntervention(ims.nursing.vo.InterventionChartVo interventionChart, ClinicalContactShortVo contact) throws ims.domain.exceptions.StaleObjectException
{
    if (!interventionChart.isValidated())
        throw new DomainRuntimeException("This Intervention Chart has not been validated");

    DomainFactory factory = getDomainFactory();

    InterventionChart doInterventionChart = InterventionChartVoAssembler.extractInterventionChart(factory, interventionChart);

    factory.save(doInterventionChart);  

    return InterventionChartHeaderVoAssembler.create(doInterventionChart);

}
项目:openMAXIMS    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartHeaderVo saveIntervention(ims.nursing.vo.InterventionChartVo interventionChart, ClinicalContactShortVo contact) throws ims.domain.exceptions.StaleObjectException
{
    if (!interventionChart.isValidated())
        throw new DomainRuntimeException("This Intervention Chart has not been validated");

    DomainFactory factory = getDomainFactory();

    InterventionChart doInterventionChart = InterventionChartVoAssembler.extractInterventionChart(factory, interventionChart);

    factory.save(doInterventionChart);  

    return InterventionChartHeaderVoAssembler.create(doInterventionChart);

}
项目:openMAXIMS    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartHeaderVo saveIntervention(ims.nursing.vo.InterventionChartVo interventionChart, ClinicalContactShortVo contact) throws ims.domain.exceptions.StaleObjectException
{
    if (!interventionChart.isValidated())
        throw new DomainRuntimeException("This Intervention Chart has not been validated");

    DomainFactory factory = getDomainFactory();

    InterventionChart doInterventionChart = InterventionChartVoAssembler.extractInterventionChart(factory, interventionChart);

    factory.save(doInterventionChart);  

    return InterventionChartHeaderVoAssembler.create(doInterventionChart);

}
项目:openmaxims-linux    文件:NurInterventionChartImpl.java   
public ims.nursing.vo.InterventionChartHeaderVo saveIntervention(ims.nursing.vo.InterventionChartVo interventionChart, ClinicalContactShortVo contact) throws ims.domain.exceptions.StaleObjectException
{
    if (!interventionChart.isValidated())
        throw new DomainRuntimeException("This Intervention Chart has not been validated");

    DomainFactory factory = getDomainFactory();

    InterventionChart doInterventionChart = InterventionChartVoAssembler.extractInterventionChart(factory, interventionChart);

    factory.save(doInterventionChart);  

    return InterventionChartHeaderVoAssembler.create(doInterventionChart);

}