?? rightmgmtservice.java
字號(hào):
package com.tarena.oss.rights.service;
import java.util.Collection;
import com.tarena.oss.rights.pojo.RightConditionDTO;
import com.tarena.oss.rights.pojo.Rights;
import com.tarena.oss.util.QueryResult;
//權(quán)限管理模塊
public interface RightMgmtService {
Collection<Rights> findAll();//查找
QueryResult<Rights> findAll(int currentPage, int rowCnt);
Collection<Rights> findAllByCondition(RightConditionDTO dto);//按條件查詢(xún)
QueryResult<Rights> findAllByCondition(RightConditionDTO dto, int currentPage, int rowCnt);
void addRight(Rights r);//增加權(quán)限
void modifyRight(Rights r);//修改
Rights findRightById(Integer id);//按id查找
void removeRight(Integer id);//刪除
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -