public class HubCSDelegate extends Object
Constructor and Description |
---|
HubCSDelegate() |
Modifier and Type | Method and Description |
---|---|
static void |
addToHub(Hub thisHub,
OAObject thisObj)
Have object added to same Hub on other workstations.
|
static boolean |
clearHubChanges(Hub thisHub)
Hub hubData.vecAdd/Remove cleared on clients
|
protected static boolean |
deleteAll(Hub thisHub)
20150206 returns true if this should be deleted on this computer, false if it is done on the server.
|
static boolean |
insertInHub(Hub thisHub,
OAObject obj,
int pos)
Have object inserted in same Hub on other workstations.
|
static boolean |
isRemoteThread() |
static boolean |
isServer(Hub h) |
static void |
moveObjectInHub(Hub thisHub,
int posFrom,
int posTo)
Have object added to same Hub on other workstations.
|
static void |
removeAllFromHub(Hub thisHub)
20140422
|
static void |
removeFromHub(Hub thisHub,
OAObject obj,
int pos)
Have object removed from same Hub on other workstations.
|
static void |
sendRefresh(Hub thisHub) |
static void |
sort(Hub thisHub,
String propertyPaths,
boolean bAscending,
Comparator comp)
Sort objects in hub
|
public static void removeAllFromHub(Hub thisHub)
thisHub
- public static void removeFromHub(Hub thisHub, OAObject obj, int pos)
public static void addToHub(Hub thisHub, OAObject thisObj)
public static boolean insertInHub(Hub thisHub, OAObject obj, int pos)
public static void moveObjectInHub(Hub thisHub, int posFrom, int posTo)
public static boolean isServer(Hub h)
public static boolean isRemoteThread()
public static void sort(Hub thisHub, String propertyPaths, boolean bAscending, Comparator comp)
protected static boolean deleteAll(Hub thisHub)
public static boolean clearHubChanges(Hub thisHub)
public static void sendRefresh(Hub thisHub)
Copyright © 1999–2019 ViaOA. All rights reserved.