📄 adminservice.java
字号:
package org.wiely.service;
import org.wiely.vo.Admin;
public interface AdminService {
/**
*
* @param admin
* @return Admin
* @throws Exception
*/
public Admin checkAdmin(Admin admin) throws Exception;
/**
*
* @param admin
* @throws Exception
*/
public void register(Admin admin) throws Exception;
/**
*
* @param adminname
* @return boolean
* @throws Exception
*/
public boolean exitsAdmin(String adminname) throws Exception;
/**
*
* @return boolean
* @throws Exception
*/
public boolean isMaxScore(int adminid) throws Exception;
/**
*
* @param adminid
* @return int
* @throws Exception
*/
public int score(int adminid) throws Exception;
/**
* @see max Score
* @return
* @throws Exception
*/
public int maxScore() throws Exception;
/**
* @see add score for administrator
* @throws Exception
*/
public void addScore(Admin admin) throws Exception;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -