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:
WOActionResults, com.webobjects.directtoweb.EditRelationshipPageInterface, com.webobjects.directtoweb.generation.DTWGeneration, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, ERDBranchInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, Serializable, 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
WOComponent._EventLoggingEnabler, 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.NSKeyValueCoding
NSKeyValueCoding._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.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected  EOEnterpriseObject _eoToAddToRelationship
           
protected  EOEnterpriseObject _newEOInRelationship
           
protected  int _state
           
 EOEnterpriseObject browserItem
           
 NSArray browserSelections
           
static int LIST
           
static Logger log
           
static int NEW
           
static int QUERY
           
 WODisplayGroup relationshipDisplayGroup
           
 EODataSource selectDataSource
           
 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(WOContext c)
           
 
Method Summary
 void appendToResponse(WOResponse r, WOContext c)
          Overridden from the parent for better logging.
 EOEnterpriseObject browserSelection()
           
 int browserSize()
           
 String browserStringForItem()
           
 EOEntity destinationEntity()
           
 EORelationship destinationRelationship()
           
 String displayKey()
           
 boolean displayList()
           
 String displayNameForRelationshipKey()
           
 boolean displayNew()
           
 boolean displayQuery()
           
 WOComponent displayQueryAction()
           
 String indexKey()
           
 boolean isSortedRelationship()
           
 Integer itemHashCode()
           
 WOComponent moveObjectDown()
           
 WOComponent moveObjectUp()
           
 WOComponent newObjectAction()
           
 EOEnterpriseObject newObjectInRelationship()
           
 EOEnterpriseObject objectAtIndex(int index)
           
 EOEnterpriseObject objectForHashCode(String hashCode)
           
 EOEnterpriseObject objectToAddToRelationship()
           
 WOComponent queryAction()
           
 String relationshipKey()
           
 WOComponent removeAllFromToManyRelationship()
           
 WOComponent removeFromToManyRelationshipAction()
           
 WOComponent returnAction()
           
 WOComponent saveAction()
           
 WOComponent selectAction()
           
 com.webobjects.directtoweb.NextPageDelegate selectActionDelegate()
           
 void setMasterObjectAndRelationshipKey(EOEnterpriseObject eo, String relationshipKey)
           
 void setObjectToAddToRelationship(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
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _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, setVariableValueForName, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
 
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 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 EODataSource selectDataSource

_eoToAddToRelationship

protected EOEnterpriseObject _eoToAddToRelationship

_newEOInRelationship

protected EOEnterpriseObject _newEOInRelationship

relationshipDisplayGroup

public WODisplayGroup relationshipDisplayGroup

browserItem

public EOEnterpriseObject browserItem

browserSelections

public NSArray browserSelections

sortedObjects

public String sortedObjects
Constructor Detail

ERD2WEditSortedManyToManyPage

public ERD2WEditSortedManyToManyPage(WOContext c)
Method Detail

relationshipKey

public String relationshipKey()

setMasterObjectAndRelationshipKey

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

displayKey

public String displayKey()

displayQuery

public boolean displayQuery()

displayList

public boolean displayList()

displayNew

public boolean displayNew()

isSortedRelationship

public boolean isSortedRelationship()

showIndex

public boolean showIndex()

browserStringForItem

public String browserStringForItem()

displayNameForRelationshipKey

public String displayNameForRelationshipKey()

objectToAddToRelationship

public EOEnterpriseObject objectToAddToRelationship()

setObjectToAddToRelationship

public void setObjectToAddToRelationship(EOEnterpriseObject newValue)

queryAction

public WOComponent queryAction()

selectAction

public WOComponent selectAction()

selectActionDelegate

public com.webobjects.directtoweb.NextPageDelegate selectActionDelegate()

setSelectActionDelegate

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

removeFromToManyRelationshipAction

public WOComponent removeFromToManyRelationshipAction()

removeAllFromToManyRelationship

public WOComponent removeAllFromToManyRelationship()

displayQueryAction

public WOComponent displayQueryAction()

itemHashCode

public Integer itemHashCode()

updateEOsOrdering

public void updateEOsOrdering()

returnAction

public WOComponent returnAction()

newObjectAction

public WOComponent newObjectAction()

newObjectInRelationship

public EOEnterpriseObject newObjectInRelationship()

saveAction

public WOComponent saveAction()

destinationRelationship

public EORelationship destinationRelationship()

destinationEntity

public EOEntity destinationEntity()

indexKey

public String indexKey()

moveObjectUp

public WOComponent moveObjectUp()

moveObjectDown

public WOComponent moveObjectDown()

objectAtIndex

public EOEnterpriseObject objectAtIndex(int index)

objectForHashCode

public EOEnterpriseObject objectForHashCode(String hashCode)

browserSelection

public EOEnterpriseObject browserSelection()

appendToResponse

public void appendToResponse(WOResponse r,
                             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: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.