public abstract class RemoteClientImpl extends Object implements RemoteClientInterface
Modifier and Type | Field and Description |
---|---|
protected OADataSource |
defaultDataSource |
Constructor and Description |
---|
RemoteClientImpl(int sessionId) |
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 |
delete(Class objectClass,
OAObjectKey objectKey) |
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 |
removeGuids(int[] guids)
this is called when objects are removed on the client,
so that the guid can be removed from the clientGetDetail cache of object.guids that have been sent to client.
|
abstract void |
setCached(OAObject obj)
Called to add objects to a client's server side cache, so that server with not GC the object.
|
protected OADataSource defaultDataSource
protected void loadDataInBackground(OAObject obj, String property)
public void close()
public void removeGuids(int[] guids)
public Object getDetail(int id, Class masterClass, OAObjectKey masterObjectKey, String property, String[] masterProps, OAObjectKey[] siblingKeys, boolean bForHubMerger)
getDetail
in interface RemoteClientInterface
public Object getDetailNow(int id, Class masterClass, OAObjectKey masterObjectKey, String property, String[] masterProps, OAObjectKey[] siblingKeys, boolean bForHubMerger)
getDetailNow
in interface RemoteClientInterface
public Object getDetail(int id, Class masterClass, OAObjectKey masterObjectKey, String property, boolean bForHubMerger)
getDetail
in interface RemoteClientInterface
public RemoteDataSource getRemoteDataSource()
public Object datasource(int command, Object[] objects)
datasource
in interface RemoteClientInterface
public void datasourceNoReturn(int command, Object[] objects)
datasourceNoReturn
in interface RemoteClientInterface
protected OADataSource getDataSource(Class c)
protected OADataSource getDataSource()
public OAObject createCopy(Class objectClass, OAObjectKey objectKey, String[] excludeProperties)
createCopy
in interface RemoteClientInterface
public abstract void setCached(OAObject obj)
public boolean deleteAll(Class objectClass, OAObjectKey objectKey, String hubPropertyName)
deleteAll
in interface RemoteClientInterface
public boolean delete(Class objectClass, OAObjectKey objectKey)
delete
in interface RemoteClientInterface
Copyright © 1999–2019 ViaOA. All rights reserved.