Project Wonder 2.0

er.directtoweb
Class ERD2WEditSortedManyToManyPage

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WOComponent
          extended bycom.webobjects.directtoweb.D2WComponent
              extended bycom.webobjects.directtoweb.D2WPage
                  extended byer.directtoweb.ERD2WPage
                      extended byer.directtoweb.ERD2WEditSortedManyToManyPage
All Implemented Interfaces:
Cloneable, DTWGeneration, EditRelationshipPageInterface, ERDBranchInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults

public class ERD2WEditSortedManyToManyPage
extends ERD2WPage
implements EditRelationshipPageInterface

See Also:
Serialized Form

Nested Class Summary
static class ERD2WEditSortedManyToManyPage.CreateNewEODelegate
           
 
Nested classes inherited from class er.directtoweb.ERD2WPage
ERD2WPage.Keys
 
Nested classes inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes inherited from class 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.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class 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 ERXLogger log
           
static int NEW
           
static int QUERY
           
 WODisplayGroup relationshipDisplayGroup
           
 EODataSource selectDataSource
           
 String sortedObjects
           
 
Fields inherited from class er.directtoweb.ERD2WPage
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _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
_CLASS, NullValue
 
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.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()
           
 NextPageDelegate selectActionDelegate()
           
 void setMasterObjectAndRelationshipKey(EOEnterpriseObject eo, String relationshipKey)
           
 void setObjectToAddToRelationship(EOEnterpriseObject newValue)
           
 void setSelectActionDelegate(NextPageDelegate newSelectActionDelegate)
           
 boolean showIndex()
           
 void updateEOsOrdering()
           
 
Methods inherited from class er.directtoweb.ERD2WPage
allConfigurationNames, awake, branch, branchChoices, branchName, clearValidationFailed, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, descriptionForResponse, editingContext, errorMessage, errorMessages, hasBranchChoices, hasValidationExceptionForPropertyKey, invokeAction, isEmbedded, isObjectDeleteable, isObjectEditable, isObjectInspectable, nextPage, nextPageDelegate, now, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setObject, shouldCollectValidationExceptions, shouldPropagateExceptions, shouldSetFailedValidationValue, showCancel, sleep, tabSectionsContents, tabSectionsContentsFromRuleResult, takeValuesFromRequest, urlForCurrentState, userInfo, validationFailedWithException
 
Methods inherited from class com.webobjects.directtoweb.D2WPage
alternateRowColor, dataSource, extraBindings, finalize, pageWrapperName, 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, 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, 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 ERXLogger 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 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 NextPageDelegate selectActionDelegate()

setSelectActionDelegate

public void setSelectActionDelegate(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: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.