Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.foundation
Interface SmartCollectionReference

All Known Implementing Classes:
  com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartCollectionReference, PersistenceHelper.DefaultSmartCollectionReference

public interface SmartCollectionReference

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

Method Summary
`Iterator` | `cursor()` Get an iterator over the collection's contents
`Collection` | `getCollection()` Get the entire collection
`void` | `setCollection(Collection collection)` Set the entire collection

Method Detail

### cursor

    public Iterator cursor()

  Get an iterator over the collection's contents

  Returns:
    an iterator over the collection's contents

### getCollection

    public Collection getCollection()

  Get the entire collection

  Returns:
    the wrapped Collection

### setCollection

    public void setCollection(Collection collection)

  Set the entire collection

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 BEA Systems, Inc. All Rights Reserved