【Java开源代码栏目提醒】:网学会员鉴于大家对Java开源代码十分关注,论文会员在此为大家搜集整理了“AuthManager.java”一文,供大家参考学习
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;
}
上一篇:
AuthManageAction.java
下一篇:
电咖汽车入选2018独角兽企业榜百强 发布“天际”品牌将推高估值