1 23 24 25 26 31 32 package com.sun.jdo.spi.persistence.support.sqlstore.ejb; 33 34 import java.util.Collection ; 35 import java.util.Set ; 36 37 import javax.ejb.EJBLocalObject ; 38 import javax.ejb.EJBContext ; 39 40 import com.sun.jdo.api.persistence.support.PersistenceManager; 41 42 49 public interface JDOEJB20Helper extends JDOEJB11Helper { 50 51 57 EJBLocalObject convertPCToEJBLocalObject (Object pc, PersistenceManager pm); 58 59 67 EJBLocalObject convertPCToEJBLocalObject (Object pc, PersistenceManager pm, 68 EJBContext context); 69 70 79 Object convertEJBLocalObjectToPC(EJBLocalObject o, PersistenceManager pm, 80 boolean validate); 81 82 89 Collection convertCollectionPCToEJBLocalObject (Collection pcs, PersistenceManager pm); 90 91 98 Set convertCollectionPCToEJBLocalObjectSet (Collection pcs, PersistenceManager pm); 99 100 110 Collection convertCollectionEJBLocalObjectToPC (Collection coll, PersistenceManager pm, 111 boolean validate); 112 113 121 void assertInstanceOfLocalInterfaceImpl(Object o); 122 123 } 124 | Popular Tags |