Project Wonder 5.0

er.directtoweb.pages
Class ERD2WEditRelationshipPage

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.D2WPage
                  extended by com.webobjects.directtoweb.D2WEditRelationshipPage
                      extended by er.directtoweb.pages.ERD2WEditRelationshipPage
All Implemented Interfaces:
com.webobjects.appserver.WOActionResults, com.webobjects.directtoweb.EditRelationshipPageInterface, com.webobjects.directtoweb.generation.DTWGeneration, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ERDIVEditRelationshipPage, ERLITEditRelationshipPage, ERNEUEditRelationshipPage

public class ERD2WEditRelationshipPage
extends com.webobjects.directtoweb.D2WEditRelationshipPage

See Also:
Serialized Form
D2W Keys
editConfigurationNameeditConfigurationName
           
isEntityEditableisEntityEditable
           
readOnlyreadOnly
           

Nested Class Summary
static interface ERD2WEditRelationshipPage.Keys
          interface for all the keys used in this pages code
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
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._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
 
Field Summary
 
Fields inherited from class com.webobjects.directtoweb.D2WEditRelationshipPage
_editingContext, _eoToAddToRelationship, _newEOInRelationship, browserItem, browserSelections, isRelationshipToMany, LIST, NEW, QUERY, relationshipDisplayGroup, selectDataSource
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
_eo, _localContext, currentObjectKey
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERD2WEditRelationshipPage(com.webobjects.appserver.WOContext c)
          Public constructor
 
Method Summary
 java.lang.String displayNameForRelationshipKey()
           
 com.webobjects.appserver.WOComponent editObjectInRelationship()
           
 boolean isEntityReadOnly()
          Checks if the entity is read-only, meaning that you can't edit its objects.
 com.webobjects.appserver.WOComponent queryAction()
          Overridden because the action bound should not return null.
 com.webobjects.appserver.WOComponent removeFromToOneRelationshipAction()
           
 com.webobjects.appserver.WOComponent selectAction()
          Overridden because the action bound should not return null.
 void setMasterObjectAndRelationshipKey(com.webobjects.eocontrol.EOEnterpriseObject eo, java.lang.String relationshipKey)
           
 
Methods inherited from class com.webobjects.directtoweb.D2WEditRelationshipPage
awake, browserStringForItem, displayKey, displayList, displayNew, displayQuery, displayQueryAction, editingContextShouldValidateChanges, newObjectAction, newObjectInRelationship, objectToAddToRelationship, removeFromToManyRelationshipAction, replacementAssociationForAssociation, returnAction, saveAction, setEditingContext, setNewObjectInRelationship, setObjectToAddToRelationship, sleep, toOneDescription
 
Methods inherited from class com.webobjects.directtoweb.D2WPage
alternateRowColor, dataSource, descriptionForResponse, extraBindings, finalize, nextPage, nextPageDelegate, pageWrapperName, setDataSource, setExtraBindings, setNextPage, setNextPageDelegate, showCancel
 
Methods inherited from class com.webobjects.directtoweb.D2WComponent
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContext, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, localContext, logout, object, 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
_associationWithName, _awakeInContext, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, appendToResponse, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.webobjects.directtoweb.EditRelationshipPageInterface
setNextPage, setNextPageDelegate
 

Constructor Detail

ERD2WEditRelationshipPage

public ERD2WEditRelationshipPage(com.webobjects.appserver.WOContext c)
Public constructor

Parameters:
c - current context
Method Detail

queryAction

public com.webobjects.appserver.WOComponent queryAction()
Overridden because the action bound should not return null.

Overrides:
queryAction in class com.webobjects.directtoweb.D2WEditRelationshipPage

selectAction

public com.webobjects.appserver.WOComponent selectAction()
Overridden because the action bound should not return null.

Overrides:
selectAction in class com.webobjects.directtoweb.D2WEditRelationshipPage

editObjectInRelationship

public com.webobjects.appserver.WOComponent editObjectInRelationship()

setMasterObjectAndRelationshipKey

public void setMasterObjectAndRelationshipKey(com.webobjects.eocontrol.EOEnterpriseObject eo,
                                              java.lang.String relationshipKey)
Specified by:
setMasterObjectAndRelationshipKey in interface com.webobjects.directtoweb.EditRelationshipPageInterface
Overrides:
setMasterObjectAndRelationshipKey in class com.webobjects.directtoweb.D2WEditRelationshipPage

displayNameForRelationshipKey

public java.lang.String displayNameForRelationshipKey()
Overrides:
displayNameForRelationshipKey in class com.webobjects.directtoweb.D2WEditRelationshipPage

removeFromToOneRelationshipAction

public com.webobjects.appserver.WOComponent removeFromToOneRelationshipAction()
Overrides:
removeFromToOneRelationshipAction in class com.webobjects.directtoweb.D2WEditRelationshipPage

isEntityReadOnly

public boolean isEntityReadOnly()
Checks if the entity is read-only, meaning that you can't edit its objects. Three factors influence this evaluation:
  1. The default implementation of isEntityReadOnly
  2. The value of the isEntityEditable rule from the D2WContext.
  3. The value of the readOnly rule from the D2WContext (with no rule-engine inference).
Use isEntityEditable or readOnly rules to override the default behavior.

Overrides:
isEntityReadOnly in class com.webobjects.directtoweb.D2WComponent
Returns:
true if the entity is considered read-only

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.