public class OAObjectCSDelegate extends Object
Constructor and Description |
---|
OAObjectCSDelegate() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addToNewObjectCache(OAObject oaObj)
Objects that are so far only on this computer, and have not been sent to other computers (client or server).
|
static void |
addToServerSideCache(OAObject oaObj)
If Object is not in a Hub, then it could be gc'd on server, while it still exists on a client(s).
|
static void |
addToServerSideCache(OAObject oaObj,
boolean bSendToServer) |
protected static OAObject |
createCopy(OAObject oaObj,
String[] excludeProperties)
Create a new copy of an object.
|
protected static Object |
createNewObject(Class clazz)
Create a new instance of an object.
|
protected static boolean |
delete(OAObject obj)
20150815 returns true if this should be deleted on this computer, false if it is done on the server.
|
protected static void |
fireAfterPropertyChange(OAObject obj,
OAObjectKey origKey,
String propertyName,
Object oldValue,
Object newValue) |
protected static void |
fireBeforePropertyChange(OAObject obj,
String propertyName,
Object oldValue,
Object newValue) |
protected static int |
getServerGuid(Class clazz) |
protected static int |
getServerGuid(OAObject obj) |
protected static OAObject |
getServerObject(Class clazz,
OAObjectKey key) |
protected static Object |
getServerReference(OAObject oaObj,
String linkPropertyName) |
protected static byte[] |
getServerReferenceBlob(OAObject oaObj,
String linkPropertyName) |
static Hub |
getServerReferenceHub(OAObject oaObj,
String linkPropertyName) |
protected static void |
initialize(OAObject oaObj)
Called by OAObjectDelegate.initialize().
|
static boolean |
isInNewObjectCache(OAObject oaObj) |
static boolean |
isInServerSideCache(OAObject oaObj) |
static boolean |
isRemoteThread() |
static boolean |
isServer(OAObject obj)
Used to determine if this JDK is running as an OAServer or OAClient.
|
static boolean |
isWorkstation(OAObject obj)
Used to determine if this JDK is running as an OAServer or OAClient.
|
protected static boolean |
loadReferenceHubDataOnServer(Hub thisHub,
OASelect select) |
protected static void |
objectRemovedFromCache(OAObject obj,
int guid)
called when an object has been removed from a client.
|
protected static boolean |
removeFromNewObjectCache(OAObject oaObj) |
static void |
removeFromServerSideCache(OAObject oaObj)
If Object is not in a Hub, then it could be gc'd on server, while it still exists on a client(s).
|
protected static boolean |
save(OAObject oaObj,
int iCascadeRule) |
public static boolean isRemoteThread()
public static boolean isServer(OAObject obj)
public static boolean isWorkstation(OAObject obj)
protected static void initialize(OAObject oaObj)
public static boolean isInServerSideCache(OAObject oaObj)
protected static void objectRemovedFromCache(OAObject obj, int guid)
public static void addToServerSideCache(OAObject oaObj)
public static void addToServerSideCache(OAObject oaObj, boolean bSendToServer)
public static void removeFromServerSideCache(OAObject oaObj)
protected static Object createNewObject(Class clazz)
protected static void addToNewObjectCache(OAObject oaObj)
protected static boolean removeFromNewObjectCache(OAObject oaObj)
public static boolean isInNewObjectCache(OAObject oaObj)
protected static OAObject createCopy(OAObject oaObj, String[] excludeProperties)
protected static int getServerGuid(OAObject obj)
protected static int getServerGuid(Class clazz)
protected static boolean save(OAObject oaObj, int iCascadeRule)
protected static boolean delete(OAObject obj)
protected static OAObject getServerObject(Class clazz, OAObjectKey key)
protected static byte[] getServerReferenceBlob(OAObject oaObj, String linkPropertyName)
protected static Object getServerReference(OAObject oaObj, String linkPropertyName)
public static Hub getServerReferenceHub(OAObject oaObj, String linkPropertyName)
protected static boolean loadReferenceHubDataOnServer(Hub thisHub, OASelect select)
protected static void fireBeforePropertyChange(OAObject obj, String propertyName, Object oldValue, Object newValue)
protected static void fireAfterPropertyChange(OAObject obj, OAObjectKey origKey, String propertyName, Object oldValue, Object newValue)
Copyright © 1999–2019 ViaOA. All rights reserved.