Java 类ims.admin.vo.PrintLocationConfigVo 实例源码

项目:AvoinApotti    文件:OcsIfInboundImpl.java   
private PrintLocationConfigVo getPrintLocationConfiguration(Location hosp)
{
    if(hosp != null)
    {
        ResultsPrintingConfig impl = (ResultsPrintingConfig) getDomainImpl(ResultsPrintingConfigImpl.class);
        return impl.getPrintLocationConfigByLocation(new LocationRefVo(hosp.getId(),hosp.getVersion()));
    }

    return null;
}
项目:AvoinApotti    文件:ResultsPrintingConfigImpl.java   
/**
 * savePrintLocationConfigCollection
 */
public void savePrintLocationConfigCollection(PrintLocationConfigVoCollection voCollPrintLocConfig) throws StaleObjectException
{
    if (voCollPrintLocConfig == null)
        throw new CodingRuntimeException("voCollPrintLocConfig is null in method savePrintLocationConfigCollection");

    for(PrintLocationConfigVo voPrintLocConf : voCollPrintLocConfig)
        getDomainFactory().save(PrintLocationConfigVoAssembler.extractPrintLocationConfig(getDomainFactory(), voPrintLocConf)); 
}
项目:AvoinApotti    文件:ResultsPrintingConfigImpl.java   
/**
 * 
 */
public PrintLocationConfigVo getPrintLocationConfigByLocation(LocationRefVo location)
{
    if (location == null || location.getID_Location() == null)
        throw new CodingRuntimeException("location is null or id not provided in method getPrintLocationConfigByLocation");

    ims.core.admin.domain.objects.PrintLocationConfig doPrintLocConf = ims.core.admin.domain.objects.PrintLocationConfig.getPrintLocationConfigFromSite(getDomainFactory(), location.getBoId());
    if(doPrintLocConf != null)
        return PrintLocationConfigVoAssembler.create(doPrintLocConf);

    return null;
}
项目:openMAXIMS    文件:OcsIfInboundImpl.java   
private PrintLocationConfigVo getPrintLocationConfiguration(Location hosp)
{
    if(hosp != null)
    {
        ResultsPrintingConfig impl = (ResultsPrintingConfig) getDomainImpl(ResultsPrintingConfigImpl.class);
        return impl.getPrintLocationConfigByLocation(new LocationRefVo(hosp.getId(),hosp.getVersion()));
    }

    return null;
}
项目:openMAXIMS    文件:ResultsPrintingConfigImpl.java   
/**
 * savePrintLocationConfigCollection
 */
public void savePrintLocationConfigCollection(PrintLocationConfigVoCollection voCollPrintLocConfig) throws StaleObjectException
{
    if (voCollPrintLocConfig == null)
        throw new CodingRuntimeException("voCollPrintLocConfig is null in method savePrintLocationConfigCollection");

    for(PrintLocationConfigVo voPrintLocConf : voCollPrintLocConfig)
        getDomainFactory().save(PrintLocationConfigVoAssembler.extractPrintLocationConfig(getDomainFactory(), voPrintLocConf)); 
}
项目:openMAXIMS    文件:ResultsPrintingConfigImpl.java   
/**
 * 
 */
public PrintLocationConfigVo getPrintLocationConfigByLocation(LocationRefVo location)
{
    if (location == null || location.getID_Location() == null)
        throw new CodingRuntimeException("location is null or id not provided in method getPrintLocationConfigByLocation");

    ims.core.admin.domain.objects.PrintLocationConfig doPrintLocConf = ims.core.admin.domain.objects.PrintLocationConfig.getPrintLocationConfigFromSite(getDomainFactory(), location.getBoId());
    if(doPrintLocConf != null)
        return PrintLocationConfigVoAssembler.create(doPrintLocConf);

    return null;
}
项目:openMAXIMS    文件:OcsIfInboundImpl.java   
private PrintLocationConfigVo getPrintLocationConfiguration(Location hosp)
{
    if(hosp != null)
    {
        ResultsPrintingConfig impl = (ResultsPrintingConfig) getDomainImpl(ResultsPrintingConfigImpl.class);
        return impl.getPrintLocationConfigByLocation(new LocationRefVo(hosp.getId(),hosp.getVersion()));
    }

    return null;
}
项目:openMAXIMS    文件:ResultsPrintingConfigImpl.java   
/**
 * savePrintLocationConfigCollection
 */
public void savePrintLocationConfigCollection(PrintLocationConfigVoCollection voCollPrintLocConfig) throws StaleObjectException
{
    if (voCollPrintLocConfig == null)
        throw new CodingRuntimeException("voCollPrintLocConfig is null in method savePrintLocationConfigCollection");

    for(PrintLocationConfigVo voPrintLocConf : voCollPrintLocConfig)
        getDomainFactory().save(PrintLocationConfigVoAssembler.extractPrintLocationConfig(getDomainFactory(), voPrintLocConf)); 
}
项目:openMAXIMS    文件:ResultsPrintingConfigImpl.java   
/**
 * 
 */
public PrintLocationConfigVo getPrintLocationConfigByLocation(LocationRefVo location)
{
    if (location == null || location.getID_Location() == null)
        throw new CodingRuntimeException("location is null or id not provided in method getPrintLocationConfigByLocation");

    ims.core.admin.domain.objects.PrintLocationConfig doPrintLocConf = ims.core.admin.domain.objects.PrintLocationConfig.getPrintLocationConfigFromSite(getDomainFactory(), location.getBoId());
    if(doPrintLocConf != null)
        return PrintLocationConfigVoAssembler.create(doPrintLocConf);

    return null;
}
项目:openmaxims-linux    文件:OcsIfInboundImpl.java   
private PrintLocationConfigVo getPrintLocationConfiguration(Location hosp)
{
    if(hosp != null)
    {
        ResultsPrintingConfig impl = (ResultsPrintingConfig) getDomainImpl(ResultsPrintingConfigImpl.class);
        return impl.getPrintLocationConfigByLocation(new LocationRefVo(hosp.getId(),hosp.getVersion()));
    }

    return null;
}
项目:openmaxims-linux    文件:ResultsPrintingConfigImpl.java   
/**
 * savePrintLocationConfigCollection
 */
public void savePrintLocationConfigCollection(PrintLocationConfigVoCollection voCollPrintLocConfig) throws StaleObjectException
{
    if (voCollPrintLocConfig == null)
        throw new CodingRuntimeException("voCollPrintLocConfig is null in method savePrintLocationConfigCollection");

    for(PrintLocationConfigVo voPrintLocConf : voCollPrintLocConfig)
        getDomainFactory().save(PrintLocationConfigVoAssembler.extractPrintLocationConfig(getDomainFactory(), voPrintLocConf)); 
}
项目:openmaxims-linux    文件:ResultsPrintingConfigImpl.java   
/**
 * 
 */
public PrintLocationConfigVo getPrintLocationConfigByLocation(LocationRefVo location)
{
    if (location == null || location.getID_Location() == null)
        throw new CodingRuntimeException("location is null or id not provided in method getPrintLocationConfigByLocation");

    ims.core.admin.domain.objects.PrintLocationConfig doPrintLocConf = ims.core.admin.domain.objects.PrintLocationConfig.getPrintLocationConfigFromSite(getDomainFactory(), location.getBoId());
    if(doPrintLocConf != null)
        return PrintLocationConfigVoAssembler.create(doPrintLocConf);

    return null;
}