public class RemoteSyncImpl extends Object implements RemoteSyncInterface
| Constructor and Description |
|---|
RemoteSyncImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addNewToHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
OAObjectSerializer obj) |
boolean |
addToHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
Object objAdd) |
void |
clearHubChanges(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName) |
void |
clientDelete(Class objectClass,
OAObjectKey objectKey) |
boolean |
insertInHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
Object objInsert,
int pos) |
boolean |
moveObjectInHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
int posFrom,
int posTo) |
boolean |
propertyChange(Class objectClass,
OAObjectKey origKey,
String propertyName,
Object newValue,
boolean bIsBlob) |
void |
refresh(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName)
Used when the server Hub.sendRefresh() is called, so that clients can replace with new collection.
|
boolean |
removeAllFromHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName) |
boolean |
removeFromHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
Class objectClassRemove,
OAObjectKey objectKeyRemove) |
void |
serverDelete(Class objectClass,
OAObjectKey objectKey) |
boolean |
sort(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
String propertyPaths,
boolean bAscending,
Comparator comp) |
public boolean propertyChange(Class objectClass, OAObjectKey origKey, String propertyName, Object newValue, boolean bIsBlob)
propertyChange in interface RemoteSyncInterfacepublic boolean addToHub(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName, Object objAdd)
addToHub in interface RemoteSyncInterfacepublic boolean addNewToHub(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName, OAObjectSerializer obj)
addNewToHub in interface RemoteSyncInterfacepublic boolean insertInHub(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName, Object objInsert, int pos)
insertInHub in interface RemoteSyncInterfacepublic boolean removeFromHub(Class objectClass, OAObjectKey objectKey, String hubPropertyName, Class objectClassRemove, OAObjectKey objectKeyRemove)
removeFromHub in interface RemoteSyncInterfacepublic boolean removeAllFromHub(Class objectClass, OAObjectKey objectKey, String hubPropertyName)
removeAllFromHub in interface RemoteSyncInterfacepublic boolean moveObjectInHub(Class objectClass, OAObjectKey objectKey, String hubPropertyName, int posFrom, int posTo)
moveObjectInHub in interface RemoteSyncInterfacepublic boolean sort(Class objectClass, OAObjectKey objectKey, String hubPropertyName, String propertyPaths, boolean bAscending, Comparator comp)
sort in interface RemoteSyncInterfacepublic void clearHubChanges(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName)
clearHubChanges in interface RemoteSyncInterfacepublic void refresh(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName)
refresh in interface RemoteSyncInterfacepublic void serverDelete(Class objectClass, OAObjectKey objectKey)
serverDelete in interface RemoteSyncInterfacepublic void clientDelete(Class objectClass, OAObjectKey objectKey)
clientDelete in interface RemoteSyncInterfaceCopyright © 1999–2025 ViaOA. All rights reserved.