⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appuser.java

📁 《JSP网站开发典型模块与实例精讲》一书光盘源码
💻 JAVA
字号:
package org.appfuse.util.security;

/**
 *
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2005</p>
 * <p>Company: www.aspire-tech.com</p>
 * @author chentao
 * @version 1.0
 */
import java.util.ArrayList;

public interface AppUser extends PlugIn {
    /**
     * 获取用户登陆名
     * @throws AppSystemException
     * @throws AppBusinessException
     * @return String
     */
    public String getLoginName() throws SecurityException;

    /**
     * 获取用户权限信息列表
     * @throws AppSystemException
     * @throws AppBusinessException
     * @return ArrayList
     */
    public ArrayList getRights() throws SecurityException;

    /**
     * 获取用户可访问的菜单信息列表
     * @throws AppSystemException
     * @throws AppBusinessException
     * @return ArrayList
     */
    public ArrayList getUserMenuInfo() throws SecurityException;
    /**
     * 获取用户ID
     * @throws AppSystemException
     * @throws AppBusinessException
     * @return int
     */
    public int getUserID() throws SecurityException;
    /**
     * 获取用户名
     * @throws AppSystemException
     * @throws AppBusinessException
     * @return int
     */
    public String getUserName() throws SecurityException;
}

⌨️ 快捷键说明

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