public class OASiblingHelperDelegate extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
OASiblingHelperDelegate.DetailInfo |
Constructor and Description |
---|
OASiblingHelperDelegate() |
Modifier and Type | Method and Description |
---|---|
static Hub |
findBestSiblingHub(OAObject masterObject,
OALinkInfo liToMaster) |
protected static void |
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 OAObjectKey[] |
getSiblings(OAObject mainObject,
String property,
int maxAmount)
Used to find any siblings that also need the same property loaded.
|
static OAObjectKey[] |
getSiblings(OAObject mainObject,
String property,
int maxAmount,
ConcurrentHashMap<Integer,Boolean> hmIgnore) |
static void |
onGetObjectReference(OAObject obj,
String linkPropertyName)
used by OAObject.getReference so taht siblingHelpers can update their pp
|
public static void onGetObjectReference(OAObject obj, String linkPropertyName)
public static OAObjectKey[] getSiblings(OAObject mainObject, String property, int maxAmount)
public static OAObjectKey[] getSiblings(OAObject mainObject, String property, int maxAmount, ConcurrentHashMap<Integer,Boolean> hmIgnore)
mainObject
- property
- maxAmount
- hmIgnore
- ignore list, because they are "inflight" with other concurrent requestsprotected static void 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)
public static Hub findBestSiblingHub(OAObject masterObject, OALinkInfo liToMaster)
Copyright © 1999–2019 ViaOA. All rights reserved.