Customer_creditCards_SmartMapReference Class
- public class Customer_creditCards_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_creditCards_SmartMapReference
-
All Implemented Interfaces
-
Serializable
, SmartMapReference
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 CreditsCards 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 |
Customer_creditCards_SmartMapReference
public Customer_creditCards_SmartMapReference(String
attributeIdentifier,
Object
container)
- constructor
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 CreditsCards 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 CreditCards
Exceptions
-
BMPException
update(Connection, Object, Object) Method
public static void update(Connection
connection,
Object
key,
Object
container)
throws BMPException
Exceptions
-
BMPException