com.beasys.commerce.util
Interface PersistenceHelperPlugin


public interface PersistenceHelperPlugin

Interface for Persistence Helper Plugin A specific driver must be written for each type of persistence cache. This is not a required optimization for CMP or BMP.


Method Summary
 void clearRelationalBinding(String attributeIdentifier, Collection collection, BelongingImpl belongingImpl)
           
 void clearRelationalBinding(String attributeIdentifier, Collection collection, EntityImpl entityImpl)
           
 void clearRelationalBinding(String attributeIdentifier, Collection collection, Object o, BelongingImpl belongingImpl)
           
 void clearRelationalBinding(String attributeIdentifier, Collection collection, Object o, EntityImpl entityImpl)
           
 void clearRelationalBinding(String attributeIdentifier, Map map, BelongingImpl belongingImpl)
           
 void clearRelationalBinding(String attributeIdentifier, Map map, EntityImpl entityImpl)
           
 void clearRelationalBinding(String attributeIdentifier, Map map, Object key, BelongingImpl belongingImpl)
           
 void clearRelationalBinding(String attributeIdentifier, Map map, Object key, EntityImpl entityImpl)
           
 SmartCollectionReference createSmartCollectionReference(String attributeIdentifier, SmartCollectionReference targetInstance, BelongingImpl belonging)
           
 SmartCollectionReference createSmartCollectionReference(String attributeIdentifier, SmartCollectionReference targetInstance, EntityImpl entityImpl)
           
 SmartCollectionReference createSmartCollectionReference(String attributeIdentifier, SmartCollectionReference targetInstance, SessionImpl sessionImpl)
           
 SmartEntityReference createSmartEntityReference(String attributeIdentifier, SmartEntityReference targetInstance, BelongingImpl belonging)
           
 SmartEntityReference createSmartEntityReference(String attributeIdentifier, SmartEntityReference targetInstance, EntityImpl entityImpl)
           
 SmartEntityReference createSmartEntityReference(String attributeIdentifier, SmartEntityReference targetInstance, SessionImpl sessionImpl)
           
 SmartMapReference createSmartMapReference(String attributeIdentifier, SmartMapReference targetInstance, BelongingImpl belonging)
           
 SmartMapReference createSmartMapReference(String attributeIdentifier, SmartMapReference targetInstance, EntityImpl entityImpl)
           
 SmartMapReference createSmartMapReference(String attributeIdentifier, SmartMapReference targetInstance, SessionImpl sessionImpl)
           
 Belonging doRelationalBinding(String attributeIdentifier, Belonging value, EJBObject parent, BelongingImpl belongingImpl)
          The dependent object will have additional information for object-relational mapping
 Belonging doRelationalBinding(String attributeIdentifier, Belonging value, EntityImpl entityImpl)
          The dependent object will have additional information for object-relational mapping
 Object doRelationalBinding(String attributeIdentifier, Object value, EJBObject parent, BelongingImpl belongingImpl)
          The dependent object will have additional information for object-relational mapping
 Object doRelationalBinding(String attributeIdentifier, Object value, EntityImpl entityImpl)
          The dependent object will have additional information for object-relational mapping
 Belonging doRelationalBindingWithMapKey(String attributeIdentifier, Belonging value, Object mapKey, EJBObject parent, BelongingImpl belongingImpl)
          The dependent object will have additional information for object-relational mapping
 Belonging doRelationalBindingWithMapKey(String attributeIdentifier, Belonging value, Object mapKey, EntityImpl entityImpl)
          The dependent object will have additional information for object-relational mapping
 Object doRelationalBindingWithMapKey(String attributeIdentifier, Object value, Object mapKey, EJBObject parent, BelongingImpl belongingImpl)
          The dependent object will have additional information for object-relational mapping
 Object doRelationalBindingWithMapKey(String attributeIdentifier, Object value, Object mapKey, EntityImpl entityImpl)
          The dependent object will have additional information for object-relational mapping
 Belonging synchronizeWithCache(Belonging value, EntityImpl entityImpl)
          Optimize the dependent object in the persistence cache
 Object synchronizeWithCache(Object value, EntityImpl entityImpl)
          Optimize the dependent object in the persistence cache
 Belonging synchronizeWithCache(String attributeIdentifier, Belonging value, EntityImpl entityImpl)
          Optimize the dependent object in the persistence cache
 Collection synchronizeWithCache(String attributeIdentifier, Collection collection, EntityImpl entityImpl)
          Optimize the dependent object in the persistence cache
 Map synchronizeWithCache(String attributeIdentifier, Map map, EntityImpl entityImpl)
          Optimize the dependent object in the persistence cache
 Object synchronizeWithCache(String attributeIdentifier, Object value, EntityImpl entityImpl)
          Optimize the dependent object in the persistence cache
 

Method Detail

synchronizeWithCache

Belonging synchronizeWithCache(String attributeIdentifier,
                               Belonging value,
                               EntityImpl entityImpl)
Optimize the dependent object in the persistence cache

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

synchronizeWithCache

Object synchronizeWithCache(String attributeIdentifier,
                            Object value,
                            EntityImpl entityImpl)
Optimize the dependent object in the persistence cache

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

synchronizeWithCache

Collection synchronizeWithCache(String attributeIdentifier,
                                Collection collection,
                                EntityImpl entityImpl)
Optimize the dependent object in the persistence cache

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

synchronizeWithCache

Map synchronizeWithCache(String attributeIdentifier,
                         Map map,
                         EntityImpl entityImpl)
Optimize the dependent object in the persistence cache

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

synchronizeWithCache

Belonging synchronizeWithCache(Belonging value,
                               EntityImpl entityImpl)
Optimize the dependent object in the persistence cache

Parameters
value - instance of a belonging * @param entityImpl implementation of an entity bean

synchronizeWithCache

Object synchronizeWithCache(Object value,
                            EntityImpl entityImpl)
Optimize the dependent object in the persistence cache

Parameters
value - instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBinding

Belonging doRelationalBinding(String attributeIdentifier,
                              Belonging value,
                              EntityImpl entityImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBinding

Object doRelationalBinding(String attributeIdentifier,
                           Object value,
                           EntityImpl entityImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBindingWithMapKey

Belonging doRelationalBindingWithMapKey(String attributeIdentifier,
                                        Belonging value,
                                        Object mapKey,
                                        EntityImpl entityImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBindingWithMapKey

Object doRelationalBindingWithMapKey(String attributeIdentifier,
                                     Object value,
                                     Object mapKey,
                                     EntityImpl entityImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBinding

Belonging doRelationalBinding(String attributeIdentifier,
                              Belonging value,
                              EJBObject parent,
                              BelongingImpl belongingImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBinding

Object doRelationalBinding(String attributeIdentifier,
                           Object value,
                           EJBObject parent,
                           BelongingImpl belongingImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBindingWithMapKey

Belonging doRelationalBindingWithMapKey(String attributeIdentifier,
                                        Belonging value,
                                        Object mapKey,
                                        EJBObject parent,
                                        BelongingImpl belongingImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

doRelationalBindingWithMapKey

Object doRelationalBindingWithMapKey(String attributeIdentifier,
                                     Object value,
                                     Object mapKey,
                                     EJBObject parent,
                                     BelongingImpl belongingImpl)
The dependent object will have additional information for object-relational mapping

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers * @param value instance of a belonging * @param entityImpl implementation of an entity bean

createSmartEntityReference

SmartEntityReference createSmartEntityReference(String attributeIdentifier,
                                                SmartEntityReference targetInstance,
                                                EntityImpl entityImpl)

createSmartMapReference

SmartMapReference createSmartMapReference(String attributeIdentifier,
                                          SmartMapReference targetInstance,
                                          EntityImpl entityImpl)

createSmartCollectionReference

SmartCollectionReference createSmartCollectionReference(String attributeIdentifier,
                                                        SmartCollectionReference targetInstance,
                                                        EntityImpl entityImpl)

createSmartEntityReference

SmartEntityReference createSmartEntityReference(String attributeIdentifier,
                                                SmartEntityReference targetInstance,
                                                SessionImpl sessionImpl)

createSmartMapReference

SmartMapReference createSmartMapReference(String attributeIdentifier,
                                          SmartMapReference targetInstance,
                                          SessionImpl sessionImpl)

createSmartCollectionReference

SmartCollectionReference createSmartCollectionReference(String attributeIdentifier,
                                                        SmartCollectionReference targetInstance,
                                                        SessionImpl sessionImpl)

createSmartEntityReference

SmartEntityReference createSmartEntityReference(String attributeIdentifier,
                                                SmartEntityReference targetInstance,
                                                BelongingImpl belonging)

createSmartMapReference

SmartMapReference createSmartMapReference(String attributeIdentifier,
                                          SmartMapReference targetInstance,
                                          BelongingImpl belonging)

createSmartCollectionReference

SmartCollectionReference createSmartCollectionReference(String attributeIdentifier,
                                                        SmartCollectionReference targetInstance,
                                                        BelongingImpl belonging)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Collection collection,
                            EntityImpl entityImpl)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Map map,
                            EntityImpl entityImpl)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Collection collection,
                            Object o,
                            EntityImpl entityImpl)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Map map,
                            Object key,
                            EntityImpl entityImpl)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Collection collection,
                            BelongingImpl belongingImpl)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Map map,
                            BelongingImpl belongingImpl)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Collection collection,
                            Object o,
                            BelongingImpl belongingImpl)

clearRelationalBinding

void clearRelationalBinding(String attributeIdentifier,
                            Map map,
                            Object key,
                            BelongingImpl belongingImpl)


Copyright © 2006 BEA Systems, Inc. All Rights Reserved