Project Wonder 5.0

er.extensions.eof
Interface ERXDatabaseContextDelegate.AutoBatchFaultingEnterpriseObject

All Superinterfaces:
com.webobjects.eocontrol.EODeferredFaulting, com.webobjects.eocontrol.EOEnterpriseObject, com.webobjects.eocontrol.EOFaulting, com.webobjects.eocontrol.EOKeyValueCoding, com.webobjects.eocontrol.EOKeyValueCodingAdditions, com.webobjects.eocontrol.EORelationshipManipulation, com.webobjects.eocontrol.EOValidation, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, java.io.Serializable
All Known Implementing Classes:
_Bug, _Comment, _Component, _Difficulty, _ERAttachment, _ERAttachmentData, _ERCAuditBlob, _ERCAuditTrail, _ERCAuditTrailEntry, _ERCHelpText, _ERCLogEntry, _ERCMailMessage, _ERCMailMessageArchive, _ERCMessageAttachment, _ERCPreference, _ERCStatic, _ERDatabaseAttachment, _ERFileAttachment, _ERIAttribute, _ERIAttributeGroup, _ERIAttributeType, _ERIDirectory, _ERIFile, _ERIFileContent, _ERIValidationRule, _ERS3Attachment, _ERTag, _Framework, _People, _Priority, _Release, _Requirement, _RequirementSubType, _RequirementType, _TestItem, _TestItemState, Bug, Comment, Component, Difficulty, ERAttachment, ERAttachmentData, ERCAuditBlob, ERCAuditTrail, ERCAuditTrailEntry, ERCHelpText, ERCLogEntry, ERCMailMessage, ERCMailMessageArchive, ERCMessageAttachment, ERCPreference, ERCStampedEnterpriseObject, ERCStatic, ERDatabaseAttachment, ERFileAttachment, ERIAttribute, ERIAttributeGroup, ERIAttributeType, ERIDirectory, ERIFile, ERIFileContent, ERIValidationRule, ERS3Attachment, ERTag, ERXGenericRecord, ERXPartialGenericRecord, Framework, People, Priority, Release, Requirement, RequirementSubType, RequirementType, TestItem, TestItemState
Enclosing class:
ERXDatabaseContextDelegate

public static interface ERXDatabaseContextDelegate.AutoBatchFaultingEnterpriseObject
extends com.webobjects.eocontrol.EOEnterpriseObject

Interface to provide auto-magic batch fetching. For an implementation (and the hack needed for to-one handling), see ERXGenericRecord.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueCodingAdditions
com.webobjects.eocontrol.EOKeyValueCodingAdditions.DefaultImplementation, com.webobjects.eocontrol.EOKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueCoding
com.webobjects.eocontrol.EOKeyValueCoding._BestBindingCreation, com.webobjects.eocontrol.EOKeyValueCoding._KeyBindingCreation, com.webobjects.eocontrol.EOKeyValueCoding._StoredForwardingBinding
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.ValidationException
 
Field Summary
 
Fields inherited from interface com.webobjects.eocontrol.EOEnterpriseObject
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Method Summary
 java.lang.String batchFaultingRelationshipName()
          The key through which we were last accessed.
 com.webobjects.eocontrol.EOGlobalID batchFaultingSourceGlobalID()
          The GID of the object that last touched us, or null.
 long batchFaultingTimeStamp()
          Last time fetched.
 void setBatchFaultingTimestamp(long fetchTimestamp)
          Updates the last time this object was fetched.
 void touchFromBatchFaultingSource(ERXDatabaseContextDelegate.AutoBatchFaultingEnterpriseObject toucher, java.lang.String relationship)
          Marks the object as touched from the specified source with the specified key.
 
Methods inherited from interface com.webobjects.eocontrol.EOEnterpriseObject
allPropertyKeys, attributeKeys, awakeFromClientUpdate, awakeFromFetch, awakeFromInsertion, changesFromSnapshot, classDescription, classDescriptionForDestinationKey, clearProperties, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, inverseForRelationshipKey, invokeRemoteMethod, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, snapshot, toManyRelationshipKeys, toOneRelationshipKeys, updateFromSnapshot, userPresentableDescription, willChange
 
Methods inherited from interface com.webobjects.eocontrol.EOKeyValueCodingAdditions
takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, valuesForKeys, valuesForKeysWithMapping
 
Methods inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
takeValueForKeyPath, valueForKeyPath
 
Methods inherited from interface com.webobjects.eocontrol.EOKeyValueCoding
storedValueForKey, takeStoredValueForKey
 
Methods inherited from interface com.webobjects.foundation.NSKeyValueCoding
takeValueForKey, valueForKey
 
Methods inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
handleQueryWithUnboundKey, handleTakeValueForUnboundKey, unableToSetNullForKey
 
Methods inherited from interface com.webobjects.eocontrol.EORelationshipManipulation
addObjectToBothSidesOfRelationshipWithKey, addObjectToPropertyWithKey, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey
 
Methods inherited from interface com.webobjects.eocontrol.EOValidation
validateClientUpdate, validateForDelete, validateForInsert, validateForSave, validateForUpdate
 
Methods inherited from interface com.webobjects.foundation.NSValidation
validateTakeValueForKeyPath, validateValueForKey
 
Methods inherited from interface com.webobjects.eocontrol.EODeferredFaulting
willReadRelationship
 
Methods inherited from interface com.webobjects.eocontrol.EOFaulting
clearFault, faultHandler, isFault, turnIntoFault, willRead
 

Method Detail

batchFaultingTimeStamp

long batchFaultingTimeStamp()
Last time fetched.

Returns:
millis of last fetch.

setBatchFaultingTimestamp

void setBatchFaultingTimestamp(long fetchTimestamp)
Updates the last time this object was fetched.

Parameters:
fetchTimestamp -

touchFromBatchFaultingSource

void touchFromBatchFaultingSource(ERXDatabaseContextDelegate.AutoBatchFaultingEnterpriseObject toucher,
                                  java.lang.String relationship)
Marks the object as touched from the specified source with the specified key.

Parameters:
toucher -
relationship - name of relationship

batchFaultingSourceGlobalID

com.webobjects.eocontrol.EOGlobalID batchFaultingSourceGlobalID()
The GID of the object that last touched us, or null.

Returns:
gid of touching object.

batchFaultingRelationshipName

java.lang.String batchFaultingRelationshipName()
The key through which we were last accessed.

Returns:
relationship name or null

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.