messagetypefacaderemote.java

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

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

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

import com.sinosoft.message.po.Messagetype;

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

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

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

	public Messagetype findById(String id);

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

	public List<Messagetype> findByName(Object name, int... rowStartIdxAndCount);

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

⌨️ 快捷键说明

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