Oracle Content Management SDK

oracle.ifs.common
Class CachedSelectorCollection

java.lang.Object
  |
  +--oracle.ifs.common.CachedCollection
        |
        +--oracle.ifs.common.CachedSelectorCollection
All Implemented Interfaces:
Collection, IfsEventHandler

public class CachedSelectorCollection
extends CachedCollection

A CachedSelectorCollection is a CachedCollection whose items are LIBRARYOBJECTs specified by a Selector or S_Selector.

CachedSelectorCollection defers resolving its items until they are requested, at which point they are obtained from the underlying Selector or S_Selector and cached. Because the items are cached, CachedSelectorCollection may consume excessive Java heap for large collections.

The LIBRARYOBJECTs returned by the Selector or S_Selector must have a Name attribute. Both getItems() and getItemsVector() return items sorted by Name. Use getItems(String) to look up an item by name. This lookup is case-insentive. If more than one item has the same case-insensitive name, getItems(String) returns an arbitrary item with that name.


Methods inherited from class oracle.ifs.common.CachedCollection
getItemCount, getItems, getItems, getItems, getItemsVector, handleEvent
 


Oracle Content Management SDK

(c) 2002 Copyright Oracle Corporation. All rights reserved.