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

项目:AvoinApotti    文件:Logic.java   
private AppNavRootGroupVoCollection copyRootGroupColl(AppNavRootGroupVoCollection coll)
{
    if (coll == null)
        return null;

    AppNavRootGroupVoCollection ret = new AppNavRootGroupVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        AppNavRootGroupVo src = coll.get(i);
        AppNavRootGroupVo dst = new AppNavRootGroupVo();
        dst.setGroupName(src.getGroupName());
        dst.setIsRIE(Boolean.FALSE);
        dst.setForms(copyAppNavFormVoCollection(src.getForms()));
        dst.setGroups(copyAppNavSecGrpVoCollection(src.getGroups()));
        ret.add(dst);
    }
    return ret;
}
项目:AvoinApotti    文件:Logic.java   
private void populateTree(AppNavigationVo value)
{

    form.treNav().clear();
    if (value == null)
        return;
    AppNavRootGroupVoCollection rootGroups = value.getRootGroups();
    if (rootGroups == null)
    {
        return;
    }
    for (int i = 0; i < rootGroups.size(); i++)
    {
        createTree(rootGroups.get(i), null);

    }
    form.treNav().collapseAll();
    form.treNav().setValue(form.getLocalContext().getSelectedTreeValue());
    if (form.treNav().getSelectedNode() != null)
        form.treNav().getSelectedNode().setExpanded(true);

}
项目:AvoinApotti    文件:Logic.java   
private AppNavigationVo getClone(AppNavigationVo appNav)
{
    if (appNav == null)
        return null;
    AppNavigationVo result = (AppNavigationVo) appNav.clone();
    result.clearIDAndVersion();
    result.setNavigationName("Copy of " + result.getNavigationName());
    result.setRootGroups(new AppNavRootGroupVoCollection());
    if (appNav.getRootGroupsIsNotNull())
    {
        for (int i = 0; i < appNav.getRootGroups().size(); i++)
        {
            result.getRootGroups().add(getClone(appNav.getRootGroups().get(i)));
        }
    }
    return result;
}
项目:openMAXIMS    文件:Logic.java   
private AppNavRootGroupVoCollection copyRootGroupColl(AppNavRootGroupVoCollection coll)
{
    if (coll == null)
        return null;

    AppNavRootGroupVoCollection ret = new AppNavRootGroupVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        AppNavRootGroupVo src = coll.get(i);
        AppNavRootGroupVo dst = new AppNavRootGroupVo();
        dst.setGroupName(src.getGroupName());
        dst.setIsRIE(Boolean.FALSE);
        dst.setForms(copyAppNavFormVoCollection(src.getForms()));
        dst.setGroups(copyAppNavSecGrpVoCollection(src.getGroups()));
        ret.add(dst);
    }
    return ret;
}
项目:openMAXIMS    文件:Logic.java   
private void populateTree(AppNavigationVo value)
{

    form.treNav().clear();
    if (value == null)
        return;
    AppNavRootGroupVoCollection rootGroups = value.getRootGroups();
    if (rootGroups == null)
    {
        return;
    }
    for (int i = 0; i < rootGroups.size(); i++)
    {
        createTree(rootGroups.get(i), null);

    }
    form.treNav().collapseAll();
    form.treNav().setValue(form.getLocalContext().getSelectedTreeValue());
    if (form.treNav().getSelectedNode() != null)
        form.treNav().getSelectedNode().setExpanded(true);

}
项目:openMAXIMS    文件:Logic.java   
private AppNavigationVo getClone(AppNavigationVo appNav)
{
    if (appNav == null)
        return null;
    AppNavigationVo result = (AppNavigationVo) appNav.clone();
    result.clearIDAndVersion();
    result.setNavigationName("Copy of " + result.getNavigationName());
    result.setRootGroups(new AppNavRootGroupVoCollection());
    if (appNav.getRootGroupsIsNotNull())
    {
        for (int i = 0; i < appNav.getRootGroups().size(); i++)
        {
            result.getRootGroups().add(getClone(appNav.getRootGroups().get(i)));
        }
    }
    return result;
}
项目:openMAXIMS    文件:Logic.java   
private AppNavRootGroupVoCollection copyRootGroupColl(AppNavRootGroupVoCollection coll)
{
    if (coll == null)
        return null;

    AppNavRootGroupVoCollection ret = new AppNavRootGroupVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        AppNavRootGroupVo src = coll.get(i);
        AppNavRootGroupVo dst = new AppNavRootGroupVo();
        dst.setGroupName(src.getGroupName());
        dst.setIsRIE(Boolean.FALSE);
        dst.setForms(copyAppNavFormVoCollection(src.getForms()));
        dst.setGroups(copyAppNavSecGrpVoCollection(src.getGroups()));
        ret.add(dst);
    }
    return ret;
}
项目:openMAXIMS    文件:Logic.java   
private void populateTree(AppNavigationVo value)
{

    form.treNav().clear();
    if (value == null)
        return;
    AppNavRootGroupVoCollection rootGroups = value.getRootGroups();
    if (rootGroups == null)
    {
        return;
    }
    for (int i = 0; i < rootGroups.size(); i++)
    {
        createTree(rootGroups.get(i), null);

    }
    form.treNav().collapseAll();
    form.treNav().setValue(form.getLocalContext().getSelectedTreeValue());
    if (form.treNav().getSelectedNode() != null)
        form.treNav().getSelectedNode().setExpanded(true);

}
项目:openMAXIMS    文件:Logic.java   
private AppNavigationVo getClone(AppNavigationVo appNav)
{
    if (appNav == null)
        return null;
    AppNavigationVo result = (AppNavigationVo) appNav.clone();
    result.clearIDAndVersion();
    result.setNavigationName("Copy of " + result.getNavigationName());
    result.setRootGroups(new AppNavRootGroupVoCollection());
    if (appNav.getRootGroupsIsNotNull())
    {
        for (int i = 0; i < appNav.getRootGroups().size(); i++)
        {
            result.getRootGroups().add(getClone(appNav.getRootGroups().get(i)));
        }
    }
    return result;
}
项目:openmaxims-linux    文件:Logic.java   
private AppNavRootGroupVoCollection copyRootGroupColl(AppNavRootGroupVoCollection coll)
{
    if (coll == null)
        return null;

    AppNavRootGroupVoCollection ret = new AppNavRootGroupVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        AppNavRootGroupVo src = coll.get(i);
        AppNavRootGroupVo dst = new AppNavRootGroupVo();
        dst.setGroupName(src.getGroupName());
        dst.setIsRIE(Boolean.FALSE);
        dst.setForms(copyAppNavFormVoCollection(src.getForms()));
        dst.setGroups(copyAppNavSecGrpVoCollection(src.getGroups()));
        ret.add(dst);
    }
    return ret;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateTree(AppNavigationVo value)
{

    form.treNav().clear();
    if (value == null)
        return;
    AppNavRootGroupVoCollection rootGroups = value.getRootGroups();
    if (rootGroups == null)
    {
        return;
    }
    for (int i = 0; i < rootGroups.size(); i++)
    {
        createTree(rootGroups.get(i), null);

    }
    form.treNav().collapseAll();
    form.treNav().setValue(form.getLocalContext().getSelectedTreeValue());
    if (form.treNav().getSelectedNode() != null)
        form.treNav().getSelectedNode().setExpanded(true);

}
项目:openmaxims-linux    文件:Logic.java   
private AppNavigationVo getClone(AppNavigationVo appNav)
{
    if (appNav == null)
        return null;
    AppNavigationVo result = (AppNavigationVo) appNav.clone();
    result.clearIDAndVersion();
    result.setNavigationName("Copy of " + result.getNavigationName());
    result.setRootGroups(new AppNavRootGroupVoCollection());
    if (appNav.getRootGroupsIsNotNull())
    {
        for (int i = 0; i < appNav.getRootGroups().size(); i++)
        {
            result.getRootGroups().add(getClone(appNav.getRootGroups().get(i)));
        }
    }
    return result;
}
项目:AvoinApotti    文件:Logic.java   
protected void onBtnNewClick() throws ims.framework.exceptions.PresentationLogicException
{
    AppNavigationVo nav = new AppNavigationVo();
    form.txtNavName().setValue(null);
    form.qmbNavStartForm().setValue(null);
    form.qmbNavSearchForm().setValue(null);
    form.qmbNavStartForm().setEditedText(null);
    form.qmbNavSearchForm().setEditedText(null);
    nav.setRootGroups(new AppNavRootGroupVoCollection());
    form.getLocalContext().setSelectedNav(nav);
    populateNavigation(form.getLocalContext().getSelectedNav());
    setFormMode(FormMode.EDIT);
}
项目:openMAXIMS    文件:Logic.java   
protected void onBtnNewClick() throws ims.framework.exceptions.PresentationLogicException
{
    AppNavigationVo nav = new AppNavigationVo();
    form.txtNavName().setValue(null);
    form.qmbNavStartForm().setValue(null);
    form.qmbNavSearchForm().setValue(null);
    form.qmbNavStartForm().setEditedText(null);
    form.qmbNavSearchForm().setEditedText(null);
    nav.setRootGroups(new AppNavRootGroupVoCollection());
    form.getLocalContext().setSelectedNav(nav);
    populateNavigation(form.getLocalContext().getSelectedNav());
    setFormMode(FormMode.EDIT);
}
项目:openMAXIMS    文件:Logic.java   
protected void onBtnNewClick() throws ims.framework.exceptions.PresentationLogicException
{
    AppNavigationVo nav = new AppNavigationVo();
    form.txtNavName().setValue(null);
    form.qmbNavStartForm().setValue(null);
    form.qmbNavSearchForm().setValue(null);
    form.qmbNavStartForm().setEditedText(null);
    form.qmbNavSearchForm().setEditedText(null);
    nav.setRootGroups(new AppNavRootGroupVoCollection());
    form.getLocalContext().setSelectedNav(nav);
    populateNavigation(form.getLocalContext().getSelectedNav());
    setFormMode(FormMode.EDIT);
}
项目:openmaxims-linux    文件:Logic.java   
protected void onBtnNewClick() throws ims.framework.exceptions.PresentationLogicException
{
    AppNavigationVo nav = new AppNavigationVo();
    form.txtNavName().setValue(null);
    form.qmbNavStartForm().setValue(null);
    form.qmbNavSearchForm().setValue(null);
    form.qmbNavStartForm().setEditedText(null);
    form.qmbNavSearchForm().setEditedText(null);
    nav.setRootGroups(new AppNavRootGroupVoCollection());
    form.getLocalContext().setSelectedNav(nav);
    populateNavigation(form.getLocalContext().getSelectedNav());
    setFormMode(FormMode.EDIT);
}