roledao.java
来自「基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰」· Java 代码 · 共 41 行
JAVA
41 行
package com.yuanchung.sales.dao.admin.role;
import java.util.List;
import com.yuanchung.sales.model.admin.role.Role;
/**
* A data access object (DAO) providing persistence and search support for Role
* 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.Role
* @author MyEclipse Persistence Tools
*/
public interface RoleDAO {
public void save(Role transientInstance);
public void delete(Role persistentInstance);
public Role findById(java.lang.Integer id);
public List findByExample(Role instance) ;
public List findByProperty(String propertyName, Object value);
public List findByRoleName(Object roleName);
public List findAll();
public Role merge(Role detachedInstance);
public void attachDirty(Role instance);
public void attachClean(Role instance);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?