messageresourcefacadelocal.java

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

JAVA
113
字号
package com.sinosoft.message.ejb;

import java.util.List;
import java.util.Set;
import javax.ejb.Local;

import com.sinosoft.message.po.Messageresource;

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

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

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

	public Messageresource findById(String id);

	/**
	 * Find all Messageresource entities with a specific property value.
	 * 
	 * @param propertyName
	 *            the name of the Messageresource 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<Messageresource> found by query
	 */
	public List<Messageresource> findByProperty(String propertyName,
			Object value, int... rowStartIdxAndCount);

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

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

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

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

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

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

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

	public List<Messageresource> findByRecevierName(Object recevierName,
			int... rowStartIdxAndCount);

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

	public List<Messageresource> findByRecevieType(Object recevieType,
			int... rowStartIdxAndCount);

	/**
	 * Find all Messageresource 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<Messageresource> all Messageresource entities
	 */
	public List<Messageresource> findAll(int... rowStartIdxAndCount);
}

⌨️ 快捷键说明

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