1    package com.instantbank.component.lettertemplate.ejb;
2    
3    import javax.ejb.EJBHome;
4    import java.rmi.RemoteException;
5    import javax.ejb.CreateException;
6    
7    /**
8     *  home interface of LetterTemplate EJB
9     *  (Session Stateful EJB)
10    *
11    * @author Instant-bank (Consuelo Franky)
12    * @created August 2002
13    */
14   public interface LetterTemplateHome extends EJBHome {
15     /**
16      *  creation of a LetterTemplate instance
17      *
18      * @param companyId current company
19      * @param userId current user
20      * @return LetterTemplate reference
21      * @exception RemoteException
22      * @exception CreateException
23      */
24     public LetterTemplate create(String companyId, Long userId)
25        throws RemoteException, CreateException;
26   }
27