|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--arlut.csd.ganymede.client.objectList
This class is used to keep track of a list of
ObjectHandle objects from
the server, storing various pieces of information about the
objects, including their expiration/removal/inactive status,
their current label, and more.
| Field Summary | |
private java.util.Vector |
activeHandles
|
(package private) boolean |
activeSorted
|
(package private) static arlut.csd.Util.Compare |
comparator
|
(package private) boolean |
containsNonEditable
|
(package private) static boolean |
debug
|
private java.util.Vector |
handles
|
(package private) arlut.csd.Util.VecSortInsert |
inserter
|
private java.util.Hashtable |
invids
|
(package private) boolean |
sorted
|
| Constructor Summary | |
objectList(arlut.csd.ganymede.QueryResult result)
|
|
| Method Summary | |
void |
addObjectHandle(arlut.csd.ganymede.ObjectHandle handle)
This method adds an object handle to this list, quickly, in sorted order. |
void |
augmentListWithNonEditables(arlut.csd.ganymede.QueryResult result)
This method is used to augment an object list with non-editables. |
boolean |
containsNonEditable()
This method returns true if this list contains any non-editable handles. |
java.util.Vector |
getLabels(boolean includeInactives)
This method returns a sorted Vector of object labels. |
java.util.Vector |
getLabels(boolean includeInactives,
boolean includeNonEditables)
This method returns a sorted Vector of object labels. |
java.util.Vector |
getListHandles(boolean includeInactives)
This method returns a sorted Vector of listHandles. |
java.util.Vector |
getListHandles(boolean includeInactives,
boolean includeNonEditables)
This method returns a sorted Vector of listHandles. |
arlut.csd.ganymede.ObjectHandle |
getObjectHandle(arlut.csd.ganymede.Invid invid)
This method returns a live reference to the object handle corresponding to invid, or null if none such is in this object list. |
java.util.Vector |
getObjectHandles(boolean includeInactives)
This method returns a sorted copy of an object handles vector. |
java.util.Vector |
getObjectHandles(boolean includeInactives,
boolean includeNonEditables)
This method returns a sorted copy of an object handles vector. |
void |
relabelObject(arlut.csd.ganymede.Invid invid,
java.lang.String newLabel)
This method relabels an object handle in this list. |
arlut.csd.ganymede.ObjectHandle |
removeInvid(arlut.csd.ganymede.Invid invid)
This method removes object handles matching the given invid from the object list. |
private void |
sortHandles()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final boolean debug
static arlut.csd.Util.Compare comparator
arlut.csd.Util.VecSortInsert inserter
private java.util.Vector handles
boolean sorted
private java.util.Vector activeHandles
private java.util.Hashtable invids
boolean activeSorted
boolean containsNonEditable
| Constructor Detail |
public objectList(arlut.csd.ganymede.QueryResult result)
| Method Detail |
public boolean containsNonEditable()
public void augmentListWithNonEditables(arlut.csd.ganymede.QueryResult result)
public java.util.Vector getListHandles(boolean includeInactives)
includeInactives - if false, the list returned will not include entries
for any inactive objects
public java.util.Vector getListHandles(boolean includeInactives,
boolean includeNonEditables)
includeInactives - if false, the list returned will not include entries
for any inactive objectsincludeNonEditables - if false, the list returned will not
include entries for any non-editable objectspublic java.util.Vector getLabels(boolean includeInactives)
includeInactives - if false, the list returned will not
include entries for any inactive objects
public java.util.Vector getLabels(boolean includeInactives,
boolean includeNonEditables)
includeInactives - if false, the list returned will not
include entries for any inactive objectsincludeNonEditables - if false, the list returned will not
include entries for any non-editable objectspublic java.util.Vector getObjectHandles(boolean includeInactives)
public java.util.Vector getObjectHandles(boolean includeInactives,
boolean includeNonEditables)
public void relabelObject(arlut.csd.ganymede.Invid invid,
java.lang.String newLabel)
public void addObjectHandle(arlut.csd.ganymede.ObjectHandle handle)
public arlut.csd.ganymede.ObjectHandle getObjectHandle(arlut.csd.ganymede.Invid invid)
public arlut.csd.ganymede.ObjectHandle removeInvid(arlut.csd.ganymede.Invid invid)
public java.lang.String toString()
toString in class java.lang.Objectprivate void sortHandles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||