icustomerdao.java

来自「一个很适合初学者的网上书店系统」· Java 代码 · 共 52 行

JAVA
52
字号
/**
 * 
 */
package com.ascent.dao;

import java.util.List;

import com.ascent.bean.Customer;

public interface ICustomerDAO {
	/**
	 * 
	 * @param Customer
	 * @return Customer
	 */
	public Customer saveCustomer(Customer customer);

	/**
	 * 
	 * @param id
	 *            Integer
	 * 
	 * @return Customer
	 */
	public Customer getCustomer(Integer id);

	/**
	 * 
	 * @return List
	 */
	public List findCustomerAll();

	/**
	 * 
	 * @param type
	 *            String
	 * 
	 * @return List
	 */
	public List findCustomerByName(String name);

	/**
	 * 
	 * @param Customer
	 * 
	 */
	public Customer updateCustomer(Customer customer);

	public void removeCustomer(Customer customer);

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?