Java 类ims.admin.vo.ReportsCategoryListVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:AvoinApotti    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:AvoinApotti    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        // Display the parent category - (when parent = null)
        if (voReportsCategoryColl.get(i).getParentCategory() == null)
            addCategory(null, voReportsCategoryColl.get(i));
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:AvoinApotti    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:AvoinApotti    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        if(hasReports(voReportsCategoryColl.get(i)))
        {
            // Display the parent category - (when parent = null)
            if (voReportsCategoryColl.get(i).getParentCategory() == null)
                addCategory(null, voReportsCategoryColl.get(i));
            else
            {
                try
                {
                    ReportsCategoryListVo rootCat = domain.getRootCategory(voReportsCategoryColl.get(i).getParentCategory());

                    if(hasReports(rootCat))
                        addCategory(null, rootCat);
                }
                catch (DomainInterfaceException e)
                {
                    e.printStackTrace();
                    engine.showMessage("Error getting root category for '" + voReportsCategoryColl.get(i).getName() + "' !\n" + e.toString());
                }
            }
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        if(hasReports(voReportsCategoryColl.get(i)))
            addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:AvoinApotti    文件:ReportRunnerImpl.java   
@SuppressWarnings("unchecked")
public ReportsCategoryListVoCollection listCategories()
{
    StringBuffer hql = new StringBuffer();
    hql.append("from ReportsCategory as r1_1");
    hql.append(" where r1_1.isRIE is null");

    DomainFactory factory = getDomainFactory();
    List list = factory.find(hql.toString());
    return ReportsCategoryListVoAssembler.createReportsCategoryListVoCollectionFromReportsCategory(list).sort();
}
项目:AvoinApotti    文件:ReportTemplateImpl.java   
/**
* list the categories
*/
public ims.admin.vo.ReportsCategoryListVoCollection listCategories()
{
    ReportRunner impl = (ReportRunner)getDomainImpl(ReportRunnerImpl.class);

    return impl.listCategories();
}
项目:AvoinApotti    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:openMAXIMS    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:openMAXIMS    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        // Display the parent category - (when parent = null)
        if (voReportsCategoryColl.get(i).getParentCategory() == null)
            addCategory(null, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:openMAXIMS    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:openMAXIMS    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        if(hasReports(voReportsCategoryColl.get(i)))
        {
            // Display the parent category - (when parent = null)
            if (voReportsCategoryColl.get(i).getParentCategory() == null)
                addCategory(null, voReportsCategoryColl.get(i));
            else
            {
                try
                {
                    ReportsCategoryListVo rootCat = domain.getRootCategory(voReportsCategoryColl.get(i).getParentCategory());

                    if(hasReports(rootCat))
                        addCategory(null, rootCat);
                }
                catch (DomainInterfaceException e)
                {
                    e.printStackTrace();
                    engine.showMessage("Error getting root category for '" + voReportsCategoryColl.get(i).getName() + "' !\n" + e.toString());
                }
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        if(hasReports(voReportsCategoryColl.get(i)))
            addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:ReportRunnerImpl.java   
@SuppressWarnings("unchecked")
public ReportsCategoryListVoCollection listCategories()
{
    StringBuffer hql = new StringBuffer();
    hql.append("from ReportsCategory as r1_1");
    hql.append(" where r1_1.isRIE is null");

    DomainFactory factory = getDomainFactory();
    List list = factory.find(hql.toString());
    return ReportsCategoryListVoAssembler.createReportsCategoryListVoCollectionFromReportsCategory(list).sort();
}
项目:openMAXIMS    文件:ReportTemplateImpl.java   
/**
* list the categories
*/
public ims.admin.vo.ReportsCategoryListVoCollection listCategories()
{
    ReportRunner impl = (ReportRunner)getDomainImpl(ReportRunnerImpl.class);

    return impl.listCategories();
}
项目:openMAXIMS    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:openMAXIMS    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:openMAXIMS    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        // Display the parent category - (when parent = null)
        if (voReportsCategoryColl.get(i).getParentCategory() == null)
            addCategory(null, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:openMAXIMS    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:openMAXIMS    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        if(hasReports(voReportsCategoryColl.get(i)))
        {
            // Display the parent category - (when parent = null)
            if (voReportsCategoryColl.get(i).getParentCategory() == null)
                addCategory(null, voReportsCategoryColl.get(i));
            else
            {
                try
                {
                    ReportsCategoryListVo rootCat = domain.getRootCategory(voReportsCategoryColl.get(i).getParentCategory());

                    if(hasReports(rootCat))
                        addCategory(null, rootCat);
                }
                catch (DomainInterfaceException e)
                {
                    e.printStackTrace();
                    engine.showMessage("Error getting root category for '" + voReportsCategoryColl.get(i).getName() + "' !\n" + e.toString());
                }
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        if(hasReports(voReportsCategoryColl.get(i)))
            addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openMAXIMS    文件:ReportRunnerImpl.java   
@SuppressWarnings("unchecked")
public ReportsCategoryListVoCollection listCategories()
{
    StringBuffer hql = new StringBuffer();
    hql.append("from ReportsCategory as r1_1");
    hql.append(" where r1_1.isRIE is null");

    DomainFactory factory = getDomainFactory();
    List list = factory.find(hql.toString());
    return ReportsCategoryListVoAssembler.createReportsCategoryListVoCollectionFromReportsCategory(list).sort();
}
项目:openMAXIMS    文件:ReportTemplateImpl.java   
/**
* list the categories
*/
public ims.admin.vo.ReportsCategoryListVoCollection listCategories()
{
    ReportRunner impl = (ReportRunner)getDomainImpl(ReportRunnerImpl.class);

    return impl.listCategories();
}
项目:openMAXIMS    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:openmaxims-linux    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        // Display the parent category - (when parent = null)
        if (voReportsCategoryColl.get(i).getParentCategory() == null)
            addCategory(null, voReportsCategoryColl.get(i));
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void addSubcategories(DynamicGridRow rowParent, ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        addCategory(rowParent, voReportsCategoryColl.get(i));
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateReportsGrid()
{
    ReportListVoCollection reportColl = domain.listReports();
    ReportsCategoryListVoCollection voReportsCategoryColl = domain.listCategories();

    populateCategoriesGrid(voReportsCategoryColl);
    populateReports(reportColl);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateCategoriesGrid(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    if (voReportsCategoryColl == null)
        return;

    addParentCategories(voReportsCategoryColl);
}
项目:openmaxims-linux    文件:Logic.java   
private void addParentCategories(ReportsCategoryListVoCollection voReportsCategoryColl)
{
    for (int i = 0; i < voReportsCategoryColl.size(); i++)
    {
        if(hasReports(voReportsCategoryColl.get(i)))
        {
            // Display the parent category - (when parent = null)
            if (voReportsCategoryColl.get(i).getParentCategory() == null)
                addCategory(null, voReportsCategoryColl.get(i));
            else
            {
                try
                {
                    ReportsCategoryListVo rootCat = domain.getRootCategory(voReportsCategoryColl.get(i).getParentCategory());

                    if(hasReports(rootCat))
                        addCategory(null, rootCat);
                }
                catch (DomainInterfaceException e)
                {
                    e.printStackTrace();
                    engine.showMessage("Error getting root category for '" + voReportsCategoryColl.get(i).getName() + "' !\n" + e.toString());
                }
            }
        }
    }
}