com.beasys.commerce.foundation
Interface SmartMapReference

All Known Implementing Classes:
com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartMapReference, Customer_creditCards_SmartMapReference, Customer_shippingAddress_SmartMapReference, PersistenceHelper.DefaultSmartMapReference

Deprecated

@Deprecated
public interface SmartMapReference

An interface for classes that wrap a Map, and handle intelligent persistence of the Map's contents; i.e., only making database calls when necessary rather than updating the entire Map when only a subset of it has changed, etc.


Method Summary
 Iterator cursor()
          Deprecated Get an iterator of the Map's keys
 Map getMap()
          Deprecated Get the wrapped map
 void setMap(Map collection)
          Deprecated Set the entire map
 

Method Detail

setMap

void setMap(Map collection)
Deprecated 
Set the entire map

Parameters
collection - the Map to wrap

getMap

Map getMap()
Deprecated 
Get the wrapped map

Returns
the Map contained in the wrapper

cursor

Iterator cursor()
Deprecated 
Get an iterator of the Map's keys

Returns
an iterator of the Map's keys


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.