rolerightsdao.java

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

JAVA
51
字号
package com.yuanchung.sales.dao.admin.role;

import java.util.List;


import com.yuanchung.sales.model.admin.Rights;
import com.yuanchung.sales.model.admin.role.RoleRights;

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

public interface RoleRightsDAO{


	public void save(RoleRights transientInstance);

	public void delete(RoleRights persistentInstance);

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

	public List findByExample(RoleRights instance);

	public List findByProperty(String propertyName, Object value);

	public List findByRoleId(Object roleId);

	public List findByRightsId(Object rightsId);

	public List findAll();

	public RoleRights merge(RoleRights detachedInstance);

	public void attachDirty(RoleRights instance);

	public void attachClean(RoleRights instance);

	public int getMaxId();

	public List<Rights> getRightsEntityByRoleId(final int roleId);


}

⌨️ 快捷键说明

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