⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 historymessagefacaderemote.java

📁 协同办公
💻 JAVA
字号:
package com.sinosoft.message.ejb;

import java.util.List;
import javax.ejb.Remote;

import com.sinosoft.message.po.Historymessage;

/**
 * Remote interface for HistorymessageFacade.
 * 
 * @author MyEclipse Persistence Tools
 */
@Remote
public interface HistorymessageFacadeRemote {
	/**
	 * Perform an initial save of a previously unsaved Historymessage entity.
	 * All subsequent persist actions of this entity should use the #update()
	 * method.
	 * 
	 * @param entity
	 *            Historymessage entity to persist
	 * @throws RuntimeException
	 *             when the operation fails
	 */
	public void save(Historymessage entity);

	/**
	 * Delete a persistent Historymessage entity.
	 * 
	 * @param entity
	 *            Historymessage entity to delete
	 * @throws RuntimeException
	 *             when the operation fails
	 */
	public void delete(Historymessage entity);

	/**
	 * Persist a previously saved Historymessage entity and return it or a copy
	 * of it to the sender. A copy of the Historymessage entity parameter is
	 * returned when the JPA persistence mechanism has not previously been
	 * tracking the updated entity.
	 * 
	 * @param entity
	 *            Historymessage entity to update
	 * @return Historymessage the persisted Historymessage entity instance, may
	 *         not be the same
	 * @throws RuntimeException
	 *             if the operation fails
	 */
	public Historymessage update(Historymessage entity);

	public Historymessage findById(String id);

	/**
	 * Find all Historymessage entities with a specific property value.
	 * 
	 * @param propertyName
	 *            the name of the Historymessage property to query
	 * @param value
	 *            the property value to match
	 * @param rowStartIdxAndCount
	 *            Optional int varargs. rowStartIdxAndCount[0] specifies the the
	 *            row index in the query result-set to begin collecting the
	 *            results. rowStartIdxAndCount[1] specifies the the maximum
	 *            count of results to return.
	 * @return List<Historymessage> found by query
	 */
	public List<Historymessage> findByProperty(String propertyName,
			Object value, int... rowStartIdxAndCount);

	public List<Historymessage> findByCreateDate(Object createDate,
			int... rowStartIdxAndCount);

	public List<Historymessage> findBySender(Object sender,
			int... rowStartIdxAndCount);

	public List<Historymessage> findByReceiver(Object receiver,
			int... rowStartIdxAndCount);

	public List<Historymessage> findBySendDelFlag(Object sendDelFlag,
			int... rowStartIdxAndCount);

	public List<Historymessage> findByReceviveDelFlag(Object receviveDelFlag,
			int... rowStartIdxAndCount);

	public List<Historymessage> findByStatus(Object status,
			int... rowStartIdxAndCount);

	public List<Historymessage> findBySenderName(Object senderName,
			int... rowStartIdxAndCount);

	public List<Historymessage> findByReceiverName(Object receiverName,
			int... rowStartIdxAndCount);

	public List<Historymessage> findBySendType(Object sendType,
			int... rowStartIdxAndCount);

	public List<Historymessage> findByReceiveType(Object receiveType,
			int... rowStartIdxAndCount);

	/**
	 * Find all Historymessage entities.
	 * 
	 * @param rowStartIdxAndCount
	 *            Optional int varargs. rowStartIdxAndCount[0] specifies the the
	 *            row index in the query result-set to begin collecting the
	 *            results. rowStartIdxAndCount[1] specifies the the maximum
	 *            count of results to return.
	 * @return List<Historymessage> all Historymessage entities
	 */
	public List<Historymessage> findAll(int... rowStartIdxAndCount);
}

⌨️ 快捷键说明

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