1 4 package test.interfaces; 5 6 13 public interface FileLocalHome 14 extends javax.ejb.EJBLocalHome 15 { 16 public static final String COMP_NAME="java:comp/env/ejb/FileLocal"; 17 public static final String JNDI_NAME="blah/File"; 18 19 public test.interfaces.FileLocal create(java.lang.String id , java.lang.String contentType , byte[] content) 20 throws javax.ejb.CreateException ; 21 22 public test.interfaces.FileLocal findByPrimaryKey(java.lang.String id) 23 throws javax.ejb.FinderException ; 24 25 public java.util.Collection findAll() 26 throws javax.ejb.FinderException ; 27 28 public java.util.Collection findRangeOrderById(java.lang.Integer start, java.lang.Integer size) 29 throws javax.ejb.FinderException ; 30 31 public java.util.Collection findRangeOrderByCreationDate(java.lang.Integer start, java.lang.Integer size) 32 throws javax.ejb.FinderException ; 33 34 public java.util.Collection findRangeOrderByContentType(java.lang.Integer start, java.lang.Integer size) 35 throws javax.ejb.FinderException ; 36 37 } 38 | Popular Tags |