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

项目:AvoinApotti    文件:FloorLayoutListImpl.java   
public FloorLayoutLiteVoCollection list(PreActiveActiveInactiveStatus status) 
{
    DomainFactory factory = getDomainFactory();
    String hql = " from FloorLayout fl";

    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if(status != null)
    {
        hql += " where fl.status.id = :status";
        markers.add("status");
        values.add(status.getID()); 
    }

    return FloorLayoutLiteVoAssembler.createFloorLayoutLiteVoCollectionFromFloorLayout(factory.find(hql, markers, values));     
}
项目:openMAXIMS    文件:FloorLayoutListImpl.java   
public FloorLayoutLiteVoCollection list(PreActiveActiveInactiveStatus status) 
{
    DomainFactory factory = getDomainFactory();
    String hql = " from FloorLayout fl";

    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if(status != null)
    {
        hql += " where fl.status.id = :status";
        markers.add("status");
        values.add(status.getID()); 
    }

    return FloorLayoutLiteVoAssembler.createFloorLayoutLiteVoCollectionFromFloorLayout(factory.find(hql, markers, values));     
}
项目:openMAXIMS    文件:FloorLayoutListImpl.java   
public FloorLayoutLiteVoCollection list(PreActiveActiveInactiveStatus status) 
{
    DomainFactory factory = getDomainFactory();
    String hql = " from FloorLayout fl";

    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if(status != null)
    {
        hql += " where fl.status.id = :status";
        markers.add("status");
        values.add(status.getID()); 
    }

    return FloorLayoutLiteVoAssembler.createFloorLayoutLiteVoCollectionFromFloorLayout(factory.find(hql, markers, values));     
}
项目:openmaxims-linux    文件:FloorLayoutListImpl.java   
public FloorLayoutLiteVoCollection list(PreActiveActiveInactiveStatus status) 
{
    DomainFactory factory = getDomainFactory();
    String hql = " from FloorLayout fl";

    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if(status != null)
    {
        hql += " where fl.status.id = :status";
        markers.add("status");
        values.add(status.getID()); 
    }

    return FloorLayoutLiteVoAssembler.createFloorLayoutLiteVoCollectionFromFloorLayout(factory.find(hql, markers, values));     
}