1 37 38 package com.sun.j2ee.blueprints.processmanager.ejb; 39 40 import javax.ejb.*; 41 import java.util.*; 42 43 47 public interface ProcessManagerLocal extends EJBLocalObject { 48 49 52 public void updateStatusToCompleted (String orderId) 53 throws FinderException ; 54 public void updateStatus (String orderId, String status) 55 throws FinderException ; 56 public void updateOrderErrorStatus(String orderId, boolean error) 57 throws FinderException; 58 public void updateActivityOrderStatus(String orderId, String status) 59 throws FinderException ; 60 public void updateAirlineOrderStatus(String orderId, String status) 61 throws FinderException ; 62 public void updateLodgingOrderStatus(String orderId, String status) 63 throws FinderException ; 64 65 68 public void createManager (String orderId, String status, 69 String actyOrderStatus, 70 String airlineOrderStatus, 71 String lodgOrderStatus) throws CreateException; 72 73 public String getOrderStatus(String orderId) throws FinderException; 74 75 public Collection getOrdersByStatus(String status) throws FinderException; 76 } 77 78 | Popular Tags |