adminservice.java

来自「有简单的网上书店需求及设计流程」· Java 代码 · 共 57 行

JAVA
57
字号
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 + =
减小字号Ctrl + -
显示快捷键?