public class ERDEditFile extends ERDCustomEditComponent
ERDCustomEditComponent.KeysWOComponent._EventLoggingEnabler, WOComponent.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
boolean |
didUpload |
NSDictionary |
extraBindings |
NSData |
fileContents |
java.lang.String |
fileName |
boolean |
shouldRaise |
java.lang.String |
uploadDirectory |
editingContextFALSE, TRUE_dynamicBindings_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
ERDEditFile(WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
WOComponent |
deleteAction() |
java.lang.String |
deleteButton() |
void |
deleteFile() |
NSData |
fileContentz() |
boolean |
fileExists() |
java.lang.String |
fileName() |
boolean |
haveData() |
WOActionResults |
invokeAction(WORequest worequest,
WOContext wocontext)
Calls
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.invokeAction. |
boolean |
isStateless() |
java.lang.String |
lastPartOfFileName() |
java.lang.Object |
objectKeyPathValue() |
java.lang.String |
realPath() |
void |
reset()
Used by stateless subclasses.
|
java.lang.String |
selectButton() |
java.lang.String |
selectMessage() |
void |
setFileContentz(NSData data) |
void |
setObjectKeyPathValue(java.lang.Object value) |
boolean |
shouldUnpack() |
void |
sleep() |
boolean |
synchronizesVariablesWithBindings()
Overridden from superclass to turn on component synching, which is the default.
|
void |
takeValuesFromRequest(WORequest q,
WOContext c)
Calls
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.takeValuesFromRequest. |
WOComponent |
uploadAction() |
java.lang.String |
uploadButton() |
java.lang.String |
uploadDirectory() |
void |
uploadFile() |
java.lang.String |
uploadMessage() |
defaultSortOrderingsForDestinationEntity, destinationEntity, object, objectPropertyValue, permissionToEdit, resetCachedBindingsInStatefulComponent, setObject, setObjectPropertyValueappendToResponse, booleanForBinding, clearValidationFailed, d2wComponentNameDebuggingEnabled, d2wContext, d2wContextFromBindings, d2wContextValueForBinding, d2wDebuggingEnabled, d2wPage, d2wPropertyKeyDebuggingEnabled, extraBindings, extraBindingsValueForBinding, hasBinding, integerBooleanForBinding, key, localContext, logDebugInfo, originalValueForBinding, parentValueForBinding, setD2wContext, setExtraBindings, setKey, setLocalContext, task, taskIsEdit, taskIsInspect, taskIsList, validationFailedWithException, valueForBinding_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, arrayValueForBinding, arrayValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browser, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, shouldCheckAccess, stringValueForBinding, stringValueForBinding, useDefaultComponentCSS, useDefaultComponentJavascript__valueForBinding, _associationWithName, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic java.lang.String fileName
public java.lang.String uploadDirectory
public NSData fileContents
public NSDictionary extraBindings
public boolean shouldRaise
public boolean didUpload
public ERDEditFile(WOContext context)
public java.lang.String selectMessage()
public java.lang.String uploadMessage()
public java.lang.String selectButton()
public java.lang.String uploadButton()
public java.lang.String deleteButton()
public java.lang.String uploadDirectory()
public WOActionResults invokeAction(WORequest worequest, WOContext wocontext)
ERXNonSynchronizingComponentERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.invokeAction.invokeAction in class ERXNonSynchronizingComponentworequest - for which the action is invokedwocontext - of the requestpublic void takeValuesFromRequest(WORequest q, WOContext c) throws NSValidation.ValidationException
ERXNonSynchronizingComponentERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.takeValuesFromRequest.takeValuesFromRequest in class ERXNonSynchronizingComponentq - from which the values will be takenc - of the requestNSValidation.ValidationExceptionpublic void sleep()
sleep in class WOComponentpublic void reset()
ERDCustomComponentreset in class ERDCustomEditComponentpublic boolean isStateless()
isStateless in class ERDCustomEditComponentpublic boolean synchronizesVariablesWithBindings()
ERDCustomComponentsynchronizesVariablesWithBindings in class ERDCustomEditComponentfalsepublic java.lang.String fileName()
public java.lang.String realPath()
public NSData fileContentz()
public void setFileContentz(NSData data)
public boolean haveData()
public void setObjectKeyPathValue(java.lang.Object value)
setObjectKeyPathValue in class ERDCustomEditComponentpublic java.lang.Object objectKeyPathValue()
objectKeyPathValue in class ERDCustomEditComponentpublic void deleteFile()
public boolean shouldUnpack()
public boolean fileExists()
public java.lang.String lastPartOfFileName()
public void uploadFile()
public WOComponent deleteAction()
public WOComponent uploadAction()
Copyright © 2002 – 2022 Project Wonder.