icustomerdao.java

来自「在线图书管理系统,所有框架struts2,hibernate,spring 希望」· Java 代码 · 共 49 行

JAVA
49
字号
/**
 * 
 */
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 void removeCustomer(Customer customer);


}

⌨️ 快捷键说明

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