Java 类ims.emergency.vo.AttendanceKPIConfigVoCollection 实例源码

项目:AvoinApotti    文件:AttendanceKPIConfigurationImpl.java   
public ims.emergency.vo.AttendanceKPIConfigVo getAttendanceKPIConfigVo(ims.core.resource.place.vo.LocationRefVo locRef)
{
    if( locRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    String hsql = "select a1_1 from AttendanceKPIConfig as a1_1 left join a1_1.eDLocation as l1_1 where (l1_1.id = :idLocation)";


    List locs = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locRef.getID_Location()});
    if(locs!= null && locs.size() > 0)
    {
        AttendanceKPIConfigVoCollection tempCol = AttendanceKPIConfigVoAssembler.createAttendanceKPIConfigVoCollectionFromAttendanceKPIConfig(locs);
        if( tempCol != null && tempCol.size() > 0)
            return tempCol.get(0);
    }
    return null;
}
项目:openMAXIMS    文件:AttendanceKPIConfigurationImpl.java   
public ims.emergency.vo.AttendanceKPIConfigVo getAttendanceKPIConfigVo(ims.core.resource.place.vo.LocationRefVo locRef)
{
    if( locRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    String hsql = "select a1_1 from AttendanceKPIConfig as a1_1 left join a1_1.eDLocation as l1_1 where (l1_1.id = :idLocation)";


    List locs = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locRef.getID_Location()});
    if(locs!= null && locs.size() > 0)
    {
        AttendanceKPIConfigVoCollection tempCol = AttendanceKPIConfigVoAssembler.createAttendanceKPIConfigVoCollectionFromAttendanceKPIConfig(locs);
        if( tempCol != null && tempCol.size() > 0)
            return tempCol.get(0);
    }
    return null;
}
项目:openMAXIMS    文件:AttendanceKPIConfigurationImpl.java   
public ims.emergency.vo.AttendanceKPIConfigVo getAttendanceKPIConfigVo(ims.core.resource.place.vo.LocationRefVo locRef)
{
    if( locRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    String hsql = "select a1_1 from AttendanceKPIConfig as a1_1 left join a1_1.eDLocation as l1_1 where (l1_1.id = :idLocation)";


    List locs = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locRef.getID_Location()});
    if(locs!= null && locs.size() > 0)
    {
        AttendanceKPIConfigVoCollection tempCol = AttendanceKPIConfigVoAssembler.createAttendanceKPIConfigVoCollectionFromAttendanceKPIConfig(locs);
        if( tempCol != null && tempCol.size() > 0)
            return tempCol.get(0);
    }
    return null;
}
项目:openmaxims-linux    文件:AttendanceKPIConfigurationImpl.java   
public ims.emergency.vo.AttendanceKPIConfigVo getAttendanceKPIConfigVo(ims.core.resource.place.vo.LocationRefVo locRef)
{
    if( locRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    String hsql = "select a1_1 from AttendanceKPIConfig as a1_1 left join a1_1.eDLocation as l1_1 where (l1_1.id = :idLocation)";


    List locs = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locRef.getID_Location()});
    if(locs!= null && locs.size() > 0)
    {
        AttendanceKPIConfigVoCollection tempCol = AttendanceKPIConfigVoAssembler.createAttendanceKPIConfigVoCollectionFromAttendanceKPIConfig(locs);
        if( tempCol != null && tempCol.size() > 0)
            return tempCol.get(0);
    }
    return null;
}