com.beasys.commerce.ebusiness.customer
Class Customer_shippingAddress_SmartMapReference

java.lang.Object
  extended by com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartMapReference
      extended by com.beasys.commerce.ebusiness.customer.Customer_shippingAddress_SmartMapReference
All Implemented Interfaces
SmartMapReference, Serializable

public class Customer_shippingAddress_SmartMapReference
extends com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartMapReference

Base class for all SmartMapReferences for Belongings for BMP. Each subclass must implement its own query to fill the map.

See Also
Serialized Form

Constructor Summary
Customer_shippingAddress_SmartMapReference(String attributeIdentifier, Object container)
          constructor
 
Method Summary
static void doCreate(Connection connection, Object key)
           
static void doDelete(Connection connection, Object key)
           
 Map doQuery(String attributeIdentifier, Object container)
          Perform the database query to fill this map.
static void doUpdate(Connection connection, Object key, Object containedInstance, String mapKey, Object container)
           
static void refresh(String attributeIdentifier, Object container)
          Refreshes the SmartMapReference of shippingAddresses associated with this Customer with the values from the database.
static void update(Connection connection, Object key, Object container)
           
 
Methods inherited from class com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartMapReference
cursor, deletedObjects, doSmartUpdate, getMap, newObjects, setMap, updatedObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Customer_shippingAddress_SmartMapReference

public Customer_shippingAddress_SmartMapReference(String attributeIdentifier,
                                                  Object container)
constructor

Parameters
attributeIdentifier - the attribute identifier for this map reference. This is the fully qualified class name "dot" attribute e.g. example.Customer.creditCards where example.Customer is a class and creditCards is a map in the class
entityImpl - the entity that contains this map.
Method Detail

doQuery

public Map doQuery(String attributeIdentifier,
                   Object container)
            throws BMPException
Perform the database query to fill this map.

Specified by:
doQuery in class com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartMapReference
Throws
BMPException

refresh

public static void refresh(String attributeIdentifier,
                           Object container)
                    throws BMPException
Refreshes the SmartMapReference of shippingAddresses associated with this Customer with the values from the database.

Parameters
attributeIdentifier - the attribute identifier for this map reference. This is the fully qualified class name "dot" attribute e.g. example.Customer.creditCards where example.Customer is a class and creditCards is a map in the class
container - the Customer that owns these shippingAddresses
Throws
BMPException

update

public static void update(Connection connection,
                          Object key,
                          Object container)
                   throws BMPException
Throws
BMPException

doCreate

public static void doCreate(Connection connection,
                            Object key)
                     throws BMPException
Throws
BMPException

doDelete

public static void doDelete(Connection connection,
                            Object key)
                     throws BMPException
Throws
BMPException

doUpdate

public static void doUpdate(Connection connection,
                            Object key,
                            Object containedInstance,
                            String mapKey,
                            Object container)
                     throws BMPException
Throws
BMPException


Copyright © 2006 BEA Systems, Inc. All Rights Reserved