⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customersessionlocal.java

📁 SUN的JAVA EE5源代码java_ee_sdk-5_03-preview-samples
💻 JAVA
字号:
/* * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -