?? rolemgmtdao.java
字號:
package com.tarena.oss.rights.dao;
import java.util.Collection;
import com.tarena.oss.rights.pojo.Rights;
import com.tarena.oss.rights.pojo.Role;
public interface RoleMgmtDAO {
Collection<Role> queryAll();
Collection<Role> queryAll(String condition);//查詢某個條件
Collection<Role> queryAll(int currentPage, int rowCnt);//分頁顯示
void insertRole(Role r);//增加新的權限
Role queryRoleById(Integer id);
void updateRole(Role r);
void deleteRole(Role r);
boolean isUsed(Integer id);
int queryRowCounts();
int queryRowCounts(String condition);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -