📄 functionalmodelfacadelocal.java
字号:
package com.sinosoft.message.ejb;
import java.util.List;
import java.util.Set;
import javax.ejb.Local;
import com.sinosoft.message.po.Functionalmodel;
/**
* Local interface for FunctionalmodelFacade.
*
* @author MyEclipse Persistence Tools
*/
@Local
public interface FunctionalmodelFacadeLocal {
/**
* Perform an initial save of a previously unsaved Functionalmodel entity.
* All subsequent persist actions of this entity should use the #update()
* method.
*
* @param entity
* Functionalmodel entity to persist
* @throws RuntimeException
* when the operation fails
*/
public void save(Functionalmodel entity);
/**
* Delete a persistent Functionalmodel entity.
*
* @param entity
* Functionalmodel entity to delete
* @throws RuntimeException
* when the operation fails
*/
public void delete(Functionalmodel entity);
/**
* Persist a previously saved Functionalmodel entity and return it or a copy
* of it to the sender. A copy of the Functionalmodel entity parameter is
* returned when the JPA persistence mechanism has not previously been
* tracking the updated entity.
*
* @param entity
* Functionalmodel entity to update
* @return Functionalmodel the persisted Functionalmodel entity instance,
* may not be the same
* @throws RuntimeException
* if the operation fails
*/
public Functionalmodel update(Functionalmodel entity);
public Functionalmodel findById(String id);
/**
* Find all Functionalmodel entities with a specific property value.
*
* @param propertyName
* the name of the Functionalmodel 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<Functionalmodel> found by query
*/
public List<Functionalmodel> findByProperty(String propertyName,
Object value, int... rowStartIdxAndCount);
public List<Functionalmodel> findByClassname(Object classname,
int... rowStartIdxAndCount);
public List<Functionalmodel> findByStatus(Object status,
int... rowStartIdxAndCount);
public List<Functionalmodel> findByMethodname(Object methodname,
int... rowStartIdxAndCount);
/**
* Find all Functionalmodel 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<Functionalmodel> all Functionalmodel entities
*/
public List<Functionalmodel> findAll(int... rowStartIdxAndCount);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -