|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.spi.persistence.support.ejb.cmp.JDOEJB11HelperImpl
com.sun.jdo.spi.persistence.support.ejb.cmp.JDOEJB20HelperImpl
public abstract class JDOEJB20HelperImpl
| Field Summary |
|---|
| Fields inherited from class com.sun.jdo.spi.persistence.support.ejb.cmp.JDOEJB11HelperImpl |
|---|
logger, messages |
| Constructor Summary | |
|---|---|
JDOEJB20HelperImpl()
|
|
| Method Summary | |
|---|---|
abstract void |
assertInstanceOfLocalInterfaceImpl(java.lang.Object o)
Validates that this instance is of the correct implementation class of a local interface type. |
protected void |
assertInstanceOfLocalInterfaceImpl(java.lang.Object o,
java.lang.String beanName)
Validates that this instance is of the correct implementation class of a local interface. |
java.util.Collection |
convertCollectionEJBLocalObjectToPC(java.util.Collection coll,
PersistenceManager pm,
boolean validate)
Converts Collection of EJBLocalObjects to a Collection of persistence-capable instances. |
java.util.Collection |
convertCollectionPCToEJBLocalObject(java.util.Collection pcs,
PersistenceManager pm)
Converts Collection of persistence-capable instances to a Collection of EJBLocalObjects. |
java.util.Set |
convertCollectionPCToEJBLocalObjectSet(java.util.Collection pcs,
PersistenceManager pm)
Converts Collection of persistence-capable instances to a Set of EJBLocalObjects. |
java.lang.Object |
convertEJBLocalObjectToPC(EJBLocalObject o,
PersistenceManager pm,
boolean validate)
Converts EJBLocalObject to persistence-capable instance. |
EJBLocalObject |
convertPCToEJBLocalObject(java.lang.Object pc,
PersistenceManager pm)
Converts persistence-capable instance to EJBLocalObject. |
EJBLocalObject |
convertPCToEJBLocalObject(java.lang.Object pc,
PersistenceManager pm,
EJBContext context)
Converts persistence-capable instance to EJBLocalObject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDOEJB20HelperImpl()
| Method Detail |
|---|
public EJBLocalObject convertPCToEJBLocalObject(java.lang.Object pc,
PersistenceManager pm)
convertPCToEJBLocalObject in interface JDOEJB20Helperpc - the persistence-capable instance to be converted as an Object.pm - the associated instance of PersistenceManager.
public EJBLocalObject convertPCToEJBLocalObject(java.lang.Object pc,
PersistenceManager pm,
EJBContext context)
convertPCToEJBLocalObject in interface JDOEJB20Helperpc - the persistence-capable instance to be converted as an Object.pm - the associated instance of PersistenceManager.context - the EJBContext of the calling bean.
public java.lang.Object convertEJBLocalObjectToPC(EJBLocalObject o,
PersistenceManager pm,
boolean validate)
convertEJBLocalObjectToPC in interface JDOEJB20Helpero - the EJBLocalObject instance to be converted.pm - the associated instance of PersistenceManager.validate - true if the existence of the instance is to be validated.
java.lang.IllegalArgumentException - if validate is true and instance does
not exist in the database or is deleted.
public java.util.Collection convertCollectionPCToEJBLocalObject(java.util.Collection pcs,
PersistenceManager pm)
convertCollectionPCToEJBLocalObject in interface JDOEJB20Helperpcs - the Collection of persistence-capable instance to be converted.pm - the associated instance of PersistenceManager.
public java.util.Set convertCollectionPCToEJBLocalObjectSet(java.util.Collection pcs,
PersistenceManager pm)
convertCollectionPCToEJBLocalObjectSet in interface JDOEJB20Helperpcs - the Collection of persistence-capable instance to be converted.pm - the associated instance of PersistenceManager.
public java.util.Collection convertCollectionEJBLocalObjectToPC(java.util.Collection coll,
PersistenceManager pm,
boolean validate)
convertCollectionEJBLocalObjectToPC in interface JDOEJB20Helpercoll - the Collection of EJBLocalObject instances to be converted.pm - the associated instance of PersistenceManager.validate - true if the existence of the instances is to be validated.
java.lang.IllegalArgumentException - if validate is true and at least one instance does
not exist in the database or is deleted.public abstract void assertInstanceOfLocalInterfaceImpl(java.lang.Object o)
assertInstanceOfLocalInterfaceImpl in interface JDOEJB20Helpero - the instance to validate.
java.lang.IllegalArgumentException - if validation fails.
protected void assertInstanceOfLocalInterfaceImpl(java.lang.Object o,
java.lang.String beanName)
o - the instance to validate.beanName - as String.
java.lang.IllegalArgumentException - if validation fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||