?? messagetypereffacadelocal.java
字號:
package com.sinosoft.message.ejb;
import java.util.List;
import javax.ejb.Local;
import com.sinosoft.message.po.Messagetyperef;
/**
* Local interface for MessagetyperefFacade.
*
* @author MyEclipse Persistence Tools
*/
@Local
public interface MessagetyperefFacadeLocal {
/**
* Perform an initial save of a previously unsaved Messagetyperef entity.
* All subsequent persist actions of this entity should use the #update()
* method.
*
* @param entity
* Messagetyperef entity to persist
* @throws RuntimeException
* when the operation fails
*/
public void save(Messagetyperef entity);
/**
* Delete a persistent Messagetyperef entity.
*
* @param entity
* Messagetyperef entity to delete
* @throws RuntimeException
* when the operation fails
*/
public void delete(Messagetyperef entity);
/**
* Persist a previously saved Messagetyperef entity and return it or a copy
* of it to the sender. A copy of the Messagetyperef entity parameter is
* returned when the JPA persistence mechanism has not previously been
* tracking the updated entity.
*
* @param entity
* Messagetyperef entity to update
* @return Messagetyperef the persisted Messagetyperef entity instance, may
* not be the same
* @throws RuntimeException
* if the operation fails
*/
public Messagetyperef update(Messagetyperef entity);
public Messagetyperef findById(String id);
/**
* Find all Messagetyperef entities with a specific property value.
*
* @param propertyName
* the name of the Messagetyperef 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<Messagetyperef> found by query
*/
public List<Messagetyperef> findByProperty(String propertyName,
Object value, int... rowStartIdxAndCount);
/**
* Find all Messagetyperef 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<Messagetyperef> all Messagetyperef entities
*/
public List<Messagetyperef> findAll(int... rowStartIdxAndCount);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -