?? historymessagefacadelocal.java
字號:
package com.sinosoft.message.ejb;
import java.util.List;
import javax.ejb.Local;
import com.sinosoft.message.po.Historymessage;
/**
* Local interface for HistorymessageFacade.
*
* @author MyEclipse Persistence Tools
*/
@Local
public interface HistorymessageFacadeLocal {
/**
* 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 + -