|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.application.console.snapin.BaseDefaultVirtualEnumeration
Provides a base implementation upon which all versions of the virtual
ObjectEntryEnumeration
classes are built.
Contains shared data and methods which all default implementations
of ObjectEntryEnumeration
use.
DefaultBrowserObjectEntryEnumeration
,
DefaultIndexedObjectEntryEnumeration
,
DefaultVirtualObjectEntryEnumeration
,
ObjectEntryEnumeration
Field Summary | |
protected java.util.Vector |
m_enumerationData
Vector that holds the enumeration elements. |
protected int |
m_iEnumerationIndex
Current index into the data. |
protected Shell |
m_shell
Reference back to the shell. |
Fields inherited from interface com.novell.application.console.snapin.CountableObjectEntryEnumeration |
APPROXIMATECOUNT, BASECOUNT, EXACTCOUNT, PARTIALCOUNT, UNKNOWNCOUNT |
Constructor Summary | |
BaseDefaultVirtualEnumeration(ObjectEntryEnumeration oee,
Shell shell)
Constructs a BaseDefaultVirtualEnumeration object. |
Method Summary | |
int |
getCount()
Returns the total enumeration entry count in the enumeration. |
int |
getCountReliability()
Returns an integer which is a representation of the reliability of the count of objects in this enumeration. |
void |
refresh()
Indicates that the enumeration needs to flush any cached data. |
void |
setBlockSize(int size)
Sets the block size at which the consumer of the enumeration will request entries from the enumeration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector m_enumerationData
protected int m_iEnumerationIndex
protected Shell m_shell
Constructor Detail |
public BaseDefaultVirtualEnumeration(ObjectEntryEnumeration oee, Shell shell)
BaseDefaultVirtualEnumeration
object.
oee
- The ObjectEntryEnumeration
object used to populate this enumeration.shell
- The instance of the Shell that will be used to get object names.ObjectEntryEnumeration
Method Detail |
public int getCount()
getCount
in interface CountableObjectEntryEnumeration
public int getCountReliability()
getCountReliability
in interface CountableObjectEntryEnumeration
public void refresh()
IMPORTANT: Since this implementation of VirtualObjectEntryEnumeration
does not use a variable cache, this method is not implemented.
public void setBlockSize(int size)
IMPORTANT: Since this implementation of VirtualObjectEntryEnumeration
does not use a variable cache, this method is not implemented.
size
- The block size.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |