1    package com.instantbank.collections.commonQueuing.ejb;
2    
3    import java.util.Map;
4    import java.util.Vector;
5    import java.rmi.RemoteException;
6    import javax.ejb.EJBObject;
7    import com.instantbank.collections.util.InstantbankException;
8    
9    public interface QueueServices extends EJBObject {
10     public void assignToQueue(Long qplanId, String objectType, Long objectId, Long changedBy, java.sql.Date followupDate, String followupTime) throws RemoteException, InstantbankException;
11   
12   
13     public void clearTransfer(Long wrkiId) throws RemoteException, InstantbankException;
14   
15   
16     public void dateTimeLoop(Long workItemId, java.sql.Date date, String time) throws RemoteException, InstantbankException;
17   
18   
19     public String getAccounts(Long companyId, Long userId, String objectType, Long queueId, String status, Long rowNum, int rows) throws RemoteException, InstantbankException;
20   
21   
22     public String getCategories(String objectType) throws RemoteException, InstantbankException;
23   
24   
25     public String getClass(Long classId, Long companyId) throws RemoteException, InstantbankException;
26   
27   
28     public String getClasses(Long companyId, String objectType, String queueName, long rownum, long numRecords) throws RemoteException, InstantbankException;
29   
30   
31     public String getCurrentQueues(String objectType, String objectId, Long companyId) throws RemoteException, InstantbankException;
32   
33   
34     public String getDownload(Long downloadId, Long companyId) throws RemoteException, InstantbankException;
35   
36   
37     public String getDownloads(Long companyId, String objectType, String category, Long qType, String downloadName, long rownum, long numRecords) throws RemoteException, InstantbankException;
38   
39   
40     public String getFields(Long companyId, String objectType) throws RemoteException, InstantbankException;
41   
42   
43     public String getGroupsUsersSummaries(Long companyId, Long supervisorId, String objectType) throws RemoteException, InstantbankException;
44   
45   
46     public String getMenus(Long companyId, String objectType) throws RemoteException, InstantbankException;
47   
48   
49     public Long getObjectIdOfWorkItem(Long workItemId) throws RemoteException, InstantbankException, InstantbankException;
50   
51   
52     public String getQueue(Long queueId, Long companyId) throws RemoteException, InstantbankException;
53   
54   
55     public String getQueues(Long companyId) throws RemoteException, InstantbankException;
56   
57   
58     public String getQueues(Long companyId, String objectType, String category, Long qType, String downloadName, long rownum, long numRecords) throws RemoteException, InstantbankException;
59   
60   
61     public String getQueuesByCategory(Vector categories, Long companyId) throws RemoteException, InstantbankException;
62   
63   
64     public String getQueuesSummary(Long companyId, Long userId, long rownum, int rows) throws RemoteException, InstantbankException;
65   
66   
67     public String getQueuesSupervisor(Long companyId, Long supervisorId, String objectType) throws RemoteException, InstantbankException;
68   
69   
70     public String getQueueTypes(Long companyId, String objectType) throws RemoteException, InstantbankException;
71   
72   
73     public String getQueueType(Long agrmId) throws RemoteException, InstantbankException;
74   
75   
76     public String getDownloadQueueTypes(Long companyId, String objectType) throws RemoteException, InstantbankException;
77   
78   
79     public Long getStopper(Long companyId, String objectType) throws RemoteException, InstantbankException;
80   
81   
82     public String getToQueueType(String xml) throws RemoteException, InstantbankException;
83   
84   
85     public String getUserQueues(Long companyId, Long userId, Long SupervisorId, Long rowInit, int numRecords) throws RemoteException, InstantbankException;
86   
87   
88     public String getUsersSupervisorQueue(Long userId) throws RemoteException, InstantbankException;
89   
90   
91     public String getUserName(Long userId) throws RemoteException, InstantbankException;
92   
93   
94     public Long getWork(Long companyId, Long userId, Long wrkiId, String status, Long firstWrkiId) throws RemoteException, InstantbankException;
95   
96   
97     public String getWork(Long companyId, Long userId, String objectType, Long queueId, String status, Long rowNum, int rows) throws RemoteException, InstantbankException;
98   
99   
100    public String newClass() throws RemoteException, InstantbankException;
101  
102  
103    public String newDownload() throws RemoteException, InstantbankException;
104  
105  
106    public String newQueue() throws RemoteException, InstantbankException;
107  
108  
109    public void recordWork(Long workItemId, int promiseIndicator, String promiseAmount, int contactIndicator, int indirectIndicator, int attemptIndicator) throws RemoteException, InstantbankException;
110  
111  
112    public Long saveClass(Long companyId, Long userId, String xmlData) throws RemoteException, InstantbankException;
113  
114  
115    public Long saveDownload(Long companyId, Long userId, String xmlData) throws RemoteException, InstantbankException;
116  
117  
118    public void saveQueueTypes(Long companyId, Long userId, String xmlData) throws RemoteException, InstantbankException;
119  
120  
121    public Long saveQueue(Long companyId, Long userId, String xmlData) throws RemoteException, InstantbankException;
122  
123  
124    public void setLastActivityIdToWorkItem(Long workItemId, Long activityId) throws RemoteException, InstantbankException;
125  
126  
127    public void transferToQueue(Long wrkiId, Long qplanId, int promiseIndicator, int contactIndicator, int indirectIndicator, int attemptIndicator) throws RemoteException, InstantbankException;
128  
129  
130    public int transferUserToUser(Long userFrom, Long userTo, Long queueId, Long companyId, Long supervisorId) throws RemoteException, InstantbankException;
131  
132  
133    public String getPreviousQueueInfo(String objectType, long objectId, long qid) throws RemoteException, InstantbankException;
134  
135  
136    public Map getCurrentQueuesPrevious(String objectType, long objectId) throws RemoteException, InstantbankException;
137  }
138  
139