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

项目:AvoinApotti    文件:SurgicalAuditPreOperationChecksImpl.java   
public SurgicalAuditPreOpChecksVo saveSurgicalAuditPreOpChecks(SurgicalAuditPreOpChecksVo surgAuditPreOpChecksToSave) throws StaleObjectException
{
    if (surgAuditPreOpChecksToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditPreOpChecks domainSurgicalAuditPreOpChecks = SurgicalAuditPreOpChecksVoAssembler.extractSurgicalAuditPreOpChecks(factory, surgAuditPreOpChecksToSave);
    factory.save(domainSurgicalAuditPreOpChecks);
    return SurgicalAuditPreOpChecksVoAssembler.create(domainSurgicalAuditPreOpChecks);
}
项目:openMAXIMS    文件:SurgicalAuditPreOperationChecksImpl.java   
public SurgicalAuditPreOpChecksVo saveSurgicalAuditPreOpChecks(SurgicalAuditPreOpChecksVo surgAuditPreOpChecksToSave) throws StaleObjectException
{
    if (surgAuditPreOpChecksToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditPreOpChecks domainSurgicalAuditPreOpChecks = SurgicalAuditPreOpChecksVoAssembler.extractSurgicalAuditPreOpChecks(factory, surgAuditPreOpChecksToSave);
    factory.save(domainSurgicalAuditPreOpChecks);
    return SurgicalAuditPreOpChecksVoAssembler.create(domainSurgicalAuditPreOpChecks);
}
项目:openMAXIMS    文件:SurgicalAuditPreOperationChecksImpl.java   
public SurgicalAuditPreOpChecksVo saveSurgicalAuditPreOpChecks(SurgicalAuditPreOpChecksVo surgAuditPreOpChecksToSave) throws StaleObjectException
{
    if (surgAuditPreOpChecksToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditPreOpChecks domainSurgicalAuditPreOpChecks = SurgicalAuditPreOpChecksVoAssembler.extractSurgicalAuditPreOpChecks(factory, surgAuditPreOpChecksToSave);
    factory.save(domainSurgicalAuditPreOpChecks);
    return SurgicalAuditPreOpChecksVoAssembler.create(domainSurgicalAuditPreOpChecks);
}
项目:openmaxims-linux    文件:SurgicalAuditPreOperationChecksImpl.java   
public SurgicalAuditPreOpChecksVo saveSurgicalAuditPreOpChecks(SurgicalAuditPreOpChecksVo surgAuditPreOpChecksToSave) throws StaleObjectException
{
    if (surgAuditPreOpChecksToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditPreOpChecks domainSurgicalAuditPreOpChecks = SurgicalAuditPreOpChecksVoAssembler.extractSurgicalAuditPreOpChecks(factory, surgAuditPreOpChecksToSave);
    factory.save(domainSurgicalAuditPreOpChecks);
    return SurgicalAuditPreOpChecksVoAssembler.create(domainSurgicalAuditPreOpChecks);
}