Package | Description |
---|---|
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.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.object |
Observable data model Object, that is the superclass for all OAModel classes.
|
com.viaoa.process |
Used to manage processes.
|
com.viaoa.sync |
Synchronizes objects across servers.
|
com.viaoa.sync.remote | |
com.viaoa.undo |
Undo/Redo support for OA UI development, working directly with UI controls.
|
com.viaoa.util |
Utility Classes used for object graphs and applications.
|
com.viaoa.util.filter |
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.addContextHub(Object context,
Hub<? extends OAObject> hub) |
Modifier and Type | Field and Description |
---|---|
protected Hub<TYPE> |
OASelect.hubSearch |
Modifier and Type | Method and Description |
---|---|
Hub<TYPE> |
OASelect.getSearchHub() |
Modifier and Type | Method and Description |
---|---|
void |
OASelect.setSearchHub(Hub<TYPE> hub) |
Modifier and Type | Method and Description |
---|---|
static Hub<NextNumber> |
OADataSourceAuto.getGlobalNextNumber() |
Hub |
OADataSourceAuto.getHub()
Hub used to store NextNumber2 objects used for assigning new property ids.
|
Modifier and Type | Method and Description |
---|---|
static void |
OADataSourceAuto.setGlobalNextNumber(Hub hubNextNumber) |
void |
OADataSourceAuto.setHub(Hub hubNextNumber)
Hub used to store NextNumber2 objects used for assigning new property ids.
|
Constructor and Description |
---|
OADataSourceAuto(Hub hubNextNumber)
Hub hubNextNumber must include a separate NextNumber2 object for each class
that needs to have a seqId assigned to its objectId property.
|
Modifier and Type | Method and Description |
---|---|
static int |
OAFunction.count(Hub hub,
String pp) |
static double |
OAFunction.max(Hub hub,
String pp) |
static double |
OAFunction.max(Hub hub,
String ppToObject,
String pp) |
static double |
OAFunction.min(Hub hub,
String pp) |
static double |
OAFunction.min(Hub hub,
String ppToObject,
String pp) |
static double |
OAFunction.sum(Hub hub,
String pp) |
static double |
OAFunction.sum(Hub hub,
String ppToObject,
String pp) |
static String |
OAFunction.template(Hub hub,
String template) |
Modifier and Type | Class and Description |
---|---|
class |
DetailHub<TYPE>
A DetailHub is a Hub that automatically contains the object(s) of a property from the active object
of another Hub (master).
|
class |
FilteredHub<T>
A Hub that combines with a HubFilter.
|
class |
LinkedHub<TYPE> |
class |
MergedHub<TYPE>
Creates a Hub using HubMerger
|
class |
ParentHub<TYPE>
A DetailHub to represent the parent hub.
|
class |
SharedHub<TYPE>
Used for sharing the same objects that are in another Hub, with or without using the same active object.
|
Modifier and Type | Field and Description |
---|---|
protected Hub |
HubAutoMatch.hub |
protected Hub |
HubAutoSequence.hub |
Hub<?> |
HubChangeListener.HubProp.hub |
protected Hub |
HubMinusHubFilter.hub |
Hub<?> |
HubPropController.HubProp.hub |
protected Hub<T> |
HubCombined.hubFirst |
protected Hub |
HubAutoMatch.hubMaster |
protected Hub<T> |
HubCombined.hubMaster |
protected Hub<T> |
HubFilter.hubMaster |
protected Hub |
HubMinusHubFilter.hubMaster |
protected Hub<T> |
HubSample.hubMaster |
protected Hub |
HubMinusHubFilter.hubMinus |
protected Hub<T> |
HubSample.hubSample |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Hub<T>> |
HubCombined.alHub |
protected static HashSet<Hub> |
HubAODelegate.hsWarnOnSettingAO |
protected WeakReference<Hub<T>> |
HubFilter.weakHub |
Modifier and Type | Method and Description |
---|---|
static Hub |
HubTemp.createHub(Object hubObject) |
Hub<TYPE> |
Hub.createShared() |
Hub<TYPE> |
Hub.createSharedHub()
Navigational method used to create a shared version of another Hub, so
that this Hub will use the same objects as the shared hub.
|
Hub<TYPE> |
Hub.createSharedHub(boolean bShareAO)
Create a shared version of another Hub, so that this Hub will use the
same objects as the shared hub.
|
static Hub |
HubShareDelegate.createSharedHub(Hub thisHub,
boolean bShareActive) |
Hub |
Hub.getAddHub()
Returns the Hub that this Hub's active objects are added to.
|
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub)
List of Hubs that are sharing the same objects as this Hub.
|
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly) |
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly,
OAFilter<Hub> filter) |
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly,
OAFilter<Hub> filter,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO)
Used to get all Hubs that share the same data.
|
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
OAFilter<Hub> filter) |
static Hub |
HubDelegate.getAnyAddHub(Hub hub)
Returns this hub, or one of its shared Hubs, that has
an addHub established.
|
Hub<OAGroupBy<F,G>> |
HubGroupBy.getCombinedHub() |
Hub<OALeftJoin<A,B>> |
HubLeftJoin.getCombinedHub() |
Hub |
HubMerger.getCombinedHub() |
static Hub |
HubDelegate.getControllingHub(Hub thisHub)
created 20110904
Find the hub that controls whether or not this hub is valid.
|
Hub<F> |
HubGroupBy.getDetailHub() |
Hub<A> |
HubGroupByOrig.getDetailHub()
This is the detail from the hubGroupBy, with only the objects
that are under hubGroupBy, and are also in the original Hub hubA
|
Hub |
Hub.getDetailHub(Class clazz)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(Class[] classes)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(Class clazz,
boolean bShareActive)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(Class clazz,
boolean bShareActive,
String selectOrder)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(Class clazz,
String selectOrder)
Used to create Master/Detail relationships.
|
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
Class[] clazz) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
Class clazz,
boolean bShareActive,
String selectOrder) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
boolean bShareActive) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
boolean bShareActive,
String selectOrder) |
protected static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
Class[] classes,
Class lastClass,
Hub detailHub,
boolean bShareActive,
String selectOrder)
Main method for setting Master/Detail relationship.
|
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
Class objectClass,
boolean bShareActive) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
String selectOrder) |
Hub |
Hub.getDetailHub(String path)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(String path,
boolean bShareActive)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(String path,
boolean bShareActive,
String selectOrder)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(String path,
Class objectClass)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(String path,
Class objectClass,
boolean bShareActive)
Used to create Master/Detail relationships.
|
Hub |
Hub.getDetailHub(String path,
String selectOrder)
Used to create Master/Detail relationships.
|
static Hub |
HubShareDelegate.getFirstSharedHub(Hub thisHub,
OAFilter<Hub> filter,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO) |
Hub |
HubLink.getFromHub()
Returns Hub that is linked to another Hub.
|
Hub<B> |
HubGroupByOrig.getGroupByHub() |
Hub |
HubAutoSequence.getHub() |
Hub<T> |
HubEvent.getHub() |
Hub<T> |
HubFilter.getHub() |
Hub |
HubShareAO.getHub1() |
Hub |
HubShareAO.getHub2() |
static Hub |
HubLinkDelegate.getHubWithLink(Hub thisHub,
boolean bIncludeCopiedHubs) |
static Hub |
HubDetailDelegate.getHubWithMasterHub(Hub thisHub)
returns any shared hub with a MasterHub set.
|
static Hub |
HubDetailDelegate.getHubWithMasterObject(Hub thisHub) |
Hub |
Hub.getLinkHub(boolean bSearchOtherHubs)
Find the linkHub for this hub or any of this hub's shared hubs that have a linkHub.
|
static Hub |
HubLinkDelegate.getLinkToHub(Hub thisHub,
boolean bIncludeCopiedHubs) |
static Hub |
HubShareDelegate.getMainSharedHub(Hub hub) |
Hub |
Hub.getMasterHub()
Used to create Master/Detail relationships.
|
Hub |
HubFilter.getMasterHub() |
Hub<G> |
HubGroupBy.getMasterHub() |
static Hub |
HubDetailDelegate.getMasterHub(Hub thisHub)
returns the MasterHuib of any shared hub.
|
Hub |
Hub.getRealHub()
If this is a shared Hub, returns the Hub that this is shared from, else
will return this Hub.
|
static Hub |
HubDetailDelegate.getRealHub(Hub thisHub)
Get the real hub that this hub should be using.
|
Hub |
Hub.getRootHub()
If this is a recursive hub with an owner, then the root hub will be
returned, else null.
|
Hub |
HubFlattened.getRootHub() |
Hub |
HubMerger.getRootHub() |
static Hub |
HubRootDelegate.getRootHub(Hub thisHub)
If this is a recursive hub with an owner, then the root hub will be returned, else null.
|
Hub<TYPE> |
Hub.getSharedHub()
Returns the Hub that this Hub is sharing objects with.
|
static Hub |
HubShareDelegate.getSharedHub(Hub thisHub,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO) |
protected static Hub[] |
HubShareDelegate.getSharedHubs(Hub thisHub)
Deprecated.
use getAllSharedHubs, or one of the other methods
|
Hub |
HubLink.getToHub()
Returns Hub that is updated by toHub.
|
Modifier and Type | Method and Description |
---|---|
protected static boolean |
HubDataDelegate._add(Hub thisHub,
Object obj,
boolean bHasLock,
boolean bCheckContains) |
protected static void |
HubShareDelegate._addSharedHub(Hub thisHub,
Hub hub) |
protected static void |
HubShareDelegate._addSharedHub(Hub thisHub,
Hub hub) |
static void |
HubDataDelegate._clone(Hub thisHub,
Hub newHub)
called by Hub.clone();
|
static void |
HubDataDelegate._clone(Hub thisHub,
Hub newHub)
called by Hub.clone();
|
protected static int |
HubSelectDelegate._fetchMore(Hub thisHub,
OASelect sel,
int famt) |
protected static boolean |
HubDataDelegate._insert(Hub thisHub,
Object obj,
int pos,
boolean bIsLocked) |
protected static void |
HubDataDelegate._move(Hub thisHub,
Object obj,
int posFrom,
int posTo) |
protected static Object |
HubSerializeDelegate._readResolve(Hub thisHub)
Used by serialization when reading objects from stream.
|
protected static int |
HubDataDelegate._remove(Hub thisHub,
Object obj,
boolean bDeleting,
boolean bIsRemovingAll) |
protected static void |
HubShareDelegate._removeSharedHub(Hub sharedHub,
Hub hub) |
protected static void |
HubShareDelegate._removeSharedHub(Hub sharedHub,
Hub hub) |
protected static void |
HubShareDelegate._setSharedHub(Hub thisHub,
Hub sharedMasterHub,
boolean shareActiveObject,
Object newLinkValue) |
protected static void |
HubShareDelegate._setSharedHub(Hub thisHub,
Hub sharedMasterHub,
boolean shareActiveObject,
Object newLinkValue) |
protected static void |
HubDelegate._updateHubAddsAndRemoves(Hub thisHub,
int iCascadeRule,
OACascade cascade,
boolean bIsSaving)
20181211 removed, use hub.getLinkHub(true)
Returns this or any shared hub that uses the same active object and is linked to another Hub.
|
protected static void |
HubSerializeDelegate._writeObject(Hub thisHub,
ObjectOutputStream stream)
Used by serialization to store Hub.
|
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub)
Add an additional hub to base the check on.
|
void |
HubPropController.add(Hub hub)
Deprecated.
Add an addition hub to base the check on.
|
void |
HubCombined.add(Hub<T> hub) |
void |
Hub.add(Hub<TYPE> hub) |
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub,
HubChangeListener.Type type) |
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub,
OAFilter filter) |
static void |
HubAddRemoveDelegate.add(Hub thisHub,
Object obj) |
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub,
String propertyPath)
adds property without any check.
|
void |
HubPropController.add(Hub hub,
String propertyPath)
Deprecated.
If compare value is null: if propertyPath is null then uses OANotNullObject, else uses Boolean.true
|
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub,
String propertyPath,
boolean bUseCompareValue,
Object compareValue) |
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub,
String propertyPath,
boolean bUseCompareValue,
Object compareValue,
OAFilter filter,
boolean bAoOnly,
String description) |
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub,
String property,
HubChangeListener.Type type) |
HubChangeListener.HubProp |
HubChangeListener.add(Hub hub,
String propertyPath,
Object compareValue)
Add an addition hub/property to base the check on.
|
void |
HubPropController.add(Hub hub,
String propertyPath,
Object compareValue)
Deprecated.
Add an addition hub/property to base the check on.
|
HubChangeListener.HubProp |
HubChangeListener.addAddEnabled(Hub hub) |
static void |
HubDataDelegate.addAllToAddVector(Hub thisHub) |
HubChangeListener.HubProp |
HubChangeListener.addAlwaysFalse(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addAlwaysTrue(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addAoNotNull(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addAoNull(Hub hub)
Checks to see if hub.AO = null
|
HubChangeListener.HubProp |
HubChangeListener.addCopyEnabled(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addDeleteEnabled(Hub hub,
boolean bAoOnly) |
void |
HubFilter.addDependentProperty(Hub hub)
Add a dependent property from a Hub, which will call refresh
when hub.AO changes
|
void |
FilteredHub.addDependentProperty(Hub hub,
String prop) |
void |
HubFilter.addDependentProperty(Hub hub,
String prop)
Add a dependent property from a Hub, which will call refresh
when prop changes or when hub.AO changes
|
void |
HubFilter.addDependentProperty(Hub hub,
String prop,
boolean bActiveObjectOnly) |
HubChangeListener.HubProp |
HubChangeListener.addEditQueryEnabled(Hub hub,
Class cz,
String prop,
String ppPrefix) |
HubChangeListener.HubProp |
HubChangeListener.addEditQueryEnabled(Hub hub,
String prop)
add a rule to check the return value for an EditQuery isEnabled
|
HubChangeListener.HubProp |
HubChangeListener.addEditQueryEnabled(Hub hub,
String prop,
boolean bAoOnly) |
HubChangeListener.HubProp |
HubChangeListener.addEditQueryVisible(Hub hub,
Class cz,
String prop,
String ppPrefix) |
HubChangeListener.HubProp |
HubChangeListener.addEditQueryVisible(Hub hub,
String prop)
add a rule to check the return value for an EditQuery isVisible
|
HubChangeListener.HubProp |
HubChangeListener.addHubEmpty(Hub hub)
Checks to see if hub.size = 0
|
static void |
HubEventDelegate.addHubListener(Hub thisHub,
HubListener hl)
Add a new Hub Listener, that receives all Hub and OAObject events.
|
static void |
HubEventDelegate.addHubListener(Hub thisHub,
HubListener hl,
boolean bActiveObjectOnly) |
static void |
HubEventDelegate.addHubListener(Hub thisHub,
HubListener hl,
String property) |
static void |
HubEventDelegate.addHubListener(Hub thisHub,
HubListener hl,
String property,
boolean bActiveObjectOnly) |
static void |
HubEventDelegate.addHubListener(Hub thisHub,
HubListener hl,
String property,
String[] dependentPropertyPaths)
Add a Listener to this hub specifying a specific property name.
|
static void |
HubEventDelegate.addHubListener(Hub thisHub,
HubListener hl,
String property,
String[] dependentPropertyPaths,
boolean bActiveObjectOnly) |
static void |
HubEventDelegate.addHubListener(Hub thisHub,
HubListener hl,
String property,
String[] dependentPropertyPaths,
boolean bActiveObjectOnly,
boolean bUseBackgroundThread) |
HubChangeListener.HubProp |
HubChangeListener.addHubNotEmpty(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addHubNotValid(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addHubValid(Hub hub)
Checks to see if hub.isValid
|
HubChangeListener.HubProp |
HubChangeListener.addHubValid(Hub hub,
String propertyPath) |
HubChangeListener.HubProp |
HubChangeListener.addNewEnabled(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addPasteEnabled(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addPropertyChange(Hub hub,
String prop) |
HubChangeListener.HubProp |
HubChangeListener.addPropertyNotNull(Hub hub,
String prop) |
HubChangeListener.HubProp |
HubChangeListener.addPropertyNull(Hub hub,
String prop) |
HubChangeListener.HubProp |
HubChangeListener.addRemoveEnabled(Hub hub) |
HubChangeListener.HubProp |
HubChangeListener.addSaveEnabled(Hub hub) |
static void |
HubShareDelegate.addSharedHub(Hub thisHub,
Hub hub)
Remove shared Hub from list of shared Hubs.
|
static void |
HubShareDelegate.addSharedHub(Hub thisHub,
Hub hub)
Remove shared Hub from list of shared Hubs.
|
static void |
HubCSDelegate.addToHub(Hub thisHub,
OAObject thisObj)
Have object added to same Hub on other workstations.
|
static boolean |
HubAddRemoveDelegate.canAdd(Hub thisHub,
Object obj)
Used to find out if an object can be added/inserted to this Hub.
|
static String |
HubAddRemoveDelegate.canAddMsg(Hub thisHub,
Object obj) |
protected static void |
HubSelectDelegate.cancelSelect(Hub thisHub,
boolean bRemoveSelect)
Cancels current OASelect, calling select.cancel()
This will also set SelectLater to false and RequiredWhere to null.
|
static void |
HubSortDelegate.cancelSort(Hub thisHub)
Removes/disconnects HubSorter (if any) that is keeping objects in a sorted order.
|
static boolean |
HubAddRemoveDelegate.canRemove(Hub thisHub,
Object obj) |
static void |
HubAddRemoveDelegate.clear(Hub thisHub) |
static void |
HubAddRemoveDelegate.clear(Hub thisHub,
boolean bSetAOtoNull,
boolean bSendNewList) |
protected static void |
HubDataDelegate.clearAllAndReset(Hub thisHub) |
static void |
HubEventDelegate.clearGetAllListenerCache(Hub hub) |
static boolean |
HubCSDelegate.clearHubChanges(Hub thisHub)
Hub hubData.vecAdd/Remove cleared on clients
|
static void |
HubDataDelegate.clearHubChanges(Hub thisHub) |
static boolean |
HubDataDelegate.contains(Hub hub,
Object obj)
Counter that is incremented when a new list of objects is loaded: select, setSharedHub, and when
detail hubs list is changed to match the master hub's activeObject
This is used by html/jsp components so that they "know" when/if Hub has changed,
which will cause them to be refreshed.
|
static boolean |
HubDataDelegate.containsDirect(Hub hub,
Object obj) |
void |
Hub.copyInto(Hub h)
Copy all objects in this hub to Hub h.
|
protected static void |
HubDataDelegate.copyInto(Hub thisHub,
Object[] anArray) |
static Hub |
HubShareDelegate.createSharedHub(Hub thisHub,
boolean bShareActive) |
protected static Vector |
HubDataDelegate.createVecAdd(Hub thisHub) |
protected static Vector |
HubDataDelegate.createVecRemove(Hub thisHub) |
protected static boolean |
HubCSDelegate.deleteAll(Hub thisHub)
20150206 returns true if this should be deleted on this computer, false if it is done on the server.
|
static void |
HubDeleteDelegate.deleteAll(Hub thisHub) |
static void |
HubDeleteDelegate.deleteAll(Hub thisHub,
OACascade cascade) |
protected static void |
HubDataDelegate.ensureCapacity(Hub thisHub,
int size) |
protected static int |
HubSelectDelegate.fetchMore(Hub thisHub)
Internal method to retrieve objects from last select()
|
protected static int |
HubSelectDelegate.fetchMore(Hub thisHub,
int famt)
Internal method to retrieve objects from last select()
|
protected static int |
HubSelectDelegate.fetchMore(Hub thisHub,
OASelect sel) |
protected static int |
HubSelectDelegate.fetchMore(Hub thisHub,
OASelect sel,
int famt) |
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.fireAfterAddEvent(Hub thisHub,
Object obj,
int pos) |
static void |
HubEventDelegate.fireAfterChangeActiveObjectEvent(Hub thisHub,
Object obj,
int pos,
boolean bAllShared) |
static void |
HubEventDelegate.fireAfterDeleteEvent(Hub thisHub,
Object obj) |
static void |
HubEventDelegate.fireAfterInsertEvent(Hub thisHub,
Object obj,
int pos) |
static void |
HubEventDelegate.fireAfterLoadEvent(Hub thisHub,
OAObject oaObj) |
static void |
HubEventDelegate.fireAfterMoveEvent(Hub thisHub,
int fromPos,
int toPos) |
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.fireAfterRemoveAllEvent(Hub thisHub) |
static void |
HubEventDelegate.fireAfterRemoveEvent(Hub thisHub,
Object obj,
int pos) |
static void |
HubEventDelegate.fireAfterSaveEvent(Hub thisHub,
OAObject obj) |
static void |
HubEventDelegate.fireAfterSortEvent(Hub thisHub) |
static void |
HubEventDelegate.fireBeforeAddEvent(Hub thisHub,
Object obj,
int pos) |
static void |
HubEventDelegate.fireBeforeDeleteEvent(Hub thisHub,
Object obj) |
static void |
HubEventDelegate.fireBeforeInsertEvent(Hub thisHub,
Object obj,
int pos) |
static void |
HubEventDelegate.fireBeforeMoveEvent(Hub thisHub,
int fromPos,
int toPos) |
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.fireBeforeRemoveAllEvent(Hub thisHub) |
static void |
HubEventDelegate.fireBeforeRemoveEvent(Hub thisHub,
Object obj,
int pos) |
static void |
HubEventDelegate.fireBeforeSaveEvent(Hub thisHub,
OAObject obj) |
static void |
HubEventDelegate.fireBeforeSelectEvent(Hub thisHub) |
static void |
HubEventDelegate.fireCalcPropertyChange(Hub thisHub,
Object object,
String propertyName)
Used by OAObjects to notify all listeners of a property change.
|
protected static void |
HubEventDelegate.fireMasterObjectChangeEvent(Hub thisHub,
boolean bRefreshFlag) |
static void |
HubEventDelegate.fireOnNewListEvent(Hub thisHub,
boolean bAll)
Used to notify listeners that a new collection has been established.
|
static OAObject[] |
HubAddRemoveDelegate.getAddedObjects(Hub thisHub) |
static OAObject[] |
HubDataDelegate.getAddedObjects(Hub thisHub) |
static HubListener[] |
HubEventDelegate.getAllListeners(Hub thisHub)
Returns an array of HubListeners for all of the listeners for this Hub and all of Hubs that are shared with it.
|
protected static HubListener[] |
HubEventDelegate.getAllListeners(Hub thisHub,
int type) |
protected static HubListener[] |
HubEventDelegate.getAllListenersRecursive(Hub thisHub,
Hub hub,
int type) |
protected static HubListener[] |
HubEventDelegate.getAllListenersRecursive(Hub thisHub,
Hub hub,
int type) |
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub)
List of Hubs that are sharing the same objects as this Hub.
|
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly) |
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly,
OAFilter<Hub> filter) |
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly,
OAFilter<Hub> filter,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO)
Used to get all Hubs that share the same data.
|
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
OAFilter<Hub> filter) |
static Hub |
HubDelegate.getAnyAddHub(Hub hub)
Returns this hub, or one of its shared Hubs, that has
an addHub established.
|
static HubAutoMatch |
HubDelegate.getAutoMatch(Hub thisHub) |
static HubAutoSequence |
HubDelegate.getAutoSequence(Hub thisHub) |
static int |
HubDataDelegate.getChangeCount(Hub thisHub)
Counter that is incremented on: add(), insert(), remove(), setting shared hub,
remove(), move(), sort(), select()
This is used by html/jsp components so that they "know" when/if Hub has changed,
which will cause them to be refreshed.
|
static boolean |
HubDataDelegate.getChanged(Hub thisHub) |
static boolean |
HubDelegate.getChanged(Hub thisHub,
int iCascadeRule,
OACascade cascade) |
static Hub |
HubDelegate.getControllingHub(Hub thisHub)
created 20110904
Find the hub that controls whether or not this hub is valid.
|
static int |
HubSelectDelegate.getCount(Hub thisHub) |
static int |
HubDataDelegate.getCurrentSize(Hub thisHub) |
protected static com.viaoa.hub.HubDataMaster |
HubDetailDelegate.getDataMaster(Hub thisHub)
returns DataMaster from any shared hub that has a MasterHub set.
|
protected static com.viaoa.hub.HubDataMaster |
HubDetailDelegate.getDataMaster(Hub thisHub,
Class masterClass) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
Class[] clazz) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
Class clazz,
boolean bShareActive,
String selectOrder) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
boolean bShareActive) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
boolean bShareActive,
String selectOrder) |
protected static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
Class[] classes,
Class lastClass,
Hub detailHub,
boolean bShareActive,
String selectOrder)
Main method for setting Master/Detail relationship.
|
protected static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
Class[] classes,
Class lastClass,
Hub detailHub,
boolean bShareActive,
String selectOrder)
Main method for setting Master/Detail relationship.
|
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
Class objectClass,
boolean bShareActive) |
static Hub |
HubDetailDelegate.getDetailHub(Hub thisHub,
String path,
String selectOrder) |
static Hub |
HubShareDelegate.getFirstSharedHub(Hub thisHub,
OAFilter<Hub> filter,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO) |
static HubCopy |
HubShareDelegate.getHubCopy(Hub thisHub) |
static HubFilter |
HubShareDelegate.getHubFilter(Hub thisHub) |
protected static HubListener[] |
HubEventDelegate.getHubListeners(Hub thisHub)
Returns list of registered listeners for this Hub only.
|
static HubShareAO |
HubShareDelegate.getHubShareAO(Hub thisHub) |
static Hub |
HubLinkDelegate.getHubWithLink(Hub thisHub,
boolean bIncludeCopiedHubs) |
static Hub |
HubDetailDelegate.getHubWithMasterHub(Hub thisHub)
returns any shared hub with a MasterHub set.
|
static Hub |
HubDetailDelegate.getHubWithMasterObject(Hub thisHub) |
static boolean |
HubLinkDelegate.getLinkedOnPos(Hub thisHub) |
static boolean |
HubLinkDelegate.getLinkedOnPos(Hub thisHub,
boolean bIncludeCopiedHubs) |
static String |
HubLinkDelegate.getLinkFromProperty(Hub thisHub) |
static String |
HubLinkDelegate.getLinkFromProperty(Hub thisHub,
boolean bIncludeCopiedHubs) |
static Method |
HubLinkDelegate.getLinkGetMethod(Hub thisHub)
Used to get value from active object in masterHub, that is then used to set active object in this hub.
|
static Method |
HubLinkDelegate.getLinkGetMethod(Hub thisHub,
boolean bIncludeCopiedHubs) |
static boolean |
HubLinkDelegate.getLinkHubOnPos(Hub thisHub)
Returns true if this Hub is linked to another Hub using the
position of the active object.
|
static boolean |
HubLinkDelegate.getLinkHubOnPos(Hub thisHub,
boolean bIncludeCopiedHubs) |
static String |
HubLinkDelegate.getLinkHubPath(Hub thisHub)
Returns the property path of the property that this Hub is
linked to.
|
static String |
HubLinkDelegate.getLinkHubPath(Hub thisHub,
boolean bIncludeCopiedHubs) |
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromDetailToMaster(Hub hub)
Returns the OALinkInfo from detail (MANY) to master (ONE).
|
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromMasterHubToDetail(Hub thisDetailHub) |
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromMasterObjectToDetail(Hub thisDetailHub) |
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromMasterToDetail(Hub thisDetailHub) |
static Method |
HubLinkDelegate.getLinkSetMethod(Hub thisHub)
Used for linking/connecting Hubs,
to get method used to set the property value of the active object in the masterHub
to the active object in this Hub.
|
static Method |
HubLinkDelegate.getLinkSetMethod(Hub thisHub,
boolean bIncludeCopiedHubs) |
static Hub |
HubLinkDelegate.getLinkToHub(Hub thisHub,
boolean bIncludeCopiedHubs) |
static String |
HubLinkDelegate.getLinkToProperty(Hub thisHub)
Returns the property that this Hub is linked to.
|
static String |
HubLinkDelegate.getLinkToProperty(Hub thisHub,
boolean bIncludeCopiedHubs) |
static int |
HubEventDelegate.getListenerCount(Hub thisHub)
Returns a count of all of the listeners for this Hub and all of Hubs that are shared with it.
|
static Hub |
HubShareDelegate.getMainSharedHub(Hub hub) |
static Class |
HubDelegate.getMasterClass(Hub hub)
Returns the Class of OAObject that owns this Hub.
|
static Class |
HubDetailDelegate.getMasterClass(Hub thisHub) |
static Hub |
HubDetailDelegate.getMasterHub(Hub thisHub)
returns the MasterHuib of any shared hub.
|
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 Object |
HubDataDelegate.getObject(Hub thisHub,
Object key) |
protected static Object |
HubDataDelegate.getObjectAt(Hub thisHub,
int pos) |
static int |
HubDataDelegate.getPos(Hub thisHub,
Object object,
boolean adjustMaster,
boolean bUpdateLink) |
protected static Object |
HubDelegate.getProperty(Hub thisHub,
String name) |
static String |
HubDetailDelegate.getPropertyFromDetailToMaster(Hub thisHub)
Used for master/detail Hubs, returns the name of the property from the detail Hub to master Hub.
|
static String |
HubDetailDelegate.getPropertyFromMasterToDetail(Hub thisHub)
Used for master/detail Hubs, returns the name of the property from the master Hub to detail Hub.
|
protected static String |
HubDelegate.getPropertyPathforClasses(Hub hub,
Class[] classes) |
static Object |
HubLinkDelegate.getPropertyValueInLinkedToHub(Hub thisHub,
Object linkObject)
Used to get the property value in the Linked To Hub, that is used to set the Linked From Hub Active Object.
|
static Hub |
HubDetailDelegate.getRealHub(Hub thisHub)
Get the real hub that this hub should be using.
|
protected static Object |
HubDelegate.getRealObject(Hub hub,
Object object) |
static OAObject[] |
HubAddRemoveDelegate.getRemovedObjects(Hub thisHub) |
static OAObject[] |
HubDataDelegate.getRemovedObjects(Hub thisHub) |
static Hub |
HubRootDelegate.getRootHub(Hub thisHub)
If this is a recursive hub with an owner, then the root hub will be returned, else null.
|
protected static OASelect |
HubSelectDelegate.getSelect(Hub thisHub)
Returns OASelect used for querying datasource.
|
protected static OASelect |
HubSelectDelegate.getSelect(Hub thisHub,
boolean bCreateIfNull) |
String |
Hub.getSelectOrder(Hub thisHub)
Sort Order clause to use for select.
|
static String |
HubSelectDelegate.getSelectOrder(Hub thisHub)
Sort Order clause to use for select.
|
static String |
HubSelectDelegate.getSelectWhere(Hub thisHub) |
static String |
HubSortDelegate.getSeqProperty(Hub thisHub) |
static Hub |
HubShareDelegate.getSharedHub(Hub thisHub,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO) |
protected static Hub[] |
HubShareDelegate.getSharedHubs(Hub thisHub)
Deprecated.
use getAllSharedHubs, or one of the other methods
|
static WeakReference<Hub>[] |
HubShareDelegate.getSharedWeakHubs(Hub thisHub) |
static int |
HubShareDelegate.getSharedWeakHubSize(Hub thisHub) |
static int |
HubDelegate.getSize(Hub thisHub) |
static boolean |
HubSortDelegate.getSortAsc(Hub thisHub) |
static HubSortListener |
HubSortDelegate.getSortListener(Hub thisHub) |
static String |
HubSortDelegate.getSortProperty(Hub thisHub) |
static boolean |
HubDataDelegate.getTrackChanges(Hub thisHub) |
static boolean |
HubDetailDelegate.hasDetailHubs(Hub thisHub) |
protected static void |
HubDataDelegate.incChangeCount(Hub thisHub) |
void |
HubAutoMatch.init(Hub<TYPE> hub,
String property,
Hub<PROPTYPE> hubMaster) |
void |
HubAutoMatch.init(Hub<TYPE> hub,
String property,
Hub<PROPTYPE> hubMaster) |
static boolean |
HubAddRemoveDelegate.insert(Hub thisHub,
Object obj,
int pos)
Insert an Object at a position.
|
static boolean |
HubCSDelegate.insertInHub(Hub thisHub,
OAObject obj,
int pos)
Have object inserted in same Hub on other workstations.
|
protected static boolean |
HubAddRemoveDelegate.internalAdd(Hub thisHub,
Object obj,
boolean bHasLock,
boolean bCheckContains)
internal method to add to vector and hashtable
|
static boolean |
HubAddRemoveDelegate.isAllowAddRemove(Hub thisHub) |
static boolean |
HubSelectDelegate.isCounted(Hub thisHub) |
static boolean |
HubDeleteDelegate.isDeletingAll(Hub thisHub) |
static boolean |
HubDataDelegate.isHubBeingUsedAsRecursive(Hub thisHub) |
static boolean |
HubLinkDelegate.isLinkAutoCreated(Hub thisHub) |
static boolean |
HubLinkDelegate.isLinkAutoCreated(Hub thisHub,
boolean bIncludeCopiedHubs) |
static boolean |
HubDetailDelegate.isMasterNew(Hub thisHub)
Returns true if any of the master hubs above this hub have an active object that is new.
|
static boolean |
HubSelectDelegate.isMoreData(Hub thisHub)
Find out if more objects are available from last select from OADataSource.
|
static boolean |
HubDetailDelegate.isOwned(Hub thisHub)
Returns true if this hub of objects is owned by a master object.
|
static boolean |
HubDetailDelegate.isRecursiveMasterDetail(Hub thisHub)
Is this a master/detail, and is the detail "hub" recursive.
|
static boolean |
HubSerializeDelegate.isResolved(Hub thisHub)
Used by OAObjectSerializeDelegate
|
static boolean |
HubCSDelegate.isServer(Hub h) |
static boolean |
HubSortDelegate.isSorted(Hub thisHub)
used to determine if the Hub is currently kept sorted.
|
static boolean |
HubShareDelegate.isUsingSameSharedAO(Hub hub1,
Hub hub2) |
static boolean |
HubShareDelegate.isUsingSameSharedAO(Hub hub1,
Hub hub2) |
static boolean |
HubShareDelegate.isUsingSameSharedAO(Hub hub1,
Hub hub2,
boolean bIncludeFilteredHubs) |
static boolean |
HubShareDelegate.isUsingSameSharedAO(Hub hub1,
Hub hub2,
boolean bIncludeFilteredHubs) |
static boolean |
HubShareDelegate.isUsingSameSharedHub(Hub hub1,
Hub hub2) |
static boolean |
HubShareDelegate.isUsingSameSharedHub(Hub hub1,
Hub hub2) |
static boolean |
HubDelegate.isValid(Hub hub)
If this hub has a master Hub or link Hub and that Hub does not have an active Object set,
then this Hub is invalid.
|
static void |
HubAODelegate.keepActiveObject(Hub thisHub) |
static void |
HubSelectDelegate.loadAllData(Hub thisHub)
This will automatically read all records from current select().
|
static void |
HubSelectDelegate.loadAllData(Hub thisHub,
OASelect select) |
protected static void |
HubAddRemoveDelegate.move(Hub thisHub,
int posFrom,
int posTo)
Swap the position of two different objects within the hub.
|
static void |
HubCSDelegate.moveObjectInHub(Hub thisHub,
int posFrom,
int posTo)
Have object added to same Hub on other workstations.
|
static void |
HubDetailDelegate.preloadDetailData(Hub thisHub,
int pos) |
static void |
HubAddRemoveDelegate.refresh(Hub hub,
Hub hubNew) |
static void |
HubAddRemoveDelegate.refresh(Hub hub,
Hub hubNew) |
static boolean |
HubSelectDelegate.refreshSelect(Hub thisHub)
This will re-run the last select.
|
void |
HubChangeListener.remove(Hub hub) |
static boolean |
HubAddRemoveDelegate.remove(Hub thisHub,
int pos) |
protected static boolean |
HubAddRemoveDelegate.remove(Hub thisHub,
int pos,
boolean bForce) |
static boolean |
HubAddRemoveDelegate.remove(Hub thisHub,
Object obj) |
static boolean |
HubAddRemoveDelegate.remove(Hub thisHub,
Object obj,
boolean bForce,
boolean bSendEvent,
boolean bDeleting,
boolean bSetAO,
boolean bSetPropToMaster,
boolean bIsRemovingAll) |
void |
HubChangeListener.remove(Hub hub,
String prop) |
static void |
HubCSDelegate.removeAllFromHub(Hub thisHub)
20140422
|
boolean |
Hub.removeDetailHub(Hub hub)
Used to remove Master/Detail relationships.
|
static boolean |
HubDetailDelegate.removeDetailHub(Hub thisHub,
Hub hubDetail)
Used to remove Master/Detail relationships.
|
static boolean |
HubDetailDelegate.removeDetailHub(Hub thisHub,
Hub hubDetail)
Used to remove Master/Detail relationships.
|
protected static void |
HubDataDelegate.removeFromAddedList(Hub thisHub,
Object obj) |
static void |
HubCSDelegate.removeFromHub(Hub thisHub,
OAObject obj,
int pos)
Have object removed from same Hub on other workstations.
|
static void |
HubDataDelegate.removeFromRemovedList(Hub thisHub,
Object obj) |
protected static void |
HubEventDelegate.removeHubListener(Hub thisHub,
HubListener l)
Remove HubListener from list.
|
void |
HubListenerTree.removeListener(Hub thisHub,
HubListener hl) |
static void |
HubDSDelegate.removeMany2ManyLinks(Hub hub) |
protected static void |
HubDelegate.removeProperty(Hub thisHub,
String name) |
protected static void |
HubShareDelegate.removeSharedHub(Hub sharedHub,
Hub hub) |
protected static void |
HubShareDelegate.removeSharedHub(Hub sharedHub,
Hub hub) |
static void |
HubSerializeDelegate.replaceMasterObject(Hub thisHub,
OAObject objFrom,
OAObject objTo) |
static int |
HubSerializeDelegate.replaceObject(Hub thisHub,
OAObject objFrom,
OAObject objTo) |
static void |
HubDelegate.resequence(Hub thisHub) |
static void |
HubDataDelegate.resizeToFit(Hub thisHub) |
static void |
HubSortDelegate.resort(Hub thisHub) |
static void |
HubSaveDelegate.saveAll(Hub thisHub,
int cascadeRule) |
static void |
HubSaveDelegate.saveAll(Hub thisHub,
int iCascadeRule,
OACascade cascade)
Note: setting iCascadeRule to OAObject.CASCADE_NONE will not save the objects, but will update the M2M links.
|
static void |
HubSelectDelegate.select(Hub thisHub,
boolean bAppendFlag) |
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) |
static void |
HubSelectDelegate.select(Hub thisHub,
OASelect select)
Used to populate Hub with objects returned from a OADataSource select.
|
static void |
HubSelectDelegate.selectPassthru(Hub thisHub,
String whereClause,
String orderClause) |
static void |
HubSelectDelegate.selectPassthru(Hub thisHub,
String whereClause,
String orderClause,
boolean bAppend) |
static void |
HubCSDelegate.sendRefresh(Hub thisHub) |
static Object |
HubAODelegate.setActiveObject(Hub thisHub,
int pos)
Navigational method that will set the position of the active object.
|
protected static Object |
HubAODelegate.setActiveObject(Hub thisHub,
int pos,
boolean bUpdateLink,
boolean bForce,
boolean bCalledByShareHub) |
static void |
HubAODelegate.setActiveObject(Hub thisHub,
Object object)
Navigational method to set the active object.
|
static void |
HubAODelegate.setActiveObject(Hub thisHub,
Object object,
boolean adjustMaster)
Navigational method that is another form of setActiveObject() that will adjust the master hub.
|
static void |
HubAODelegate.setActiveObject(Hub thisHub,
Object object,
boolean adjustMaster,
boolean bUpdateLink,
boolean bForce) |
static void |
HubAODelegate.setActiveObject(Hub thisHub,
Object object,
int pos) |
protected static void |
HubAODelegate.setActiveObject(Hub thisHub,
Object object,
int pos,
boolean bUpdateLink,
boolean bForce,
boolean bCalledByShareHub) |
static void |
HubAODelegate.setActiveObject(Hub thisHub,
Object object,
int pos,
boolean bUpdateLink,
boolean bForce,
boolean bCalledByShareHub,
boolean bUpdateDetail)
Main setActiveObject
Naviagational method that sets the current active object.
|
static void |
HubAODelegate.setActiveObjectForce(Hub thisHub,
Object object)
Change active object even if it has not changed.
|
void |
Hub.setAddHub(Hub addHub)
Hub used to add active object to whenever this active object is changed in
this Hub.
|
void |
Hub.setAutoMatch(Hub hubMaster)
Makes sure that for each object in a hubMaster, there exists an object in
this hub.
|
void |
Hub.setAutoMatch(Hub hubMaster,
boolean bServerSideonly) |
static void |
HubDelegate.setAutoMatch(Hub thisHub,
String property,
Hub hubMaster,
boolean bServerSideOnly)
Makes sure that for each object in a hubMaster, there exists an object in this hub where property
is equal to the hubMaster object.
|
static void |
HubDelegate.setAutoMatch(Hub thisHub,
String property,
Hub hubMaster,
boolean bServerSideOnly)
Makes sure that for each object in a hubMaster, there exists an object in this hub where property
is equal to the hubMaster object.
|
void |
Hub.setAutoMatch(String property,
Hub hubMaster)
Makes sure that for each object in a hubMaster, there exists an object in
this hub where property is equal to the hubMaster object.
|
void |
Hub.setAutoMatch(String property,
Hub hubMaster,
boolean bServerSideOnly) |
static void |
HubDelegate.setAutoSequence(Hub thisHub,
String property,
int startNumber,
boolean bKeepSeq)
Used to update a property in each object to equal/store the position within this Hub.
|
protected static void |
HubDataDelegate.setChanged(Hub thisHub,
boolean bChanged) |
void |
HubAutoSequence.setHub(Hub hub) |
void |
Hub.setLink(Hub hub) |
void |
Hub.setLinkHub(Hub linkHub)
Have this Hub linked to another Hub.
|
void |
Hub.setLinkHub(Hub linkHub,
boolean bAutoCreate) |
void |
Hub.setLinkHub(Hub linkHub,
boolean bAutoCreate,
boolean bAutoCreateAllowDups)
Used to automatically create a new Object in link Hub whenever the active
object in this Hub is changed.
|
void |
Hub.setLinkHub(Hub linkHub,
String property)
Sets up this Hub so that it will automatically work with a property of
the same Class in another (link) Hub.
|
void |
Hub.setLinkHub(Hub linkHub,
String property,
boolean bAutoCreate) |
void |
Hub.setLinkHub(Hub linkHub,
String property,
boolean bAutoCreate,
boolean bAutoCreateAllowDups)
Used to automatically create a new Object in link Hub whenever the active
object in this Hub is changed.
|
protected static void |
HubLinkDelegate.setLinkHub(Hub thisHub,
String propertyFrom,
Hub linkToHub,
String propertyTo,
boolean linkPosFlag,
boolean bAutoCreate,
boolean bAutoCreateAllowDups)
Main LinkHub method used to link from one hub to another.
|
protected static void |
HubLinkDelegate.setLinkHub(Hub thisHub,
String propertyFrom,
Hub linkToHub,
String propertyTo,
boolean linkPosFlag,
boolean bAutoCreate,
boolean bAutoCreateAllowDups)
Main LinkHub method used to link from one hub to another.
|
void |
Hub.setLinkHub(String fromProperty,
Hub linkHub,
String toProperty)
Link/Connect a property in this hub to a property in another hub.
|
protected void |
Hub.setLinkHub(String propertyFrom,
Hub linkHub,
String propertyTo,
boolean linkPosFlag) |
void |
Hub.setLinkHubOnPos(Hub linkHub,
String property)
Set the property in a Hub to the position of the active object in this
Hub.
|
void |
Hub.setMasterHub(Hub masterHub)
Used to create Master/Detail relationships.
|
void |
Hub.setMasterHub(Hub masterHub,
boolean bShared)
Used to create Master/Detail relationships.
|
void |
Hub.setMasterHub(Hub masterHub,
Class clazz,
String path,
boolean bShared,
String selectOrder)
Used to create Master/Detail relationships.
|
static void |
HubDetailDelegate.setMasterHub(Hub thisHub,
Hub masterHub,
String path,
boolean bShared,
String selectOrder)
Used to create Master/Detail relationships.
|
static void |
HubDetailDelegate.setMasterHub(Hub thisHub,
Hub masterHub,
String path,
boolean bShared,
String selectOrder)
Used to create Master/Detail relationships.
|
void |
Hub.setMasterHub(Hub masterHub,
String path)
Used to create Master/Detail relationships.
|
void |
Hub.setMasterHub(Hub masterHub,
String path,
boolean bShared)
Used to create Master/Detail relationships.
|
protected static boolean |
HubDetailDelegate.setMasterHubActiveObject(Hub thisHub,
Object detailObject,
boolean bUpdateLink) |
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.
|
static void |
HubDelegate.setObjectClass(Hub thisHub,
Class objClass)
Set the Class of objects that this Hub will contain.
|
protected static void |
HubDelegate.setProperty(Hub thisHub,
String name,
Object obj) |
protected static void |
HubDetailDelegate.setPropertyToMasterHub(Hub thisHub,
Object detailObject,
Object objMaster)
Called by add(), insert(), remove to update an object's reference property to that of the master object.
|
static void |
HubDelegate.setReferenceable(Hub hub,
boolean bReferenceable) |
static void |
HubRootDelegate.setRootHub(Hub thisHub,
boolean b)
Used for recursive object relationships, to set the root Hub.
|
static void |
HubSelectDelegate.setSelectOrder(Hub thisHub,
String s)
Sort Order clause to use for select.
|
static void |
HubSelectDelegate.setSelectWhere(Hub thisHub,
String s)
WHERE clause to use for select.
|
void |
Hub.setSharedHub(Hub<TYPE> masterHub)
Create a shared version of another Hub, so that this Hub will use the
same objects as the shared hub.
|
void |
Hub.setSharedHub(Hub<TYPE> masterHub,
boolean bShareAO)
Create a shared version of another Hub, so that this Hub will use the
same objects as the shared hub.
|
static void |
HubShareDelegate.setSharedHub(Hub thisHub,
Hub sharedMasterHub,
boolean shareActiveObject)
Navigational method used to create a shared version of another Hub, so that this Hub
will use the same objects as the shared hub.
|
static void |
HubShareDelegate.setSharedHub(Hub thisHub,
Hub sharedMasterHub,
boolean shareActiveObject)
Navigational method used to create a shared version of another Hub, so that this Hub
will use the same objects as the shared hub.
|
protected static void |
HubShareDelegate.setSharedHub(Hub thisHub,
Hub sharedMasterHub,
boolean shareActiveObject,
Object newLinkValue) |
protected static void |
HubShareDelegate.setSharedHub(Hub thisHub,
Hub sharedMasterHub,
boolean shareActiveObject,
Object newLinkValue) |
protected static void |
HubShareDelegate.setSharedHubsAfterRemove(Hub thisHub,
Object objRemoved,
int posRemoved)
Used to set the active object in all shared Hubs after an object is removed.
|
protected static void |
HubShareDelegate.setSharedHubsAfterRemoveAll(Hub thisHub) |
static void |
HubDataDelegate.setTrackChanges(Hub thisHub,
boolean b) |
static void |
HubDelegate.setUniqueProperty(Hub thisHub,
String propertyName) |
static void |
HubSortDelegate.sort(Hub thisHub)
Re-sort using parameters from last sort or select.
|
static void |
HubSortDelegate.sort(Hub thisHub,
String propertyPaths,
boolean bAscending) |
static void |
HubCSDelegate.sort(Hub thisHub,
String propertyPaths,
boolean bAscending,
Comparator comp)
Sort objects in hub
|
static void |
HubSortDelegate.sort(Hub thisHub,
String propertyPaths,
boolean bAscending,
Comparator comp)
Reorder objects in this Hub, sorted by the value(s) from propertyPath(s).
|
static void |
HubSortDelegate.sort(Hub thisHub,
String propertyPaths,
boolean bAscending,
Comparator comp,
boolean bAlreadySortedAndLocalOnly) |
protected static void |
HubAddRemoveDelegate.sortMove(Hub thisHub,
Object obj) |
static void |
HubAddRemoveDelegate.swap(Hub thisHub,
int pos1,
int pos2)
Swap the position of two different objects within the hub.
|
protected static void |
HubShareDelegate.syncSharedHubs(Hub thisHub,
boolean bShareActiveObject,
com.viaoa.hub.HubDataActive daOld,
com.viaoa.hub.HubDataActive daNew,
boolean bUpdateLink) |
static Object[] |
HubDataDelegate.toArray(Hub thisHub) |
static void |
HubAddRemoveDelegate.unsafeAddAll(Hub hub,
List list)
This will load all of the objects into the hub without checking or sending events.
|
protected static void |
HubDetailDelegate.updateAllDetail(Hub thisHub,
boolean bUpdateLink)
Called by setActiveObject to automatically adjust Detail Hubs.
|
protected static void |
HubDetailDelegate.updateDetail(Hub thisHub,
com.viaoa.hub.HubDetail detail,
Hub detailHub,
boolean bUpdateLink)
Internal method to update any detail hubs.
|
protected static void |
HubDetailDelegate.updateDetail(Hub thisHub,
com.viaoa.hub.HubDetail detail,
Hub detailHub,
boolean bUpdateLink)
Internal method to update any detail hubs.
|
protected static void |
HubDetailDelegate.updateDetailActiveObject(Hub thisHub,
Hub hubDetailHub,
boolean bUpdateLink,
boolean bShareActiveObject)
initialize activeObject in detail hub.
|
protected static void |
HubDetailDelegate.updateDetailActiveObject(Hub thisHub,
Hub hubDetailHub,
boolean bUpdateLink,
boolean bShareActiveObject)
initialize activeObject in detail hub.
|
static void |
HubAODelegate.updateDetailHubs(Hub thisHub) |
protected static void |
HubLinkDelegate.updateLinkedToHub(Hub fromHub,
Hub linkToHub,
Object obj)
This is called by HubLinkEventListener, (which is created in this class) whenever the linked to (linkToHub) Hub
is changed (active object or linked to property).
|
protected static void |
HubLinkDelegate.updateLinkedToHub(Hub fromHub,
Hub linkToHub,
Object obj)
This is called by HubLinkEventListener, (which is created in this class) whenever the linked to (linkToHub) Hub
is changed (active object or linked to property).
|
protected static void |
HubLinkDelegate.updateLinkedToHub(Hub fromHub,
Hub linkToHub,
Object obj,
String changedPropName) |
protected static void |
HubLinkDelegate.updateLinkedToHub(Hub fromHub,
Hub linkToHub,
Object obj,
String changedPropName) |
protected static void |
HubLinkDelegate.updateLinkedToHub(Hub fromHub,
Hub linkToHub,
Object obj,
String changedPropName,
boolean bAdjustMaster) |
protected static void |
HubLinkDelegate.updateLinkedToHub(Hub fromHub,
Hub linkToHub,
Object obj,
String changedPropName,
boolean bAdjustMaster) |
static void |
HubLinkDelegate.updateLinkProperty(Hub thisHub,
Object fromObject,
int pos) |
static boolean |
HubDelegate.verifyUniqueProperty(Hub thisHub,
Object object)
Verifies that the property in obj is unique for all objects in this Hub (not in all of system).
|
static void |
HubAODelegate.warnOnSettingAO(Hub thisHub) |
static void |
HubJsonDelegate.write(Hub thisHub,
OAJsonWriter ow,
OACascade cascade)
Called by OAJsonWriter to store all objects in JSON file.
|
static void |
HubXMLDelegate.write(Hub thisHub,
OAXMLWriter ow,
String tagName,
boolean bKeyOnly,
OACascade cascade)
Called by OAXMLWriter to store all objects in xml file.
|
static void |
HubXMLDelegate.write(Hub thisHub,
OAXMLWriter ow,
String tagName,
int writeType,
OACascade cascade) |
Modifier and Type | Method and Description |
---|---|
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly,
OAFilter<Hub> filter) |
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
boolean bChildrenOnly,
OAFilter<Hub> filter,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO)
Used to get all Hubs that share the same data.
|
static Hub[] |
HubShareDelegate.getAllSharedHubs(Hub thisHub,
OAFilter<Hub> filter) |
static Hub |
HubShareDelegate.getFirstSharedHub(Hub thisHub,
OAFilter<Hub> filter,
boolean bIncludeFilteredHubs,
boolean bOnlyIfSharedAO) |
Constructor and Description |
---|
DetailHub(Hub hubMaster,
Class<TYPE> clazz)
Create a new DetailHub based on a reference Class from a master Hub.
|
DetailHub(Hub hubMaster,
Class<TYPE> clazz,
boolean bShareActiveObject)
Create a new DetailHub based on a reference Class from a master Hub.
|
DetailHub(Hub hubMaster,
Class<TYPE> clazz,
boolean bShareActiveObject,
String selectOrder)
Create a new DetailHub based on a reference Class from a master Hub.
|
DetailHub(Hub hubMaster,
Class<TYPE> clazz,
String selectOrder)
Create a new DetailHub based on a reference Class from a master Hub.
|
DetailHub(Hub hubMaster,
String propertyPath)
Create a new DetailHub based on a property path from a master Hub.
|
DetailHub(Hub hubMaster,
String propertyPath,
boolean bShareActiveObject)
Create a new DetailHub based on a property path from a master Hub.
|
DetailHub(Hub hubMaster,
String propertyPath,
boolean bShareActiveObject,
String selectOrder)
Create a new DetailHub based on a property path from a master Hub.
|
DetailHub(Hub hubMaster,
String propertyPath,
String selectOrder)
Create a new DetailHub based on a property path from a master Hub.
|
FilteredHub(Hub<T> hubMaster) |
Hub(Hub masterHub)
Create a shared hub, this is same as calling hub.getSharedHub().
|
HubAutoMatch(Hub<TYPE> hub,
String property,
Hub<PROPTYPE> hubMaster) |
HubAutoMatch(Hub<TYPE> hub,
String property,
Hub<PROPTYPE> hubMaster) |
HubAutoMatch(Hub<TYPE> hub,
String property,
Hub<PROPTYPE> hubMaster,
boolean bManuallyCalled)
Create new HubAutoMatch that will automatically create objects in a Hub with references that
match the objects in a master hub.
|
HubAutoMatch(Hub<TYPE> hub,
String property,
Hub<PROPTYPE> hubMaster,
boolean bManuallyCalled)
Create new HubAutoMatch that will automatically create objects in a Hub with references that
match the objects in a master hub.
|
HubAutoSequence(Hub hub,
String propertyName)
Create a new HubAutoSequence.
|
HubAutoSequence(Hub hub,
String propertyName,
int startNumber)
Create a new HubAutoSequence.
|
HubAutoSequence(Hub hub,
String propertyName,
int startNumber,
boolean bKeepSeq)
Create a new HubAutoSequence.
|
HubAutoSequence(Hub hub,
String propertyName,
int startNumber,
boolean bKeepSeq,
boolean bServerSideOnly) |
HubChangeListener(Hub hub) |
HubChangeListener(Hub hub,
HubChangeListener.Type type) |
HubChangeListener(Hub hub,
String propertyName) |
HubChangeListener(Hub hub,
String propertyName,
Object compareValue) |
HubCombined(Hub<T> hubMaster,
Hub<T>... hubs) |
HubCombined(Hub<T> hubMaster,
Hub<T>... hubs) |
HubCopy(Hub<T> hubMaster,
Hub<T> hubCopy,
boolean bShareAO) |
HubCopy(Hub<T> hubMaster,
Hub<T> hubCopy,
boolean bShareAO) |
HubEvent(Hub<T> source) |
HubEvent(Hub<T> source,
int posFrom,
int posTo)
Used for Hub move events, when an object is moved within a Hub.
|
HubEvent(Hub<T> source,
T obj)
Used for Hub add events, when an object is added to a Hub.
|
HubEvent(Hub<T> source,
T obj,
int pos)
Used for Hub insert events, when an object is inserted into a Hub.
|
HubEvent(Hub<T> source,
T oldValue,
T newValue)
Used for Hub replace events, when an object is replaced with another object.
|
HubEvent(Hub source,
T obj,
String propertyName,
Object oldValue,
Object newValue)
Used for propertyChange events, when an objects property is changed.
|
HubFilter(Hub<T> hubMaster,
Hub<T> hub)
Create a new HubFilter using two supplied Hubs.
|
HubFilter(Hub<T> hubMaster,
Hub<T> hub)
Create a new HubFilter using two supplied Hubs.
|
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
boolean bRefreshOnLinkChange,
OAFilter filter) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
boolean bRefreshOnLinkChange,
OAFilter filter) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
boolean bRefreshOnLinkChange,
OAFilter filter,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
boolean bRefreshOnLinkChange,
OAFilter filter,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
boolean bRefreshOnLinkChange,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
boolean bRefreshOnLinkChange,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
OAFilter filter) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
OAFilter filter) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
OAFilter filter,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
OAFilter filter,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
boolean bShareAO,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
OAFilter filter) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
OAFilter filter) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
OAFilter filter,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
OAFilter filter,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
String... dependentPropertyPaths) |
HubFilter(Hub<T> hubMaster,
Hub<T> hub,
String... dependentPropertyPaths) |
HubFlattened(Hub<TYPE> hubRoot,
Hub<TYPE> hubFlat) |
HubFlattened(Hub<TYPE> hubRoot,
Hub<TYPE> hubFlat) |
HubGroupBy(Hub<F> hubB,
Hub<G> hubFrom,
String propertyPath) |
HubGroupBy(Hub<F> hubB,
Hub<G> hubFrom,
String propertyPath) |
HubGroupBy(Hub<F> hubB,
Hub<G> hubFrom,
String propertyPath,
boolean bCreateNullList)
Create a hub on objects that are based on hubB, and are grouped by hubA.
|
HubGroupBy(Hub<F> hubB,
Hub<G> hubFrom,
String propertyPath,
boolean bCreateNullList)
Create a hub on objects that are based on hubB, and are grouped by hubA.
|
HubGroupBy(Hub<F> hubB,
String propertyPath) |
HubGroupBy(Hub<F> hubB,
String propertyPath,
boolean bCreateNullList)
Create a hub of objects that are based on hubB.
|
HubGroupByOrig(Hub<A> hubA,
String propertyPath) |
HubJfcDetail(Hub hubMaster,
Hub hubDetail,
String prop) |
HubJfcDetail(Hub hubMaster,
Hub hubDetail,
String prop) |
HubLeftJoin(Hub<A> hubA,
Hub<B> hubB,
String propertyPath)
Combine a left and right hubs on a propertyPath to form Hub.
|
HubLeftJoin(Hub<A> hubA,
Hub<B> hubB,
String propertyPath)
Combine a left and right hubs on a propertyPath to form Hub.
|
HubLink(Hub fromHub,
boolean bUseHubPosition,
Hub toHub,
String toProperty)
Link the position of the active object in a Hub to a numeric property of the active object in another Hub.
|
HubLink(Hub fromHub,
boolean bUseHubPosition,
Hub toHub,
String toProperty)
Link the position of the active object in a Hub to a numeric property of the active object in another Hub.
|
HubLink(Hub fromHub,
Hub toHub)
Link the active object in a Hub to a property of the active object in another Hub.
|
HubLink(Hub fromHub,
Hub toHub)
Link the active object in a Hub to a property of the active object in another Hub.
|
HubLink(Hub fromHub,
Hub toHub,
String toProperty)
Link a Hub to the active object of a property of the same Class in another Hub.
|
HubLink(Hub fromHub,
Hub toHub,
String toProperty)
Link a Hub to the active object of a property of the same Class in another Hub.
|
HubLink(Hub fromHub,
Hub toHub,
String toProperty,
boolean bAutoCreate)
Used to automatically create a new Object in "to" Hub whenever the
active object in "from" Hub is changed.
|
HubLink(Hub fromHub,
Hub toHub,
String toProperty,
boolean bAutoCreate)
Used to automatically create a new Object in "to" Hub whenever the
active object in "from" Hub is changed.
|
HubLink(Hub fromHub,
String fromProperty,
Hub toHub,
String toProperty)
Link the value of a property of the active object in a Hub to a property of the active object in another Hub.
|
HubLink(Hub fromHub,
String fromProperty,
Hub toHub,
String toProperty)
Link the value of a property of the active object in a Hub to a property of the active object in another Hub.
|
HubListenerTree(Hub hub) |
HubListenerTrigger(Hub<T> hub) |
HubMerger(F obj,
Hub<T> hubCombinedObjects,
String propertyPath) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bUseAll) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bUseAll) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
boolean bUseAll) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
boolean bUseAll) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
boolean bUseAll,
boolean bIncludeRootHub) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
boolean bUseAll,
boolean bIncludeRootHub) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
String selectOrder,
boolean bUseAll) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
String selectOrder,
boolean bUseAll) |
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
String selectOrder,
boolean bUseAll,
boolean bIncludeRootHub,
boolean bUseBackgroundThread)
Main constructor that includes all of the config params Used to create an new hubMerger that will
automatically update a Hub with all of the objects from a property path from a root Hub.
|
HubMerger(Hub<F> hubRoot,
Hub<T> hubCombinedObjects,
String propertyPath,
boolean bShareActiveObject,
String selectOrder,
boolean bUseAll,
boolean bIncludeRootHub,
boolean bUseBackgroundThread)
Main constructor that includes all of the config params Used to create an new hubMerger that will
automatically update a Hub with all of the objects from a property path from a root Hub.
|
HubMinusHubFilter(Hub hubMaster,
Hub hubMinus,
Hub hub)
Create a new HubMinusHubFilter using 3 Hubs.
|
HubMinusHubFilter(Hub hubMaster,
Hub hubMinus,
Hub hub)
Create a new HubMinusHubFilter using 3 Hubs.
|
HubMinusHubFilter(Hub hubMaster,
Hub hubMinus,
Hub hub)
Create a new HubMinusHubFilter using 3 Hubs.
|
HubProp(Hub<?> h,
String propertyPath,
String listenPropertyName,
Object compareValue) |
HubProp(Hub<?> h,
String propertyPath,
String listenPropertyName,
String[] props,
boolean bUseCompareValue,
Object compareValue,
OAFilter filter,
boolean bAoOnly,
String description) |
HubPropController(Hub hub)
Deprecated.
|
HubPropController(Hub hub,
String propertyName)
Deprecated.
|
HubPropController(Hub hub,
String propertyName,
Object compareValue)
Deprecated.
|
HubRoot(Hub hub,
Hub hubRoot)
This is used for recursive hubs, so that a Hub will stay at the root.
|
HubRoot(Hub hub,
Hub hubRoot)
This is used for recursive hubs, so that a Hub will stay at the root.
|
HubSample(Hub<T> hubMaster,
Hub<T> hubSample,
int sampleAmount)
Create a hubSample instance.
|
HubSample(Hub<T> hubMaster,
Hub<T> hubSample,
int sampleAmount)
Create a hubSample instance.
|
HubShareAO(Hub hub1,
Hub hub2) |
HubShareAO(Hub hub1,
Hub hub2) |
HubShareAO(Hub hub1,
Hub hub2,
boolean bOneWayOnly) |
HubShareAO(Hub hub1,
Hub hub2,
boolean bOneWayOnly) |
HubSortListener(Hub hub,
Comparator comparator) |
HubSortListener(Hub hub,
Comparator comparator,
boolean bAscending) |
HubSortListener(Hub hub,
Comparator comparator,
String propertyPaths,
boolean bAscending) |
HubSortListener(Hub hub,
String propertyPaths) |
HubSortListener(Hub hub,
String propertyPaths,
boolean bAscending)
Used by Hub for sorting objects.
|
HubTrigger(Hub<T> hubMaster) |
HubTrigger(Hub<T> hubMaster,
OAFilter filter,
String... dependentPropertyPaths) |
HubUniqueIndex(Hub<TYPE> hub,
String prop) |
HubUniqueIndex(Hub<TYPE> hub,
String prop,
boolean bCaseSensitive) |
MergedHub(Class<TYPE> clazz,
Hub hubMasterRoot,
String propertyPath) |
MergedHub(Class<TYPE> clazz,
Hub hubMasterRoot,
String propertyPath,
boolean bUseAll) |
MergedHub(Class<TYPE> clazz,
Hub hubMasterRoot,
String propertyPath,
boolean bShareActiveObject,
String selectOrder,
boolean bUseAll) |
ParentHub(Hub hubMaster,
String propertyPath) |
SharedHub(Hub<TYPE> hub)
Create a Hub that uses the same data/objects as another Hub.
|
SharedHub(Hub<TYPE> hub,
boolean bShareActiveObject)
Create a Hub that uses the same data/objects as another Hub.
|
Modifier and Type | Field and Description |
---|---|
protected Hub<F> |
OATypeAhead.hub |
Modifier and Type | Field and Description |
---|---|
protected static Hashtable<OAObjectInfo,Hub> |
OAObjectHashDelegate.hashRootHub
Used by OAObjectInfoDelegate to store the Root Hub for recursive classes.
|
protected WeakReference<Hub<T>> |
OAObjectCacheHubAdder.wfHub |
Modifier and Type | Method and Description |
---|---|
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) |
Hub<F> |
OAGroupBy.getHub() |
Hub<F> |
OASiblingHelper.getHub() |
Hub |
OATypeAhead.getHub() |
static Hub |
OAObjectHubDelegate.getHub(OAObject oaObj,
OALinkInfo li) |
protected Hub |
OAObject.getHub(String linkPropertyName) |
protected Hub |
OAObject.getHub(String linkPropertyName,
Hub hubMatch) |
protected Hub |
OAObject.getHub(String linkPropertyName,
String sortOrder)
DataSource independent method to retrieve a reference property that is a Hub Collection.
|
protected Hub |
OAObject.getHub(String linkPropertyName,
String sortOrder,
boolean bSequence) |
protected Hub |
OAObject.getHub(String linkPropertyName,
String sortOrder,
boolean bSequence,
Hub hubMatch) |
protected Hub |
OAObject.getHub(String linkPropertyName,
String sortOrder,
Hub hubMatch) |
static Hub[] |
OAObjectHubDelegate.getHubReferences(OAObject oaObj)
Return all Hubs that this object is a member of.
|
static Hub |
OAObjectCacheDelegate.getNamedHub(String name)
Gets a hub that is stored by name.
|
Hub<String> |
OAPropertyInfo.getNameValues() |
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 Hub |
OAObjectInfoDelegate.getRootHub(OAObjectInfo thisOI) |
static Hub |
OAObjectCacheDelegate.getSelectAllHub(Class clazz)
returns first hub from getSelectAllHubs()
|
static Hub[] |
OAObjectCacheDelegate.getSelectAllHubs(Class clazz)
Automatically set by Hub.select() when a select is done without a where clause.
|
static Hub |
OAObjectCSDelegate.getServerReferenceHub(OAObject oaObj,
String linkPropertyName) |
Modifier and Type | Method and Description |
---|---|
protected ArrayList<T> |
OAFinder._find(Hub<F> hubRoot,
F objectLastUsed)
Given the propertyPath, find all of the objects from a Hub,
starting after objectLastFound
|
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 |
OAObjectEditQueryDelegate.addDependentProps(Hub hub,
String prefix,
String[] viewDependentProperties,
String[] contextDependentProperties,
boolean bProcessed,
HubChangeListener changeListener) |
static void |
OAObjectEditQueryDelegate.addEditQueryChangeListeners(Hub hub,
Class cz,
String prop,
String ppPrefix,
HubChangeListener changeListener,
boolean bEnabled)
Used by HubChangedListener.addXxx to listen to dependencies found for an EditQuery.
|
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.
|
void |
OAObjectCacheHubAdder.afterAdd(Hub<T> hub,
T obj) |
void |
OAObjectCacheListener.afterAdd(Hub<T> hub,
T obj) |
void |
OAObjectCacheHubAdder.afterRemove(Hub<T> hub,
T obj) |
void |
OAObjectCacheListener.afterRemove(Hub<T> hub,
T obj) |
static boolean |
OAObjectInfoDelegate.cacheHub(OALinkInfo li,
Hub hub)
Used by OAObject.getHub() to cache hubs for links that have
a weakreference only.
|
static Object |
OAObject.callRemote(Hub hub,
Object... args) |
protected OAObject |
OACopyCallback.createCopy(OAObject oaObj,
String path,
Hub hub,
OAObject currentValue)
Called when adding owned objects to new hub.
|
protected static void |
OAObjectHubDelegate.deleteAll(Hub hub,
OACascade cascade) |
ArrayList<T> |
OAFinder.find(Hub<F> hubRoot)
Given the propertyPath, find all of the objects from a Hub.
|
ArrayList<T> |
OAFinder.find(Hub<F> hubRoot,
F objectLastUsed) |
T |
OAFinder.findFirst(Hub<F> hub) |
T |
OAFinder.findNext(Hub<F> hub,
F objectLastUsed) |
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 void |
OAObjectCacheDelegate.fireAfterAddEvent(Hub hub,
Object obj) |
static void |
OAObjectCacheDelegate.fireAfterRemoveEvent(Hub hub,
Object obj) |
static void |
OAObjectHubDelegate.fireMasterObjectHubChangeEvent(Hub thisHub,
boolean bRefreshFlag) |
static boolean |
OAObjectEditQueryDelegate.getAllowAdd(Hub hub) |
static boolean |
OAObjectEditQueryDelegate.getAllowAdd(Hub hub,
boolean bProcessedCheck) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowAddEditQuery(Hub hub,
boolean bProcessedCheck) |
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) |
static boolean |
OAObjectEditQueryDelegate.getAllowEnabled(Hub hub,
OAObject obj,
String name) |
static boolean |
OAObjectEditQueryDelegate.getAllowEnabled(Hub hub,
OAObject obj,
String name,
boolean bProcessedCheck) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowEnabledEditQuery(Hub hub) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowEnabledEditQuery(Hub hubThis,
OAObject oaObj,
String name,
boolean bProcessedCheck) |
static boolean |
OAObjectEditQueryDelegate.getAllowRemove(Hub hub,
boolean bProcessedCheck) |
static boolean |
OAObjectEditQueryDelegate.getAllowRemoveAll(Hub hub) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowRemoveAllEditQuery(Hub hub) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowRemoveEditQuery(Hub hub,
boolean bProcessedCheck) |
static boolean |
OAObjectEditQueryDelegate.getAllowVisible(Hub hub) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowVisibleEditQuery(Hub hub) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getAllowVisibleEditQuery(Hub hubThis,
OAObject oaObj,
String name) |
protected static boolean |
OAObjectHubDelegate.getChanged(Hub thisHub,
int changedRule,
OACascade cascade) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmAddEditQuery(Hub hub,
OAObject oaObj,
String confirmMessage,
String confirmTitle) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getConfirmRemoveEditQuery(Hub hub,
OAObject oaObj,
String confirmMessage,
String confirmTitle) |
static int |
OAObjectReflectDelegate.getHierarchyLevelsToHub(Hub findHub,
OAObject fromObj,
int maxLevelsToCheck) |
protected static int |
OAObjectReflectDelegate.getHierarchyLevelsToHub(Hub findHub,
OAObject fromObj,
int currentLevel,
int maxLevelsToCheck) |
protected Hub |
OAObject.getHub(String linkPropertyName,
Hub hubMatch) |
protected Hub |
OAObject.getHub(String linkPropertyName,
String sortOrder,
boolean bSequence,
Hub hubMatch) |
protected Hub |
OAObject.getHub(String linkPropertyName,
String sortOrder,
Hub hubMatch) |
static OALinkInfo |
OAObjectInfoDelegate.getLinkInfo(OAObjectInfo oi,
OAObject fromObject,
Hub hub)
Find the linkInfo for a refererenc.
|
static Object |
OAObjectReflectDelegate.getObjectToDisplay(Hub hubFrom,
Object fromObject,
Hub hubChild)
get the "real" object that needs to be displayed, based on a parent/from Hub,
and a from object (ex: row in table), and the hub that it originates from.
|
static Object |
OAObjectReflectDelegate.getObjectToDisplay(Hub hubFrom,
Object fromObject,
Hub hubChild)
get the "real" object that needs to be displayed, based on a parent/from Hub,
and a from object (ex: row in table), and the hub that it originates from.
|
static Object |
OAObjectReflectDelegate.getProperty(Hub hubLast,
OAObject oaObj,
String propPath) |
static Object |
OAObjectReflectDelegate.getProperty(Hub hub,
String propPath) |
static String |
OAObjectReflectDelegate.getPropertyPathBetweenHubs(Hub hubParent,
Hub hubChild)
get the property path from a Parent hub to a child hub, that is all of type=One.
|
static String |
OAObjectReflectDelegate.getPropertyPathBetweenHubs(Hub hubParent,
Hub hubChild)
get the property path from a Parent hub to a child hub, that is all of type=One.
|
static String |
OAObjectReflectDelegate.getPropertyPathFromMaster(OAObject objParent,
Hub hubChild) |
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 boolean |
OAObjectEditQueryDelegate.getVerifyAdd(Hub hub,
OAObject obj) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyAddEditQuery(Hub hub,
OAObject oaObj) |
static boolean |
OAObjectEditQueryDelegate.getVerifyRemove(Hub hub,
OAObject obj) |
static boolean |
OAObjectEditQueryDelegate.getVerifyRemoveAll(Hub hub) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyRemoveAllEditQuery(Hub hub) |
static OAObjectEditQuery |
OAObjectEditQueryDelegate.getVerifyRemoveEditQuery(Hub hub,
OAObject oaObj) |
static boolean |
OAThreadLocalDelegate.hasSentCalcPropertyChange(Hub thisHub,
OAObject thisObj,
String propertyName) |
static boolean |
OAObjectHubDelegate.isAlreadyInHub(OAObject oaObj,
Hub hubFind)
Used by Hub.add() before adding, quicker then checking array
|
static boolean |
OAObjectInfoDelegate.isCached(OALinkInfo li,
Hub hub) |
static boolean |
OAObjectHubDelegate.isInHubWithMaster(OAObject oaObj,
Hub hubToIgnore) |
static boolean |
OAObject.isRemoteAvailable(Hub hub) |
void |
OALoader.load(Hub<F> hubRoot) |
static void |
OAObjectReflectDelegate.loadAllReferences(Hub hub) |
static void |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
boolean bIncludeCalc) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACascade cascade) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACascade cascade,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
int maxRefsToLoad) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int levelsLoaded,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback,
OACascade cascade) |
static int |
OAObjectReflectDelegate.loadAllReferences(Hub hub,
int levelsLoaded,
int maxLevelsToLoad,
int additionalOwnedLevelsToLoad,
boolean bIncludeCalc,
OACallback callback,
OACascade cascade,
int maxRefsToLoad) |
static void |
OAObjectReflectDelegate.loadProperties(Hub hub,
String... propertyPaths)
Used to preload data, this will recursively load all references in the given Property Paths.
|
protected static boolean |
OAObjectCSDelegate.loadReferenceHubDataOnServer(Hub thisHub,
OASelect select) |
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.processEditQueryForHubListeners(OAObjectEditQuery editQuery,
Hub hub,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue) |
static void |
OAObjectHubDelegate.removeHub(OAObject oaObj,
Hub hub,
boolean bIsOnHubFinalize)
Called by Hub when an OAObject is removed from a Hub.
|
static void |
OAObjectCacheDelegate.removeSelectAllHub(Hub hub)
Used by Hub to unregister a Hub that had all data selected.
|
protected static void |
OAObjectHubDelegate.saveAll(Hub hub,
int iCascadeRule,
OACascade cascade) |
void |
OAObject.setHub(String linkPropertyName,
Hub hub) |
static void |
OAObjectHubDelegate.setMasterObject(Hub hub,
OAObject oaObj,
OALinkInfo liDetailToMaster) |
static void |
OAObjectHubDelegate.setMasterObject(Hub hub,
OAObject oaObj,
String nameFromMasterToDetail) |
static void |
OAObjectCacheDelegate.setNamedHub(String name,
Hub hub)
Used to store a global hub by name, using a WeakReference.
|
void |
OAFinder.setRoot(Hub<F> hub) |
static void |
OAObjectInfoDelegate.setRootHub(OAObjectInfo thisOI,
Hub h)
if this is a recursive object that does not have an owner, then the root hub can be set for all
hubs of this class.
|
static void |
OAObjectCacheDelegate.setSelectAllHub(Hub hub)
Used by Hub.select() to register a Hub that has all data selected.
|
boolean |
OACascade.wasCascaded(Hub hub,
boolean bAdd) |
Constructor and Description |
---|
OAFinder(Hub<F> fromHub,
String propPath) |
OAFinder(Hub<F> fromHub,
String propPath,
boolean bUseAll) |
OAObjectCacheFilter(Hub<T> hub)
create an object cache filter, and have hub updated with all objects that match filter(s) and isUsed methods return true.
|
OAObjectCacheFilter(Hub<T> hub,
OAFilter<T> filter)
Create new cache filter.
|
OAObjectCacheFilter(Hub<T> hub,
OAFilter<T> filter,
String... dependentPropPaths) |
OAObjectCacheHubAdder(Hub<T> hub)
Used to create a new HubControllerAdder that will add objects to the supplied Hub.
|
OAObjectCacheTrigger(Hub<T> hub,
OAFilter<T> filter,
String... dependentPropPaths) |
OASiblingHelper(Hub<F> hub) |
OATypeAhead(Hub<F> hub,
OATypeAhead.OATypeAheadParams params) |
Modifier and Type | Method and Description |
---|---|
void |
OAChangeProcessor.addListener(Hub hub,
String... propertyPaths) |
void |
OAChangeRefresher.addListener(Hub hub,
String... propertyPaths) |
void |
OAChangeProcessor.addListener(Hub hub,
String propertyPath) |
void |
OAChangeRefresher.addListener(Hub hub,
String propertyPath) |
Modifier and Type | Method and Description |
---|---|
static RemoteClientInterface |
OASyncDelegate.getRemoteClient(Hub h) |
static RemoteServerInterface |
OASyncDelegate.getRemoteServer(Hub h) |
static RemoteSessionInterface |
OASyncDelegate.getRemoteSession(Hub h) |
static RemoteSyncInterface |
OASyncDelegate.getRemoteSync(Hub h) |
static OASyncClient |
OASyncDelegate.getSyncClient(Hub h) |
static OASyncServer |
OASyncDelegate.getSyncServer(Hub h) |
static boolean |
OASyncDelegate.isServer(Hub h) |
static boolean |
OASyncDelegate.isSingleUser(Hub h) |
Modifier and Type | Method and Description |
---|---|
Object |
RemoteServerImpl.runRemoteMethod(Hub hub,
String methodName,
Object[] args) |
Object |
RemoteServerInterface.runRemoteMethod(Hub hub,
String methodName,
Object[] args)
Used by OAObject.remote to run a remote command for a Hub of OAObjects.
|
Modifier and Type | Method and Description |
---|---|
static OAUndoableEdit |
OAUndoableEdit.createUndoableAdd(String presentationName,
Hub hub,
Object obj) |
static OAUndoableEdit |
OAUndoableEdit.createUndoableChangeAO(String presentationName,
Hub hub,
Object prevObject,
Object newObject) |
static OAUndoableEdit |
OAUndoableEdit.createUndoableInsert(String presentationName,
Hub hub,
Object obj,
int pos) |
static OAUndoableEdit |
OAUndoableEdit.createUndoableMove(String presentationName,
Hub hub,
int prevPos,
int newPos) |
static OAUndoableEdit |
OAUndoableEdit.createUndoableRemove(String presentationName,
Hub hub,
Object obj,
int pos) |
Modifier and Type | Field and Description |
---|---|
protected Hub<F> |
OADownloadCsv.hub |
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) |
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)
|
Object |
OAPropertyPath.getValue(Hub<F> hub,
F fromObject)
Returns the value of the propertyPath from a base object.
|
Object |
OAPropertyPath.getValue(Hub<F> hub,
F fromObject,
boolean bLinksOnly) |
String |
OAPropertyPath.getValueAsString(Hub<F> hub,
F fromObject)
This will call getValue, and then call OAConv.toString using getFormat.
|
String |
OAPropertyPath.getValueAsString(Hub<F> hub,
F fromObject,
String format) |
String |
OATemplate.process(F objRoot1,
F objRoot2,
Hub<F> hubRoot,
OAProperties props) |
String |
OATemplate.process(F objRoot1,
Hub<F> hubRoot,
OAProperties props) |
String |
OATemplate.process(Hub<F> hub) |
String |
OATemplate.process(Hub<F> hub,
OAProperties props) |
void |
OAPropertyPath.setup(Hub hub) |
String |
OAPropertyPath.setup(Hub hub,
Class clazz,
boolean bIgnorePrivateLink) |
String |
OAJsonWriter.write(Hub hub)
saves Hub as JSON
|
void |
OAXMLWriter.write(Hub hub)
saves Hub as XML
|
Constructor and Description |
---|
OADownloadCsv(Hub<F> hub) |
Constructor and Description |
---|
OAInFilter(Hub hubIn) |
Copyright © 1999–2019 ViaOA. All rights reserved.