Java 类ims.admin.vo.domain.ElectronicPrescribingConfigVoAssembler 实例源码

项目:AvoinApotti    文件:ElectronicPrescribingConfigFormImpl.java   
public void deleteElectronicPrescribingRecord(ElectronicPrescribingConfigVo voEP) throws StaleObjectException, ForeignKeyViolationException
    {
        if(voEP == null) 
            throw new CodingRuntimeException("ElectronicPrescribingConfigVo is null");

        if (!voEP.isValidated())
            throw new DomainRuntimeException("ElectronicPrescribingConfigVo not validated");

        DomainFactory factory = getDomainFactory();
        ElectronicPrescribingConfig doEP = ElectronicPrescribingConfigVoAssembler.extractElectronicPrescribingConfig(factory, voEP);    
        try
        {
            factory.delete(doEP);                   
        }
        catch (IllegalArgumentException e)
        {
            throw new StaleObjectException(doEP);
        }
}
项目:openMAXIMS    文件:ElectronicPrescribingConfigFormImpl.java   
public void deleteElectronicPrescribingRecord(ElectronicPrescribingConfigVo voEP) throws StaleObjectException, ForeignKeyViolationException
    {
        if(voEP == null) 
            throw new CodingRuntimeException("ElectronicPrescribingConfigVo is null");

        if (!voEP.isValidated())
            throw new DomainRuntimeException("ElectronicPrescribingConfigVo not validated");

        DomainFactory factory = getDomainFactory();
        ElectronicPrescribingConfig doEP = ElectronicPrescribingConfigVoAssembler.extractElectronicPrescribingConfig(factory, voEP);    
        try
        {
            factory.delete(doEP);                   
        }
        catch (IllegalArgumentException e)
        {
            throw new StaleObjectException(doEP);
        }
}
项目:openMAXIMS    文件:ElectronicPrescribingConfigFormImpl.java   
public void deleteElectronicPrescribingRecord(ElectronicPrescribingConfigVo voEP) throws StaleObjectException, ForeignKeyViolationException
    {
        if(voEP == null) 
            throw new CodingRuntimeException("ElectronicPrescribingConfigVo is null");

        if (!voEP.isValidated())
            throw new DomainRuntimeException("ElectronicPrescribingConfigVo not validated");

        DomainFactory factory = getDomainFactory();
        ElectronicPrescribingConfig doEP = ElectronicPrescribingConfigVoAssembler.extractElectronicPrescribingConfig(factory, voEP);    
        try
        {
            factory.delete(doEP);                   
        }
        catch (IllegalArgumentException e)
        {
            throw new StaleObjectException(doEP);
        }
}
项目:openmaxims-linux    文件:ElectronicPrescribingConfigFormImpl.java   
public void deleteElectronicPrescribingRecord(ElectronicPrescribingConfigVo voEP) throws StaleObjectException, ForeignKeyViolationException
    {
        if(voEP == null) 
            throw new CodingRuntimeException("ElectronicPrescribingConfigVo is null");

        if (!voEP.isValidated())
            throw new DomainRuntimeException("ElectronicPrescribingConfigVo not validated");

        DomainFactory factory = getDomainFactory();
        ElectronicPrescribingConfig doEP = ElectronicPrescribingConfigVoAssembler.extractElectronicPrescribingConfig(factory, voEP);    
        try
        {
            factory.delete(doEP);                   
        }
        catch (IllegalArgumentException e)
        {
            throw new StaleObjectException(doEP);
        }
}
项目:AvoinApotti    文件:ElectronicPrescribingConfigFormImpl.java   
public ims.admin.vo.ElectronicPrescribingConfigVoCollection listElectronicPrescribing()
{
    DomainFactory factory = getDomainFactory();
    return ElectronicPrescribingConfigVoAssembler.createElectronicPrescribingConfigVoCollectionFromElectronicPrescribingConfig(factory.listDomainObjects(ElectronicPrescribingConfig.class)).sort();
}
项目:openMAXIMS    文件:ElectronicPrescribingConfigFormImpl.java   
public ims.admin.vo.ElectronicPrescribingConfigVoCollection listElectronicPrescribing()
{
    DomainFactory factory = getDomainFactory();
    return ElectronicPrescribingConfigVoAssembler.createElectronicPrescribingConfigVoCollectionFromElectronicPrescribingConfig(factory.listDomainObjects(ElectronicPrescribingConfig.class)).sort();
}
项目:openMAXIMS    文件:ElectronicPrescribingConfigFormImpl.java   
public ims.admin.vo.ElectronicPrescribingConfigVoCollection listElectronicPrescribing()
{
    DomainFactory factory = getDomainFactory();
    return ElectronicPrescribingConfigVoAssembler.createElectronicPrescribingConfigVoCollectionFromElectronicPrescribingConfig(factory.listDomainObjects(ElectronicPrescribingConfig.class)).sort();
}
项目:openmaxims-linux    文件:ElectronicPrescribingConfigFormImpl.java   
public ims.admin.vo.ElectronicPrescribingConfigVoCollection listElectronicPrescribing()
{
    DomainFactory factory = getDomainFactory();
    return ElectronicPrescribingConfigVoAssembler.createElectronicPrescribingConfigVoCollectionFromElectronicPrescribingConfig(factory.listDomainObjects(ElectronicPrescribingConfig.class)).sort();
}