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) |
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) |
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 RemoteSyncInterface
public boolean addToHub(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName, Object objAdd)
addToHub
in interface RemoteSyncInterface
public boolean addNewToHub(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName, OAObjectSerializer obj)
addNewToHub
in interface RemoteSyncInterface
public boolean insertInHub(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName, Object objInsert, int pos)
insertInHub
in interface RemoteSyncInterface
public boolean removeFromHub(Class objectClass, OAObjectKey objectKey, String hubPropertyName, Class objectClassRemove, OAObjectKey objectKeyRemove)
removeFromHub
in interface RemoteSyncInterface
public boolean removeAllFromHub(Class objectClass, OAObjectKey objectKey, String hubPropertyName)
removeAllFromHub
in interface RemoteSyncInterface
public boolean moveObjectInHub(Class objectClass, OAObjectKey objectKey, String hubPropertyName, int posFrom, int posTo)
moveObjectInHub
in interface RemoteSyncInterface
public boolean sort(Class objectClass, OAObjectKey objectKey, String hubPropertyName, String propertyPaths, boolean bAscending, Comparator comp)
sort
in interface RemoteSyncInterface
public void clearHubChanges(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName)
clearHubChanges
in interface RemoteSyncInterface
public void refresh(Class masterObjectClass, OAObjectKey masterObjectKey, String hubPropertyName)
refresh
in interface RemoteSyncInterface
Copyright © 1999–2019 ViaOA. All rights reserved.