er.corebusinesslogic
Class ERCStampedEnterpriseObject
java.lang.Object
com.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOGenericRecord
er.extensions.ERXGenericRecord
er.corebusinesslogic.ERCStampedEnterpriseObject
- All Implemented Interfaces:
- _EOPrivateMemento, EODeferredFaulting, EOEnterpriseObject, EOFaulting, EOKeyValueCoding, EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCodingAdditions, EORelationshipManipulation, EOValidation, ERXGeneratesPrimaryKeyInterface, ERXGuardedObjectInterface, NSKeyValueCoding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable
- Direct Known Subclasses:
- _ERCMailMessage
- public abstract class ERCStampedEnterpriseObject
- extends ERXGenericRecord
- See Also:
- Serialized Form
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
Fields inherited from class er.extensions.ERXGenericRecord |
classLogs, insertionStackTrace, insertionTrackingLog, KEY_MARKER, lock, tranLogDidDelete, tranLogDidInsert, tranLogDidUpdate, tranLogWillDelete, tranLogWillInsert, tranLogWillUpdate, validation, validationException |
Methods inherited from class er.extensions.ERXGenericRecord |
_checkEditingContextDelegate, addObjectsToBothSidesOfRelationshipWithKey, addObjectToBothSidesOfRelationshipWithKey, awakeFromClientUpdate, awakeFromFetch, batchCheckConsistency, canDelete, canUpdate, changesFromCommittedSnapshot, checkConsistency, committedSnapshotValueForKey, delete, description, didDelete, didInsert, didSave, didUpdate, encryptedPrimaryKey, flushCaches, foreignKeyForRelationshipWithKey, getClassLog, isDeletedEO, isNewEO, isNewObject, localInstanceOf, localInstancesOf, parentObjectStoreIsObjectStoreCoordinator, primaryKey, primaryKeyAttributeNames, primaryKeyDictionary, primaryKeyInTransaction, rawPrimaryKey, rawPrimaryKeyInTransaction, refetchObjectFromDBinEditingContext, removeObjectsFromBothSidesOfRelationshipWithKey, removeObjectsFromPropertyWithKey, self, shouldTrimSpaces, toLongString, toString, trimSpaces, validateForDelete, validateForInsert, validateForSave, validateForUpdate, validateValueForKey |
Methods inherited from class com.webobjects.eocontrol.EOCustomObject |
__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, clearProperties, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, equals, excludeObjectFromPropertyWithKey, faultHandler, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hashCode, includeObjectIntoPropertyWithKey, inverseForRelationshipKey, invokeRemoteMethod, isFault, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, readResolve, reapplyChangesFromDictionary, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey, shouldUseStoredAccessors, snapshot, storedValueForKey, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, toManyRelationshipKeys, toOneRelationshipKeys, turnIntoFault, unableToSetNullForKey, updateFromSnapshot, userPresentableDescription, validateClientUpdate, validateTakeValueForKeyPath, valueForKey, valueForKeyPath, valuesForKeys, valuesForKeysWithMapping, willChange, willRead, willReadRelationship |
log
public static ERXLogger log
- logging support
TimestampAttributeKeys
public static final NSArray TimestampAttributeKeys
insertionLogEntry
public EOEnterpriseObject insertionLogEntry
_implementsLogEntryInterface
protected Boolean _implementsLogEntryInterface
ERCStampedEnterpriseObject
public ERCStampedEnterpriseObject()
implementsLogEntryInterface
public boolean implementsLogEntryInterface()
awakeFromInsertion
public void awakeFromInsertion(EOEditingContext ec)
- Description copied from class:
ERXGenericRecord
- Checks the editing context delegate before calling
super's implementation. See the method
_checkEditingContextDelegate
for an explanation
as to what this check does.
- Specified by:
awakeFromInsertion
in interface EOEnterpriseObject
- Overrides:
awakeFromInsertion
in class ERXGenericRecord
- Parameters:
ec
- to be checked to make sure it has the
correct type of delegate set.
willInsert
public void willInsert()
- Description copied from class:
ERXGenericRecord
- Called as part of the augmented transaction process.
This method is called after saveChanges is called on
the editing context, but before the object is actually
inserted into the database. This method is also called
before
validateForInsert
is called on this
object. This method is called by the editing context
delegate ERXDefaultEditingContextDelegate
.
- Overrides:
willInsert
in class ERXGenericRecord
willUpdate
public void willUpdate()
- Description copied from class:
ERXGenericRecord
- Called as part of the augmented transaction process.
This method is called after saveChanges is called on
the editing context, but before the object is actually
updated in the database. This method is also called
before
validateForSave
is called on this
object. This method is called by the editing context
delegate ERXDefaultEditingContextDelegate
.
- Overrides:
willUpdate
in class ERXGenericRecord
willDelete
public void willDelete()
- Description copied from class:
ERXGenericRecord
- Called as part of the augmented transaction process.
This method is called after saveChanges is called on
the editing context, but before the object is actually
deleted from the database. This method is also called
before
validateForDelete
is called on this
object. This method is called by the editing context
delegate ERXDefaultEditingContextDelegate
.
- Overrides:
willDelete
in class ERXGenericRecord
addObjectToBothSidesOfLogEntryRelationshipWithKey
public void addObjectToBothSidesOfLogEntryRelationshipWithKey(EOEnterpriseObject object,
String key)
created
public NSTimestamp created()
setCreated
public void setCreated(NSTimestamp value)
lastModified
public NSTimestamp lastModified()
setLastModified
public void setLastModified(NSTimestamp value)
Copyright © 2002 – 2004 Project Wonder.