public abstract class RemoteClientImpl extends Object implements RemoteClientInterface
| Modifier and Type | Field and Description |
|---|---|
protected OADataSource |
defaultDataSource |
| Constructor and Description |
|---|
RemoteClientImpl(int sessionId,
Map<Integer,Boolean> hmGuid) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
OAObject |
createCopy(Class objectClass,
OAObjectKey objectKey,
String[] excludeProperties) |
Object |
datasource(int command,
Object[] objects) |
void |
datasourceNoReturn(int command,
Object[] objects) |
boolean |
deleteAll(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName) |
protected OADataSource |
getDataSource() |
protected OADataSource |
getDataSource(Class c) |
Object |
getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
boolean bForHubMerger) |
Object |
getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
getDetailNow(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
RemoteDataSource |
getRemoteDataSource() |
protected void |
loadDataInBackground(OAObject obj,
String property)
called when a other props or sibling data cant be loaded for current request, because of timeout.
|
void |
refresh(Class objectClass,
OAObjectKey objectKey) |
void |
refresh(Class objectClass,
OAObjectKey objectKey,
String propertyName) |
abstract void |
updateObjectCache(OAObject obj)
Called to add objects to a client's server side cache, so that server will not GC the object.
|
protected OADataSource defaultDataSource
protected void loadDataInBackground(OAObject obj, String property)
public void close()
public Object getDetail(int id, Class masterClass, OAObjectKey masterObjectKey, String property, String[] masterProps, OAObjectKey[] siblingKeys, boolean bForHubMerger)
getDetail in interface RemoteClientInterfacepublic Object getDetailNow(int id, Class masterClass, OAObjectKey masterObjectKey, String property, String[] masterProps, OAObjectKey[] siblingKeys, boolean bForHubMerger)
getDetailNow in interface RemoteClientInterfacepublic Object getDetail(int id, Class masterClass, OAObjectKey masterObjectKey, String property, boolean bForHubMerger)
getDetail in interface RemoteClientInterfacepublic RemoteDataSource getRemoteDataSource()
public Object datasource(int command, Object[] objects)
datasource in interface RemoteClientInterfacepublic void datasourceNoReturn(int command,
Object[] objects)
datasourceNoReturn in interface RemoteClientInterfaceprotected OADataSource getDataSource(Class c)
protected OADataSource getDataSource()
public OAObject createCopy(Class objectClass, OAObjectKey objectKey, String[] excludeProperties)
createCopy in interface RemoteClientInterfacepublic abstract void updateObjectCache(OAObject obj)
public boolean deleteAll(Class objectClass, OAObjectKey objectKey, String hubPropertyName)
deleteAll in interface RemoteClientInterfacepublic void refresh(Class objectClass, OAObjectKey objectKey)
refresh in interface RemoteClientInterfacepublic void refresh(Class objectClass, OAObjectKey objectKey, String propertyName)
refresh in interface RemoteClientInterfaceCopyright © 1999–2025 ViaOA. All rights reserved.