er.attachment.model
Class _ERDatabaseAttachment
java.lang.Object
com.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOGenericRecord
er.extensions.eof.ERXGenericRecord
er.attachment.model._ERAttachment
er.attachment.model.ERAttachment
er.attachment.model._ERDatabaseAttachment
- All Implemented Interfaces:
- _EOPrivateMemento, EODeferredFaulting, EOEnterpriseObject, EOFaulting, EOKeyValueCoding, EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCodingAdditions, EORelationshipManipulation, EOValidation, NSKeyValueCoding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, ERXDatabaseContextDelegate.AutoBatchFaultingEnterpriseObject, ERXEnterpriseObject, ERXGeneratesPrimaryKeyInterface, ERXGuardedObjectInterface, ERXKey.ValueCoding, ERXNonNullObjectInterface, Serializable
- Direct Known Subclasses:
- ERDatabaseAttachment
public abstract class _ERDatabaseAttachment
- extends ERAttachment
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| Fields inherited from interface er.extensions.eof.ERXEnterpriseObject |
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 |
|
Method Summary |
ERAttachmentData |
attachmentData()
|
static ERDatabaseAttachment |
createERDatabaseAttachment(EOEditingContext editingContext,
Boolean available,
NSTimestamp creationDate,
String mimeType,
String originalFileName,
Boolean proxied,
Integer size,
String webPath)
|
static NSArray<ERDatabaseAttachment> |
fetchAllERDatabaseAttachments(EOEditingContext editingContext)
|
static NSArray<ERDatabaseAttachment> |
fetchAllERDatabaseAttachments(EOEditingContext editingContext,
NSArray<EOSortOrdering> sortOrderings)
|
static ERDatabaseAttachment |
fetchERDatabaseAttachment(EOEditingContext editingContext,
EOQualifier qualifier)
|
static ERDatabaseAttachment |
fetchERDatabaseAttachment(EOEditingContext editingContext,
String keyName,
Object value)
|
static NSArray<ERDatabaseAttachment> |
fetchERDatabaseAttachments(EOEditingContext editingContext,
EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings)
|
static ERDatabaseAttachment |
fetchRequiredERDatabaseAttachment(EOEditingContext editingContext,
EOQualifier qualifier)
|
static ERDatabaseAttachment |
fetchRequiredERDatabaseAttachment(EOEditingContext editingContext,
String keyName,
Object value)
|
static ERXFetchSpecification<ERDatabaseAttachment> |
fetchSpecForERDatabaseAttachment()
|
ERDatabaseAttachment |
localInstanceIn(EOEditingContext editingContext)
Returns this EO in the supplied editing context. |
static ERDatabaseAttachment |
localInstanceIn(EOEditingContext editingContext,
ERDatabaseAttachment eo)
|
void |
setAttachmentData(ERAttachmentData value)
|
void |
setAttachmentDataRelationship(ERAttachmentData value)
|
void |
setSmallData(NSData value)
|
NSData |
smallData()
|
| Methods inherited from class er.attachment.model._ERAttachment |
addToChildrenAttachments, addToChildrenAttachmentsRelationship, available, childrenAttachments, childrenAttachments, childrenAttachments, childrenAttachments, configurationName, createChildrenAttachmentsRelationship, createERAttachment, creationDate, deleteAllChildrenAttachmentsRelationships, deleteChildrenAttachmentsRelationship, fetchAllERAttachments, fetchAllERAttachments, fetchERAttachment, fetchERAttachment, fetchERAttachments, fetchRequiredERAttachment, fetchRequiredERAttachment, fetchSpec, height, localInstanceIn, mimeType, originalFileName, ownerID, parentAttachment, proxied, removeFromChildrenAttachments, removeFromChildrenAttachmentsRelationship, setAvailable, setConfigurationName, setCreationDate, setHeight, setMimeType, setOriginalFileName, setOwnerID, setParentAttachment, setParentAttachmentRelationship, setProxied, setSize, setStorageType, setThumbnail, setWebPath, setWidth, size, storageType, thumbnail, webPath, width |
| Methods inherited from class er.extensions.eof.ERXGenericRecord |
_otherStorageBinding, _setPrimaryKeyDictionary, _setUpdateInverseRelationships, _setValueForPrimaryKey, _updateInverseRelationships, _validateValueForKey, addObjectsToBothSidesOfRelationshipWithKey, addObjectToBothSidesOfRelationshipWithKey, applyRestrictingQualifierOnInsert, awakeFromClientUpdate, awakeFromFetch, awakeFromInsertion, batchCheckConsistency, batchFaultingRelationshipName, batchFaultingSourceGlobalID, batchFaultingTimeStamp, canDelete, canUpdate, changesFromCommittedSnapshot, checkConsistency, checkMatchingEditingContexts, clearProperties, committedSnapshot, committedSnapshotValueForKey, delete, description, didCopyFromChildInEditingContext, didRevert, didUpdate, encryptedPrimaryKey, entity, excludeObjectFromPropertyWithKey, flushCaches, foreignKeyForRelationshipWithKey, getClassLog, hasKeyChangedFromCommittedSnapshot, hasKeyChangedFromCommittedSnapshotFromValue, hasKeyChangedFromCommittedSnapshotFromValueToNewValue, hasKeyChangedFromCommittedSnapshotToValue, includeObjectIntoPropertyWithKey, init, isDeletedEO, isNewEO, isNewObject, isNonNull, isUpdatedObject, isValidatedWhenNested, localesForKey, localInstanceOf, localInstancesOf, localizationShouldFallbackToDefaultLanguage, mightDelete, parentObjectStoreIsObjectStoreCoordinator, permanentGlobalID, permanentGlobalID, primaryKey, primaryKeyAttributeNames, primaryKeyDictionary, primaryKeyInTransaction, rawPrimaryKey, rawPrimaryKeyInTransaction, refetchObjectFromDB, refetchObjectFromDBinEditingContext, removeObjectsFromBothSidesOfRelationshipWithKey, removeObjectsFromPropertyWithKey, self, setBatchFaultingTimestamp, setValidatedWhenNested, shouldSkipValidateForSave, shouldTrimSpaces, takeStoredValueForKey, takeValueForKey, takeValueForKey, toLongString, toString, touchFromBatchFaultingSource, trimSpaces, updateFromSnapshot, validateForInsert, validateForSave, validateForUpdate, validateValueForKey, valueForKey, willDelete, willInsert, willReadRelationship, willRevert, willUpdate |
| 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, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, equals, faultHandler, handleQueryWithUnboundKey, 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 |
| Methods inherited from interface com.webobjects.eocontrol.EOEnterpriseObject |
allPropertyKeys, attributeKeys, changesFromSnapshot, classDescription, classDescriptionForDestinationKey, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, inverseForRelationshipKey, invokeRemoteMethod, isReadOnly, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, snapshot, toManyRelationshipKeys, toOneRelationshipKeys, userPresentableDescription, willChange |
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
AVAILABLE
public static final ERXKey<Boolean> AVAILABLE
CONFIGURATION_NAME
public static final ERXKey<String> CONFIGURATION_NAME
CREATION_DATE
public static final ERXKey<NSTimestamp> CREATION_DATE
HEIGHT
public static final ERXKey<Integer> HEIGHT
MIME_TYPE
public static final ERXKey<String> MIME_TYPE
ORIGINAL_FILE_NAME
public static final ERXKey<String> ORIGINAL_FILE_NAME
OWNER_ID
public static final ERXKey<String> OWNER_ID
PROXIED
public static final ERXKey<Boolean> PROXIED
SIZE
public static final ERXKey<Integer> SIZE
SMALL_DATA
public static final ERXKey<NSData> SMALL_DATA
STORAGE_TYPE
public static final ERXKey<String> STORAGE_TYPE
THUMBNAIL
public static final ERXKey<String> THUMBNAIL
WEB_PATH
public static final ERXKey<String> WEB_PATH
WIDTH
public static final ERXKey<Integer> WIDTH
ATTACHMENT_DATA
public static final ERXKey<ERAttachmentData> ATTACHMENT_DATA
CHILDREN_ATTACHMENTS
public static final ERXKey<ERAttachment> CHILDREN_ATTACHMENTS
PARENT_ATTACHMENT
public static final ERXKey<ERAttachment> PARENT_ATTACHMENT
AVAILABLE_KEY
public static final String AVAILABLE_KEY
CONFIGURATION_NAME_KEY
public static final String CONFIGURATION_NAME_KEY
CREATION_DATE_KEY
public static final String CREATION_DATE_KEY
HEIGHT_KEY
public static final String HEIGHT_KEY
MIME_TYPE_KEY
public static final String MIME_TYPE_KEY
ORIGINAL_FILE_NAME_KEY
public static final String ORIGINAL_FILE_NAME_KEY
OWNER_ID_KEY
public static final String OWNER_ID_KEY
PROXIED_KEY
public static final String PROXIED_KEY
SIZE_KEY
public static final String SIZE_KEY
SMALL_DATA_KEY
public static final String SMALL_DATA_KEY
STORAGE_TYPE_KEY
public static final String STORAGE_TYPE_KEY
THUMBNAIL_KEY
public static final String THUMBNAIL_KEY
WEB_PATH_KEY
public static final String WEB_PATH_KEY
WIDTH_KEY
public static final String WIDTH_KEY
ATTACHMENT_DATA_KEY
public static final String ATTACHMENT_DATA_KEY
CHILDREN_ATTACHMENTS_KEY
public static final String CHILDREN_ATTACHMENTS_KEY
PARENT_ATTACHMENT_KEY
public static final String PARENT_ATTACHMENT_KEY
_ERDatabaseAttachment
public _ERDatabaseAttachment()
localInstanceIn
public ERDatabaseAttachment localInstanceIn(EOEditingContext editingContext)
- Description copied from interface:
ERXEnterpriseObject
- Returns this EO in the supplied editing context.
- Specified by:
localInstanceIn in interface ERXEnterpriseObject- Overrides:
localInstanceIn in class _ERAttachment
- Returns:
- this EO in the supplied editing context.
smallData
public NSData smallData()
setSmallData
public void setSmallData(NSData value)
attachmentData
public ERAttachmentData attachmentData()
setAttachmentData
public void setAttachmentData(ERAttachmentData value)
setAttachmentDataRelationship
public void setAttachmentDataRelationship(ERAttachmentData value)
createERDatabaseAttachment
public static ERDatabaseAttachment createERDatabaseAttachment(EOEditingContext editingContext,
Boolean available,
NSTimestamp creationDate,
String mimeType,
String originalFileName,
Boolean proxied,
Integer size,
String webPath)
fetchSpecForERDatabaseAttachment
public static ERXFetchSpecification<ERDatabaseAttachment> fetchSpecForERDatabaseAttachment()
fetchAllERDatabaseAttachments
public static NSArray<ERDatabaseAttachment> fetchAllERDatabaseAttachments(EOEditingContext editingContext)
fetchAllERDatabaseAttachments
public static NSArray<ERDatabaseAttachment> fetchAllERDatabaseAttachments(EOEditingContext editingContext,
NSArray<EOSortOrdering> sortOrderings)
fetchERDatabaseAttachments
public static NSArray<ERDatabaseAttachment> fetchERDatabaseAttachments(EOEditingContext editingContext,
EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings)
fetchERDatabaseAttachment
public static ERDatabaseAttachment fetchERDatabaseAttachment(EOEditingContext editingContext,
String keyName,
Object value)
fetchERDatabaseAttachment
public static ERDatabaseAttachment fetchERDatabaseAttachment(EOEditingContext editingContext,
EOQualifier qualifier)
fetchRequiredERDatabaseAttachment
public static ERDatabaseAttachment fetchRequiredERDatabaseAttachment(EOEditingContext editingContext,
String keyName,
Object value)
fetchRequiredERDatabaseAttachment
public static ERDatabaseAttachment fetchRequiredERDatabaseAttachment(EOEditingContext editingContext,
EOQualifier qualifier)
localInstanceIn
public static ERDatabaseAttachment localInstanceIn(EOEditingContext editingContext,
ERDatabaseAttachment eo)
Copyright © 2002 – 2011 Project Wonder.