Package | Description |
---|---|
com.viaoa.comm.io |
InputStream used to manage serialization.
|
com.viaoa.context |
Defines an application context, used for managing a user or processes permissions.
|
com.viaoa.ds |
Datasource independent access for storing and retrieving Objects from a persistent datasource.
|
com.viaoa.ds.autonumber |
OADataSource subclass for memory only/ non-persistent data.
|
com.viaoa.ds.cs |
Client OADataSource that will communicate with OADataSource on the server.
|
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.ds.objectcache | |
com.viaoa.func |
Function methods use OAObject or Hub, along with property path.
|
com.viaoa.hub |
Contains the observable OA collection class, and support classes.
|
com.viaoa.model.oa |
Helper wrapper classes.
|
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.
|
com.viaoa.util.filter |
Modifier and Type | Class and Description |
---|---|
class |
IODummy
Dummy class that is used as a holder when reading an objectInputStream that has classes
that no longer exist.
|
Modifier and Type | Method and Description |
---|---|
static OAObject |
OAContext.getContext() |
static OAObject |
OAContext.getContext(Object context) |
Modifier and Type | Method and Description |
---|---|
static Hub<? extends OAObject> |
OAContext.getContextHub() |
static Hub<? extends OAObject> |
OAContext.getContextHub(Object context) |
Modifier and Type | Method and Description |
---|---|
static void |
OAContext.setContext(Object context,
OAObject obj) |
Modifier and Type | Method and Description |
---|---|
static void |
OAContext.addContextHub(Object context,
Hub<? extends OAObject> hub) |
Modifier and Type | Class and Description |
---|---|
class |
OASelect<TYPE extends OAObject>
Helper Class used for submitting and managing queries for any OADataSource.
|
Modifier and Type | Field and Description |
---|---|
protected OAObject |
OASelect.whereObject |
Modifier and Type | Method and Description |
---|---|
abstract void |
OADataSource.assignId(OAObject obj)
Called by OAObject to initialize a new Object.
|
void |
OADataSourceInterface.assignId(OAObject object) |
int |
OADataSource.count(Class selectClass,
OAObject whereObject,
String propertyNameFromWhereObject) |
int |
OADataSource.count(Class selectClass,
OAObject whereObject,
String propertyNameFromWhereObject,
int max) |
int |
OADataSource.count(Class selectClass,
OAObject whereObject,
String extraWhere,
Object[] params,
String propertyNameFromWhereObject) |
int |
OADataSource.count(Class selectClass,
OAObject whereObject,
String extraWhere,
Object[] params,
String propertyNameFromWhereObject,
int max) |
abstract int |
OADataSource.count(Class selectClass,
String queryWhere,
Object[] params,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max)
Perform a count on the DataSource using a query.
|
int |
OADataSourceInterface.count(Class selectClass,
String queryWhere,
Object[] params,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max) |
abstract void |
OADataSource.delete(OAObject obj)
Remove an Object from a DataSource.
|
void |
OADataSourceInterface.delete(OAObject object) |
abstract byte[] |
OADataSource.getPropertyBlobValue(OAObject obj,
String propertyName)
Select BLOB (large byte[]) property
|
byte[] |
OADataSourceInterface.getPropertyBlobValue(OAObject obj,
String propertyName) |
abstract void |
OADataSource.insert(OAObject obj)
Add/Insert a new Object into DataSource.
|
void |
OADataSourceInterface.insert(OAObject object) |
abstract void |
OADataSource.insertWithoutReferences(OAObject obj)
Add/Insert a new Object into DataSource, without references (fkeys).
|
void |
OADataSourceInterface.insertWithoutReferences(OAObject obj) |
void |
OADataSource.save(OAObject obj)
Used to save an object to DataSource.
|
void |
OADataSourceInterface.save(OAObject obj) |
OADataSourceIterator |
OADataSource.select(Class selectClass,
OAObject whereObject,
String extraWhere,
Object[] args,
String propertyNameFromWhereObject,
String queryOrder,
boolean bDirty) |
OADataSourceIterator |
OADataSource.select(Class selectClass,
OAObject whereObject,
String extraWhere,
Object[] args,
String propertyNameFromWhereObject,
String queryOrder,
int max,
boolean bDirty) |
OADataSourceIterator |
OADataSource.select(Class selectClass,
OAObject whereObject,
String extraWhere,
Object[] args,
String propertyNameFromWhereObject,
String queryOrder,
int max,
OAFilter filter,
boolean bDirty) |
OADataSourceIterator |
OADataSource.select(Class selectClass,
OAObject whereObject,
String propertyNameFromWhereObject,
String queryOrder,
boolean bDirty) |
OADataSourceIterator |
OADataSource.select(Class selectClass,
OAObject whereObject,
String propertyNameFromWhereObject,
String queryOrder,
int max,
boolean bDirty) |
OADataSourceIterator |
OADataSource.select(Class selectClass,
OAObject whereObject,
String propertyNameFromWhereObject,
String queryOrder,
int max,
OAFilter filter,
boolean bDirty) |
abstract OADataSourceIterator |
OADataSource.select(Class selectClass,
String queryWhere,
Object[] params,
String queryOrder,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max,
OAFilter filter,
boolean bDirty)
Perform a query to retrieve objects from DataSource.
|
Iterator |
OADataSourceInterface.select(Class selectClass,
String queryWhere,
Object[] params,
String queryOrder,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max,
OAFilter filter,
boolean bDirty) |
void |
OASelect.setWhereObject(OAObject whereObject)
WhereObject is used to build a where statement that will select all objects that have
have a reference to whereObject.
|
void |
OADataSource.update(OAObject obj) |
void |
OADataSourceInterface.update(OAObject obj) |
abstract void |
OADataSource.update(OAObject obj,
String[] includeProperties,
String[] excludeProperties)
Update an existing Object to DataSource.
|
void |
OADataSourceInterface.update(OAObject object,
String[] includeProperties,
String[] excludeProperties) |
abstract void |
OADataSource.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster)
Used by dataSources to update special requirements for handling Many2Many relationships (ex:Link Table).
|
abstract void |
OADataSource.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster)
Used by dataSources to update special requirements for handling Many2Many relationships (ex:Link Table).
|
abstract void |
OADataSource.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster)
Used by dataSources to update special requirements for handling Many2Many relationships (ex:Link Table).
|
void |
OADataSourceInterface.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
void |
OADataSourceInterface.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
void |
OADataSourceInterface.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
boolean |
OADataSource.willCreatePropertyValue(OAObject object,
String propertyName)
Returns true if the dataSource will set the property value before saving.
|
boolean |
OADataSourceInterface.willCreatePropertyValue(OAObject object,
String propertyName) |
Constructor and Description |
---|
OASelect(Class<TYPE> c,
OAObject whereObject,
String order)
Create a new OASelect that is initialzed to query Objects for a Class.
|
Modifier and Type | Class and Description |
---|---|
class |
NextNumber
Class used to store sequential numbers for assigning autonumber propeties in Objects.
|
Modifier and Type | Method and Description |
---|---|
void |
OADataSourceAuto.assignId(OAObject oaObj)
Set any objectId properties that are of class Number (or primitive equiv) and
whose value is "0" to the value in the NextNumber object found in getHub().
|
int |
OADataSourceAuto.count(Class selectClass,
String queryWhere,
Object[] params,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max) |
void |
OADataSourceAuto.delete(OAObject object)
Does not support data storage.
|
byte[] |
OADataSourceAuto.getPropertyBlobValue(OAObject obj,
String propertyName) |
void |
OADataSourceAuto.insert(OAObject object)
Overwritten to only initialize object.
|
void |
OADataSourceAuto.insertWithoutReferences(OAObject obj) |
OADataSourceIterator |
OADataSourceAuto.select(Class selectClass,
String queryWhere,
Object[] params,
String queryOrder,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max,
OAFilter filter,
boolean bDirty) |
void |
OADataSourceAuto.update(OAObject object,
String[] includeProperties,
String[] excludeProperties)
Overwritten to do nothing.
|
void |
OADataSourceAuto.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propertyNameFromMaster) |
void |
OADataSourceAuto.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propertyNameFromMaster) |
void |
OADataSourceAuto.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propertyNameFromMaster) |
boolean |
OADataSourceAuto.willCreatePropertyValue(OAObject oaObj,
String propertyName)
Returns true if propertyName is an Object Id property.
|
Modifier and Type | Method and Description |
---|---|
void |
OADataSourceClient.assignId(OAObject obj) |
int |
OADataSourceClient.count(Class selectClass,
String queryWhere,
Object[] params,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max) |
void |
OADataSourceClient.delete(OAObject obj) |
byte[] |
OADataSourceClient.getPropertyBlobValue(OAObject obj,
String propertyName) |
void |
OADataSourceClient.insert(OAObject obj) |
void |
OADataSourceClient.insertWithoutReferences(OAObject obj) |
void |
OADataSourceClient.save(OAObject obj) |
OADataSourceIterator |
OADataSourceClient.select(Class selectClass,
String queryWhere,
Object[] params,
String queryOrder,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max,
OAFilter filter,
boolean bDirty) |
void |
OADataSourceClient.update(OAObject obj,
String[] includeProperties,
String[] excludeProperties) |
void |
OADataSourceClient.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propertyNameFromMaster) |
void |
OADataSourceClient.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propertyNameFromMaster) |
void |
OADataSourceClient.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propertyNameFromMaster) |
boolean |
OADataSourceClient.willCreatePropertyValue(OAObject object,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
void |
OADataSourceJDBC.assignId(OAObject object)
Set all properties that are mapped to a column to NULL
|
int |
OADataSourceJDBC.count(Class selectClass,
String queryWhere,
Object[] params,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max) |
void |
OADataSourceJDBC.delete(OAObject object) |
byte[] |
OADataSourceJDBC.getPropertyBlobValue(OAObject obj,
String propertyName) |
void |
OADataSourceJDBC.insert(OAObject object) |
void |
OADataSourceJDBC.insertWithoutReferences(OAObject obj) |
OADataSourceIterator |
OADataSourceJDBC.select(Class selectClass,
String queryWhere,
Object[] params,
String queryOrder,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max,
OAFilter filter,
boolean bDirty) |
void |
OADataSourceJDBC.update(OAObject object,
String[] includeProperties,
String[] excludeProperties) |
void |
OADataSourceJDBC.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
void |
OADataSourceJDBC.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
void |
OADataSourceJDBC.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
boolean |
OADataSourceJDBC.willCreatePropertyValue(OAObject object,
String propertyName)
Called by OAObject.getRequiredProperties() to find required properties that are unassigned.
|
Modifier and Type | Class and Description |
---|---|
class |
DBMetaData
Database MetaData for various JDBC databases.
|
Modifier and Type | Method and Description |
---|---|
OAObject |
DataAccessObject.getObject(DataAccessObject.ResultSetInfo rsi) |
Modifier and Type | Method and Description |
---|---|
static void |
AutonumberDelegate.assignNumber(OADataSourceJDBC ds,
OAObject object,
Table table,
Column column)
Assigns autonumber properties.
|
static void |
DeleteDelegate.delete(OADataSourceJDBC ds,
OAObject object) |
static byte[] |
SelectDelegate.getPropertyBlobValue(OADataSourceJDBC ds,
OAObject whereObject,
String property) |
static String |
SelectDelegate.getSelectSQL(OADataSourceJDBC ds,
QueryConverter qc,
Class clazz,
OAObject whereObject,
String extraWhere,
Object[] args,
String propertyFromWhereObject,
String queryOrder,
int max,
boolean bDirty) |
static void |
InsertDelegate.insert(OADataSourceJDBC ds,
OAObject object) |
static void |
InsertDelegate.insertWithoutReferences(OADataSourceJDBC ds,
OAObject obj) |
static void |
UpdateDelegate.removeReference(OADataSourceJDBC ds,
OAObject oaObj,
String propertyName) |
static OADataSourceIterator |
SelectDelegate.select(OADataSourceJDBC ds,
Class clazz,
OAObject whereObject,
String extraWhere,
Object[] params,
String propertyFromWhereObject,
String queryOrder,
int max,
boolean bDirty) |
static void |
UpdateDelegate.update(OADataSourceJDBC ds,
OAObject oaObj) |
protected static void |
UpdateDelegate.update(OADataSourceJDBC ds,
OAObject oaObj,
Class clazz,
String[] includeProperties,
String[] excludeProperties) |
static void |
UpdateDelegate.update(OADataSourceJDBC ds,
OAObject oaObj,
String[] includeProperties,
String[] excludeProperties) |
static void |
UpdateDelegate.updateMany2ManyLinks(OADataSourceJDBC ds,
OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
static void |
UpdateDelegate.updateMany2ManyLinks(OADataSourceJDBC ds,
OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
static void |
UpdateDelegate.updateMany2ManyLinks(OADataSourceJDBC ds,
OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
static void |
AutonumberDelegate.verifyNumberUsed(OADataSourceJDBC ds,
OAObject object,
Table table,
Column column,
int id)
This is used to determine if an assigned ID needs to change the autoNextNumber ID
|
Modifier and Type | Method and Description |
---|---|
void |
OADataSourceObjectCache.assignId(OAObject obj) |
OADataSourceIterator |
OADataSourceObjectCache.select(Class selectClass,
String queryWhere,
Object[] params,
String queryOrder,
OAObject whereObject,
String propertyFromWhereObject,
String extraWhere,
int max,
OAFilter filter,
boolean bDirty) |
Modifier and Type | Method and Description |
---|---|
static int |
OAFunction.count(OAObject obj,
String pp) |
static double |
OAFunction.max(OAObject obj,
String pp) |
static double |
OAFunction.max(OAObject obj,
String ppToObject,
String pp) |
static double |
OAFunction.min(OAObject obj,
String pp) |
static double |
OAFunction.min(OAObject obj,
String ppToObject,
String pp) |
static double |
OAFunction.sum(OAObject obj,
String pp) |
static double |
OAFunction.sum(OAObject obj,
String ppToObject,
String pp) |
static String |
OAFunction.template(OAObject obj,
String template) |
Modifier and Type | Class and Description |
---|---|
class |
HubCopy<T extends OAObject>
Used to have two hubs use the same objects, so that the ordering can be different.
|
class |
HubFlattened<TYPE extends OAObject>
Takes a recursive hub (hubRoot) and populates a Hub (hubFlat) with all of the children.
|
class |
HubGroupBy<F extends OAObject,G extends OAObject>
Creates a groupBy hub from a new single hub.
|
class |
HubGroupBy<F extends OAObject,G extends OAObject>
Creates a groupBy hub from a new single hub.
|
class |
HubGroupByOrig<A extends OAObject,B extends OAObject>
Takes a single Hub<A>, and a property path to create two new Hubs that are
are master/detail, where the master is the groupBy hub, and the detail is group of
objects in Hub<A> that are under the AO in the groupBy hub.
|
class |
HubGroupByOrig<A extends OAObject,B extends OAObject>
Takes a single Hub<A>, and a property path to create two new Hubs that are
are master/detail, where the master is the groupBy hub, and the detail is group of
objects in Hub<A> that are under the AO in the groupBy hub.
|
class |
HubLeftJoin<A extends OAObject,B extends OAObject>
Combines two hubs into a new single hub to create the equivalent of
a database left join, where all of the "left" side objects are in the list.
|
class |
HubLeftJoin<A extends OAObject,B extends OAObject>
Combines two hubs into a new single hub to create the equivalent of
a database left join, where all of the "left" side objects are in the list.
|
class |
HubMerger<F extends OAObject,T extends OAObject>
Used to combine objects from a property path of a root Hub into a single Hub.
|
class |
HubMerger<F extends OAObject,T extends OAObject>
Used to combine objects from a property path of a root Hub into a single Hub.
|
class |
HubTrigger<T extends OAObject>
This is used to listen to Hub for objects that match filter criteria and then call the onTrigger method.
|
Modifier and Type | Method and Description |
---|---|
static OAObject[] |
HubAddRemoveDelegate.getAddedObjects(Hub thisHub) |
static OAObject[] |
HubDataDelegate.getAddedObjects(Hub thisHub) |
OAObject |
Hub.getMasterObject() |
static OAObject |
HubDelegate.getMasterObject(Hub hub)
Returns the OAObject that owns this Hub
|
static OAObject |
HubDetailDelegate.getMasterObject(Hub thisHub)
Returns the OAObject that owns this Hub
|
static OAObject[] |
HubAddRemoveDelegate.getRemovedObjects(Hub thisHub) |
static OAObject[] |
HubDataDelegate.getRemovedObjects(Hub thisHub) |
Modifier and Type | Method and Description |
---|---|
void |
FilteredHub.addDependentProperty(OAObject obj,
String prop) |
void |
HubFilter.addDependentProperty(OAObject obj,
String prop)
Add a dependent property from an oaObj, which will call refresh.
|
static void |
HubCSDelegate.addToHub(Hub thisHub,
OAObject thisObj)
Have object added to same Hub on other workstations.
|
boolean |
Hub.canAdd(OAObject obj) |
boolean |
Hub.canRemove(OAObject obj) |
static Object |
HubFindDelegate.findFirst(Hub thisHub,
String propertyPath,
Object findValue,
boolean bSetAO,
OAObject lastFoundObject)
Returns first object in Hub that is Like propertyPath findValue.
|
static void |
HubEventDelegate.fireAfterLoadEvent(Hub thisHub,
OAObject oaObj) |
static void |
HubEventDelegate.fireAfterPropertyChange(Hub thisHub,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue,
OALinkInfo linkInfo)
Called by OAObject and Hub, used to notify all listeners of a property change.
|
static void |
HubEventDelegate.fireAfterSaveEvent(Hub thisHub,
OAObject obj) |
static void |
HubEventDelegate.fireBeforePropertyChange(Hub thisHub,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue)
Called by OAObject and Hub, used to notify all listeners of a property change.
|
static void |
HubEventDelegate.fireBeforeSaveEvent(Hub thisHub,
OAObject obj) |
static boolean |
HubCSDelegate.insertInHub(Hub thisHub,
OAObject obj,
int pos)
Have object inserted in same Hub on other workstations.
|
static void |
HubCSDelegate.removeFromHub(Hub thisHub,
OAObject obj,
int pos)
Have object removed from same Hub on other workstations.
|
static void |
HubSerializeDelegate.replaceMasterObject(Hub thisHub,
OAObject objFrom,
OAObject objTo) |
static int |
HubSerializeDelegate.replaceObject(Hub thisHub,
OAObject objFrom,
OAObject objTo) |
protected static void |
HubSelectDelegate.select(Hub thisHub,
OAObject whereObject,
String whereClause,
Object[] whereParams,
String orderByClause,
boolean bAppendFlag) |
protected static void |
HubSelectDelegate.select(Hub thisHub,
OAObject whereObject,
String whereClause,
Object[] whereParams,
String orderByClause,
boolean bAppendFlag,
OAFilter filter) |
void |
Hub.select(OAObject whereObject,
String orderByClause)
Select all objects from OADataSource that have a reference to parameter
"object".
|
static void |
HubDetailDelegate.setMasterObject(Hub thisHub,
OAObject masterObject) |
static void |
HubDetailDelegate.setMasterObject(Hub thisHub,
OAObject masterObject,
OALinkInfo liDetailToMaster)
Set the object that "owns" this hub.
|
protected static void |
HubDSDelegate.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
protected static void |
HubDSDelegate.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
protected static void |
HubDSDelegate.updateMany2ManyLinks(OAObject masterObject,
OAObject[] adds,
OAObject[] removes,
String propFromMaster) |
Constructor and Description |
---|
Hub(Class clazz,
OAObject masterObject) |
Hub(Class clazz,
OAObject masterObject,
OALinkInfo linkInfo,
boolean bCreateSelect)
Create a hub that will contain a Class of objects, and the Master object
for this hub is known.
|
Hub(OAObject obj)
Create a new hub with a single object, and make it AO
|
MergedHub(Class<TYPE> clazz,
OAObject obj,
String propertyPath) |
Modifier and Type | Class and Description |
---|---|
class |
VDate |
class |
VDateTime |
class |
VDouble |
class |
VInteger |
class |
VLong |
class |
VNameValue |
class |
VString |
class |
VTime |
Modifier and Type | Class and Description |
---|---|
class |
OAFinder<F extends OAObject,T extends OAObject> |
class |
OAFinder<F extends OAObject,T extends OAObject> |
class |
OAGroupBy<F extends OAObject,G extends OAObject>
Utility class, used by HubGroupBy, as an object that creates a reference to two others objects.
|
class |
OAGroupBy<F extends OAObject,G extends OAObject>
Utility class, used by HubGroupBy, as an object that creates a reference to two others objects.
|
class |
OAHierFinder<F extends OAObject>
This is used to find the first value in an object hierarchy (including recursive) that
has a matching value in the first object, or one of the objects in it's hierarchy,
as defined by propertyPaths.
|
class |
OALeftJoin<A extends OAObject,B extends OAObject>
Utility class, used by HubLeftJoin, as an object that creates a reference to two others objects.
|
class |
OALeftJoin<A extends OAObject,B extends OAObject>
Utility class, used by HubLeftJoin, as an object that creates a reference to two others objects.
|
class |
OALoader<F extends OAObject,T extends OAObject> |
class |
OALoader<F extends OAObject,T extends OAObject> |
class |
OAObjectCacheFilter<T extends OAObject>
Listen to the OAObjectCache for objects that match filter criteria, and add to a Hub.
|
class |
OAObjectCacheHubAdder<T extends OAObject>
Filter that is used to listen to all objects added to OAObjectCacheDelegate and then add to a specific Hub.
|
interface |
OAObjectCacheListener<T extends OAObject>
Used by OAObjectCacheDelegate to send out object cache events.
|
class |
OAObjectCacheTrigger<T extends OAObject>
This is used to listen to the OAObjectCache for objects that match filter criteria and then call the onTrigger method.
|
class |
OASiblingHelper<F extends OAObject>
Used in OAThreadLocal to be able to help findSiblings by tracking propertyPaths from
calls to OAObject.getObject/Hub
|
interface |
OATriggerListener<T extends OAObject>
Code that is called to notify when a change is made to a dependent property.
|
class |
OATypeAhead<F extends OAObject,T extends OAObject>
Bootstrap TypeAhead support, used by TextField and MultiValueTextField to do searches.
|
class |
OATypeAhead<F extends OAObject,T extends OAObject>
Bootstrap TypeAhead support, used by TextField and MultiValueTextField to do searches.
|
static class |
OATypeAhead.OATypeAheadParams<F extends OAObject,T extends OAObject>
Helper class to enter all of the params.
|
static class |
OATypeAhead.OATypeAheadParams<F extends OAObject,T extends OAObject>
Helper class to enter all of the params.
|
Modifier and Type | Class and Description |
---|---|
class |
OAEditMode |
class |
OAGroupBy<F extends OAObject,G extends OAObject>
Utility class, used by HubGroupBy, as an object that creates a reference to two others objects.
|
class |
OALeftJoin<A extends OAObject,B extends OAObject>
Utility class, used by HubLeftJoin, as an object that creates a reference to two others objects.
|
class |
OALogRecord |
class |
OAObjectLocal |
Modifier and Type | Method and Description |
---|---|
static OAObject |
OAObjectReflectDelegate._createCopy(OAObject oaObj,
String[] excludeProperties,
OACopyCallback copyCallback,
HashMap<Integer,Object> hmNew) |
static OAObject |
OAObjectCacheDelegate.add(OAObject obj)
Used by OAObject to cache new objects.
|
static OAObject |
OAObjectCacheDelegate.add(OAObject obj,
boolean bErrorIfExists,
boolean bAddToSelectAll) |
static OAObject |
OAObjectCacheDelegate.add(OAObject obj,
boolean bErrorIfExists,
boolean bAddToSelectAll,
boolean bSendAddEventInAnotherThread) |
OAObject |
OAObject.createCopy()
Copies the properties and some of the links from a source object (this) to a new object.
|
protected static OAObject |
OAObjectCSDelegate.createCopy(OAObject oaObj,
String[] excludeProperties)
Create a new copy of an object.
|
static OAObject |
OAObjectReflectDelegate.createCopy(OAObject oaObj,
String[] excludeProperties)
Create a copy of an object, excluding selected properties.
|
static OAObject |
OAObjectReflectDelegate.createCopy(OAObject oaObj,
String[] excludeProperties,
OACopyCallback copyCallback) |
protected OAObject |
OACopyCallback.createCopy(OAObject oaObj,
String path,
Hub hub,
OAObject currentValue)
Called when adding owned objects to new hub.
|
static OAObject |
OAObjectCacheDelegate.get(Class clazz,
int id)
Used to retrieve any object based on its Object Id property value.
|
static OAObject |
OAObjectCacheDelegate.get(Class clazz,
Object key)
Returns object with objectId of key.
|
static OAObject |
OAObjectEditQueryDelegate.getCopy(OAObject oaObj) |
OAObject |
OALogRecord.getObject() |
static OAObject |
OAObjectCacheDelegate.getObject(Class clazz,
Object key)
Used to retrieve any object based on its Object Id property value.
|
static OAObject |
OAObjectDSDelegate.getObject(Class clazz,
Object key)
Find the OAObject given a key value.
|
static OAObject |
OAObjectReflectDelegate.getObject(Class clazz,
Object key)
DataSource independent method to retrieve an object.
|
static OAObject |
OAObjectReflectDelegate.getObject(Class clazz,
Object key,
OAObjectInfo oi) |
static OAObject |
OAObjectCacheDelegate.getRandom(Class<? extends OAObject> clazz,
int max) |
protected static OAObject |
OAObjectCSDelegate.getServerObject(Class clazz,
OAObjectKey key) |
static OAObject |
OAObjectUniqueDelegate.getUnique(Class<? extends OAObject> clazz,
String propertyName,
Object uniqueKey,
boolean bAutoCreate)
Find and/or create unique OAObject.
|
static OAObject |
OAObject.getUniqueInstance(Class<? extends OAObject> clazz,
String propertyName,
Object uniqueKey,
boolean bAutoCreate) |
Modifier and Type | Method and Description |
---|---|
static void |
OAObjectReflectDelegate._copyInto(OAObject oaObj,
OAObject newObject,
String[] excludeProperties,
OACopyCallback copyCallback,
HashMap<Integer,Object> hmNew) |
static OAObject |
OAObjectReflectDelegate._createCopy(OAObject oaObj,
String[] excludeProperties,
OACopyCallback copyCallback,
HashMap<Integer,Object> hmNew) |
protected static void |
OAObjectEditQueryDelegate._processEditQuery(boolean bFollowLink,
OAObjectEditQuery editQuery,
Hub hubThis,
Class<? extends OAObject> clazz,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue,
boolean bProcessedCheck)
This will process an Edit Query, calling editQuery methods on OAObject, properties, links, methods (depending on type of edit query)
used by:
OAJfcController to see if an UI component should be enabled
OAObjetEventDelegate.fireBeforePropertyChange
Hub add/remove/removeAll
|
protected static void |
OAObjectEditQueryDelegate._processEditQueryForHubListeners(OAObjectEditQuery editQuery,
Hub hub,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue) |
protected static void |
OAObjectSerializeDelegate._readObject(OAObject oaObj,
ObjectInputStream in) |
protected static Object |
OAObjectSerializeDelegate._readResolve(OAObject oaObjRead) |
protected static void |
OAObjectEditQueryDelegate._recursiveProcess(OAObjectEditQuery editQuery,
OAObject oaObj,
String propertyName,
OALinkInfo li) |
static void |
OAObjectSaveDelegate._saveObjectOnly(OAObject oaObj,
OACascade cascade)
Called by HubSaveDelegate.saveAll() to save all New Many2Many added objects.
|
protected static void |
OAObjectSerializeDelegate._writeObject(OAObject oaObj,
ObjectOutputStream stream) |
protected static void |
OAObjectSerializeDelegate._writeProperties(OAObject oaObj,
ObjectOutputStream stream,
OAObjectSerializer serializer,
boolean bNewObjectCache) |
static OAObject |
OAObjectCacheDelegate.add(OAObject obj)
Used by OAObject to cache new objects.
|
static OAObject |
OAObjectCacheDelegate.add(OAObject obj,
boolean bErrorIfExists,
boolean bAddToSelectAll) |
static OAObject |
OAObjectCacheDelegate.add(OAObject obj,
boolean bErrorIfExists,
boolean bAddToSelectAll,
boolean bSendAddEventInAnotherThread) |
static boolean |
OAObjectHubDelegate.addHub(OAObject oaObj,
Hub hub) |
static boolean |
OAObjectHubDelegate.addHub(OAObject oaObj,
Hub hubOrig,
boolean bAlwaysAddIfM2M)
Called by Hub when an OAObject is added to a Hub.
|
protected static void |
OAObjectCSDelegate.addToNewObjectCache(OAObject oaObj)
Objects that are so far only on this computer, and have not been sent to other computers (client or server).
|
static void |
OAObjectCacheDelegate.addToSelectAllHubs(OAObject obj) |
static void |
OAObjectCSDelegate.addToServerSideCache(OAObject oaObj)
If Object is not in a Hub, then it could be gc'd on server, while it still exists on a client(s).
|
static void |
OAObjectCSDelegate.addToServerSideCache(OAObject oaObj,
boolean bSendToServer) |
protected void |
OAObjectSerializerCallback.afterSerialize(OAObject obj)
Callback from OAObjectSerializer, to know when the object has been completed.
|
static boolean |
OAObjectReflectDelegate.areAllReferencesLoaded(OAObject obj,
boolean bIncludeCalc) |
protected static void |
OAObjectDelegate.assignGuid(OAObject obj) |
static void |
OAObjectDSDelegate.assignId(OAObject oaObj)
Initialize a newly created OAObject.
|
static boolean |
OAObjectPropertyDelegate.attemptPropertyLock(OAObject oaObj,
String name) |
protected abstract void |
OAObjectSerializerCallback.beforeSerialize(OAObject obj)
Callback from OAObjectSerializer.
|
protected static void |
OAObjectEditQueryDelegate.callEditQuery(OAObject oaObj,
String propertyName,
OAObjectEditQuery em) |
static boolean |
OAObjectDeleteDelegate.canDelete(OAObject oaObj)
Checks to see if an Object can be deleted.
|
static void |
OAObjectPropertyDelegate.clearProperties(OAObject oaObj) |
void |
OAObject.copyInto(OAObject toObject) |
static void |
OAObjectReflectDelegate.copyInto(OAObject oaObj,
OAObject newObject,
String[] excludeProperties,
OACopyCallback copyCallback)
Copies the properties and some of the links from a source object (this) to a new object.
|
static void |
OAObjectReflectDelegate.copyInto(OAObject oaObj,
OAObject newObject,
String[] excludeProperties,
OACopyCallback copyCallback,
HashMap<Integer,Object> hmNew) |
protected static OAObject |
OAObjectCSDelegate.createCopy(OAObject oaObj,
String[] excludeProperties)
Create a new copy of an object.
|
static OAObject |
OAObjectReflectDelegate.createCopy(OAObject oaObj,
String[] excludeProperties)
Create a copy of an object, excluding selected properties.
|
static OAObject |
OAObjectReflectDelegate.createCopy(OAObject oaObj,
String[] excludeProperties,
OACopyCallback copyCallback) |
protected OAObject |
OACopyCallback.createCopy(OAObject oaObj,
String path,
Hub hub,
OAObject currentValue)
Called when adding owned objects to new hub.
|
protected static boolean |
OAObjectCSDelegate.delete(OAObject obj)
20150815 returns true if this should be deleted on this computer, false if it is done on the server.
|
static void |
OAObjectDeleteDelegate.delete(OAObject oaObj) |
static void |
OAObjectDSDelegate.delete(OAObject obj)
called after all listeners have been called.
|
static void |
OAObjectDeleteDelegate.delete(OAObject oaObj,
OACascade cascade) |
protected static void |
OAObjectDelegate.dontFinalize(OAObject obj)
Used when there is a duplicate object created, so that it will not be finalized
Called by OAObjectCacheDelegate.add(OAObject, ...) when an object already exists.
|
static void |
OAObjectDelegate.finalizeObject(OAObject oaObj)
Removes object from HubController and calls super.finalize().
|
protected static Object[] |
OAObjectDelegate.find(OAObject base,
String propertyPath,
Object findValue,
boolean bFindAll) |
static Hub |
OASiblingHelperDelegate.findBestSiblingHub(OAObject masterObject,
OALinkInfo liToMaster) |
static Hub |
OAObjectReflectDelegate.findCommonHierarchyHub(OAObject obj1,
OAObject obj2,
int maxLevelsToCheck)
Find the common Hub that two objects are descendants of.
|
protected static Hub |
OAObjectReflectDelegate.findCommonHierarchyHub(OAObject obj1,
OAObject obj2,
int currentLevel,
int maxLevelsToCheck) |
protected boolean |
OAHierFinder.findFirstValue(OAObject obj,
OAFilter filter,
int pos) |
protected boolean |
OAHierFinder.findFirstValue(OAObject obj,
OAFilter filter,
int pos,
boolean bRecursiveCheckOnly) |
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 |
OAObjectEventDelegate.fireAfterLoadEvent(OAObject oaObj) |
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 void |
OAObjectCSDelegate.fireBeforePropertyChange(OAObject obj,
String propertyName,
Object oldValue,
Object newValue) |
protected static void |
OAObjectEventDelegate.fireBeforePropertyChange(OAObject oaObj,
String propertyName,
Object oldObj,
Object newObj,
boolean bLocalOnly,
boolean bSetChanged)
Used to manage property changes.
|
protected static void |
OAObjectEventDelegate.firePropertyChange(OAObject oaObj,
String propertyName,
Object oldObj,
Object newObj,
boolean bLocalOnly,
boolean bSetChanged)
Used to manage property changes.
|
protected static void |
OAObjectEventDelegate.firePropertyChange(OAObject oaObj,
String propertyName,
Object oldObj,
Object newObj,
boolean bLocalOnly,
boolean bSetChanged,
boolean bUnknownValues) |
static Object |
OAObjectCacheDelegate.get(OAObject obj)
Used to retrieve any object.
|
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAfterCopyEditQuery(OAObject oaObj,
OAObject oaObjCopy) |
static boolean |
OAObjectEditQueryDelegate.getAllowCopy(OAObject oaObj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowCopyEditQuery(OAObject oaObj) |
static boolean |
OAObjectEditQueryDelegate.getAllowDelete(Hub hub,
OAObject obj,
boolean bProcessedCheck) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowDeleteEditQuery(Hub hub,
OAObject oaObj,
boolean bProcessedCheck) |
static boolean |
OAObjectEditQueryDelegate.getAllowEnabled(Hub hub,
OAObject obj,
String name) |
static boolean |
OAObjectEditQueryDelegate.getAllowEnabled(Hub hub,
OAObject obj,
String name,
boolean bProcessedCheck) |
static boolean |
OAObjectEditQueryDelegate.getAllowEnabled(OAObject obj,
String name) |
static boolean |
OAObjectEditQueryDelegate.getAllowEnabled(OAObject obj,
String name,
boolean bProcessedCheck) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowEnabledEditQuery(Hub hubThis,
OAObject oaObj,
String name,
boolean bProcessedCheck) |
static boolean |
OAObjectEditQueryDelegate.getAllowSave(OAObject obj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowSaveEditQuery(OAObject oaObj) |
static boolean |
OAObjectEditQueryDelegate.getAllowVisible(OAObject obj,
String name) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowVisibleEditQuery(Hub hubThis,
OAObject oaObj,
String name) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowVisibleEditQuery(OAObject oaObj,
String name) |
static boolean |
OAObjectDSDelegate.getAssignIdOnCreate(OAObject oaObj) |
static boolean |
OAObjectDelegate.getAutoAdd(OAObject oaObj) |
protected static Object |
OAObjectDSDelegate.getBlob(OAObject obj,
String propName) |
static boolean |
OAObjectDelegate.getChanged(OAObject oaObj,
int changedRule)
Returns true if this object is new or any changes have been made to this object or
any objects in Links that are TYPE=MANY and CASCADE=true that match the relationshipType parameter.
|
static boolean |
OAObjectDelegate.getChanged(OAObject oaObj,
int iCascadeRule,
OACascade cascade) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmAddEditQuery(Hub hub,
OAObject oaObj,
String confirmMessage,
String confirmTitle) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmCommandEditQuery(OAObject oaObj,
String methodName,
String confirmMessage,
String confirmTitle) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmDeleteEditQuery(OAObject oaObj,
String confirmMessage,
String confirmTitle) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmPropertyChangeEditQuery(OAObject oaObj,
String property,
Object newValue,
String confirmMessage,
String confirmTitle) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmRemoveEditQuery(Hub hub,
OAObject oaObj,
String confirmMessage,
String confirmTitle) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmSaveEditQuery(OAObject oaObj,
String confirmMessage,
String confirmTitle) |
static OAObject |
OAObjectEditQueryDelegate.getCopy(OAObject oaObj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getCopyEditQuery(OAObject oaObj) |
static String |
OAObjectEditQueryDelegate.getFormat(OAObject obj,
String propertyName,
String defaultFormat) |
static int |
OAObjectDelegate.getGuid(OAObject obj) |
static int |
OAObjectKeyDelegate.getGuid(OAObject oaObj) |
static int |
OAObjectReflectDelegate.getHierarchyLevelsToHub(Hub findHub,
OAObject fromObj,
int maxLevelsToCheck) |
protected static int |
OAObjectReflectDelegate.getHierarchyLevelsToHub(Hub findHub,
OAObject fromObj,
int currentLevel,
int maxLevelsToCheck) |
static Hub |
OAObjectHubDelegate.getHub(OAObject oaObj,
OALinkInfo li) |
static int |
OAObjectHubDelegate.getHubReferenceCount(OAObject oaObj)
removed 20180613
// note: need to use HubDataDelegate.contains(..) instead, since a certain type of hub wont be stored in obj.weakrefs
public static boolean isInHub(OAObject oaObj, Hub hub) {
if (oaObj == null || hub == null) return false;
WeakReference
|
static Hub[] |
OAObjectHubDelegate.getHubReferences(OAObject oaObj)
Return all Hubs that this object is a member of.
|
static WeakReference<Hub<?>>[] |
OAObjectHubDelegate.getHubReferencesNoCopy(OAObject oaObj) |
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".
|
static OALinkInfo |
OAObjectInfoDelegate.getLinkInfo(OAObjectInfo oi,
OAObject fromObject,
Hub hub)
Find the linkInfo for a refererenc.
|
static OALinkInfo[] |
OAObjectDeleteDelegate.getMustBeEmptyBeforeDelete(OAObject oaObj) |
static byte[] |
OAObjectInfoDelegate.getNullBitMask(OAObject oaObj) |
static OAObjectInfo |
OAObjectInfoDelegate.getOAObjectInfo(OAObject obj)
Return the OAObjectInfo for this object Class.
|
static Object |
OAObjectDSDelegate.getObject(OAObject oaObj) |
static OAObjectInfo |
OAObjectInfoDelegate.getObjectInfo(OAObject obj) |
static OALinkInfo[] |
OAObjectInfoDelegate.getOwndedLinkInfos(OAObject obj) |
static boolean |
OAObjectReflectDelegate.getPrimitiveNull(OAObject oaObj,
String propertyName) |
static Object |
OAObjectReflectDelegate.getProperty(Hub hubLast,
OAObject oaObj,
String propPath) |
static Object |
OAObjectPropertyDelegate.getProperty(OAObject oaObj,
String name) |
static Object |
OAObjectReflectDelegate.getProperty(OAObject oaObj,
String propPath) |
static Object |
OAObjectPropertyDelegate.getProperty(OAObject oaObj,
String name,
boolean bReturnNotExist,
boolean bConvertWeakRef) |
static Object[] |
OAObjectInfoDelegate.getPropertyIdValues(OAObject oaObj) |
static String[] |
OAObjectPropertyDelegate.getPropertyNames(OAObject oaObj) |
static OAObjectKey |
OAObjectReflectDelegate.getPropertyObjectKey(OAObject oaObj,
String property)
Used to retrieve a reference key without actually loading the object.
|
String |
OASiblingHelper.getPropertyPath(OAObject obj,
String prop)
Called by getSilbing to find root hub and pp.
|
String |
OASiblingHelper.getPropertyPath(OAObject obj,
String prop,
boolean bFromLastNode) |
static String |
OAObjectReflectDelegate.getPropertyPathFromMaster(OAObject objParent,
Hub hubChild) |
protected Object |
OACopyCallback.getPropertyValue(OAObject oaObj,
String path,
Object currentValue)
Called when copying a property or LinkType=One
Default is to return currentValue.
|
static Object |
OAObjectReflectDelegate.getRawReference(OAObject oaObj,
String name)
This method is used to get the value of a relationship.
|
static byte[] |
OAObjectReflectDelegate.getReferenceBlob(OAObject oaObj,
String propertyName) |
static Hub |
OAObjectReflectDelegate.getReferenceHub(OAObject oaObj,
String linkPropertyName,
String sortOrder,
boolean bSequence,
Hub hubMatch)
DataSource independent method to retrieve a reference property that is a Hub Collection.
|
static Object |
OAObjectReflectDelegate.getReferenceObject(OAObject oaObj,
String linkPropertyName)
DataSource independent method to retrieve a reference property.
|
protected static int |
OAObjectCSDelegate.getServerGuid(OAObject obj) |
protected static Object |
OAObjectCSDelegate.getServerReference(OAObject oaObj,
String linkPropertyName) |
protected static byte[] |
OAObjectCSDelegate.getServerReferenceBlob(OAObject oaObj,
String linkPropertyName) |
static Hub |
OAObjectCSDelegate.getServerReferenceHub(OAObject oaObj,
String linkPropertyName) |
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) |
static String |
OAObjectEditQueryDelegate.getToolTip(OAObject obj,
String propertyName,
String defaultToolTip) |
static String[] |
OAObjectReflectDelegate.getUnloadedReferences(OAObject obj,
boolean bIncludeCalc) |
static String[] |
OAObjectReflectDelegate.getUnloadedReferences(OAObject obj,
boolean bIncludeCalc,
String exceptPropertyName) |
static String[] |
OAObjectReflectDelegate.getUnloadedReferences(OAObject obj,
boolean bIncludeCalc,
String exceptPropertyName,
boolean bIncludeLarge) |
static boolean |
OAObjectEditQueryDelegate.getVerifyAdd(Hub hub,
OAObject obj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyAddEditQuery(Hub hub,
OAObject oaObj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyCommandEditQuery(OAObject oaObj,
String methodName) |
static boolean |
OAObjectEditQueryDelegate.getVerifyDelete(OAObject obj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyDeleteEditQuery(OAObject oaObj) |
static boolean |
OAObjectEditQueryDelegate.getVerifyPropertyChange(OAObject obj,
String propertyName,
Object oldValue,
Object newValue) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyPropertyChangeEditQuery(OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue) |
static boolean |
OAObjectEditQueryDelegate.getVerifyRemove(Hub hub,
OAObject obj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyRemoveEditQuery(Hub hub,
OAObject oaObj) |
static boolean |
OAObjectEditQueryDelegate.getVerifySave(OAObject obj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifySaveEditQuery(OAObject oaObj) |
protected static boolean |
OAObjectDSDelegate.hasDataSource(OAObject oaObj) |
static boolean |
OAObjectReflectDelegate.hasReference(OAObject oaObj) |
static boolean |
OAObjectReflectDelegate.hasReferenceObjectBeenLoaded(OAObject oaObj,
String propertyName)
Checks to see if the actual value for a property has been loaded.
|
static boolean |
OAThreadLocalDelegate.hasSentCalcPropertyChange(Hub thisHub,
OAObject thisObj,
String propertyName) |
protected static void |
OAObjectCSDelegate.initialize(OAObject oaObj)
Called by OAObjectDelegate.initialize().
|
protected static void |
OAObjectDelegate.initialize(OAObject oaObj)
Called by OAObject constructor to assign guid and initialize new OAObject.
|
static void |
OAObjectEmptyHubDelegate.initialize(OAObject obj)
Called by OAObject.afterLoad() to initialize any Hubs that are empty, so that
they will not need to go to the database.
|
protected static void |
OAObjectDelegate.initialize(OAObject oaObj,
OAObjectInfo oi,
boolean bInitializeNulls,
boolean bInitializeWithDS,
boolean bAddToCache,
boolean bInitializeWithCS,
boolean bSetChangedToFalse) |
static boolean |
OAObjectHubDelegate.isAlreadyInHub(OAObject oaObj,
Hub hubFind)
Used by Hub.add() before adding, quicker then checking array
|
static boolean |
OAObjectHubDelegate.isAlreadyInHub(OAObject oaObj,
OALinkInfo li)
Used by Hub to read serialized objects.
|
static boolean |
OAObjectDSDelegate.isAssigningId(OAObject obj) |
static boolean |
OAObjectHubDelegate.isInHub(OAObject oaObj) |
static boolean |
OAObjectHubDelegate.isInHubWithMaster(OAObject oaObj) |
static boolean |
OAObjectHubDelegate.isInHubWithMaster(OAObject oaObj,
Hub hubToIgnore) |
static boolean |
OAObjectCSDelegate.isInNewObjectCache(OAObject oaObj) |
static boolean |
OAObjectCSDelegate.isInServerSideCache(OAObject oaObj) |
static boolean |
OAObjectLockDelegate.isLocked(OAObject object)
Used to check to see if an object is locked.
|
static boolean |
OAObjectInfoDelegate.isPrimitiveNull(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectPropertyDelegate.isPropertyLoaded(OAObject oaObj,
String name) |
static boolean |
OAObjectPropertyDelegate.isPropertyLocked(OAObject oaObj,
String name) |
static boolean |
OAObjectReflectDelegate.isReferenceHubLoaded(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectReflectDelegate.isReferenceHubLoadedAndEmpty(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectReflectDelegate.isReferenceHubLoadedAndNotEmpty(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectPropertyDelegate.isReferenceNull(OAObject oaObj,
String name)
check to see if property does or will exist (if it is oaObjKey).
|
static boolean |
OAObjectReflectDelegate.isReferenceNullOrNotLoaded(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectReflectDelegate.isReferenceNullOrNotLoadedOrEmptyHub(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectReflectDelegate.isReferenceObjectLoadedAndNotEmpty(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectReflectDelegate.isReferenceObjectNullOrEmpty(OAObject oaObj,
String propertyName) |
static boolean |
OAObjectCSDelegate.isServer(OAObject obj)
Used to determine if this JDK is running as an OAServer or OAClient.
|
static boolean |
OAObjectInfoDelegate.isWeakReferenceable(OAObject oaObj)
Returns true if any of the parent links has type=Many and cacheSize & 0,
which means that this object can be GCd.
|
static boolean |
OAObjectCSDelegate.isWorkstation(OAObject obj)
Used to determine if this JDK is running as an OAServer or OAClient.
|
static void |
OAObjectReflectDelegate.loadAllReferences(OAObject obj)
Used to load all references to an object.
|
static void |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
boolean bIncludeCalc) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
boolean bOne,
boolean bMany,
boolean bIncludeCalc) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
int maxRefsToLoad,
long maxEndTime) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACascade cascade) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACascade cascade,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int levelsLoaded,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback,
OACascade cascade) |
static int |
OAObjectReflectDelegate.loadAllReferences(OAObject obj,
int levelsLoaded,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback,
OACascade cascade,
int maxRefsToLoad) |
static void |
OAObjectReflectDelegate.loadProperties(OAObject oaObj,
String... propertyPaths)
Used to preload data, this will recursively load all references in the given Property Paths.
|
static void |
OAObjectReflectDelegate.loadReferences(OAObject obj,
boolean bIncludeCalc,
int max) |
static void |
OAObjectLockDelegate.lock(OAObject object)
Used to set a lock on an Object.
|
protected static void |
OAObjectLogDelegate.logToXmlFile(OAObject oaObj,
boolean bSave)
creates a XML log file for all save/deletes done on OAObjects.
|
protected static void |
OAObjectCSDelegate.objectRemovedFromCache(OAObject obj,
int guid)
called when an object has been removed from a client.
|
void |
OAObjectInfo.onChange(OAObject fromObject,
String prop,
HubEvent hubEvent)
called by OAObject.propChange, Hub.add/remove/removeAll/insert, and OAObjectCacheDelegate when a change is made.
|
void |
OASaveDeleteListener.onDelete(OAObject obj) |
static void |
OASiblingHelperDelegate.onGetObjectReference(OAObject obj,
String linkPropertyName)
used by OAObject.getReference so taht siblingHelpers can update their pp
|
void |
OASiblingHelper.onGetReference(OAObject obj,
String prop)
Called by oaobj.getObject/Hub so that this helper can build internal pp/Nodes for getting sibling data.
|
void |
OASaveDeleteListener.onInsert(OAObject obj) |
protected static boolean |
OAObjectSaveDelegate.onSave(OAObject oaObj) |
void |
OATriggerMethodListener.onTrigger(OAObject objRoot,
HubEvent hubEvent,
String propertyPathFromRoot)
called by OAObjectInfo.onChange(..)
|
void |
OASaveDeleteListener.onUpdate(OAObject obj) |
protected static void |
OAObjectEditQueryDelegate.processEditQuery(OAObjectEditQuery editQuery,
Hub hubThis,
Class<? extends OAObject> clazz,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue,
boolean bProcessedCheck) |
protected static void |
OAObjectEditQueryDelegate.processEditQuery(OAObjectEditQuery editQuery,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue) |
protected static void |
OAObjectEditQueryDelegate.processEditQueryForHubListeners(OAObjectEditQuery editQuery,
Hub hub,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue) |
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.
|
static void |
OAObjectDelegate.recurse(OAObject oaObj,
OACallback callback)
Used to recursively get all reference objects below this one.
|
static void |
OAObjectDelegate.recurse(OAObject oaObj,
OACallback callback,
OACascade cascade)
see #recurse(OACallback)
|
protected static void |
OAObjectEditQueryDelegate.recursiveProcess(OAObjectEditQuery editQuery,
OAObject oaObj,
String propertyName) |
static void |
OAObjectDSDelegate.refreshObject(OAObject obj) |
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.
|
static void |
OAObjectPropertyDelegate.releasePropertyLock(OAObject oaObj,
String name) |
protected static boolean |
OAObjectCSDelegate.removeFromNewObjectCache(OAObject oaObj) |
static void |
OAObjectCSDelegate.removeFromServerSideCache(OAObject oaObj)
If Object is not in a Hub, then it could be gc'd on server, while it still exists on a client(s).
|
static void |
OAObjectHubDelegate.removeHub(OAObject oaObj,
Hub hub,
boolean bIsOnHubFinalize)
Called by Hub when an OAObject is removed from a Hub.
|
static void |
OAObjectCacheDelegate.removeObject(OAObject obj)
Used by OAObject.finalize to remove object from HubContoller cache.
|
protected static void |
OAObjectReflectDelegate.removePrimitiveNull(OAObject oaObj,
String propertyName) |
static void |
OAObjectPropertyDelegate.removeProperty(OAObject oaObj,
String name,
boolean bFirePropertyChange) |
static boolean |
OAObjectPropertyDelegate.removePropertyIfNull(OAObject oaObj,
String name,
boolean bFirePropertyChange) |
static void |
OAObjectDSDelegate.removeReference(OAObject oaObj,
OALinkInfo li) |
static void |
OAObjectEditQueryDelegate.renderLabel(OAObject obj,
String propertyName,
JLabel label) |
protected static void |
OAObjectDSDelegate.save(OAObject oaObj) |
static void |
OAObjectDSDelegate.save(OAObject obj,
boolean bInsert) |
protected static boolean |
OAObjectCSDelegate.save(OAObject oaObj,
int iCascadeRule) |
protected static void |
OAObjectSaveDelegate.save(OAObject oaObj,
int iCascadeRule) |
static void |
OAObjectSaveDelegate.save(OAObject oaObj,
int iCascadeRule,
OACascade cascade) |
protected static void |
OAObjectDSDelegate.saveWithoutReferences(OAObject oaObj) |
protected static void |
OAObjectEventDelegate.sendHubBeforePropertyChange(OAObject oaObj,
String propertyName,
Object oldObj,
Object newObj) |
static void |
OAObjectEventDelegate.sendHubPropertyChange(OAObject oaObj,
String propertyName,
Object oldObj,
Object newObj,
OALinkInfo linkInfo) |
static void |
OAObjectDelegate.setAsNewObject(OAObject oaObj) |
static void |
OAObjectDelegate.setAsNewObject(OAObject oaObj,
int guid) |
static void |
OAObjectDSDelegate.setAssigningId(OAObject obj,
boolean b)
Flag to know that the DS is assigning the Id, and that the value does not
need to be verified by the propertyChange event
|
static void |
OAObjectDelegate.setAutoAdd(OAObject oaObj,
boolean bEnabled)
Used to determine if an object should be added to a reference/master hub when one
of it's OAObject properties is set.
|
static void |
OAObjectDeleteDelegate.setDeleted(OAObject oaObj,
boolean tf)
Used to know if an object has been deleted, by calling OAObject.delete().
|
protected static void |
OAObjectKeyDelegate.setKey(OAObject oaObj,
OAObjectKey key) |
static void |
OAObjectHubDelegate.setMasterObject(Hub hub,
OAObject oaObj,
OALinkInfo liDetailToMaster) |
static void |
OAObjectHubDelegate.setMasterObject(Hub hub,
OAObject oaObj,
String nameFromMasterToDetail) |
static void |
OAObjectDelegate.setNew(OAObject oaObj,
boolean b)
Flag to know if object is new and has not been saved.
|
void |
OALogRecord.setObject(OAObject newObject) |
protected static void |
OAObjectReflectDelegate.setPrimitiveNull(OAObject oaObj,
String propertyName) |
static void |
OAObjectInfoDelegate.setPrimitiveNull(OAObject oaObj,
String propertyName,
boolean bSetToNull) |
static void |
OAObjectPropertyDelegate.setProperty(OAObject oaObj,
String name,
Object value) |
static void |
OAObjectReflectDelegate.setProperty(OAObject oaObj,
String propName,
Object value,
String fmt) |
static Object |
OAObjectPropertyDelegate.setPropertyCAS(OAObject oaObj,
String name,
Object newValue,
Object matchValue) |
static Object |
OAObjectPropertyDelegate.setPropertyCAS(OAObject oaObj,
String name,
Object newValue,
Object matchValue,
boolean bMustNotExist,
boolean bReturnNotExist)
Compare and swap a property.
|
static void |
OAObjectPropertyDelegate.setPropertyHubIfNotSet(OAObject oaObj,
String name,
Object value) |
static boolean |
OAObjectPropertyDelegate.setPropertyLock(OAObject oaObj,
String name) |
static boolean |
OAObjectPropertyDelegate.setPropertyWeakRef(OAObject oaObj,
String name,
boolean bToWeakRef,
Object value) |
static void |
OAObjectPropertyDelegate.setReferenceable(OAObject obj,
boolean bReferenceable)
Used on server, this will make sure that a Hub does not get GCd on the Server.
|
protected boolean |
OACopyCallback.shouldCopyOwnedHub(OAObject oaObj,
String path,
boolean bDefault)
Called when checking to copy owned objects.
|
protected boolean |
OAObjectSerializer.shouldSerializeReference(OAObject oaObj,
String propertyName,
Object obj)
Called by OAObjectSerializeDelegate._writeObject() to determine if an object reference property
should be included for serialization.
|
boolean |
OAObjectSerializerCallback.shouldSerializeReference(OAObject oaObj,
String propertyName,
Object obj,
boolean bDefault) |
protected boolean |
OAObjectSerializer.shouldSerializeReference(OAObject oaObj,
String propertyName,
Object obj,
OALinkInfo linkInfo) |
static void |
OAObjectReflectDelegate.storeLinkValue(OAObject oaObj,
String propertyName,
Object value)
used for "quick" storing/loading objects
|
static void |
OAObjectLockDelegate.unlock(OAObject object)
Removes lock from table.
|
static void |
OAObjectPropertyDelegate.unsafeSetProperty(OAObject oaObj,
String name,
Object value) |
protected static boolean |
OAObjectKeyDelegate.updateKey(OAObject oaObj,
boolean bVerify)
Used to update Hubs and HubController when an objects unique values (property Id) are changed.
|
static void |
OAObjectEditQueryDelegate.updateLabel(OAObject obj,
String propertyName,
JLabel label) |
static String |
OAObjectKeyDelegate.verifyKeyChange(OAObject oaObj) |
boolean |
OACascade.wasCascaded(OAObject oaObj,
boolean bAdd) |
static void |
OAObjectJsonDelegate.write(OAObject oaObj,
OAJsonWriter ow,
boolean bKeyOnly,
OACascade cascade)
Called by OAJsonWriter to save object as JSON.
|
static void |
OAObjectXMLDelegate.write(OAObject oaObj,
OAXMLWriter ow,
String tagName,
boolean bKeyOnly,
OACascade cascade)
Called by OAXMLWriter to save object as xml.
|
static void |
OAObjectXMLDelegate.write(OAObject oaObj,
OAXMLWriter ow,
String tagName,
boolean bKeyOnly,
OACascade cascade,
boolean bWriteClassName) |
Modifier and Type | Method and Description |
---|---|
protected static void |
OAObjectEditQueryDelegate._processEditQuery(boolean bFollowLink,
OAObjectEditQuery editQuery,
Hub hubThis,
Class<? extends OAObject> clazz,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue,
boolean bProcessedCheck)
This will process an Edit Query, calling editQuery methods on OAObject, properties, links, methods (depending on type of edit query)
used by:
OAJfcController to see if an UI component should be enabled
OAObjetEventDelegate.fireBeforePropertyChange
Hub add/remove/removeAll
|
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) |
static boolean |
OAObjectEditQueryDelegate.getAllowVisible(Class<? extends OAObject> clazz,
String name) |
static OAObject |
OAObjectCacheDelegate.getRandom(Class<? extends OAObject> clazz,
int max) |
static OAObject |
OAObjectUniqueDelegate.getUnique(Class<? extends OAObject> clazz,
String propertyName,
Object uniqueKey,
boolean bAutoCreate)
Find and/or create unique OAObject.
|
static OAObject |
OAObject.getUniqueInstance(Class<? extends OAObject> clazz,
String propertyName,
Object uniqueKey,
boolean bAutoCreate) |
protected static void |
OAObjectEditQueryDelegate.processEditQuery(OAObjectEditQuery editQuery,
Class<? extends OAObject> clazz,
String propertyName,
Object oldValue,
Object newValue) |
protected static void |
OAObjectEditQueryDelegate.processEditQuery(OAObjectEditQuery editQuery,
Hub hubThis,
Class<? extends OAObject> clazz,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue,
boolean bProcessedCheck) |
Constructor and Description |
---|
OAEditException(OAObject obj,
String property,
boolean newValue) |
OAEditException(OAObject obj,
String property,
double newValue) |
OAEditException(OAObject obj,
String property,
long newValue) |
OAEditException(OAObject obj,
String property,
Object newValue) |
OAObjectKey(OAObject obj) |
OAObjectKey(OAObject parent,
Object value)
create a key for an object that has a parent.
|
Modifier and Type | Method and Description |
---|---|
OAObject |
OASyncCombinedClient.resolveObject(OAObject objClient)
Called from OAObjectSerialization.resolveObject, to get the correct object that is used on the
combined server.
|
Modifier and Type | Method and Description |
---|---|
Object |
OASyncClient.getDetail(OAObject masterObject,
String propertyName)
This is sent to the server using ClientGetDetail, by using a customized objectSerializer
|
static RemoteClientInterface |
OASyncDelegate.getRemoteClient(OAObject obj) |
static RemoteServerInterface |
OASyncDelegate.getRemoteServer(OAObject obj) |
static RemoteSessionInterface |
OASyncDelegate.getRemoteSession(OAObject obj) |
static RemoteSyncInterface |
OASyncDelegate.getRemoteSync(OAObject obj) |
static OASyncClient |
OASyncDelegate.getSyncClient(OAObject obj) |
static OASyncServer |
OASyncDelegate.getSyncServer(OAObject obj) |
static boolean |
OASyncDelegate.isClient(OAObject obj) |
static boolean |
OASyncDelegate.isConnected(OAObject obj) |
static boolean |
OASyncDelegate.isServer(OAObject obj) |
protected void |
OASyncServer.loadDataInBackground(OAObject obj,
String property)
called when props or sibling data cant be loaded for client getDetail request, because of timeout.
|
OAObject |
OASyncCombinedClient.resolveObject(OAObject objClient)
Called from OAObjectSerialization.resolveObject, to get the correct object that is used on the
combined server.
|
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<OAObject,OAObject> |
RemoteSessionImpl.hashLock |
protected ConcurrentHashMap<OAObject,OAObject> |
RemoteSessionImpl.hashLock |
protected ConcurrentHashMap<Integer,OAObject> |
RemoteSessionImpl.hashServerCache |
Modifier and Type | Method and Description |
---|---|
OAObject |
RemoteClientImpl.createCopy(Class objectClass,
OAObjectKey objectKey,
String[] excludeProperties) |
OAObject |
RemoteClientInterface.createCopy(Class objectClass,
OAObjectKey objectKey,
String[] excludeProperties) |
OAObject |
RemoteSessionImpl.createNewObject(Class clazz) |
OAObject |
RemoteSessionInterface.createNewObject(Class clazz)
create a new object on the server,
and call addToCache
|
OAObject |
RemoteServerImpl.getObject(Class objectClass,
OAObjectKey objectKey) |
OAObject |
RemoteServerInterface.getObject(Class objectClass,
OAObjectKey objectKey) |
OAObject |
RemoteServerInterface.getUnique(Class<? extends OAObject> clazz,
String propertyName,
Object uniqueKey,
boolean bAutoCreate)
Used by OAObjectUniqueDelegate.getUnique to find a unique oaobject
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteSessionImpl.addToServerCache(OAObject obj) |
void |
RemoteSessionInterface.addToServerCache(OAObject obj)
Used to make sure that object is stored in the server side
|
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
|
protected void |
ClientGetDetail.loadDataInBackground(OAObject obj,
String property)
called when a property or sibling data cant be loaded for current request, because of timeout.
|
protected void |
RemoteClientImpl.loadDataInBackground(OAObject obj,
String property)
called when a other props or sibling data cant be loaded for current request, because of timeout.
|
abstract void |
RemoteClientImpl.setCached(OAObject obj)
Called to add objects to a client's server side cache, so that server with not GC the object.
|
abstract void |
RemoteDataSource.setCached(OAObject obj) |
void |
RemoteSessionImpl.setLock(OAObject obj,
boolean bLock) |
Modifier and Type | Method and Description |
---|---|
OAObject |
RemoteServerInterface.getUnique(Class<? extends OAObject> clazz,
String propertyName,
Object uniqueKey,
boolean bAutoCreate)
Used by OAObjectUniqueDelegate.getUnique to find a unique oaobject
|
Modifier and Type | Class and Description |
---|---|
class |
OADownloadCsv<F extends OAObject>
Create csv data from a Hub and properies.
|
class |
OATemplate<F extends OAObject>
Dynamically converts html text with custom property and processing tags into pure html text, by
using a supplied OAObject or Hub to plug into the text.
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,OAObject> |
OAXMLReader.hashGuid |
protected HashMap<Class,HashMap<OAObjectKey,OAObject>> |
OAXMLReader1.hmMatch |
Modifier and Type | Method and Description |
---|---|
protected OAObject |
OAXMLReader._processChildren(HashMap<String,Object> hm,
Class<? extends OAObject> toClass,
boolean bIsPreloading,
int level) |
OAObject |
OAXMLReader.createNewObject(Class c)
Method that can be overwritten by subclass to create a new Object for a specific Class.
|
OAObject |
OAXMLReader1.createNewObject(Class c)
Method that can be overwritten by subclass to create a new Object for a specific Class.
|
protected OAObject |
OAXMLReader.getObject(Class toClass,
HashMap<String,Object> hm)
Called before creating and loading a new object.
|
protected OAObject |
OAXMLReader.getRealObject(OAObject object) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
OATemplate._generate(com.viaoa.util.OATemplate.TreeNode rootNode,
OAObject obj,
Hub hub,
StringBuilder sb,
OAProperties props,
int cntStop) |
void |
OAXMLWriter.addWillBeWriting(OAObject obj) |
protected void |
OAXMLReader.afterLoadObject(OAObject obj,
HashMap<String,Object> hm) |
protected void |
OAXMLReader.beforeLoadObject(OAObject obj,
HashMap<String,Object> hm) |
protected void |
OAJsonReader.endObject(OAObject obj,
boolean hasParent) |
protected void |
OAXMLReader.endObject(OAObject obj,
boolean hasParent)
Method that can be overwritten by subclass when an object is completed.
|
void |
OAXMLReader1.endObject(OAObject obj,
boolean hasParent)
Method that can be overwritten by subclass when an object is completed.
|
protected void |
OAYamlReader.endObject(OAObject obj,
boolean hasParent) |
protected boolean |
OATemplate.generate(com.viaoa.util.OATemplate.TreeNode rootNode,
OAObject obj,
Hub hub,
StringBuilder sb,
OAProperties props,
int cntStop)
Returns false if it did not complete (stopProcessing was called)
|
protected Object |
OATemplate.getProperty(OAObject oaObj,
String propertyName)
Method that is called to get an object property value.
|
protected String |
OAJsonReader.getPropertyName(OAObject obj,
String propName) |
protected String |
OAXMLReader.getPropertyName(OAObject obj,
String propName) |
protected String |
OAXMLReader1.getPropertyName(OAObject obj,
String propName) |
protected String |
OAYamlReader.getPropertyName(OAObject obj,
String propName) |
protected OAObject |
OAXMLReader.getRealObject(OAObject object) |
protected Object |
OAXMLReader1.getRealObject(OAObject object)
By default, this will check to see if object already exists
in OAObjectCache and return that object.
|
protected String |
OATemplate.getValue(OAObject obj,
String propertyName,
int width,
String fmt,
OAProperties props,
boolean bUseFormat) |
protected Object |
OAJsonReader.getValue(OAObject obj,
String name,
Object value) |
Object |
OAXMLReader.getValue(OAObject obj,
String name,
Object value)
Method that can be used to replace the value of an element/attribute.
|
Object |
OAXMLReader1.getValue(OAObject obj,
String name,
Object value)
Method that can be used to replace the value of an element/attribute.
|
protected Object |
OAYamlReader.getValue(OAObject obj,
String name,
Object value) |
void |
OACacheListenerUtil.onEvent(OAObject obj,
String propertyName,
Object oldValue,
Object newValue,
String stackTrace)
called when the property is changed.
|
protected boolean |
OAXMLReader1.processProperties(OAObject object,
Hashtable hash) |
void |
OAXMLWriter.removeWillBeWriting(OAObject obj) |
boolean |
OAXMLWriter.willBeIncludedLater(OAObject oaObj)
returns true if this object will be included by another parent object.
|
String |
OAJsonWriter.write(OAObject obj)
saves OAObject as JSON
|
void |
OAXMLWriter.write(OAObject obj)
saves OAObject as XML
|
Modifier and Type | Method and Description |
---|---|
protected OAObject |
OAXMLReader._processChildren(HashMap<String,Object> hm,
Class<? extends OAObject> toClass,
boolean bIsPreloading,
int level) |
Constructor and Description |
---|
OAInFilter(OAObject fromObject,
String propPath) |
Copyright © 1999–2019 ViaOA. All rights reserved.