customersessionlocal.java
来自「J2EE 项目各个技术的源码」· Java 代码 · 共 49 行
JAVA
49 行
/* * CustomerSessionLocal.java * * Created on January 16, 2006, 6:43 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. *//** * * @author Rahul Biswas */package enterprise.customer_cmp_ejb.ejb.session;import javax.ejb.Local;import enterprise.customer_cmp_ejb.persistence.*;import enterprise.customer_cmp_ejb.common.*;import java.util.List;@Localpublic interface CustomerSessionLocal { public Customer searchForCustomer(String id); public Subscription searchForSubscription(String id); public Address searchForAddress(String id); public void persist(Object obj); public List findAllSubscriptions(); public List findCustomerByFirstName(String firstName); public List findCustomerByLastName(String lastName); public void remove(Object obj); public Customer addCustomerAddress(Customer cust, Address address); public Customer removeCustomerSubscription(String cust, String subs) throws SubscriptionNotFoundException; public Customer addCustomerSubscription(String cust, String subs) throws DuplicateSubscriptionException;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?