navigationloadaction.java

来自「OPIAM stands for Open Identity and Acces」· Java 代码 · 共 67 行

JAVA
67
字号
/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.applis.demo.actions;

import opiam.admin.applis.demo.beans.Department;
import opiam.admin.applis.demo.beans.Group;
import opiam.admin.applis.demo.beans.Person;
import opiam.admin.applis.demo.beans.Site;
import opiam.admin.applis.demo.utils.GenerateTree;

import opiam.admin.faare.persistence.PersistenceLDAP;
import opiam.admin.faare.persistence.javabeans.JBTop;
import opiam.admin.faare.service.UserContext;
import opiam.admin.faare.service.services.views.TreeNode;
import opiam.admin.faare.struts.actions.SecureAction;
import opiam.admin.faare.struts.utils.SessionContext;

import org.apache.log4j.Logger;

import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages;

import javax.servlet.http.HttpSession;


/**
 *  This class allows to load the entry from a dn.
 * It is used by the treeView and the different chart.
 */
public class NavigationLoadAction extends SecureAction
{
    /** Logger de log4j */
    private static Logger _logger =
        Logger.getLogger(NavigationLoadAction.class);

    /**
     * This method is called to execute the action once the checks have been
     * performed by the SecureAction class.
     *
     * @param mapping              Struts mapping data.
     * @param actionForm           FormBean associated with the action.
     * @param request              HTTP request.
     * @param httpServletResponse  HTTP response.
     *
     * @return An ActionForward.
     *
     * @throws IOException  An I/O exception if failed or interrupted I/O operations occurs.
     * @throws ServletException  A ServletException if the servlet has a problem.
     */
    public org.apache.struts.action.ActionForward secureExecute(org.apache.struts.action.ActionMapping mapping,
                                                                org.apache.struts.action.ActionForm actionForm,
                                                                javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse httpServletResponse
                                                               )
        throws java.io.IOException, javax.servlet.ServletException
    {
        SessionContext sessionContext = null;
        UserContext userContext = null;

        ActionMessages errors = new ActionMessages();

        // r閏up de param鑤res pass

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?