public abstract class ERCStampedEnterpriseObject extends ERXGenericRecord
Name | Description |
---|---|
er.corebusinesslogic.ERCStampedEnterpriseObject.touchReadOnlyEntities | er.corebusinesslogic.ERCStampedEnterpriseObject.touchReadOnlyEntities |
Modifier and Type | Class and Description |
---|---|
static class |
ERCStampedEnterpriseObject.ERCStampedEnterpriseObjectClazz |
static interface |
ERCStampedEnterpriseObject.Keys |
static class |
ERCStampedEnterpriseObject.Observer |
ERXGenericRecord.ERXGenericRecordClazz<T extends com.webobjects.eocontrol.EOEnterpriseObject>, ERXGenericRecord.InverseRelationshipUpdater, ERXGenericRecord.LocalizedBinding, ERXGenericRecord.TouchingBinding
EOGenericRecord._DictionaryBinding, EOGenericRecord._LazyDictionaryBinding
EOCustomObject._BooleanFieldBinding, EOCustomObject._FieldBinding, EOCustomObject._LazyFieldBinding, EOCustomObject._NumberFieldBinding
ERXEnterpriseObject.Processor
com.webobjects.eocontrol.EOKeyValueCodingAdditions.DefaultImplementation, com.webobjects.eocontrol.EOKeyValueCodingAdditions.Utility
com.webobjects.eocontrol.EOKeyValueCoding._BestBindingCreation, com.webobjects.eocontrol.EOKeyValueCoding._KeyBindingCreation, com.webobjects.eocontrol.EOKeyValueCoding._StoredForwardingBinding
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._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
com.webobjects.eocontrol.EOEnterpriseObject |
insertionLogEntry |
static String[] |
TimestampAttributeKeys |
_primaryKey, _touchSource, insertionStackTrace
_CLASS
__readOnly
applyRestrictingQualifierOnInsert, DidDeleteProcessor, DidInsertProcessor, DidRevertProcessor, DidUpdateProcessor, FlushCachesProcessor, insertionTrackingLog, KEY_MARKER, logMod, tranLogDidDelete, tranLogDidInsert, tranLogDidRevert, tranLogDidUpdate, tranLogMightDelete, tranLogWillDelete, tranLogWillInsert, tranLogWillRevert, tranLogWillUpdate, validation, validationException, WillDeleteProcessor, WillInsertProcessor, WillRevertProcessor, WillUpdateProcessor
Constructor and Description |
---|
ERCStampedEnterpriseObject() |
Modifier and Type | Method and Description |
---|---|
void |
addObjectToBothSidesOfLogEntryRelationshipWithKey(com.webobjects.eocontrol.EOEnterpriseObject object,
String key) |
com.webobjects.foundation.NSTimestamp |
created() |
void |
init(com.webobjects.eocontrol.EOEditingContext ec)
used for initialization stuff instead of awakeFromInsertion.
|
protected static void |
initialize() |
com.webobjects.foundation.NSTimestamp |
lastModified() |
void |
setCreated(com.webobjects.foundation.NSTimestamp value) |
void |
setLastModified(com.webobjects.foundation.NSTimestamp value) |
protected static boolean |
touchReadOnlyEntities()
Returns whether or not read-only entities should be touched.
|
void |
willDelete()
Called as part of the augmented transaction process.
|
void |
willInsert()
Called as part of the augmented transaction process.
|
void |
willUpdate()
Called as part of the augmented transaction process.
|
_otherStorageBinding, _setPrimaryKeyDictionary, _setUpdateInverseRelationships, _setValueForPrimaryKey, _updateInverseRelationships, _validateValueForKey, addObjectsToBothSidesOfRelationshipWithKey, addObjectToBothSidesOfRelationshipWithKey, applyRestrictingQualifierOnInsert, awakeFromClientUpdate, awakeFromFetch, awakeFromInsertion, batchFaultingRelationshipName, batchFaultingSourceGlobalID, batchFaultingTimeStamp, canDelete, canUpdate, changesFromCommittedSnapshot, checkMatchingEditingContexts, clearProperties, committedSnapshot, committedSnapshotValueForKey, committedSnapshotValueForKey, delete, didCopyFromChildInEditingContext, didDelete, didInsert, didRevert, didUpdate, encryptedPrimaryKey, entity, excludeObjectFromPropertyWithKey, flushCaches, foreignKeyForRelationshipWithKey, getClassLog, handleQueryWithUnboundKey, hasKeyChangedFromCommittedSnapshot, hasKeyChangedFromCommittedSnapshot, hasKeyChangedFromCommittedSnapshotFromValue, hasKeyChangedFromCommittedSnapshotFromValue, hasKeyChangedFromCommittedSnapshotFromValueToNewValue, hasKeyChangedFromCommittedSnapshotFromValueToNewValue, hasKeyChangedFromCommittedSnapshotToValue, hasKeyChangedFromCommittedSnapshotToValue, includeObjectIntoPropertyWithKey, isDeletedEO, isNewObject, isNonNull, isUpdatedObject, isValidatedWhenNested, localesForKey, localInstanceIn, localInstanceOf, localInstancesOf, localizationShouldFallbackToDefaultLanguage, localizedKey, mightDelete, parentObjectStoreIsObjectStoreCoordinator, permanentGlobalID, permanentGlobalID, primaryKey, primaryKeyAttributeNames, primaryKeyInTransaction, rawPrimaryKey, rawPrimaryKeyDictionary, rawPrimaryKeyInTransaction, refetchObjectFromDB, refetchObjectFromDBinEditingContext, removeObjectsFromBothSidesOfRelationshipWithKey, removeObjectsFromPropertyWithKey, self, setBatchFaultingTimestamp, setValidatedWhenNested, shouldSkipValidateForSave, shouldTrimSpaces, takeStoredValueForKey, takeValueForKey, takeValueForKey, toLongString, toString, touchFromBatchFaultingSource, trimSpaces, updateFromSnapshot, validateForInsert, validateForSave, validateForUpdate, validateValueForKey, valueForKey, willReadRelationship, willRevert
__setClassDescription, _keyGetBindingForKey, _keySetBindingForKey, _storedKeyGetBindingForKey, _storedKeySetBindingForKey, classDescription, usesDeferredFaultCreation
__classDescription, __clearPendingChanges, __editingContext, __globalID, __hasAuxillaryObservers, __hasPendingChanges, __hasPendingUpdate, __isInitialized, __isPendingDeletion, __isPendingInsertion, __isShared, __lastSnapshot, __originalSnapshot, __retainCount, __setAuxillaryObservers, __setEditingContext, __setGlobalID, __setInitialized, __setLastSnapshot, __setOriginalSnapshot, __setPendingDeletion, __setPendingInsertion, __setPendingUpdate, __setRetainCount, __setShared, _createKeyGetBindingForKey, _createKeySetBindingForKey, _createStoredKeyGetBindingForKey, _createStoredKeySetBindingForKey, _fieldKeyBinding, _forwardingBindingNeededForClass, _methodKeyGetBinding, _methodKeySetBinding, addObjectToPropertyWithKey, allPropertyKeys, attributeKeys, canAccessFieldsDirectly, changesFromSnapshot, classDescriptionForDestinationKey, clearFault, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, equals, faultHandler, handleTakeValueForUnboundKey, hashCode, inverseForRelationshipKey, invokeRemoteMethod, isFault, isReadOnly, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, readResolve, reapplyChangesFromDictionary, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey, shouldUseStoredAccessors, snapshot, storedValueForKey, takeValueForKeyPath, takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, toManyRelationshipKeys, toOneRelationshipKeys, turnIntoFault, unableToSetNullForKey, userPresentableDescription, validateClientUpdate, validateForDelete, validateTakeValueForKeyPath, valueForKey, valueForKeyPath, valuesForKeys, valuesForKeysWithMapping, willChange, willRead
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allPropertyKeys, attributeKeys, changesFromSnapshot, classDescription, classDescriptionForDestinationKey, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, inverseForRelationshipKey, invokeRemoteMethod, isReadOnly, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, snapshot, toManyRelationshipKeys, toOneRelationshipKeys, userPresentableDescription, willChange
takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, valuesForKeys, valuesForKeysWithMapping
takeValueForKeyPath, valueForKeyPath
handleTakeValueForUnboundKey, unableToSetNullForKey
addObjectToPropertyWithKey, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey
public static String[] TimestampAttributeKeys
public com.webobjects.eocontrol.EOEnterpriseObject insertionLogEntry
protected static void initialize()
public void init(com.webobjects.eocontrol.EOEditingContext ec)
ERXGenericRecord
awakeFromInsertions
is buggy because if an EO is deleted
and then its EOEditingContext is reverted using 'revert' for example then
EOF will -insert- this EO again in its EOEditingContext which in turn
calls awakeFromInsertion again.init
in class ERXGenericRecord
ec
- the EOEditingContext in which this new EO is insertedpublic void willInsert()
ERXEnterpriseObject
validateForInsert
is called on this
object. This method is called by the editing context
delegate ERXDefaultEditingContextDelegate
.willInsert
in interface ERXEnterpriseObject
willInsert
in class ERXGenericRecord
public void willUpdate()
ERXEnterpriseObject
validateForSave
is called on this
object. This method is called by the editing context
delegate ERXDefaultEditingContextDelegate
.willUpdate
in interface ERXEnterpriseObject
willUpdate
in class ERXGenericRecord
public void willDelete()
ERXEnterpriseObject
validateForDelete
is called on this
object. This method is called by the editing context
delegate ERXDefaultEditingContextDelegate
.willDelete
in interface ERXEnterpriseObject
willDelete
in class ERXGenericRecord
protected static boolean touchReadOnlyEntities()
public void addObjectToBothSidesOfLogEntryRelationshipWithKey(com.webobjects.eocontrol.EOEnterpriseObject object, String key)
public com.webobjects.foundation.NSTimestamp created()
public void setCreated(com.webobjects.foundation.NSTimestamp value)
public com.webobjects.foundation.NSTimestamp lastModified()
public void setLastModified(com.webobjects.foundation.NSTimestamp value)
Copyright © 2002 – 2020 Project Wonder.