public interface JDOEJB20Helper extends JDOEJB11Helper
| Modifier and Type | Method and Description |
|---|---|
void |
assertInstanceOfLocalInterfaceImpl(Object o)
Validates that this instance is of the correct implementation class
of a local interface type.
|
Collection |
convertCollectionEJBLocalObjectToPC(Collection coll,
PersistenceManager pm,
boolean validate)
Converts Collection of EJBLocalObjects to a Collection of
persistence-capable instances.
|
Collection |
convertCollectionPCToEJBLocalObject(Collection pcs,
PersistenceManager pm)
Converts Collection of persistence-capable instances to a Collection of
EJBLocalObjects.
|
Set |
convertCollectionPCToEJBLocalObjectSet(Collection pcs,
PersistenceManager pm)
Converts Collection of persistence-capable instances to a Set of
EJBLocalObjects.
|
Object |
convertEJBLocalObjectToPC(javax.ejb.EJBLocalObject o,
PersistenceManager pm,
boolean validate)
Converts EJBLocalObject to persistence-capable instance.
|
javax.ejb.EJBLocalObject |
convertPCToEJBLocalObject(Object pc,
PersistenceManager pm)
Converts persistence-capable instance to EJBLocalObject.
|
javax.ejb.EJBLocalObject |
convertPCToEJBLocalObject(Object pc,
PersistenceManager pm,
javax.ejb.EJBContext context)
Converts persistence-capable instance to EJBLocalObject.
|
assertInstanceOfRemoteInterfaceImpl, convertCollectionEJBObjectToPC, convertCollectionObjectIdToPrimaryKey, convertCollectionPCToEJBObject, convertCollectionPCToEJBObjectSet, convertCollectionPCToPrimaryKey, convertCollectionPrimaryKeyToObjectId, convertEJBObjectToPC, convertObjectIdToPrimaryKey, convertPCToEJBObject, convertPCToPrimaryKey, convertPrimaryKeyToObjectId, getContainer, getNumericConverter, getPCClass, readSerializableObjectFromByteArray, writeSerializableObjectToByteArrayjavax.ejb.EJBLocalObject convertPCToEJBLocalObject(Object pc, PersistenceManager pm)
pc - the persistence-capable instance to be converted as an Object.pm - the associated instance of PersistenceManager.javax.ejb.EJBLocalObject convertPCToEJBLocalObject(Object pc, PersistenceManager pm, javax.ejb.EJBContext context)
pc - the persistence-capable instance to be converted as an Object.pm - the associated instance of PersistenceManager.context - the EJBContext of the calling bean.Object convertEJBLocalObjectToPC(javax.ejb.EJBLocalObject o, PersistenceManager pm, boolean validate)
o - 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.Collection convertCollectionPCToEJBLocalObject(Collection pcs, PersistenceManager pm)
pcs - the Collection of persistence-capable instance to be converted.pm - the associated instance of PersistenceManager.Set convertCollectionPCToEJBLocalObjectSet(Collection pcs, PersistenceManager pm)
pcs - the Collection of persistence-capable instance to be converted.pm - the associated instance of PersistenceManager.Collection convertCollectionEJBLocalObjectToPC(Collection coll, PersistenceManager pm, boolean validate)
coll - 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.void assertInstanceOfLocalInterfaceImpl(Object o)
o - the instance to validate.IllegalArgumentException - if validation fails.Copyright © 2017. All rights reserved.