rightsdao.java

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

JAVA
49
字号
package com.yuanchung.sales.dao.admin;

import java.util.List;

import com.yuanchung.sales.exception.SystemException;
import com.yuanchung.sales.model.admin.Rights;
import com.yuanchung.sales.model.admin.position.PositionRights;

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

public interface RightsDAO{

	public void save(Rights transientInstance) throws SystemException;

	public void delete(Rights persistentInstance) throws SystemException;

	public Rights findById(java.lang.Integer id) throws SystemException;

	public List findByExample(Rights instance) throws SystemException;

	public List findByProperty(String propertyName, Object value) throws SystemException;

	public List findByRightsName(Object rightsName) throws SystemException;

	public List findByParentId(Object parentId) throws SystemException;

	public List findAll() throws SystemException;

	public Rights merge(Rights detachedInstance) throws SystemException;

	public void attachDirty(Rights instance) throws SystemException;

	public void attachClean(Rights instance) throws SystemException;
	
	public List findByIds(List idList);
	
	public List findByProperty(String propertyName,Object value,String where);

}

⌨️ 快捷键说明

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