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

项目:AvoinApotti    文件:VertebrallevelsImpl.java   
public ims.core.vo.VertebrallevelVoCollection listVertebralLevel(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();

    java.util.List lst;
    if (activeOnly.equals(Boolean.TRUE))
    {
        lst = factory.find("from VertebralLevels level where level.isActive = :active", new String[]{"active"}, new Object[]{Boolean.TRUE});
        return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(lst).sort();
    }       

    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(factory.listDomainObjects(VertebralLevels.class)).sort();
}
项目:openMAXIMS    文件:VertebrallevelsImpl.java   
public ims.core.vo.VertebrallevelVoCollection listVertebralLevel(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();

    java.util.List lst;
    if (activeOnly.equals(Boolean.TRUE))
    {
        lst = factory.find("from VertebralLevels level where level.isActive = :active", new String[]{"active"}, new Object[]{Boolean.TRUE});
        return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(lst).sort();
    }       

    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(factory.listDomainObjects(VertebralLevels.class)).sort();
}
项目:openMAXIMS    文件:VertebrallevelsImpl.java   
public ims.core.vo.VertebrallevelVoCollection listVertebralLevel(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();

    java.util.List lst;
    if (activeOnly.equals(Boolean.TRUE))
    {
        lst = factory.find("from VertebralLevels level where level.isActive = :active", new String[]{"active"}, new Object[]{Boolean.TRUE});
        return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(lst).sort();
    }       

    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(factory.listDomainObjects(VertebralLevels.class)).sort();
}
项目:openmaxims-linux    文件:VertebrallevelsImpl.java   
public ims.core.vo.VertebrallevelVoCollection listVertebralLevel(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();

    java.util.List lst;
    if (activeOnly.equals(Boolean.TRUE))
    {
        lst = factory.find("from VertebralLevels level where level.isActive = :active", new String[]{"active"}, new Object[]{Boolean.TRUE});
        return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(lst).sort();
    }       

    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(factory.listDomainObjects(VertebralLevels.class)).sort();
}
项目:AvoinApotti    文件:MedNeuroMotorPrototypeImpl.java   
public VertebrallevelVoCollection listVertebralLevels()
{
    String hqlString = "from VertebralLevels as v where v.isActive = 1";
    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(getDomainFactory().find(hqlString)).sort(); //wdev-14015
}
项目:openMAXIMS    文件:MedNeuroMotorPrototypeImpl.java   
public VertebrallevelVoCollection listVertebralLevels()
{
    String hqlString = "from VertebralLevels as v where v.isActive = 1";
    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(getDomainFactory().find(hqlString)).sort(); //wdev-14015
}
项目:openMAXIMS    文件:MedNeuroMotorPrototypeImpl.java   
public VertebrallevelVoCollection listVertebralLevels()
{
    String hqlString = "from VertebralLevels as v where v.isActive = 1";
    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(getDomainFactory().find(hqlString)).sort(); //wdev-14015
}
项目:openmaxims-linux    文件:MedNeuroMotorPrototypeImpl.java   
public VertebrallevelVoCollection listVertebralLevels()
{
    String hqlString = "from VertebralLevels as v where v.isActive = 1";
    return VertebrallevelVoAssembler.createVertebrallevelVoCollectionFromVertebralLevels(getDomainFactory().find(hqlString)).sort(); //wdev-14015
}