public class HubDataDelegate extends Object
Constructor and Description |
---|
HubDataDelegate() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
_add(Hub thisHub,
Object obj,
boolean bHasLock,
boolean bCheckContains) |
static void |
_clone(Hub thisHub,
Hub newHub)
called by Hub.clone();
|
protected static boolean |
_insert(Hub thisHub,
Object obj,
int pos,
boolean bIsLocked) |
protected static void |
_move(Hub thisHub,
Object obj,
int posFrom,
int posTo) |
protected static int |
_remove(Hub thisHub,
Object obj,
boolean bDeleting,
boolean bIsRemovingAll) |
static void |
addAllToAddVector(Hub thisHub) |
protected static void |
clearAllAndReset(Hub thisHub) |
static void |
clearHubChanges(Hub thisHub) |
static boolean |
contains(Hub hub,
Object obj)
Counter that is incremented when a new list of objects is loaded: select, setSharedHub, and when
detail hubs list is changed to match the master hub's activeObject
This is used by html/jsp components so that they "know" when/if Hub has changed,
which will cause them to be refreshed.
|
static boolean |
containsDirect(Hub hub,
Object obj) |
protected static void |
copyInto(Hub thisHub,
Object[] anArray) |
protected static Vector |
createVecAdd(Hub thisHub) |
protected static Vector |
createVecRemove(Hub thisHub) |
protected static void |
ensureCapacity(Hub thisHub,
int size) |
static OAObject[] |
getAddedObjects(Hub thisHub) |
static int |
getChangeCount(Hub thisHub)
Counter that is incremented on: add(), insert(), remove(), setting shared hub,
remove(), move(), sort(), select()
This is used by html/jsp components so that they "know" when/if Hub has changed,
which will cause them to be refreshed.
|
static boolean |
getChanged(Hub thisHub) |
static int |
getCurrentSize(Hub thisHub) |
static Object |
getObject(Hub thisHub,
Object key) |
protected static Object |
getObjectAt(Hub thisHub,
int pos) |
static int |
getPos(Hub thisHub,
Object object,
boolean adjustMaster,
boolean bUpdateLink) |
static OAObject[] |
getRemovedObjects(Hub thisHub) |
static boolean |
getTrackChanges(Hub thisHub) |
protected static void |
incChangeCount(Hub thisHub) |
static boolean |
isHubBeingUsedAsRecursive(Hub thisHub) |
protected static void |
removeFromAddedList(Hub thisHub,
Object obj) |
static void |
removeFromRemovedList(Hub thisHub,
Object obj) |
static void |
resizeToFit(Hub thisHub) |
protected static void |
setChanged(Hub thisHub,
boolean bChanged) |
static void |
setTrackChanges(Hub thisHub,
boolean b) |
static Object[] |
toArray(Hub thisHub) |
protected static void clearAllAndReset(Hub thisHub)
protected static void ensureCapacity(Hub thisHub, int size)
public static void resizeToFit(Hub thisHub)
protected static void setChanged(Hub thisHub, boolean bChanged)
public static void clearHubChanges(Hub thisHub)
public static int getCurrentSize(Hub thisHub)
protected static int _remove(Hub thisHub, Object obj, boolean bDeleting, boolean bIsRemovingAll)
protected static boolean _add(Hub thisHub, Object obj, boolean bHasLock, boolean bCheckContains)
public static void addAllToAddVector(Hub thisHub)
public static boolean getChanged(Hub thisHub)
public static int getPos(Hub thisHub, Object object, boolean adjustMaster, boolean bUpdateLink)
public static int getChangeCount(Hub thisHub)
protected static void incChangeCount(Hub thisHub)
public static boolean contains(Hub hub, Object obj)
public static boolean isHubBeingUsedAsRecursive(Hub thisHub)
public static void setTrackChanges(Hub thisHub, boolean b)
public static boolean getTrackChanges(Hub thisHub)
Copyright © 1999–2019 ViaOA. All rights reserved.