public abstract class JDOEJB20HelperImpl extends JDOEJB11HelperImpl implements com.sun.jdo.spi.persistence.support.sqlstore.ejb.JDOEJB20Helper
logger, messages| Constructor and Description |
|---|
JDOEJB20HelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
assertInstanceOfLocalInterfaceImpl(Object o)
Validates that this instance is of the correct implementation class
of a local interface type.
|
protected void |
assertInstanceOfLocalInterfaceImpl(Object o,
String beanName)
Validates that this instance is of the correct implementation class
of a local interface.
|
Collection |
convertCollectionEJBLocalObjectToPC(Collection coll,
com.sun.jdo.api.persistence.support.PersistenceManager pm,
boolean validate)
Converts Collection of EJBLocalObjects to a Collection of
persistence-capable instances.
|
Collection |
convertCollectionPCToEJBLocalObject(Collection pcs,
com.sun.jdo.api.persistence.support.PersistenceManager pm)
Converts Collection of persistence-capable instances to a Collection of
EJBLocalObjects.
|
Set |
convertCollectionPCToEJBLocalObjectSet(Collection pcs,
com.sun.jdo.api.persistence.support.PersistenceManager pm)
Converts Collection of persistence-capable instances to a Set of
EJBLocalObjects.
|
Object |
convertEJBLocalObjectToPC(jakarta.ejb.EJBLocalObject o,
com.sun.jdo.api.persistence.support.PersistenceManager pm,
boolean validate)
Converts EJBLocalObject to persistence-capable instance.
|
jakarta.ejb.EJBLocalObject |
convertPCToEJBLocalObject(Object pc,
com.sun.jdo.api.persistence.support.PersistenceManager pm)
Converts persistence-capable instance to EJBLocalObject.
|
jakarta.ejb.EJBLocalObject |
convertPCToEJBLocalObject(Object pc,
com.sun.jdo.api.persistence.support.PersistenceManager pm,
jakarta.ejb.EJBContext context)
Converts persistence-capable instance to EJBLocalObject.
|
assertInstanceOfRemoteInterfaceImpl, assertInstanceOfRemoteInterfaceImpl, assertObjectIdNotNull, assertPrimaryKeyFieldNotNull, assertPrimaryKeyNotNull, convertCollectionEJBObjectToPC, convertCollectionObjectIdToPrimaryKey, convertCollectionPCToEJBObject, convertCollectionPCToEJBObjectSet, convertCollectionPCToPrimaryKey, convertCollectionPrimaryKeyToObjectId, convertEJBObjectToPC, convertObjectIdToPrimaryKey, convertPCToEJBObject, convertPCToPrimaryKey, convertPrimaryKeyToObjectId, convertPrimaryKeyToPC, getNumericConverter, getPCClass, readSerializableObjectFromByteArray, writeSerializableObjectToByteArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertInstanceOfRemoteInterfaceImpl, convertCollectionEJBObjectToPC, convertCollectionObjectIdToPrimaryKey, convertCollectionPCToEJBObject, convertCollectionPCToEJBObjectSet, convertCollectionPCToPrimaryKey, convertCollectionPrimaryKeyToObjectId, convertEJBObjectToPC, convertObjectIdToPrimaryKey, convertPCToEJBObject, convertPCToPrimaryKey, convertPrimaryKeyToObjectId, getContainer, getNumericConverter, getPCClass, readSerializableObjectFromByteArray, writeSerializableObjectToByteArraypublic jakarta.ejb.EJBLocalObject convertPCToEJBLocalObject(Object pc, com.sun.jdo.api.persistence.support.PersistenceManager pm)
convertPCToEJBLocalObject in interface com.sun.jdo.spi.persistence.support.sqlstore.ejb.JDOEJB20Helperpc - the persistence-capable instance to be converted as an Object.pm - the associated instance of PersistenceManager.public jakarta.ejb.EJBLocalObject convertPCToEJBLocalObject(Object pc, com.sun.jdo.api.persistence.support.PersistenceManager pm, jakarta.ejb.EJBContext context)
convertPCToEJBLocalObject in interface com.sun.jdo.spi.persistence.support.sqlstore.ejb.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 Object convertEJBLocalObjectToPC(jakarta.ejb.EJBLocalObject o, com.sun.jdo.api.persistence.support.PersistenceManager pm, boolean validate)
convertEJBLocalObjectToPC in interface com.sun.jdo.spi.persistence.support.sqlstore.ejb.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.IllegalArgumentException - if validate is true and instance does
not exist in the database or is deleted.public Collection convertCollectionPCToEJBLocalObject(Collection pcs, com.sun.jdo.api.persistence.support.PersistenceManager pm)
convertCollectionPCToEJBLocalObject in interface com.sun.jdo.spi.persistence.support.sqlstore.ejb.JDOEJB20Helperpcs - the Collection of persistence-capable instance to be converted.pm - the associated instance of PersistenceManager.public Set convertCollectionPCToEJBLocalObjectSet(Collection pcs, com.sun.jdo.api.persistence.support.PersistenceManager pm)
convertCollectionPCToEJBLocalObjectSet in interface com.sun.jdo.spi.persistence.support.sqlstore.ejb.JDOEJB20Helperpcs - the Collection of persistence-capable instance to be converted.pm - the associated instance of PersistenceManager.public Collection convertCollectionEJBLocalObjectToPC(Collection coll, com.sun.jdo.api.persistence.support.PersistenceManager pm, boolean validate)
convertCollectionEJBLocalObjectToPC in interface com.sun.jdo.spi.persistence.support.sqlstore.ejb.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.IllegalArgumentException - if validate is true and at least one instance does
not exist in the database or is deleted.public abstract void assertInstanceOfLocalInterfaceImpl(Object o)
assertInstanceOfLocalInterfaceImpl in interface com.sun.jdo.spi.persistence.support.sqlstore.ejb.JDOEJB20Helpero - the instance to validate.IllegalArgumentException - if validation fails.protected void assertInstanceOfLocalInterfaceImpl(Object o, String beanName)
o - the instance to validate.beanName - as String.IllegalArgumentException - if validation fails.Copyright © 2017–2020 Eclipse Foundation. All rights reserved.