Customer_shippingAddress_SmartMapReference Class

com.beasys.commerce.ebusiness.customer
Customer_shippingAddress_SmartMapReference Class

public class Customer_shippingAddress_SmartMapReference

    extends BMPBelongingSmartMapReference

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


Hierarchy
Object
  BMPBelongingSmartMapReference
    Customer_shippingAddress_SmartMapReference
All Implemented Interfaces

Serializable, SmartMapReference

Constructor Summary

Customer_shippingAddress_SmartMapReference(String attributeIdentifier, Object container)

constructor
 

Method Summary

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

Constructor Detail

Customer_shippingAddress_SmartMapReference

public Customer_shippingAddress_SmartMapReference(String attributeIdentifier, 
                                                  Object container)
constructor
 

Method Detail

doCreate(Connection, Object) Method

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

Exceptions

BMPException

doDelete(Connection, Object) Method

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

Exceptions

BMPException

doQuery(String, Object) Method

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

Overrides
BMPBelongingSmartMapReference.doQuery(String, Object)

Exceptions

BMPException

doUpdate(Connection, Object, Object, String, Object) Method

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

Exceptions

BMPException

refresh(String, Object) Method

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

Exceptions

BMPException

update(Connection, Object, Object) Method

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

Exceptions

BMPException