1 package com.instantbank.collections.collectionsQueuing.ejb; 2 3 import java.rmi.RemoteException; 4 import javax.ejb.EJBObject; 5 import com.instantbank.collections.util.InstantbankException; 6 7 public interface CollectionsQueuingServices extends EJBObject { 8 public Long assertStopperQueue(Long companyId) throws RemoteException, InstantbankException; 9 10 11 public String distributeDownload(Long downloadId, Long companyId) throws RemoteException, InstantbankException; 12 13 14 public String distributeWork(Long queueId, Long companyId) throws RemoteException, InstantbankException; 15 16 17 public String generateDownload(Long downloadId, Long companyId) throws RemoteException, InstantbankException; 18 19 20 public String generateWork(Long queueId, Long companyId) throws RemoteException, InstantbankException; 21 22 23 public String getDownloadAccounts(Long downloadId, Long companyId) throws RemoteException, InstantbankException; 24 25 26 public String getQueueAccounts(Long queueId, Long companyId, Long rowNum) throws RemoteException, InstantbankException; 27 28 29 public Long getRowsQueueAccounts(Long queueId, Long companyId) throws RemoteException, InstantbankException; 30 31 32 public String getStopperQueue(Long companyId) throws RemoteException, InstantbankException; 33 34 35 public String newStopperQueue() throws RemoteException, InstantbankException; 36 } 37 38