historymessagedao.java

来自「协同办公」· Java 代码 · 共 49 行

JAVA
49
字号
package com.sinosoft.message.dao;

import java.util.List;

import javax.ejb.Remote;

import com.sinosoft.message.po.Historymessage;
@Remote
public interface HistoryMessageDao{
	/**
	 * 添加
	 * @param entity
	 */
	public void save(Historymessage entity);
	
	
	/**
	 * 删除
	 * @param entity
	 */
	public void delete(Historymessage entity);
	/**
	 * 修改
	 * @param entity
	 * @return
	 */
	public Historymessage update(Historymessage entity);
	/**
	 * 根据id查找
	 * @param id
	 * @return
	 */
	public Historymessage findById(String id);
	/**
	 * 根据属性查找
	 * @param propertyName
	 * @param value
	 * @param rowStartIdxAndCount
	 * @return
	 */
	public List<Historymessage> findByProperty(String propertyName,
			Object value, int... rowStartIdxAndCount);
	/**
	 * 查找所有
	 * @param rowStartIdxAndCount
	 * @return
	 */
	public List<Historymessage> findAll(int... rowStartIdxAndCount);
}

⌨️ 快捷键说明

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