Package | Description |
---|---|
com.viaoa.ds |
Datasource independent access for storing and retrieving Objects from a persistent datasource.
|
com.viaoa.ds.jdbc |
The OADataSourceJDBC package is used to access persistent data using JDBC.
|
com.viaoa.ds.jdbc.db |
OADataSourceJDBC classes used for ORM - object-relational mapping, and DB metadata.
|
com.viaoa.ds.jdbc.delegate |
OADataSourceJDBC delegate classes for implementing access to SQL Relational databases.
|
com.viaoa.object |
Observable data model Object, that is the superclass for all OAModel classes.
|
com.viaoa.sync |
Synchronizes objects across servers.
|
com.viaoa.sync.remote | |
com.viaoa.util |
Utility Classes used for object graphs and applications.
|
Modifier and Type | Method and Description |
---|---|
static Object |
OADataSource.getObject(Class clazz,
OAObjectKey key)
Used to retreive a single object from DataSource.
|
Object |
OADataSource.getObject(OAObjectInfo oi,
Class clazz,
OAObjectKey key,
boolean bDirty) |
Object |
OADataSourceInterface.getObject(OAObjectInfo oi,
Class clazz,
OAObjectKey key,
boolean bDirty) |
Modifier and Type | Method and Description |
---|---|
Object |
OADataSourceJDBC.getObject(OAObjectInfo oi,
Class clazz,
OAObjectKey key,
boolean bDirty) |
Modifier and Type | Field and Description |
---|---|
OAObjectKey |
ManyToMany.ok1 |
OAObjectKey |
ManyToMany.ok2 |
Constructor and Description |
---|
ManyToMany(OAObjectKey ok1,
OAObjectKey ok2) |
Modifier and Type | Method and Description |
---|---|
static OADataSourceIterator |
SelectDelegate.selectObject(OADataSourceJDBC ds,
Class clazz,
OAObjectKey key,
boolean bDirty) |
Modifier and Type | Field and Description |
---|---|
protected OAObjectKey |
OAObject.objectKey |
Modifier and Type | Method and Description |
---|---|
static OAObjectKey |
OAObjectKeyDelegate.convertToObjectKey(Class clazz,
Object value) |
static OAObjectKey |
OAObjectKeyDelegate.convertToObjectKey(Class clazz,
Object[] values) |
static OAObjectKey |
OAObjectKeyDelegate.convertToObjectKey(OAObjectInfo oi,
Object value)
Convert a value to an OAObjectKey
|
static OAObjectKey |
OAObjectKeyDelegate.getKey(OAObject oaObj)
returns the OAObjectKey that uniquely represents this object.
|
static OAObjectKey |
OAObjectKeyDelegate.getKey(OAObject oaObj,
Object keyValue)
Create a new key based on a certain value "keyValue".
|
OAObjectKey |
OAObject.getObjectKey() |
static OAObjectKey |
OAObjectReflectDelegate.getPropertyObjectKey(OAObject oaObj,
String property)
Used to retrieve a reference key without actually loading the object.
|
static OAObjectKey[] |
OASiblingHelperDelegate.getSiblings(OAObject mainObject,
String property,
int maxAmount)
Used to find any siblings that also need the same property loaded.
|
static OAObjectKey[] |
OASiblingHelperDelegate.getSiblings(OAObject mainObject,
String property,
int maxAmount,
ConcurrentHashMap<Integer,Boolean> hmIgnore) |
Modifier and Type | Method and Description |
---|---|
boolean |
OAObjectKey.exactEquals(OAObjectKey key) |
protected static void |
OAObjectCSDelegate.fireAfterPropertyChange(OAObject obj,
OAObjectKey origKey,
String propertyName,
Object oldValue,
Object newValue) |
protected static void |
OAObjectCacheDelegate.fireAfterPropertyChange(OAObject obj,
OAObjectKey origKey,
String propertyName,
Object oldValue,
Object newValue,
boolean bLocalOnly,
boolean bSendEvent)
called by OAObject to send a HubEvent.
|
protected static Object |
OAObjectDSDelegate.getObject(Class clazz,
OAObjectKey key) |
protected static Object |
OAObjectDSDelegate.getObject(OAObjectInfo oi,
Class clazz,
OAObjectKey key) |
protected static OAObject |
OAObjectCSDelegate.getServerObject(Class clazz,
OAObjectKey key) |
static void |
OAObjectDelegate.reassignGuid(OAObject obj,
OAObjectKey origKey)
This is used by RemoteSyncImpl on the server, when it has to reload a GCd object from DS.
|
protected static void |
OAObjectCacheDelegate.rehash(OAObject obj,
OAObjectKey oldKey)
Used by OAObjectKeyDelegate.updateKey when object Id property is changed.
|
protected static void |
OAObjectDelegate.rehash(OAObject oaObj,
OAObjectKey oldKey)
Central method that is used when the object property Key is changed (OAObjectKey)
and needs to be rehashed in all Hashtables that it could exist in.
|
static void |
OAObjectHashDelegate.rehash(OAObject oaObj,
OAObjectKey keyOld)
This is called by OAObjectKeyDelegate.updateKey() when an OAObject.OAObjectKey is changed so that it can be rehashed.
|
protected static void |
OAObjectKeyDelegate.setKey(OAObject oaObj,
OAObjectKey key) |
Modifier and Type | Method and Description |
---|---|
protected static void |
OASiblingHelperDelegate.findSiblings(ArrayList<OAObjectKey> alFoundObjectKey,
Hub hubRoot,
int startPosHubRoot,
String finderPropertyPath,
String origProperty,
OALinkInfo linkInfo,
OAObject mainObject,
HashMap<OAObjectKey,OAObject> hmTypeOneObjKey,
ConcurrentHashMap<Integer,Boolean> hmIgnore,
int maxAmount,
long msStarted,
int runCount) |
protected static void |
OASiblingHelperDelegate.findSiblings(ArrayList<OAObjectKey> alFoundObjectKey,
Hub hubRoot,
int startPosHubRoot,
String finderPropertyPath,
String origProperty,
OALinkInfo linkInfo,
OAObject mainObject,
HashMap<OAObjectKey,OAObject> hmTypeOneObjKey,
ConcurrentHashMap<Integer,Boolean> hmIgnore,
int maxAmount,
long msStarted,
int runCount) |
Modifier and Type | Method and Description |
---|---|
OAObjectKey |
OASyncCombinedClient.getClientToServerKey(Class c,
OAObjectKey keyClient) |
Modifier and Type | Method and Description |
---|---|
OAObjectKey |
OASyncCombinedClient.getClientToServerKey(Class c,
OAObjectKey keyClient) |
Modifier and Type | Method and Description |
---|---|
boolean |
RemoteSyncImpl.addNewToHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
OAObjectSerializer obj) |
boolean |
RemoteSyncInterface.addNewToHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
OAObjectSerializer obj) |
boolean |
RemoteSyncImpl.addToHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
Object objAdd) |
boolean |
RemoteSyncInterface.addToHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
Object obj) |
void |
RemoteSyncImpl.clearHubChanges(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName) |
void |
RemoteSyncInterface.clearHubChanges(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName) |
OAObject |
RemoteClientImpl.createCopy(Class objectClass,
OAObjectKey objectKey,
String[] excludeProperties) |
OAObject |
RemoteClientInterface.createCopy(Class objectClass,
OAObjectKey objectKey,
String[] excludeProperties) |
boolean |
RemoteClientImpl.delete(Class objectClass,
OAObjectKey objectKey) |
boolean |
RemoteClientInterface.delete(Class objectClass,
OAObjectKey objectKey) |
boolean |
RemoteClientImpl.deleteAll(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName) |
boolean |
RemoteClientInterface.deleteAll(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName) |
Object |
RemoteClientImpl.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
boolean bForHubMerger) |
Object |
RemoteClientInterface.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
boolean bForHubMerger) |
Object |
ClientGetDetail.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger)
called by OASyncClient.getDetail(..), from an OAClient to the OAServer
|
Object |
ClientGetDetail.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger)
called by OASyncClient.getDetail(..), from an OAClient to the OAServer
|
Object |
RemoteClientImpl.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
RemoteClientImpl.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
RemoteClientInterface.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
RemoteClientInterface.getDetail(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
RemoteClientImpl.getDetailNow(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
RemoteClientImpl.getDetailNow(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
RemoteClientInterface.getDetailNow(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
Object |
RemoteClientInterface.getDetailNow(int id,
Class masterClass,
OAObjectKey masterObjectKey,
String property,
String[] masterProps,
OAObjectKey[] siblingKeys,
boolean bForHubMerger) |
OAObject |
RemoteServerImpl.getObject(Class objectClass,
OAObjectKey objectKey) |
OAObject |
RemoteServerInterface.getObject(Class objectClass,
OAObjectKey objectKey) |
protected OAObjectSerializer |
ClientGetDetail.getSerializedDetail(long msStart,
OAObject masterObject,
Object detailObject,
String propFromMaster,
String[] masterProperties,
int cntMasterPropsLoaded,
OAObjectKey[] siblingKeys,
boolean bForHubMerger)
20130213
getDetail() requirements
load referencs for master object and detail object/hub, and one level of ownedReferences
serialize all first level references for master, and detail
send existing references for 1 more level from master, and 2 levels from detail
dont send any references that equal master or have master in the hub
dont send any references that have detail/hub in it
dont send detail if it has already been sent with all references
dont send a reference if it has already been sent to client, and has been added to tree
send max X objects
|
boolean |
RemoteSyncImpl.insertInHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
Object objInsert,
int pos) |
boolean |
RemoteSyncInterface.insertInHub(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName,
Object obj,
int pos) |
abstract boolean |
RemoteSessionImpl.isLocked(Class objectClass,
OAObjectKey objectKey) |
boolean |
RemoteSessionInterface.isLocked(Class objectClass,
OAObjectKey objectKey) |
abstract boolean |
RemoteSessionImpl.isLockedByAnotherClient(Class objectClass,
OAObjectKey objectKey) |
boolean |
RemoteSessionInterface.isLockedByAnotherClient(Class objectClass,
OAObjectKey objectKey) |
boolean |
RemoteSessionImpl.isLockedByThisClient(Class objectClass,
OAObjectKey objectKey) |
boolean |
RemoteSessionInterface.isLockedByThisClient(Class objectClass,
OAObjectKey objectKey) |
boolean |
RemoteSyncImpl.moveObjectInHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
int posFrom,
int posTo) |
boolean |
RemoteSyncInterface.moveObjectInHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
int posFrom,
int posTo) |
boolean |
RemoteSyncImpl.propertyChange(Class objectClass,
OAObjectKey origKey,
String propertyName,
Object newValue,
boolean bIsBlob) |
boolean |
RemoteSyncInterface.propertyChange(Class objectClass,
OAObjectKey origKey,
String propertyName,
Object newValue,
boolean bIsBlob) |
void |
RemoteSyncImpl.refresh(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName)
Used when the server Hub.sendRefresh() is called, so that clients can replace with new collection.
|
void |
RemoteSyncInterface.refresh(Class masterObjectClass,
OAObjectKey masterObjectKey,
String hubPropertyName)
Used when the server Hub.sendRefresh() is called, so that clients can replace with new collection.
|
boolean |
RemoteSyncImpl.removeAllFromHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName) |
boolean |
RemoteSyncInterface.removeAllFromHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName) |
boolean |
RemoteSyncImpl.removeFromHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
Class objectClassRemove,
OAObjectKey objectKeyRemove) |
boolean |
RemoteSyncInterface.removeFromHub(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
Class objectClassX,
OAObjectKey objectKeyX) |
Object |
RemoteServerImpl.runRemoteMethod(Class clazz,
OAObjectKey objKey,
String methodName,
Object[] args) |
Object |
RemoteServerInterface.runRemoteMethod(Class clazz,
OAObjectKey objKey,
String methodName,
Object[] args)
Used by OAObject.remote to run a remote command from an OAObject.
|
boolean |
RemoteServerImpl.save(Class objectClass,
OAObjectKey objectKey,
int iCascadeRule) |
boolean |
RemoteServerInterface.save(Class objectClass,
OAObjectKey objectKey,
int iCascadeRule) |
boolean |
RemoteSessionImpl.setLock(Class objectClass,
OAObjectKey objectKey,
boolean bLock) |
boolean |
RemoteSessionInterface.setLock(Class objectClass,
OAObjectKey objectKey,
boolean bLock) |
boolean |
RemoteSyncImpl.sort(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
String propertyPaths,
boolean bAscending,
Comparator comp) |
boolean |
RemoteSyncInterface.sort(Class objectClass,
OAObjectKey objectKey,
String hubPropertyName,
String propertyPaths,
boolean bAscending,
Comparator comp) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<Class,HashMap<OAObjectKey,OAObject>> |
OAXMLReader1.hmMatch |
Copyright © 1999–2019 ViaOA. All rights reserved.