|
Project Wonder 5.0.0.8795 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecter.extensions.eof.ERXEOGlobalIDUtilities
public class ERXEOGlobalIDUtilities
Utilities that help with batch loading sets of global IDs.
| Nested Class Summary | |
|---|---|
static class |
ERXEOGlobalIDUtilities.Info
Unencrypts the byte array of NSData PKs so you get the process number or port, host and timestamp. |
| Field Summary | |
|---|---|
static Logger |
log
logging support |
| Constructor Summary | |
|---|---|
ERXEOGlobalIDUtilities()
|
|
| Method Summary | |
|---|---|
static NSMutableArray |
fetchObjectsWithGlobalIDs(EOEditingContext ec,
NSArray globalIDs)
Fetches an array of objects defined by the globalIDs in a single fetch per entity without refreshing refetched objects. |
static NSMutableArray |
fetchObjectsWithGlobalIDs(EOEditingContext ec,
NSArray globalIDs,
boolean refreshesRefetchedObjects)
Fetches an array of objects defined by the globalIDs in a single fetch per entity. |
static EOEnterpriseObject |
fetchObjectWithGlobalID(EOEditingContext ec,
EOGlobalID gid)
Fetches an object defined by gid without refreshing refetched objects. |
static NSArray |
fireFaultsForGlobalIDs(EOEditingContext ec,
NSArray globalIDs)
Fires all faults in the given global IDs on one batch. |
static NSArray |
fireFaultsForGlobalIDs(EOEditingContext ec,
NSArray globalIDs,
NSArray prefetchingKeypaths)
Fires all faults in the given global IDs on one batch together with their relationships. |
static NSDictionary |
globalIDsGroupedByEntityName(NSArray globalIDs)
Groups an array of global IDs by their entity name. |
static NSArray<EOGlobalID> |
globalIDsWithPrimaryKeyValues(String entityName,
NSArray<Object> values)
Translates an array of single-value raw primary values to EOGlobalIDs. |
static NSArray<Object> |
primaryKeyValuesWithGlobalIDs(NSArray<EOGlobalID> globalIDs)
Translates an array of EOGlobalID to primary key values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Logger log
| Constructor Detail |
|---|
public ERXEOGlobalIDUtilities()
| Method Detail |
|---|
public static NSDictionary globalIDsGroupedByEntityName(NSArray globalIDs)
globalIDs - public static NSArray<Object> primaryKeyValuesWithGlobalIDs(NSArray<EOGlobalID> globalIDs)
EOGlobalID to primary key values. Returns null if the given
global IDs are not EOKeyValueGlobalIDs and the primary keys are not single values.
globalIDs -
public static NSArray<EOGlobalID> globalIDsWithPrimaryKeyValues(String entityName,
NSArray<Object> values)
entityName - values -
public static EOEnterpriseObject fetchObjectWithGlobalID(EOEditingContext ec,
EOGlobalID gid)
ec - the editing context to fetch withingid - the global id to fetch
public static NSMutableArray fetchObjectsWithGlobalIDs(EOEditingContext ec,
NSArray globalIDs)
ec - the editing context to fetch withinglobalIDs - the global ids to fetch
public static NSMutableArray fetchObjectsWithGlobalIDs(EOEditingContext ec,
NSArray globalIDs,
boolean refreshesRefetchedObjects)
ec - the editing context to fetch withinglobalIDs - the global ids to fetchrefreshesRefetchedObjects - whether or not to refresh refetched objects
public static NSArray fireFaultsForGlobalIDs(EOEditingContext ec,
NSArray globalIDs,
NSArray prefetchingKeypaths)
ec - globalIDs - prefetchingKeypaths -
public static NSArray fireFaultsForGlobalIDs(EOEditingContext ec,
NSArray globalIDs)
ec - globalIDs -
|
Last updated: Fri, Jan 9, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||