Sample for a home interface
package training.proman.ejb;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;
/**
* @author earnest.thomas
*
* This is the Local Home of Product entity bean, Product
* entity bean is used to reprecent the product in the database.
*/
public interface ProductLocalHome extends EJBLocalHome {
/**
* Creation method.
* @param name
* @param retailPrice
* @param wholeSalePrice
* @param discountPrice
* @param description
* @param quantity
* @return
* @throws CreateException
* @throws EJBException
*/
public ProductLocal create(
String name,
float retailPrice,
float wholeSalePrice,
float discountPrice,
String description,
int quantity)
throws CreateException, EJBException;
/**
* Find Local Object by id
* @param id
* @return a Local Object
* @throws FinderException
* @throws EJBException
*/
public ProductLocal findByPrimaryKey(Integer id)
throws FinderException, EJBException;
/**
* Find all Local Objects
* @return Collection of all Local Object
* @throws FinderException
* @throws EJBException
*/
public Collection findAll() throws FinderException, EJBException;
}
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;
/**
* @author earnest.thomas
*
* This is the Local Home of Product entity bean, Product
* entity bean is used to reprecent the product in the database.
*/
public interface ProductLocalHome extends EJBLocalHome {
/**
* Creation method.
* @param name
* @param retailPrice
* @param wholeSalePrice
* @param discountPrice
* @param description
* @param quantity
* @return
* @throws CreateException
* @throws EJBException
*/
public ProductLocal create(
String name,
float retailPrice,
float wholeSalePrice,
float discountPrice,
String description,
int quantity)
throws CreateException, EJBException;
/**
* Find Local Object by id
* @param id
* @return a Local Object
* @throws FinderException
* @throws EJBException
*/
public ProductLocal findByPrimaryKey(Integer id)
throws FinderException, EJBException;
/**
* Find all Local Objects
* @return Collection of all Local Object
* @throws FinderException
* @throws EJBException
*/
public Collection findAll() throws FinderException, EJBException;
}
...全文
相关推荐
Android 4.0 Compatibility Definition
Android 4.0 Compatibility Definition
计算机专业英语A卷解析:术语翻译、阅读定位与答案勘误
技术英语阅读与翻译是理解数据手册、接口文档和国际技术规范的基础能力,核心不在背诵孤立词汇,而在识别术语边界、缩写层级、句子主干与同义替换。以计算机专业英语期末试卷为例,术语英译汉与缩写匹配考查分类逻辑,阅读理解依赖定位句和语义改写,选词填空与句子翻译则强调语法槽、后置定语、方式状语和比较结构。把这些方法放进限时模拟、答案勘误和错题本流程中,可快速暴露遗忘点,也能迁移到工程文档阅读、技术面试与英文手册检索。围绕计算机专业英语A卷,梳理术语、阅读、翻译的考点与常见答案错位,形成可复现的自测与纠错路径。
用于Matlab的ZED SDK接口示例_ZED SDK interface sample for Matlab.zip
用于Matlab的ZED SDK接口示例_ZED SDK interface sample for Matlab.zip
SmartPayment Native Message Interface Sample-crx插件
语言:español (Latinoamérica) 引脚PAG PAC扩展(Citexpress) 用于处理PIN垫的销售点
jQuery UI 1.7 The User Interface Library for jQuery
jQuery UI 1.7 The User Interface Library for jQuery.jquery-ui-1-7-sample-chapter-3-tabs.解压密码 csdn


非技术区
