Project Wonder 5.0

er.directtoweb.pages
Class ERD2WEditSortedManyToManyPage

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 er.directtoweb.pages.ERD2WPage
                      extended by er.directtoweb.pages.ERD2WEditSortedManyToManyPage
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, ERDBranchInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ERNEUEditSortedManyToManyPage

public class ERD2WEditSortedManyToManyPage
extends ERD2WPage
implements com.webobjects.directtoweb.EditRelationshipPageInterface

See Also:
Serialized Form
D2W Keys
displayKeydisplayKey
           
showIndexshowIndex
           
indexKeyindexKey
           
browserSizebrowserSize
           
maxBrowserSizemaxBrowserSize
           

Nested Class Summary
static class ERD2WEditSortedManyToManyPage.CreateNewEODelegate
           
 
Nested classes/interfaces inherited from class er.directtoweb.pages.ERD2WPage
ERD2WPage.Keys
 
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
protected  com.webobjects.eocontrol.EOEnterpriseObject _eoToAddToRelationship
           
protected  com.webobjects.eocontrol.EOEnterpriseObject _newEOInRelationship
           
protected  int _state
           
 com.webobjects.eocontrol.EOEnterpriseObject browserItem
           
 com.webobjects.foundation.NSArray browserSelections
           
static int LIST
           
static org.apache.log4j.Logger log
           
static int NEW
           
static int QUERY
           
 com.webobjects.appserver.WODisplayGroup relationshipDisplayGroup
           
 com.webobjects.eocontrol.EODataSource selectDataSource
           
 java.lang.String sortedObjects
           
 
Fields inherited from class er.directtoweb.pages.ERD2WPage
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, validationLog
 
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
ERD2WEditSortedManyToManyPage(com.webobjects.appserver.WOContext c)
           
 
Method Summary
 void appendToResponse(com.webobjects.appserver.WOResponse r, com.webobjects.appserver.WOContext c)
          Overridden from the parent for better logging.
 com.webobjects.eocontrol.EOEnterpriseObject browserSelection()
           
 int browserSize()
           
 java.lang.String browserStringForItem()
           
 com.webobjects.eoaccess.EOEntity destinationEntity()
           
 com.webobjects.eoaccess.EORelationship destinationRelationship()
           
 java.lang.String displayKey()
           
 boolean displayList()
           
 java.lang.String displayNameForRelationshipKey()
           
 boolean displayNew()
           
 boolean displayQuery()
           
 com.webobjects.appserver.WOComponent displayQueryAction()
           
 java.lang.String indexKey()
           
 boolean isSortedRelationship()
           
 java.lang.Integer itemHashCode()
           
 com.webobjects.appserver.WOComponent moveObjectDown()
           
 com.webobjects.appserver.WOComponent moveObjectUp()
           
 com.webobjects.appserver.WOComponent newObjectAction()
           
 com.webobjects.eocontrol.EOEnterpriseObject newObjectInRelationship()
           
 com.webobjects.eocontrol.EOEnterpriseObject objectAtIndex(int index)
           
 com.webobjects.eocontrol.EOEnterpriseObject objectForHashCode(java.lang.String hashCode)
           
 com.webobjects.eocontrol.EOEnterpriseObject objectToAddToRelationship()
           
 com.webobjects.appserver.WOComponent queryAction()
           
 java.lang.String relationshipKey()
           
 com.webobjects.appserver.WOComponent removeAllFromToManyRelationship()
           
 com.webobjects.appserver.WOComponent removeFromToManyRelationshipAction()
           
 com.webobjects.appserver.WOComponent returnAction()
           
 com.webobjects.appserver.WOComponent saveAction()
           
 com.webobjects.appserver.WOComponent selectAction()
           
 com.webobjects.directtoweb.NextPageDelegate selectActionDelegate()
           
 void setMasterObjectAndRelationshipKey(com.webobjects.eocontrol.EOEnterpriseObject eo, java.lang.String relationshipKey)
           
 void setObjectToAddToRelationship(com.webobjects.eocontrol.EOEnterpriseObject newValue)
           
 void setSelectActionDelegate(com.webobjects.directtoweb.NextPageDelegate newSelectActionDelegate)
           
 boolean showIndex()
           
 void updateEOsOrdering()
           
 
Methods inherited from class er.directtoweb.pages.ERD2WPage
aggregateEventDurationForCurrentPropertyKey, allConfigurationNames, awake, branch, branchChoices, branchName, clearTabSectionsContents, clearValidationFailed, clickToOpenEnabled, cssClassForPageContainerElement, cssClassForPropertyKey, cssClassForPropertyName, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, d2wDebuggingEnabled, descriptionForResponse, displayVariant, editingContext, errorKeyOrder, errorMessage, errorMessages, hasActualChanges, hasBranchChoices, hasErrors, hasValidationExceptionForPropertyKey, inlineStyleDeclarationForPropertyKey, inlineStyleDeclarationForPropertyName, invokeAction, isEmbedded, isEntityEditable, isEntityReadOnly, isKeyOmitted, isObjectDeleteable, isObjectEditable, isObjectInspectable, isTopLevelPage, latestEntryForCurrentPropertyKey, makeStatsKey, nextPage, nextPageDelegate, nextPageFromDelegate, now, object, pageController, pageWithName, pageWrapperName, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setObject, setPageController, settings, shouldCollectValidationExceptions, shouldDisplayDetailedPageMetrics, shouldDisplayPageMetricsSummary, shouldPropagateExceptions, shouldSetFailedValidationValue, showCancel, sleep, statsForPage, statsKeyForCurrentPropertyKey, statsKeyPrefix, tabSectionsContents, tabSectionsContentsFromRuleResult, takeValuesFromRequest, urlForCurrentState, userInfo, userPreferencesValueForKey, userPreferencesValueForPageConfigurationKey, validationFailedWithException
 
Methods inherited from class com.webobjects.directtoweb.D2WPage
alternateRowColor, dataSource, extraBindings, finalize, replacementAssociationForAssociation, setExtraBindings
 
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, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, localContext, logout, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, 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, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, 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
 

Field Detail

log

public static final org.apache.log4j.Logger log

QUERY

public static final int QUERY
See Also:
Constant Field Values

LIST

public static final int LIST
See Also:
Constant Field Values

NEW

public static final int NEW
See Also:
Constant Field Values

_state

protected int _state

selectDataSource

public com.webobjects.eocontrol.EODataSource selectDataSource

_eoToAddToRelationship

protected com.webobjects.eocontrol.EOEnterpriseObject _eoToAddToRelationship

_newEOInRelationship

protected com.webobjects.eocontrol.EOEnterpriseObject _newEOInRelationship

relationshipDisplayGroup

public com.webobjects.appserver.WODisplayGroup relationshipDisplayGroup

browserItem

public com.webobjects.eocontrol.EOEnterpriseObject browserItem

browserSelections

public com.webobjects.foundation.NSArray browserSelections

sortedObjects

public java.lang.String sortedObjects
Constructor Detail

ERD2WEditSortedManyToManyPage

public ERD2WEditSortedManyToManyPage(com.webobjects.appserver.WOContext c)
Method Detail

relationshipKey

public java.lang.String relationshipKey()

setMasterObjectAndRelationshipKey

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

displayKey

public java.lang.String displayKey()

displayQuery

public boolean displayQuery()

displayList

public boolean displayList()

displayNew

public boolean displayNew()

isSortedRelationship

public boolean isSortedRelationship()

showIndex

public boolean showIndex()

browserStringForItem

public java.lang.String browserStringForItem()

displayNameForRelationshipKey

public java.lang.String displayNameForRelationshipKey()

objectToAddToRelationship

public com.webobjects.eocontrol.EOEnterpriseObject objectToAddToRelationship()

setObjectToAddToRelationship

public void setObjectToAddToRelationship(com.webobjects.eocontrol.EOEnterpriseObject newValue)

queryAction

public com.webobjects.appserver.WOComponent queryAction()

selectAction

public com.webobjects.appserver.WOComponent selectAction()

selectActionDelegate

public com.webobjects.directtoweb.NextPageDelegate selectActionDelegate()

setSelectActionDelegate

public void setSelectActionDelegate(com.webobjects.directtoweb.NextPageDelegate newSelectActionDelegate)

removeFromToManyRelationshipAction

public com.webobjects.appserver.WOComponent removeFromToManyRelationshipAction()

removeAllFromToManyRelationship

public com.webobjects.appserver.WOComponent removeAllFromToManyRelationship()

displayQueryAction

public com.webobjects.appserver.WOComponent displayQueryAction()

itemHashCode

public java.lang.Integer itemHashCode()

updateEOsOrdering

public void updateEOsOrdering()

returnAction

public com.webobjects.appserver.WOComponent returnAction()

newObjectAction

public com.webobjects.appserver.WOComponent newObjectAction()

newObjectInRelationship

public com.webobjects.eocontrol.EOEnterpriseObject newObjectInRelationship()

saveAction

public com.webobjects.appserver.WOComponent saveAction()

destinationRelationship

public com.webobjects.eoaccess.EORelationship destinationRelationship()

destinationEntity

public com.webobjects.eoaccess.EOEntity destinationEntity()

indexKey

public java.lang.String indexKey()

moveObjectUp

public com.webobjects.appserver.WOComponent moveObjectUp()

moveObjectDown

public com.webobjects.appserver.WOComponent moveObjectDown()

objectAtIndex

public com.webobjects.eocontrol.EOEnterpriseObject objectAtIndex(int index)

objectForHashCode

public com.webobjects.eocontrol.EOEnterpriseObject objectForHashCode(java.lang.String hashCode)

browserSelection

public com.webobjects.eocontrol.EOEnterpriseObject browserSelection()

appendToResponse

public void appendToResponse(com.webobjects.appserver.WOResponse r,
                             com.webobjects.appserver.WOContext c)
Description copied from class: ERD2WPage
Overridden from the parent for better logging. Reports exceptions in the console for easier debugging.

Overrides:
appendToResponse in class ERD2WPage

browserSize

public int browserSize()

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

Copyright © 2002 – 2007 Project Wonder.