Java 类ims.emergency.vo.domain.AttendanceKPIConfigForClinicianWorklistVoAssembler 实例源码

项目:AvoinApotti    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ims.framework.interfaces.ILocation edLocation)
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}
项目:AvoinApotti    文件:ClinicianAssessmentWorklistImpl.java   
public AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ILocation edLocation) 
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ims.framework.interfaces.ILocation edLocation)
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi where kpi.eDLocation.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}
项目:openMAXIMS    文件:ClinicianAssessmentWorklistImpl.java   
public AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ILocation edLocation) 
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ims.framework.interfaces.ILocation edLocation)
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}
项目:openMAXIMS    文件:ClinicianAssessmentWorklistImpl.java   
public AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ILocation edLocation) 
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}
项目:openmaxims-linux    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ims.framework.interfaces.ILocation edLocation)
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}
项目:openmaxims-linux    文件:ClinicianAssessmentWorklistImpl.java   
public AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ILocation edLocation) 
{
    if(edLocation == null)
        throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc";

    List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()});

    if(list == null || list.size() == 0)
        return null;

    return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));
}