1 22 package org.jboss.test.cmp2.commerce; 23 24 import java.util.Collection ; 25 import java.util.Set ; 26 import javax.ejb.CreateException ; 27 import javax.ejb.EJBLocalHome ; 28 import javax.ejb.FinderException ; 29 30 public interface OrderHome extends EJBLocalHome { 31 public Order create() throws CreateException ; 32 public Order create(Long id) throws CreateException ; 33 34 public Order findByPrimaryKey(Long ordernumber) throws FinderException ; 35 36 public Collection findByStatus(String status) throws FinderException ; 37 38 public Collection findAll() throws FinderException ; 39 40 public Collection findDoubleJoin(int a, int b) throws FinderException ; 41 42 public Collection findWithLimitOffset(int offset, int limit) throws FinderException ; 43 44 public Set getStuff(String jbossQl, Object [] arguments) 45 throws FinderException ; 46 47 public Set selectLazy(String jbossQl, Object [] arguments) 48 throws FinderException ; 49 } 50 | Popular Tags |