public interface BrowserObjectEntryEnumeration extends ObjectEntryEnumeration
| Modifier and Type | Method and Description |
|---|---|
int |
moveFirst()
Moves the enumeration cursor to the first entry in the enumeration.
|
int |
moveLast()
Moves the enumeration cursor to the last entry in the enumeration.
|
int |
moveTo(java.lang.String target)
Moves the enumeration cursor position to the entry that most
matches the specified target name.
|
ObjectEntry |
previous()
Returns the previous entry in the enumeration.
|
void |
refresh()
Indicates that the enumeration needs to flush any cached data.
|
void |
setBlockSize(int size)
Sets the most frequent size in which the consumer of the
enumeration will request entries from the enumeration.
|
nextint moveFirst()
throws SnapinException
SnapinException - Thrown by the service provider when an error occurs.int moveLast()
throws SnapinException
SnapinException - Thrown by the service provider when an error occurs.int moveTo(java.lang.String target)
throws SnapinException
If an exact match is not found, then the enumeration cursor position is moved to the entry which matches the target name the closest.
target - The name of the entry to which the enumeration cursor position will be moved.SnapinException - Thrown by the service provider when an error occurs.ObjectEntry previous() throws SnapinException
SnapinException - Thrown by the service provider when an error occurs.void setBlockSize(int size)
If the consumer of the enumeration will call getNext() and getPrev() with a count parameter that is frequently limited to a given size, then setBlockSize() may be called to inform the enumeration of the consumers intentions.
The enumeration implementation may use the block size to allow caching more tailored to the consumers needs. In this case, the consumer may set the block size equal to one screen full of entries.
The block size may be changed at any time during the life of the enumeration
size - The block size.void refresh()
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.