📄 navigationloadaction.java
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -