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

项目:AvoinApotti    文件:Logic.java   
private FormMenuActionsDeniedVoCollection getActionsDenied()
{
    FormMenuActionsDeniedVoCollection result = new FormMenuActionsDeniedVoCollection();

    for(int x = 0; x < form.lyrRights().tabActionsDenied().treActions().getNodes().size(); x++)
    {
        TreeNode formNode = form.lyrRights().tabActionsDenied().treActions().getNodes().get(x);         
        AppFormVo formValue = (AppFormVo)formNode.getValue();
        MenuActionVoCollection actions = new MenuActionVoCollection();

        for(int y = 0; y < formNode.getNodes().size(); y++)
        {
            TreeNode itemNode = formNode.getNodes().get(y);
            if(itemNode.getValue() != null)
            {
                actions.add((MenuActionVo)itemNode.getValue());
            }
        }

        if(actions.size() > 0)
        {
            FormMenuActionsDeniedVo item = new FormMenuActionsDeniedVo();
            item.setForm(formValue);
            item.setMenuActions(actions);

            result.add(item);
        }
    }

    return result;
}
项目:AvoinApotti    文件:Logic.java   
private void populateMenuActions(FormMenuActionsDeniedVoCollection formMenuActionsDenied) 
{
    form.lyrRights().tabActionsDenied().treActions().clear();

    if(formMenuActionsDenied != null)   
    {
        for (FormMenuActionsDeniedVo item : formMenuActionsDenied) 
        {
            addMenuActions(item);
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addMenuActions(FormMenuActionsDeniedVo item) 
{
    for(int x = 0; x < item.getMenuActions().size(); x++)
    {
        addMenuAction(getAppForm(item.getForm().getID_AppForm()), item.getMenuActions().get(x));
    }
}
项目:openMAXIMS    文件:Logic.java   
private FormMenuActionsDeniedVoCollection getActionsDenied()
{
    FormMenuActionsDeniedVoCollection result = new FormMenuActionsDeniedVoCollection();

    for(int x = 0; x < form.lyrRights().tabActionsDenied().treActions().getNodes().size(); x++)
    {
        TreeNode formNode = form.lyrRights().tabActionsDenied().treActions().getNodes().get(x);         
        AppFormVo formValue = (AppFormVo)formNode.getValue();
        MenuActionVoCollection actions = new MenuActionVoCollection();

        for(int y = 0; y < formNode.getNodes().size(); y++)
        {
            TreeNode itemNode = formNode.getNodes().get(y);
            if(itemNode.getValue() != null)
            {
                actions.add((MenuActionVo)itemNode.getValue());
            }
        }

        if(actions.size() > 0)
        {
            FormMenuActionsDeniedVo item = new FormMenuActionsDeniedVo();
            item.setForm(formValue);
            item.setMenuActions(actions);

            result.add(item);
        }
    }

    return result;
}
项目:openMAXIMS    文件:Logic.java   
private void populateMenuActions(FormMenuActionsDeniedVoCollection formMenuActionsDenied) 
{
    form.lyrRights().tabActionsDenied().treActions().clear();

    if(formMenuActionsDenied != null)   
    {
        for (FormMenuActionsDeniedVo item : formMenuActionsDenied) 
        {
            addMenuActions(item);
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addMenuActions(FormMenuActionsDeniedVo item) 
{
    for(int x = 0; x < item.getMenuActions().size(); x++)
    {
        addMenuAction(getAppForm(item.getForm().getID_AppForm()), item.getMenuActions().get(x));
    }
}
项目:openMAXIMS    文件:Logic.java   
private FormMenuActionsDeniedVoCollection getActionsDenied()
{
    FormMenuActionsDeniedVoCollection result = new FormMenuActionsDeniedVoCollection();

    for(int x = 0; x < form.lyrRights().tabActionsDenied().treActions().getNodes().size(); x++)
    {
        TreeNode formNode = form.lyrRights().tabActionsDenied().treActions().getNodes().get(x);         
        AppFormVo formValue = (AppFormVo)formNode.getValue();
        MenuActionVoCollection actions = new MenuActionVoCollection();

        for(int y = 0; y < formNode.getNodes().size(); y++)
        {
            TreeNode itemNode = formNode.getNodes().get(y);
            if(itemNode.getValue() != null)
            {
                actions.add((MenuActionVo)itemNode.getValue());
            }
        }

        if(actions.size() > 0)
        {
            FormMenuActionsDeniedVo item = new FormMenuActionsDeniedVo();
            item.setForm(formValue);
            item.setMenuActions(actions);

            result.add(item);
        }
    }

    return result;
}
项目:openMAXIMS    文件:Logic.java   
private void populateMenuActions(FormMenuActionsDeniedVoCollection formMenuActionsDenied) 
{
    form.lyrRights().tabActionsDenied().treActions().clear();

    if(formMenuActionsDenied != null)   
    {
        for (FormMenuActionsDeniedVo item : formMenuActionsDenied) 
        {
            addMenuActions(item);
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addMenuActions(FormMenuActionsDeniedVo item) 
{
    for(int x = 0; x < item.getMenuActions().size(); x++)
    {
        addMenuAction(getAppForm(item.getForm().getID_AppForm()), item.getMenuActions().get(x));
    }
}
项目:openmaxims-linux    文件:Logic.java   
private FormMenuActionsDeniedVoCollection getActionsDenied()
{
    FormMenuActionsDeniedVoCollection result = new FormMenuActionsDeniedVoCollection();

    for(int x = 0; x < form.lyrRights().tabActionsDenied().treActions().getNodes().size(); x++)
    {
        TreeNode formNode = form.lyrRights().tabActionsDenied().treActions().getNodes().get(x);         
        AppFormVo formValue = (AppFormVo)formNode.getValue();
        MenuActionVoCollection actions = new MenuActionVoCollection();

        for(int y = 0; y < formNode.getNodes().size(); y++)
        {
            TreeNode itemNode = formNode.getNodes().get(y);
            if(itemNode.getValue() != null)
            {
                actions.add((MenuActionVo)itemNode.getValue());
            }
        }

        if(actions.size() > 0)
        {
            FormMenuActionsDeniedVo item = new FormMenuActionsDeniedVo();
            item.setForm(formValue);
            item.setMenuActions(actions);

            result.add(item);
        }
    }

    return result;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateMenuActions(FormMenuActionsDeniedVoCollection formMenuActionsDenied) 
{
    form.lyrRights().tabActionsDenied().treActions().clear();

    if(formMenuActionsDenied != null)   
    {
        for (FormMenuActionsDeniedVo item : formMenuActionsDenied) 
        {
            addMenuActions(item);
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void addMenuActions(FormMenuActionsDeniedVo item) 
{
    for(int x = 0; x < item.getMenuActions().size(); x++)
    {
        addMenuAction(getAppForm(item.getForm().getID_AppForm()), item.getMenuActions().get(x));
    }
}