WebObjects 5.4.2

com.webobjects.directtoweb
Class D2WEditToOneFault

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.directtoweb.D2WComponent
              extended by com.webobjects.directtoweb.D2WStatelessComponent
                  extended by com.webobjects.directtoweb.D2WDisplayToOne
                      extended by com.webobjects.directtoweb.D2WEditToOneFault
All Implemented Interfaces:
WOActionResults, DTWGeneration, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable

public class D2WEditToOneFault
extends D2WDisplayToOne
implements DTWGeneration

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
currentObjectKey
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
D2WEditToOneFault(WOContext aContext)
          Creates an instance of D2WEditToOneFault with the specified context.
 
Method Summary
 WOComponent editRelationship()
          Provides the action for a WOImageButton.
 String helpString()
          Provides the alt and name values for a WOImageButton.
 String methodNameForEditRelationship()
          Provides the name of the template method that corresponds to the method editRelationship.
 WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)
          Replaces the bindings toOneDescription and editRelationship.
 
Methods inherited from class com.webobjects.directtoweb.D2WDisplayToOne
methodNameForToOneAction, toOneAction, toOneDescription
 
Methods inherited from class com.webobjects.directtoweb.D2WStatelessComponent
d2wContext, isStateless, localContext, object, reset
 
Methods inherited from class com.webobjects.directtoweb.D2WComponent
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, logout, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setLocalContext, setObject, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames
 
Methods inherited from class com.webobjects.appserver.WOComponent
appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

D2WEditToOneFault

public D2WEditToOneFault(WOContext aContext)
Creates an instance of D2WEditToOneFault with the specified context.

Parameters:
aContext - instance of WOContext
See Also:
D2WDisplayToOne.D2WDisplayToOne(WOContext)
Method Detail

editRelationship

public WOComponent editRelationship()
Provides the action for a WOImageButton. Returns an edit-relationship page for the target entity.

The implementation is subject to change in future releases.

Returns:
instance of WOComponent
See Also:
D2WEditToOneFault.helpString(), D2WComponent.relationship(), D2W.editRelationshipPageForEntityNamed(String, WOSession)

methodNameForEditRelationship

public String methodNameForEditRelationship()
Provides the name of the template method that corresponds to the method editRelationship.

The current implementation returns the concatenation of "edit", the property key, and "Action".

The implementation is subject to change in future releases.

Returns:
instance of String
See Also:
D2WEditToOneFault.editRelationship(), D2WEditToOneFault.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext), D2WComponent.propertyKey()

helpString

public String helpString()
Provides the alt and name values for a WOImageButton. Returns a brief description of the action.

The implementation is subject to change in future releases.

Returns:
instance of String
See Also:
D2WEditToOneFault.editRelationship()

replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
                                                          String oldBinding,
                                                          DTWTemplate aTemplate,
                                                          WOContext aContext)
Replaces the bindings toOneDescription and editRelationship.

The implementation is subject to change in future releases.

Specified by:
replacementAssociationForAssociation in interface DTWGeneration
Overrides:
replacementAssociationForAssociation in class D2WDisplayToOne
Parameters:
oldAssociation - instance of WOAssociation
oldBinding - instance of String
aTemplate - instance of DTWTemplate
aContext - instance of WOContext
Returns:
instance of WOAssociation
See Also:
D2WEditToOneFault.editRelationship(), D2WEditToOneFault.methodNameForEditRelationship(), D2WDisplayToOne.toOneDescription(), D2WDisplayToOne.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext), D2WComponent.propertyKey(), D2WComponent.keyWhenRelationship()

Last updated June 2008

Copyright © 2000-2008 Apple Inc.