faultleveldao.java

来自「基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰」· Java 代码 · 共 48 行

JAVA
48
字号
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.FaultLevel;

/**
 * A data access object (DAO) providing persistence and search support for
 * FaultLevel 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.FaultLevel
 * @author MyEclipse Persistence Tools
 */

public interface FaultLevelDAO {

	public void save(FaultLevel transientInstance) ;

	public void delete(FaultLevel persistentInstance);

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

	public List findByExample(FaultLevel instance) ;

	public List findByProperty(String propertyName, Object value) ;

	public List findByName(Object name) ;

	public List findByRemarks(Object remarks) ;

	public List findAll();

	public FaultLevel merge(FaultLevel detachedInstance) ;

	public void attachDirty(FaultLevel instance);

	public void attachClean(FaultLevel instance);

}

⌨️ 快捷键说明

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