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

📄 messagecontentfacaderemote.java

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

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

import com.sinosoft.message.po.Messagecontent;

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

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

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

	public Messagecontent findById(String id);

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

	public List<Messagecontent> findByContent(Object content,
			int... rowStartIdxAndCount);

	public List<Messagecontent> findByUrl(Object url,
			int... rowStartIdxAndCount);

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

⌨️ 快捷键说明

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