com.beasys.commerce.util
Class PersistenceHelper

java.lang.Object
  extended by com.beasys.commerce.util.PersistenceHelper

Deprecated

@Deprecated
public final class PersistenceHelper
extends Object

Persistence Helper provides an optional, cross-platform optimization for dependent objects in the persistence cache. BY DEFAULT THIS FEATURE IS TURNED OFF * This is not required for CMP or BMP.


Nested Class Summary
static class PersistenceHelper.DefaultSmartCollectionReference
          Deprecated  
static class PersistenceHelper.DefaultSmartEntityReference
          Deprecated  
static class PersistenceHelper.DefaultSmartMapReference
          Deprecated  
 
Constructor Summary
PersistenceHelper()
          Deprecated  
 
Method Summary
static SmartEntityReference createDefaultSmartEntityReference()
          Deprecated  
static SmartEntityReference createDefaultSmartEntityReference(javax.ejb.EJBObject ejbObject)
          Deprecated  
static SmartCollectionReference createSmartCollectionReference(String attributeIdentifier, SmartCollectionReference targetInstance, BelongingImpl belonging)
          Deprecated  
static SmartCollectionReference createSmartCollectionReference(String attributeIdentifier, SmartCollectionReference targetInstance, EntityImpl entityImpl)
          Deprecated  
static SmartCollectionReference createSmartCollectionReference(String attributeIdentifier, SmartCollectionReference targetInstance, SessionImpl sessionImpl)
          Deprecated  
static SmartEntityReference createSmartEntityReference(String attributeIdentifier, SmartEntityReference targetInstance, BelongingImpl belonging)
          Deprecated  
static SmartEntityReference createSmartEntityReference(String attributeIdentifier, SmartEntityReference targetInstance, EntityImpl entityImpl)
          Deprecated  
static SmartEntityReference createSmartEntityReference(String attributeIdentifier, SmartEntityReference targetInstance, SessionImpl sessionImpl)
          Deprecated  
static SmartMapReference createSmartMapReference(String attributeIdentifier, SmartMapReference targetInstance, BelongingImpl belonging)
          Deprecated  
static SmartMapReference createSmartMapReference(String attributeIdentifier, SmartMapReference targetInstance, EntityImpl entityImpl)
          Deprecated Allocate an instance of a smart map
static SmartMapReference createSmartMapReference(String attributeIdentifier, SmartMapReference targetInstance, SessionImpl sessionImpl)
          Deprecated Allocate an instance of a smart map
static Belonging doRelationalBinding(String attributeIdentifier, Belonging value, javax.ejb.EJBObject parent, BelongingImpl belongingImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Belonging doRelationalBinding(String attributeIdentifier, Belonging value, EntityImpl entityImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static javax.ejb.EJBObject doRelationalBinding(String attributeIdentifier, javax.ejb.EJBObject ejbObject, javax.ejb.EJBObject parent, BelongingImpl belongingImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static javax.ejb.EJBObject doRelationalBinding(String attributeIdentifier, javax.ejb.EJBObject ejbObject, EntityImpl entityImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Object doRelationalBinding(String attributeIdentifier, Object value, javax.ejb.EJBObject parent, BelongingImpl belongingImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Object doRelationalBinding(String attributeIdentifier, Object value, EntityImpl entityImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Belonging doRelationalBindingWithMapKey(String attributeIdentifier, Belonging value, Object mapKey, javax.ejb.EJBObject parent, BelongingImpl belongingImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Belonging doRelationalBindingWithMapKey(String attributeIdentifier, Belonging value, Object mapKey, EntityImpl entityImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static javax.ejb.EJBObject doRelationalBindingWithMapKey(String attributeIdentifier, javax.ejb.EJBObject ejbObject, Object mapKey, javax.ejb.EJBObject parent, BelongingImpl belongingImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static javax.ejb.EJBObject doRelationalBindingWithMapKey(String attributeIdentifier, javax.ejb.EJBObject ejbObject, Object mapKey, EntityImpl entityImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Object doRelationalBindingWithMapKey(String attributeIdentifier, Object value, Object mapKey, javax.ejb.EJBObject parent, BelongingImpl belongingImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Object doRelationalBindingWithMapKey(String attributeIdentifier, Object value, Object mapKey, EntityImpl entityImpl)
          Deprecated Standardize an instance of an attribute type for a specific attribute on a bean.
static Belonging synchronizeWithCache(Belonging value, EntityImpl entityImpl)
          Deprecated Synchronize the dependent object with the persistence cache
static Object synchronizeWithCache(Object value, EntityImpl entityImpl)
          Deprecated Synchronize the dependent object with the persistence cache
static Belonging synchronizeWithCache(String attributeIdentifier, Belonging value, EntityImpl entityImpl)
          Deprecated Synchronize the dependent object with the persistence cache
static Collection synchronizeWithCache(String attributeIdentifier, Collection collection, EntityImpl entityImpl)
          Deprecated Synchronize the dependent object with the persistence cache
static Map synchronizeWithCache(String attributeIdentifier, Map map, EntityImpl entityImpl)
          Deprecated Synchronize the dependent object with the persistence cache
static Object synchronizeWithCache(String attributeIdentifier, Object value, EntityImpl entityImpl)
          Deprecated Synchronize the dependent object with the persistence cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceHelper

public PersistenceHelper()
Deprecated 
Method Detail

synchronizeWithCache

public static final Belonging synchronizeWithCache(String attributeIdentifier,
                                                   Belonging value,
                                                   EntityImpl entityImpl)
Deprecated 
Synchronize the dependent object with the persistence cache

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

synchronizeWithCache

public static final Object synchronizeWithCache(String attributeIdentifier,
                                                Object value,
                                                EntityImpl entityImpl)
Deprecated 
Synchronize the dependent object with 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

public static final Collection synchronizeWithCache(String attributeIdentifier,
                                                    Collection collection,
                                                    EntityImpl entityImpl)
Deprecated 
Synchronize the dependent object with the persistence cache

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

synchronizeWithCache

public static final Map synchronizeWithCache(String attributeIdentifier,
                                             Map map,
                                             EntityImpl entityImpl)
Deprecated 
Synchronize the dependent object with the persistence cache

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

synchronizeWithCache

public static final Belonging synchronizeWithCache(Belonging value,
                                                   EntityImpl entityImpl)
Deprecated 
Synchronize the dependent object with the persistence cache

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

synchronizeWithCache

public static final Object synchronizeWithCache(Object value,
                                                EntityImpl entityImpl)
Deprecated 
Synchronize the dependent object with the persistence cache

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

doRelationalBinding

public static Belonging doRelationalBinding(String attributeIdentifier,
                                            Belonging value,
                                            EntityImpl entityImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBinding

public static Object doRelationalBinding(String attributeIdentifier,
                                         Object value,
                                         EntityImpl entityImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBinding

public static javax.ejb.EJBObject doRelationalBinding(String attributeIdentifier,
                                                      javax.ejb.EJBObject ejbObject,
                                                      EntityImpl entityImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
ejbObject - instance of a remote interface
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBindingWithMapKey

public static Belonging doRelationalBindingWithMapKey(String attributeIdentifier,
                                                      Belonging value,
                                                      Object mapKey,
                                                      EntityImpl entityImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBindingWithMapKey

public static Object doRelationalBindingWithMapKey(String attributeIdentifier,
                                                   Object value,
                                                   Object mapKey,
                                                   EntityImpl entityImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBindingWithMapKey

public static javax.ejb.EJBObject doRelationalBindingWithMapKey(String attributeIdentifier,
                                                                javax.ejb.EJBObject ejbObject,
                                                                Object mapKey,
                                                                EntityImpl entityImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
ejbObject - instance of a remote interface
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBinding

public static Belonging doRelationalBinding(String attributeIdentifier,
                                            Belonging value,
                                            javax.ejb.EJBObject parent,
                                            BelongingImpl belongingImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBinding

public static Object doRelationalBinding(String attributeIdentifier,
                                         Object value,
                                         javax.ejb.EJBObject parent,
                                         BelongingImpl belongingImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBinding

public static javax.ejb.EJBObject doRelationalBinding(String attributeIdentifier,
                                                      javax.ejb.EJBObject ejbObject,
                                                      javax.ejb.EJBObject parent,
                                                      BelongingImpl belongingImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
ejbObject - instance of a remote interface
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBindingWithMapKey

public static Belonging doRelationalBindingWithMapKey(String attributeIdentifier,
                                                      Belonging value,
                                                      Object mapKey,
                                                      javax.ejb.EJBObject parent,
                                                      BelongingImpl belongingImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBindingWithMapKey

public static Object doRelationalBindingWithMapKey(String attributeIdentifier,
                                                   Object value,
                                                   Object mapKey,
                                                   javax.ejb.EJBObject parent,
                                                   BelongingImpl belongingImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
value - instance of a belonging
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

doRelationalBindingWithMapKey

public static javax.ejb.EJBObject doRelationalBindingWithMapKey(String attributeIdentifier,
                                                                javax.ejb.EJBObject ejbObject,
                                                                Object mapKey,
                                                                javax.ejb.EJBObject parent,
                                                                BelongingImpl belongingImpl)
Deprecated 
Standardize an instance of an attribute type for a specific attribute on a bean. Standardized instances may contain additional information suitable for mapping to a relational database. See ORACLE documentation for more information about this optional feature. BY DEFAULT THIS FEATURE IS TURNED OFF

Parameters
attributeIdentifier - identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellers
ejbObject - instance of a remote interface
entityImpl - implementation of an entity bean
Returns
an instance of the input value, standardized for mapping to a relational database.

createSmartEntityReference

public static SmartEntityReference createSmartEntityReference(String attributeIdentifier,
                                                              SmartEntityReference targetInstance,
                                                              EntityImpl entityImpl)
Deprecated 

createSmartMapReference

public static SmartMapReference createSmartMapReference(String attributeIdentifier,
                                                        SmartMapReference targetInstance,
                                                        EntityImpl entityImpl)
Deprecated 
Allocate an instance of a smart map


createSmartCollectionReference

public static SmartCollectionReference createSmartCollectionReference(String attributeIdentifier,
                                                                      SmartCollectionReference targetInstance,
                                                                      EntityImpl entityImpl)
Deprecated 

createSmartEntityReference

public static SmartEntityReference createSmartEntityReference(String attributeIdentifier,
                                                              SmartEntityReference targetInstance,
                                                              SessionImpl sessionImpl)
Deprecated 

createSmartMapReference

public static SmartMapReference createSmartMapReference(String attributeIdentifier,
                                                        SmartMapReference targetInstance,
                                                        SessionImpl sessionImpl)
Deprecated 
Allocate an instance of a smart map


createSmartCollectionReference

public static SmartCollectionReference createSmartCollectionReference(String attributeIdentifier,
                                                                      SmartCollectionReference targetInstance,
                                                                      SessionImpl sessionImpl)
Deprecated 

createSmartEntityReference

public static SmartEntityReference createSmartEntityReference(String attributeIdentifier,
                                                              SmartEntityReference targetInstance,
                                                              BelongingImpl belonging)
Deprecated 

createSmartMapReference

public static SmartMapReference createSmartMapReference(String attributeIdentifier,
                                                        SmartMapReference targetInstance,
                                                        BelongingImpl belonging)
Deprecated 

createSmartCollectionReference

public static SmartCollectionReference createSmartCollectionReference(String attributeIdentifier,
                                                                      SmartCollectionReference targetInstance,
                                                                      BelongingImpl belonging)
Deprecated 

createDefaultSmartEntityReference

public static SmartEntityReference createDefaultSmartEntityReference()
Deprecated 

createDefaultSmartEntityReference

public static SmartEntityReference createDefaultSmartEntityReference(javax.ejb.EJBObject ejbObject)
Deprecated 


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.