1    package com.instantbank.collections.letters.ejb;
2    
3    import java.rmi.RemoteException;
4    import javax.ejb.EJBObject;
5    import com.instantbank.collections.util.InstantbankException;
6    
7    public interface LetterServices extends EJBObject {
8      public String getLetters(Long companyId) throws RemoteException, InstantbankException;
9    
10   
11     public String getListByCompany(Long companyId, Long userId) throws RemoteException, InstantbankException;
12   
13   
14     public void orderLetter(Long templateId, Long objectId, boolean immediate) throws RemoteException, InstantbankException;
15   }
16