1 package test.dao; 2 3 import test.interfaces.CustomerPK; 4 import test.ejb.CustomerBMPBean; 5 import java.util.*; 6 import javax.ejb.*; 7 8 11 public class CustomerExampleDAO 12 implements CustomerDAO 13 { 14 15 18 public void init() 19 { 20 } 22 23 26 public void load(CustomerPK pk, CustomerBMPBean bean) 27 { 28 } 31 32 35 public void store(CustomerBMPBean bean) 36 { 37 } 39 40 43 public CustomerPK create(CustomerBMPBean bean) 44 { 45 CustomerPK pk = null; 46 return pk; 49 } 50 51 54 public void remove(CustomerPK pk) 55 { 56 } 58 59 62 public CustomerPK findByPrimaryKey(CustomerPK pk) 63 { 64 return pk; 69 } 70 71 74 public Collection findAll() 75 { 76 List ret = new ArrayList(); 77 CustomerPK pk; 78 return ret; 83 } 84 85 88 public void backup(CustomerPK pk) 89 { 90 } 93 94 } 95 | Popular Tags |