Java 类ims.core.vo.domain.ScreenHintVoAssembler 实例源码

项目:AvoinApotti    文件:ScreenHintsImpl.java   
/**
* getClinicalNote
*/
public ims.core.vo.ScreenHintVo getScreenHint(ims.core.generic.vo.ScreenHintRefVo hintRefVo)
{
    if(hintRefVo == null)
        throw new CodingRuntimeException("hintRefVo is null");

    DomainFactory factory = getDomainFactory();
    return ScreenHintVoAssembler.create((ScreenHint)factory.getDomainObject(ScreenHint.class, hintRefVo.getID_ScreenHint()));
}
项目:AvoinApotti    文件:ScreenHintsImpl.java   
public ims.core.vo.ScreenHintVo saveHint(ims.core.vo.ScreenHintVo hintVo) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException
{
    if(hintVo == null)
        throw new CodingRuntimeException("hintVo is null");

    if(!hintVo.isValidated())
        throw new CodingRuntimeException("hintVo Value Object has not been validated");

    DomainFactory factory = getDomainFactory();
    ScreenHint doHint = ScreenHintVoAssembler.extractScreenHint(factory, hintVo);

    factory.save(doHint);
    return ScreenHintVoAssembler.create(doHint);
}
项目:openMAXIMS    文件:ScreenHintsImpl.java   
/**
* getClinicalNote
*/
public ims.core.vo.ScreenHintVo getScreenHint(ims.core.generic.vo.ScreenHintRefVo hintRefVo)
{
    if(hintRefVo == null)
        throw new CodingRuntimeException("hintRefVo is null");

    DomainFactory factory = getDomainFactory();
    return ScreenHintVoAssembler.create((ScreenHint)factory.getDomainObject(ScreenHint.class, hintRefVo.getID_ScreenHint()));
}
项目:openMAXIMS    文件:ScreenHintsImpl.java   
public ims.core.vo.ScreenHintVo saveHint(ims.core.vo.ScreenHintVo hintVo) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException
{
    if(hintVo == null)
        throw new CodingRuntimeException("hintVo is null");

    if(!hintVo.isValidated())
        throw new CodingRuntimeException("hintVo Value Object has not been validated");

    DomainFactory factory = getDomainFactory();
    ScreenHint doHint = ScreenHintVoAssembler.extractScreenHint(factory, hintVo);

    factory.save(doHint);
    return ScreenHintVoAssembler.create(doHint);
}
项目:openMAXIMS    文件:ScreenHintsImpl.java   
/**
* getClinicalNote
*/
public ims.core.vo.ScreenHintVo getScreenHint(ims.core.generic.vo.ScreenHintRefVo hintRefVo)
{
    if(hintRefVo == null)
        throw new CodingRuntimeException("hintRefVo is null");

    DomainFactory factory = getDomainFactory();
    return ScreenHintVoAssembler.create((ScreenHint)factory.getDomainObject(ScreenHint.class, hintRefVo.getID_ScreenHint()));
}
项目:openMAXIMS    文件:ScreenHintsImpl.java   
public ims.core.vo.ScreenHintVo saveHint(ims.core.vo.ScreenHintVo hintVo) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException
{
    if(hintVo == null)
        throw new CodingRuntimeException("hintVo is null");

    if(!hintVo.isValidated())
        throw new CodingRuntimeException("hintVo Value Object has not been validated");

    DomainFactory factory = getDomainFactory();
    ScreenHint doHint = ScreenHintVoAssembler.extractScreenHint(factory, hintVo);

    factory.save(doHint);
    return ScreenHintVoAssembler.create(doHint);
}
项目:openmaxims-linux    文件:ScreenHintsImpl.java   
/**
* getClinicalNote
*/
public ims.core.vo.ScreenHintVo getScreenHint(ims.core.generic.vo.ScreenHintRefVo hintRefVo)
{
    if(hintRefVo == null)
        throw new CodingRuntimeException("hintRefVo is null");

    DomainFactory factory = getDomainFactory();
    return ScreenHintVoAssembler.create((ScreenHint)factory.getDomainObject(ScreenHint.class, hintRefVo.getID_ScreenHint()));
}
项目:openmaxims-linux    文件:ScreenHintsImpl.java   
public ims.core.vo.ScreenHintVo saveHint(ims.core.vo.ScreenHintVo hintVo) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException
{
    if(hintVo == null)
        throw new CodingRuntimeException("hintVo is null");

    if(!hintVo.isValidated())
        throw new CodingRuntimeException("hintVo Value Object has not been validated");

    DomainFactory factory = getDomainFactory();
    ScreenHint doHint = ScreenHintVoAssembler.extractScreenHint(factory, hintVo);

    factory.save(doHint);
    return ScreenHintVoAssembler.create(doHint);
}
项目:AvoinApotti    文件:ScreenHintProvider.java   
public IScreenHint getHint(String hintId) 
{
    return ScreenHintVoAssembler.create(ScreenHint.getScreenHintFromImsId(getDomainFactory(),hintId));
}
项目:AvoinApotti    文件:ScreenHintsImpl.java   
/**
* listClinicalNote
*/
public ims.core.vo.ScreenHintVoCollection listScreenHints()
{
    return ScreenHintVoAssembler.createScreenHintVoCollectionFromScreenHint(getDomainFactory().find(" from ScreenHint ")).sort();
}
项目:openMAXIMS    文件:ScreenHintProvider.java   
public IScreenHint getHint(String hintId) 
{
    return ScreenHintVoAssembler.create(ScreenHint.getScreenHintFromImsId(getDomainFactory(),hintId));
}
项目:openMAXIMS    文件:ScreenHintsImpl.java   
/**
* listClinicalNote
*/
public ims.core.vo.ScreenHintVoCollection listScreenHints()
{
    return ScreenHintVoAssembler.createScreenHintVoCollectionFromScreenHint(getDomainFactory().find(" from ScreenHint ")).sort();
}
项目:openMAXIMS    文件:ScreenHintProvider.java   
public IScreenHint getHint(String hintId) 
{
    return ScreenHintVoAssembler.create(ScreenHint.getScreenHintFromImsId(getDomainFactory(),hintId));
}
项目:openMAXIMS    文件:ScreenHintsImpl.java   
/**
* listClinicalNote
*/
public ims.core.vo.ScreenHintVoCollection listScreenHints()
{
    return ScreenHintVoAssembler.createScreenHintVoCollectionFromScreenHint(getDomainFactory().find(" from ScreenHint ")).sort();
}
项目:openmaxims-linux    文件:ScreenHintProvider.java   
public IScreenHint getHint(String hintId) 
{
    return ScreenHintVoAssembler.create(ScreenHint.getScreenHintFromImsId(getDomainFactory(),hintId));
}
项目:openmaxims-linux    文件:ScreenHintsImpl.java   
/**
* listClinicalNote
*/
public ims.core.vo.ScreenHintVoCollection listScreenHints()
{
    return ScreenHintVoAssembler.createScreenHintVoCollectionFromScreenHint(getDomainFactory().find(" from ScreenHint ")).sort();
}