⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iaccountdao.java

📁 是Eclipse web开发从入门到精通的源码
💻 JAVA
字号:
package com.REP.DAO.iface;

import java.io.Serializable;

import com.REP.bean.Account;

public interface IAccountDAO {
	public com.REP.bean.Account get(java.lang.Integer key);

	public com.REP.bean.Account load(java.lang.Integer key);

	public java.util.List<com.REP.bean.Account> findAll ();


	/**
	 * Persist the given transient instance, first assigning a generated identifier. (Or using the current value
	 * of the identifier property if the assigned generator is used.) 
	 * @param account a transient instance of a persistent class 
	 * @return the class identifier
	 */
	public java.lang.Integer save(com.REP.bean.Account account);

	/**
	 * Either save() or update() the given instance, depending upon the value of its identifier property. By default
	 * the instance is always saved. This behaviour may be adjusted by specifying an unsaved-value attribute of the
	 * identifier property mapping. 
	 * @param account a transient instance containing new or updated state 
	 */
	public void saveOrUpdate(com.REP.bean.Account account);

	/**
	 * Update the persistent state associated with the given identifier. An exception is thrown if there is a persistent
	 * instance with the same identifier in the current session.
	 * @param account a transient instance containing updated state
	 */
	public void update(com.REP.bean.Account account);

	/**
	 * Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving
	 * Session or a transient instance with an identifier associated with existing persistent state. 
	 * @param id the instance ID to be removed
	 */
	public void delete(java.lang.Integer id);

	/**
	 * Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving
	 * Session or a transient instance with an identifier associated with existing persistent state. 
	 * @param account the instance to be removed
	 */
	public void delete(com.REP.bean.Account account);

     public Account getAccountbyName(String name);
}

⌨️ 快捷键说明

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