authmanager.java

来自「飞机订票系统」· Java 代码 · 共 34 行

JAVA
34
字号
package org.appfuse.service;

import java.util.List;

import org.appfuse.service.impl.BaseManager;
import org.appfuse.dao.*;
import org.appfuse.model.*;
import org.appfuse.util.exception.*;

public interface AuthManager
{

    /**
     * Set the DAO for communication with the data layer.
     *
     * @param dao
     */
    public void setAuthDAO(AuthDAO dao);

    /**
     * @see org.appfuse.service.UserManager#saveUser(org.appfuse.model.User)
     */
    public void saveAuth(Auth roleAuth)throws AppSystemException,AppBusinessException;

    /**
     * @see org.appfuse.service.UserManager#removeUser(java.lang.String)
     */
    public void removeAuth(Auth roleAuth)throws AppSystemException,AppBusinessException;

    public Auth getAuth(int authid)throws AppSystemException,AppBusinessException;
    public Auth getAuth(int moduleid, int functionid)throws AppSystemException,AppBusinessException;

}

⌨️ 快捷键说明

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