1    package com.instantbank.collections.collectionsActivities.ejb;
2    
3    import java.rmi.RemoteException;
4    import javax.ejb.EJBObject;
5    import com.instantbank.collections.ach.DataObject;
6    import com.instantbank.collections.util.InstantbankException;
7    
8    public interface ActionResultServices extends EJBObject {
9      public String getAction(Long actionId, Long companyId) throws RemoteException, InstantbankException;
10   
11   
12     public String getHistory(Long companyId, Long agrmId, String primarySort, String secondarySort, Long rowNum) throws RemoteException, InstantbankException;
13   
14   
15     public Long getRowsHistory(Long companyId, Long agrmId) throws RemoteException, InstantbankException;
16   
17   
18     public String getListByUser(Long userId, Long companyId) throws RemoteException, InstantbankException;
19   
20   
21     public String getLists(Long companyId) throws RemoteException, InstantbankException;
22   
23   
24     public String getResult(Long companyId, Long resultId) throws RemoteException, InstantbankException;
25   
26   
27     public String getResultRules(String sessionInfo, Long resultId) throws RemoteException, InstantbankException;
28   
29   
30     public String getResultsList(Long companyId) throws RemoteException, InstantbankException;
31   
32   
33     public String newResult() throws RemoteException, InstantbankException;
34   
35   
36     public String recordActivity(String activityXmlString, String sessionInfo, Long workItemId, Long agrmId) throws RemoteException, InstantbankException;
37   
38   
39     public void saveAction(String data, Long companyId, Long userId) throws RemoteException, InstantbankException;
40   
41   
42     public void saveResult(String data, Long companyId, Long userId) throws RemoteException, InstantbankException;
43   
44   
45     public void createDataObject(DataObject dataObject) throws RemoteException, InstantbankException;
46   
47   
48     public void updateDataObject(DataObject dataObject) throws RemoteException, InstantbankException;
49   
50   
51     public void removeDataObject(DataObject dataObject) throws RemoteException, InstantbankException;
52   }
53