1 package com.instantbank.collections.customerInfo.ejb;
2
3 import java.rmi.RemoteException;
4 import javax.ejb.EJBObject;
5 import com.instantbank.collections.util.InstantbankException;
6
7 public interface CustomerInfoServices extends EJBObject {
8 public String getCorporation(Long companyId, Long corpId, Long addressId) throws RemoteException, InstantbankException;
9
10
11 public String getCustomer(Long companyId, Long custId, Long addressId) throws RemoteException, InstantbankException;
12
13
14 public String getCustomerStatuses(Long companyId) throws RemoteException, InstantbankException;
15
16
17 public String saveCorporation(String data, Long companyId) throws RemoteException, InstantbankException;
18
19
20 public String saveCustomer(String data, Long companyId) throws RemoteException, InstantbankException;
21
22
23 public void saveCustomerStatuses(Long companyId, Long userId, String xmlData) throws RemoteException, InstantbankException;
24 }
25