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

项目:AvoinApotti    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}
项目:openMAXIMS    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}
项目:openMAXIMS    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}
项目:openmaxims-linux    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}