1 package com.instantbank.collections.creditInfo.ejb;
2
3 import java.rmi.RemoteException;
4 import javax.ejb.EJBObject;
5 import com.instantbank.collections.util.InstantbankException;
6
7 public interface AccountInfoServices extends EJBObject {
8 public Long getAgreementId(Long companyId, Long agreementCode) throws RemoteException, InstantbankException;
9
10
11 public String getAgreementDetails(Long companyId, Long agrmId, boolean financial, boolean promises, boolean delinquency, boolean miscellaneous) throws RemoteException, InstantbankException;
12
13
14 public String getAgreementDetailsCont(Long companyId, Long agrmId) throws RemoteException, InstantbankException;
15
16
17 public String getCollateralInfo(Long companyId, Long agrmId) throws RemoteException, InstantbankException;
18
19
20 public String getCustomers(Long companyId, Long agrmId) throws RemoteException, InstantbankException;
21
22
23 public String getMaintenanceHistory(Long companyId, Long agrmId, String primarySort, String secondarySort, String fromDate, String toDate, Long rowNum) throws RemoteException, InstantbankException;
24
25
26 public Long getRowsMaintenanceHistory(Long companyId, Long agrmId, String fromDate, String toDate) throws RemoteException, InstantbankException;
27
28
29 public String getPrimaryCustomer(Long companyId, Long agrmId) throws RemoteException, InstantbankException;
30
31
32 public String getStatusValues(Long companyId, Long agrmId) throws RemoteException, InstantbankException;
33
34
35 public String getTransactionHistory(Long companyId, Long agrmId, String primarySort, String secondarySort, String fromDate, String toDate, Long rowNum) throws RemoteException, InstantbankException;
36
37
38 public Long getRowsTransactionHistory(Long companyId, Long agrmId, String fromDate, String toDate) throws RemoteException, InstantbankException;
39
40
41 public void saveCustomer(String data, Long agrmId, Long companyId, Long userId) throws RemoteException, InstantbankException;
42
43
44 public void saveMaintenanceData(String data, Long companyId, Long userId) throws RemoteException, InstantbankException;
45
46
47 public Long saveStatusValues(String data, Long companyId, Long userId, String oldStatusValues) throws RemoteException, InstantbankException;
48
49
50 public String searchAccount(Long companyId, String criteria, Long rownum, Integer maxrows) throws RemoteException, InstantbankException;
51
52 }
53