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

项目:AvoinApotti    文件:Logic.java   
private void populateAreaCombo(TrackingAreaLiteVoCollection areaColl)
{
    form.cmbArea().clear();
    if (areaColl==null || areaColl.size()==0)
        return;

    for (int i=0;i<areaColl.size();i++)
    {
        form.cmbArea().newRow(areaColl.get(i), areaColl.get(i).getAreaDisplayName());
    }
}
项目:AvoinApotti    文件:EDWhiteboardConfigurationImpl.java   
public TrackingAreaLiteVoCollection getAreasByLocation(LocationRefVo locationRef)
{
    if( locationRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    List <?> trackingAreas = null;

    String hsql = "select t1_1 from TrackingArea as t1_1 left join t1_1.eDLocation as l1_1 where l1_1.id = :idLocation ";
    trackingAreas = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locationRef.getID_Location()});

    return TrackingAreaLiteVoAssembler.createTrackingAreaLiteVoCollectionFromTrackingArea(trackingAreas);
}
项目:openMAXIMS    文件:Logic.java   
private void populateAreaCombo(TrackingAreaLiteVoCollection areaColl)
{
    form.cmbArea().clear();
    if (areaColl==null || areaColl.size()==0)
        return;

    for (int i=0;i<areaColl.size();i++)
    {
        form.cmbArea().newRow(areaColl.get(i), areaColl.get(i).getAreaDisplayName());
    }
}
项目:openMAXIMS    文件:EDWhiteboardConfigurationImpl.java   
public TrackingAreaLiteVoCollection getAreasByLocation(LocationRefVo locationRef)
{
    if( locationRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    List <?> trackingAreas = null;

    String hsql = "select t1_1 from TrackingArea as t1_1 left join t1_1.eDLocation as l1_1 where l1_1.id = :idLocation ";
    trackingAreas = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locationRef.getID_Location()});

    return TrackingAreaLiteVoAssembler.createTrackingAreaLiteVoCollectionFromTrackingArea(trackingAreas);
}
项目:openMAXIMS    文件:Logic.java   
private void populateAreaCombo(TrackingAreaLiteVoCollection areaColl)
{
    form.cmbArea().clear();
    if (areaColl==null || areaColl.size()==0)
        return;

    for (int i=0;i<areaColl.size();i++)
    {
        form.cmbArea().newRow(areaColl.get(i), areaColl.get(i).getAreaDisplayName());
    }
}
项目:openMAXIMS    文件:EDWhiteboardConfigurationImpl.java   
public TrackingAreaLiteVoCollection getAreasByLocation(LocationRefVo locationRef)
{
    if( locationRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    List <?> trackingAreas = null;

    String hsql = "select t1_1 from TrackingArea as t1_1 left join t1_1.eDLocation as l1_1 where l1_1.id = :idLocation ";
    trackingAreas = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locationRef.getID_Location()});

    return TrackingAreaLiteVoAssembler.createTrackingAreaLiteVoCollectionFromTrackingArea(trackingAreas);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateAreaCombo(TrackingAreaLiteVoCollection areaColl)
{
    form.cmbArea().clear();
    if (areaColl==null || areaColl.size()==0)
        return;

    for (int i=0;i<areaColl.size();i++)
    {
        form.cmbArea().newRow(areaColl.get(i), areaColl.get(i).getAreaDisplayName());
    }
}
项目:openmaxims-linux    文件:EDWhiteboardConfigurationImpl.java   
public TrackingAreaLiteVoCollection getAreasByLocation(LocationRefVo locationRef)
{
    if( locationRef == null )
        return null;

    DomainFactory factory = getDomainFactory();

    List <?> trackingAreas = null;

    String hsql = "select t1_1 from TrackingArea as t1_1 left join t1_1.eDLocation as l1_1 where l1_1.id = :idLocation ";
    trackingAreas = factory.find(hsql, new String[] {"idLocation"}, new Object[] {locationRef.getID_Location()});

    return TrackingAreaLiteVoAssembler.createTrackingAreaLiteVoCollectionFromTrackingArea(trackingAreas);
}