Java 类ims.admin.vo.domain.AppNavShortVoAssembler 实例源码

项目:AvoinApotti    文件:NavigationAdminProtImpl.java   
public AppNavShortVoCollection listNavigations(Boolean onlyActive) {

    String query = "from AppNavigation as an";
    ArrayList<String> params = new ArrayList<String>();
    ArrayList<Object> values = new ArrayList<Object>();
    if (onlyActive){
        query+=" where (an.isActive = :activeOnly)";
        params.add("activeOnly");
        values.add(onlyActive);
    }
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(query,params,values));
}
项目:openMAXIMS    文件:NavigationAdminProtImpl.java   
public AppNavShortVoCollection listNavigations(Boolean onlyActive) {

    String query = "from AppNavigation as an";
    ArrayList<String> params = new ArrayList<String>();
    ArrayList<Object> values = new ArrayList<Object>();
    if (onlyActive){
        query+=" where (an.isActive = :activeOnly)";
        params.add("activeOnly");
        values.add(onlyActive);
    }
    query += " order by upper(an.navigationName) asc"; //WDEV-20232
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(query,params,values));
}
项目:openMAXIMS    文件:NavigationAdminProtImpl.java   
public AppNavShortVoCollection listNavigations(Boolean onlyActive) {

    String query = "from AppNavigation as an";
    ArrayList<String> params = new ArrayList<String>();
    ArrayList<Object> values = new ArrayList<Object>();
    if (onlyActive){
        query+=" where (an.isActive = :activeOnly)";
        params.add("activeOnly");
        values.add(onlyActive);
    }
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(query,params,values));
}
项目:openmaxims-linux    文件:NavigationAdminProtImpl.java   
public AppNavShortVoCollection listNavigations(Boolean onlyActive) {

    String query = "from AppNavigation as an";
    ArrayList<String> params = new ArrayList<String>();
    ArrayList<Object> values = new ArrayList<Object>();
    if (onlyActive){
        query+=" where (an.isActive = :activeOnly)";
        params.add("activeOnly");
        values.add(onlyActive);
    }
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(query,params,values));
}
项目:AvoinApotti    文件:ApplicationRolesImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation nav where nav.isActive = :isActive", new String[]{"isActive"}, new Object[]{Boolean.TRUE})).sort();
}
项目:AvoinApotti    文件:NavigationAdminImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation ")).sort();
}
项目:openMAXIMS    文件:ApplicationRolesImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation nav where nav.isActive = :isActive", new String[]{"isActive"}, new Object[]{Boolean.TRUE})).sort();
}
项目:openMAXIMS    文件:NavigationAdminImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation ")).sort();
}
项目:openMAXIMS    文件:ApplicationRolesImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation nav where nav.isActive = :isActive", new String[]{"isActive"}, new Object[]{Boolean.TRUE})).sort();
}
项目:openMAXIMS    文件:NavigationAdminImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation ")).sort();
}
项目:openmaxims-linux    文件:ApplicationRolesImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation nav where nav.isActive = :isActive", new String[]{"isActive"}, new Object[]{Boolean.TRUE})).sort();
}
项目:openmaxims-linux    文件:NavigationAdminImpl.java   
public AppNavShortVoCollection listNavigations()
{
    return AppNavShortVoAssembler.createAppNavShortVoCollectionFromAppNavigation(getDomainFactory().find(" from AppNavigation ")).sort();
}