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

📄 sourcedao.java

📁 基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰富
💻 JAVA
字号:
package com.yuanchung.sales.dao.service;

import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.yuanchung.sales.model.service.Source;

/**
 * A data access object (DAO) providing persistence and search support for
 * Source entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.yuanchung.sales.model.service.Source
 * @author MyEclipse Persistence Tools
 */

public interface SourceDAO {

	public void save(Source transientInstance);

	public void delete(Source persistentInstance);

	public Source findById(java.lang.Integer id);

	public List findByExample(Source instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name) ;

	public List findByRemarks(Object remarks);
	
	public List findAll();

	public Source merge(Source detachedInstance);

	public void attachDirty(Source instance);

	public void attachClean(Source instance);

}

⌨️ 快捷键说明

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