Java 类ims.therapies.vo.domain.MobilisationsTreatmentVoAssembler 实例源码

项目:AvoinApotti    文件:MobilisationsImpl.java   
public MobilisationsTreatmentVo saveMobilisationTreatment(MobilisationsTreatmentVo record) throws DomainInterfaceException, StaleObjectException, UniqueKeyViolationException 
{
    if (record == null || record.getID_MobilisationsTreatment()== null)
        throw new CodingRuntimeException("This MobilisationsTreatmentVo is null");


    DomainFactory factory = getDomainFactory(); 


    MobilisationsTreatment domMobilisationsTreatment = MobilisationsTreatmentVoAssembler.extractMobilisationsTreatment(factory, record);
    domMobilisationsTreatment.setIsRIE(record.getIsRIE());
    factory.save(domMobilisationsTreatment);

    return MobilisationsTreatmentVoAssembler.create(domMobilisationsTreatment);
}
项目:openMAXIMS    文件:MobilisationsImpl.java   
public MobilisationsTreatmentVo saveMobilisationTreatment(MobilisationsTreatmentVo record) throws DomainInterfaceException, StaleObjectException, UniqueKeyViolationException 
{
    if (record == null || record.getID_MobilisationsTreatment()== null)
        throw new CodingRuntimeException("This MobilisationsTreatmentVo is null");


    DomainFactory factory = getDomainFactory(); 


    MobilisationsTreatment domMobilisationsTreatment = MobilisationsTreatmentVoAssembler.extractMobilisationsTreatment(factory, record);
    domMobilisationsTreatment.setIsRIE(record.getIsRIE());
    factory.save(domMobilisationsTreatment);

    return MobilisationsTreatmentVoAssembler.create(domMobilisationsTreatment);
}
项目:openMAXIMS    文件:MobilisationsImpl.java   
public MobilisationsTreatmentVo saveMobilisationTreatment(MobilisationsTreatmentVo record) throws DomainInterfaceException, StaleObjectException, UniqueKeyViolationException 
{
    if (record == null || record.getID_MobilisationsTreatment()== null)
        throw new CodingRuntimeException("This MobilisationsTreatmentVo is null");


    DomainFactory factory = getDomainFactory(); 


    MobilisationsTreatment domMobilisationsTreatment = MobilisationsTreatmentVoAssembler.extractMobilisationsTreatment(factory, record);
    domMobilisationsTreatment.setIsRIE(record.getIsRIE());
    factory.save(domMobilisationsTreatment);

    return MobilisationsTreatmentVoAssembler.create(domMobilisationsTreatment);
}
项目:openmaxims-linux    文件:MobilisationsImpl.java   
public MobilisationsTreatmentVo saveMobilisationTreatment(MobilisationsTreatmentVo record) throws DomainInterfaceException, StaleObjectException, UniqueKeyViolationException 
{
    if (record == null || record.getID_MobilisationsTreatment()== null)
        throw new CodingRuntimeException("This MobilisationsTreatmentVo is null");


    DomainFactory factory = getDomainFactory(); 


    MobilisationsTreatment domMobilisationsTreatment = MobilisationsTreatmentVoAssembler.extractMobilisationsTreatment(factory, record);
    domMobilisationsTreatment.setIsRIE(record.getIsRIE());
    factory.save(domMobilisationsTreatment);

    return MobilisationsTreatmentVoAssembler.create(domMobilisationsTreatment);
}