public class LibraryObjectLookupCacheCollection extends Object implements Collection
| Constructor and Description | 
|---|
LibraryObjectLookupCacheCollection(LibrarySessionInterface session,
                                  LibraryObjectLookupCache lolc,
                                  String className)
Constructs a LibraryObjectLookupCacheCollection. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
checkItemByUpperCaseName(String upperCaseName)
Gets the specified item in this Collection by the uppercase name,
 *and returns null if the item is not found. 
 | 
Class | 
getCachedObjectsClass()
Gets the class for the objects in the cache. 
 | 
Object | 
getItemByUpperCaseName(String upperCaseName)
Gets the specified item in this Collection by the uppercase name. 
 | 
int | 
getItemCount()
Gets the number of items in this Collection. 
 | 
Object[] | 
getItems()
Gets an array containing the items in this Collection. 
 | 
Object | 
getItems(int index)
Gets the specified item in this Collection. 
 | 
Object | 
getItems(String name)
Gets the specified item in this Collection. 
 | 
Vector | 
getItemsVector()
Gets a vector containing the items in this Collection. 
 | 
LibraryObjectLookupCache | 
getLibraryObjectLookupCache()
Gets the underlying lookup cache. 
 | 
LibrarySessionInterface | 
getSession()
Gets the session context. 
 | 
void | 
handleEvent(IfsEvent event)
Handles the specified event. 
 | 
void | 
reset()
Resets this Collection. 
 | 
public LibraryObjectLookupCacheCollection(LibrarySessionInterface session, LibraryObjectLookupCache lolc, String className) throws IfsException
session - the session contextlolc - the LibraryObjectLookupCacheclassName - the class name for the objects in the cacheIfsException - if the operation failspublic LibrarySessionInterface getSession()
public LibraryObjectLookupCache getLibraryObjectLookupCache()
public Class getCachedObjectsClass()
public int getItemCount()
                 throws IfsException
getItemCount in interface CollectionIfsException - (IFS-12211) if the operation failspublic Object[] getItems() throws IfsException
getItems in interface CollectionIfsException - (IFS-12212) if the operation failspublic Object getItems(int index) throws IfsException
getItems in interface Collectionindex - the zero-based index of the itemIfsException - (IFS-12213) if the operation failspublic Object getItems(String name) throws IfsException
getItems in interface Collectionname - the name of the itemIfsException - (IFS-12214) if the operation failspublic Object getItemByUpperCaseName(String upperCaseName) throws IfsException
getItemByUpperCaseName in interface CollectionupperCaseName - the name of the itemIfsException - (IFS-12214) if the operation failspublic Object checkItemByUpperCaseName(String upperCaseName) throws IfsException
checkItemByUpperCaseName in interface CollectionupperCaseName - the name of the itemIfsException - if the operation failspublic Vector getItemsVector() throws IfsException
 The order of the items in the vector is identical to the order of the
 items in the array returned by getItems().
getItemsVector in interface CollectionIfsException - (IFS-12215) if the operation failspublic void reset()
           throws IfsException
Resetting a Collection causes the items in it to be redetermined.
reset in interface CollectionIfsException - (IFS-12216) if the operation failspublic void handleEvent(IfsEvent event) throws IfsException
handleEvent in interface IfsEventHandlerevent - the eventIfsException - if the operation failsCopyright © 2025. All rights reserved.