Java 类ims.clinical.vo.domain.SurgicalAuditRecoveryVoAssembler 实例源码

项目:AvoinApotti    文件:SurgicalAuditRecoveryCCImpl.java   
public SurgicalAuditRecoveryVo saveSurgicalAuditRecovery(SurgicalAuditRecoveryVo surgicalAuditRecoveryToSave) throws StaleObjectException
{
    if (surgicalAuditRecoveryToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditRecoveryVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditRecovery domainSurgicalAuditRecovery = SurgicalAuditRecoveryVoAssembler.extractSurgicalAuditRecovery(factory, surgicalAuditRecoveryToSave);
    factory.save(domainSurgicalAuditRecovery);
    return SurgicalAuditRecoveryVoAssembler.create(domainSurgicalAuditRecovery);
}
项目:openMAXIMS    文件:SurgicalAuditRecoveryCCImpl.java   
public SurgicalAuditRecoveryVo saveSurgicalAuditRecovery(SurgicalAuditRecoveryVo surgicalAuditRecoveryToSave) throws StaleObjectException
{
    if (surgicalAuditRecoveryToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditRecoveryVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditRecovery domainSurgicalAuditRecovery = SurgicalAuditRecoveryVoAssembler.extractSurgicalAuditRecovery(factory, surgicalAuditRecoveryToSave);
    factory.save(domainSurgicalAuditRecovery);
    return SurgicalAuditRecoveryVoAssembler.create(domainSurgicalAuditRecovery);
}
项目:openMAXIMS    文件:SurgicalAuditRecoveryCCImpl.java   
public SurgicalAuditRecoveryVo saveSurgicalAuditRecovery(SurgicalAuditRecoveryVo surgicalAuditRecoveryToSave) throws StaleObjectException
{
    if (surgicalAuditRecoveryToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditRecoveryVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditRecovery domainSurgicalAuditRecovery = SurgicalAuditRecoveryVoAssembler.extractSurgicalAuditRecovery(factory, surgicalAuditRecoveryToSave);
    factory.save(domainSurgicalAuditRecovery);
    return SurgicalAuditRecoveryVoAssembler.create(domainSurgicalAuditRecovery);
}
项目:openmaxims-linux    文件:SurgicalAuditRecoveryCCImpl.java   
public SurgicalAuditRecoveryVo saveSurgicalAuditRecovery(SurgicalAuditRecoveryVo surgicalAuditRecoveryToSave) throws StaleObjectException
{
    if (surgicalAuditRecoveryToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditRecoveryVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditRecovery domainSurgicalAuditRecovery = SurgicalAuditRecoveryVoAssembler.extractSurgicalAuditRecovery(factory, surgicalAuditRecoveryToSave);
    factory.save(domainSurgicalAuditRecovery);
    return SurgicalAuditRecoveryVoAssembler.create(domainSurgicalAuditRecovery);
}