userlocal.java

来自「<Java网络程序设计 J2EE>随书源码」· Java 代码 · 共 51 行

JAVA
51
字号
/* */package org.impact.stars.organizationmd.user.ejb;import java.util.Collection;import java.util.Locale;import java.rmi.RemoteException;import javax.ejb.EJBLocalObject;import javax.ejb.CreateException;import javax.ejb.FinderException;import javax.ejb.DuplicateKeyException;import org.impact.stars.organizationmd.stakeholder.model.StakeholderModel;import org.impact.stars.organizationmd.stakeholder.ejb.StakeholderLocal;import org.impact.stars.organizationmd.user.exceptions.UserAppException;/** * This is the session facade for the user component. This is implemented * as a session bean which exports interfaces of the Stakeholder and order * components */public interface UserLocal extends EJBLocalObject {    public StakeholderModel getStakeholderDetails(String userId)        throws RemoteException, FinderException;/*    public void changeContactInformation(ContactInformation info,                                         String userId)        throws RemoteException, FinderException;    public boolean createStakeholder(String userId, String password,                          String status, ContactInformation info)        throws RemoteException, CreateException, DuplicateKeyException, UserAppException;    public OrderModel getOrderDetails(int orderId)        throws RemoteException, FinderException;    public int createOrder(String userId, Collection lineItems, Address shipToAddr,                        Address billToAddr,  String shipToFirstName,                        String shipToLastName, String billToFirstName,                        String billToLastName, CreditCard chargeCard,                        String carrier, double totalPrice, Locale locale)        throws RemoteException, CreateException, UserAppException; */}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?