|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.common.CachedCollection
A CachedCollection is a Collection whose items are cached for performance.
CachedCollection defers resolving its items until they are requested. Because the items are cached, CachedCollection may consume excessive Java heap for large collections.
Method Summary | |
int |
getItemCount()
Gets the number of items in this Collection. |
java.lang.Object[] |
getItems()
Gets an array containing the items in this Collection. |
java.lang.Object |
getItems(int index)
Gets the specified item in this Collection. |
java.lang.Object |
getItems(java.lang.String name)
Gets the specified item in this Collection. |
java.util.Vector |
getItemsVector()
Gets a vector containing the items in this Collection. |
void |
handleEvent(IfsEvent event)
Handles the specified event. |
Method Detail |
public final int getItemCount() throws IfsException
getItemCount
in interface Collection
IfsException
- (IFS-12211) if the operation failspublic java.lang.Object[] getItems() throws IfsException
getItems
in interface Collection
IfsException
- (IFS-12212) if the operation failspublic java.lang.Object getItems(int index) throws IfsException
getItems
in interface Collection
index
- the zero-based index of the itemIfsException
- (IFS-12213) if the operation failspublic java.lang.Object getItems(java.lang.String name) throws IfsException
getItems
in interface Collection
name
- the name of the itemIfsException
- (IFS-12214) if the operation failspublic java.util.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 Collection
IfsException
- (IFS-12215) if the operation failspublic void handleEvent(IfsEvent event) throws IfsException
handleEvent
in interface IfsEventHandler
event
- the eventIfsException
- if the operation fails
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |