public class ERMODEditRelationshipPage extends ERD2WPage implements ERMEditRelationshipPageInterface, com.webobjects.directtoweb.SelectPageInterface
| Name | Description |
|---|---|
editConfigurationName | editConfigurationName |
isEntityEditable | isEntityEditable |
checkSortOrderingKeys | checkSortOrderingKeys |
defaultSortOrdering | defaultSortOrdering |
readOnly | readOnly |
relationshipRestrictingQualifier | - An additional qualifier that can be used to restrict the objects shown in the relationship (see: ERDDelayedExtraQualifierAssignment). Useful if you have a value like: isDeleted that you wish to respect. |
| Modifier and Type | Class and Description |
|---|---|
static interface |
ERMODEditRelationshipPage.Keys |
ERD2WPage.ValidationDelegatecom.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Eventcom.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utilitycom.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.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessorcom.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
boolean |
isRelationshipToMany |
com.webobjects.appserver.WOComponent |
nextPage |
com.webobjects.directtoweb.NextPageDelegate |
nextPageDelegate |
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, log, validationDelegate, validationDelegateInited, validationLog_eo, _localContext, currentObjectKey_Extension, _IsEventLoggingEnabled, _keyAssociations| Constructor and Description |
|---|
ERMODEditRelationshipPage(com.webobjects.appserver.WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
awake()
Overridden to lock the page's editingContext, if there is any present.
|
boolean |
checkSortOrderingKeys()
Returns whether or not sort orderings should be validated (based on the checkSortOrderingKeys rule).
|
com.webobjects.eocontrol.EODataSource |
dataSource()
DataSource for the relationship.
|
boolean |
displayList()
Controls whether the inline list page is displayed.
|
boolean |
displayNew()
Controls whether the inline eidt/create page is displayed.
|
boolean |
displayQuery()
Controls whether the inline query page is displayed.
|
com.webobjects.appserver.WOComponent |
displayQueryAction()
Perform the displayQueryAction.
|
String |
idForRepetitionContainer() |
String |
inlineTask() |
String |
inspectConfiguration()
Returns the name of the current inline page configuration
|
boolean |
isEntityCreatable()
Should the 'new' button be displayed?
|
boolean |
isListEmpty()
Checks if the current list is empty.
|
boolean |
isRelationshipOwned() |
protected boolean |
isValidSortKey(NSArray<String> displayPropertyKeys,
String sortKey)
Validates the given sort key (is it a display key, an attribute, or a valid attribute path).
|
int |
listSize()
The number of objects in the list.
|
com.webobjects.eocontrol.EOEnterpriseObject |
masterObject() |
NSArray<?> |
masterObjectAndRelationshipKey()
Returns an array containing the master object (index 0) and relationship key (index 1).
|
com.webobjects.appserver.WOComponent |
newObjectAction()
Performs the newObjectAction.
|
int |
numberOfObjectsPerBatch() |
com.webobjects.eocontrol.EOEnterpriseObject |
objectToAddToRelationship() |
com.webobjects.appserver.WOComponent |
queryAction()
Performs the queryAction.
|
void |
relatedObjectDidChange(com.webobjects.foundation.NSNotification notif)
Called when an
ERMDActionButton changes the related object. |
WODisplayGroup |
relationshipDisplayGroup()
Display group for the related objects
|
String |
relationshipKey() |
com.webobjects.appserver.WOComponent |
returnAction()
Perform the returnAction.
|
com.webobjects.appserver.WOComponent |
saveAction()
Performs the saveAction.
|
com.webobjects.appserver.WOComponent |
selectAction()
Perform the selectAction.
|
com.webobjects.eocontrol.EODataSource |
selectDataSource() |
com.webobjects.eocontrol.EOEnterpriseObject |
selectedObject()
Returns the current selected Object.
|
void |
setDataSource(com.webobjects.eocontrol.EODataSource ds) |
void |
setInlineTask(String task) |
void |
setInlineTaskSafely(String task) |
void |
setMasterObject(com.webobjects.eocontrol.EOEnterpriseObject masterObject) |
void |
setMasterObjectAndRelationshipKey(com.webobjects.eocontrol.EOEnterpriseObject eo,
String relationshipKey)
Set the master object and relationship key.
|
void |
setMasterObjectAndRelationshipKey(NSArray<?> a)
Sets the master object and relationship key.
|
void |
setObjectToAddToRelationship(com.webobjects.eocontrol.EOEnterpriseObject objectToAddTorRelationship) |
void |
setRelationshipDisplayGroup(WODisplayGroup relationshipDisplayGroup) |
void |
setRelationshipKey(String key) |
void |
setSelectDataSource(com.webobjects.eocontrol.EODataSource selectDataSource) |
void |
setSelectedObject(com.webobjects.eocontrol.EOEnterpriseObject eo)
Sets the current selected Object.
|
NSDictionary<String,Object> |
settings() |
boolean |
shouldShowQueryRelatedButton() |
void |
sleep()
Overridden to unlock the page's editingContext, if there is any present.
|
NSArray<com.webobjects.eocontrol.EOSortOrdering> |
sortOrderings() |
boolean |
userPreferencesCanSpecifySorting() |
aggregateEventDurationForCurrentPropertyKey, allConfigurationNames, appendToResponse, branch, branchChoices, branchName, clearTabSectionsContents, clearValidationFailed, clickToOpenEnabled, cssClassForPageContainerElement, cssClassForPropertyKey, cssClassForPropertyName, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, d2wDebuggingEnabled, descriptionForResponse, displayVariant, editingContext, errorKeyOrder, errorMessage, errorMessageForPropertyKey, 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, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setObject, setPageController, setValidationDelegate, shouldCollectValidationExceptions, shouldDisplayDetailedPageMetrics, shouldDisplayPageMetricsSummary, shouldPropagateExceptions, shouldSetFailedValidationValue, showCancel, statsForPage, statsKeyForCurrentPropertyKey, statsKeyPrefix, tabSectionsContents, tabSectionsContentsFromRuleResult, takeValuesFromRequest, urlForCurrentState, userInfo, userPreferencesValueForKey, userPreferencesValueForPageConfigurationKey, validationDelegate, validationFailedWithExceptionalternateRowColor, extraBindings, replacementAssociationForAssociation, setExtraBindingsallEntities, 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__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, variableWithNameequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic boolean isRelationshipToMany
public com.webobjects.appserver.WOComponent nextPage
public com.webobjects.directtoweb.NextPageDelegate nextPageDelegate
public ERMODEditRelationshipPage(com.webobjects.appserver.WOContext context)
public void awake()
ERD2WPagepublic void sleep()
ERD2WPagepublic com.webobjects.appserver.WOComponent displayQueryAction()
public com.webobjects.appserver.WOComponent newObjectAction()
public com.webobjects.appserver.WOComponent queryAction()
public com.webobjects.appserver.WOComponent saveAction()
public com.webobjects.appserver.WOComponent selectAction()
public com.webobjects.appserver.WOComponent returnAction()
public void relatedObjectDidChange(com.webobjects.foundation.NSNotification notif)
ERMDActionButton changes the related object.
Forces the displayGroup to fetch.public boolean displayQuery()
public boolean displayNew()
public boolean displayList()
public String inspectConfiguration()
public com.webobjects.eocontrol.EOEnterpriseObject selectedObject()
selectedObject in interface com.webobjects.directtoweb.SelectPageInterfacepublic void setSelectedObject(com.webobjects.eocontrol.EOEnterpriseObject eo)
setSelectedObject in interface com.webobjects.directtoweb.SelectPageInterfacepublic NSArray<?> masterObjectAndRelationshipKey()
ERMEditRelationshipPageInterfacemasterObjectAndRelationshipKey in interface ERMEditRelationshipPageInterfacepublic void setMasterObjectAndRelationshipKey(NSArray<?> a)
ERMEditRelationshipPageInterfacesetMasterObjectAndRelationshipKey in interface ERMEditRelationshipPageInterfacea - an NSArray containing the master object (index 0) and relationship key (index 1).public void setMasterObjectAndRelationshipKey(com.webobjects.eocontrol.EOEnterpriseObject eo,
String relationshipKey)
setMasterObjectAndRelationshipKey in interface com.webobjects.directtoweb.EditRelationshipPageInterfaceeo - the master object, an EOEnterpriseObjectrelationshipKey - public NSDictionary<String,Object> settings()
public NSArray<com.webobjects.eocontrol.EOSortOrdering> sortOrderings()
public boolean checkSortOrderingKeys()
protected boolean isValidSortKey(NSArray<String> displayPropertyKeys, String sortKey)
displayPropertyKeys - the current display propertiessortKey - the sort key to validatepublic boolean userPreferencesCanSpecifySorting()
public int numberOfObjectsPerBatch()
public String inlineTask()
public void setInlineTask(String task)
public void setInlineTaskSafely(String task)
public String relationshipKey()
public void setRelationshipKey(String key)
public com.webobjects.eocontrol.EODataSource dataSource()
dataSource in class D2WPagepublic void setDataSource(com.webobjects.eocontrol.EODataSource ds)
setDataSource in interface com.webobjects.directtoweb.SelectPageInterfacesetDataSource in class ERD2WPagepublic com.webobjects.eocontrol.EOEnterpriseObject objectToAddToRelationship()
public void setObjectToAddToRelationship(com.webobjects.eocontrol.EOEnterpriseObject objectToAddTorRelationship)
public WODisplayGroup relationshipDisplayGroup()
public void setRelationshipDisplayGroup(WODisplayGroup relationshipDisplayGroup)
public com.webobjects.eocontrol.EODataSource selectDataSource()
public void setSelectDataSource(com.webobjects.eocontrol.EODataSource selectDataSource)
public com.webobjects.eocontrol.EOEnterpriseObject masterObject()
public void setMasterObject(com.webobjects.eocontrol.EOEnterpriseObject masterObject)
public boolean isListEmpty()
public int listSize()
public boolean isEntityCreatable()
public boolean shouldShowQueryRelatedButton()
public boolean isRelationshipOwned()
public String idForRepetitionContainer()
Copyright © 2002 – 2020 Project Wonder.