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.ValidationDelegate
WOComponent._EventLoggingEnabler, WOComponent.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
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
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
boolean |
isRelationshipToMany |
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
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERMODEditRelationshipPage(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).
|
EODataSource |
dataSource()
DataSource for the relationship.
|
boolean |
displayEditList()
Controls whether the edit list page is displayed.
|
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.
|
WOComponent |
displayQueryAction()
Perform the displayQueryAction.
|
WOComponent |
editListAction()
Turn the list repetition into an editable list, to allow simultaneous editing of all objects.
|
EODataSource |
editListDataSource()
The data source for the edit list uses a nested EC, so the relationship
page's cancel button remains functional.
|
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.
|
EOEnterpriseObject |
masterObject() |
NSArray<?> |
masterObjectAndRelationshipKey()
Returns an array containing the master object (index 0) and relationship key (index 1).
|
WOComponent |
newObjectAction()
Performs the newObjectAction.
|
int |
numberOfObjectsPerBatch() |
EOEnterpriseObject |
objectToAddToRelationship() |
WOComponent |
queryAction()
Performs the queryAction.
|
void |
relatedObjectDidChange(NSNotification notif)
Called when an
ERMDActionButton changes the related object. |
WODisplayGroup |
relationshipDisplayGroup()
Display group for the related objects
|
String |
relationshipKey() |
WOComponent |
returnAction()
Perform the returnAction.
|
WOComponent |
saveAction()
Performs the saveAction.
|
WOComponent |
selectAction()
Perform the selectAction.
|
EODataSource |
selectDataSource() |
EOEnterpriseObject |
selectedObject()
Returns the current selected Object.
|
void |
setDataSource(EODataSource ds) |
void |
setInlineTask(String task) |
void |
setInlineTaskSafely(String task) |
void |
setMasterObject(EOEnterpriseObject masterObject) |
void |
setMasterObjectAndRelationshipKey(EOEnterpriseObject eo,
String relationshipKey)
Set the master object and relationship key.
|
void |
setMasterObjectAndRelationshipKey(NSArray<?> a)
Sets the master object and relationship key.
|
void |
setObjectToAddToRelationship(EOEnterpriseObject objectToAddTorRelationship) |
void |
setRelationshipDisplayGroup(WODisplayGroup relationshipDisplayGroup) |
void |
setRelationshipKey(String key) |
void |
setSelectDataSource(EODataSource selectDataSource) |
void |
setSelectedObject(EOEnterpriseObject eo)
Sets the current selected Object.
|
void |
setSubTaskSafely(String subTask) |
NSDictionary<String,Object> |
settings() |
Boolean |
shouldShowEditListButton() |
boolean |
shouldShowQueryRelatedButton() |
Boolean |
showBottomActionBlock() |
void |
sleep()
Overridden to unlock the page's editingContext, if there is any present.
|
NSArray<EOSortOrdering> |
sortOrderings() |
String |
subTask() |
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, validationFailedWithException
alternateRowColor, extraBindings, replacementAssociationForAssociation, setExtraBindings
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
__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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public boolean isRelationshipToMany
public WOComponent nextPage
public com.webobjects.directtoweb.NextPageDelegate nextPageDelegate
public ERMODEditRelationshipPage(WOContext context)
public void awake()
ERD2WPage
public void sleep()
ERD2WPage
public WOComponent displayQueryAction()
public WOComponent newObjectAction()
public WOComponent editListAction()
public EODataSource editListDataSource()
public WOComponent queryAction()
public WOComponent saveAction()
public WOComponent selectAction()
public WOComponent returnAction()
public void relatedObjectDidChange(NSNotification notif)
ERMDActionButton
changes the related object.
Forces the displayGroup to fetch.public boolean displayQuery()
public boolean displayNew()
public boolean displayList()
public boolean displayEditList()
public String inspectConfiguration()
public EOEnterpriseObject selectedObject()
selectedObject
in interface com.webobjects.directtoweb.SelectPageInterface
public void setSelectedObject(EOEnterpriseObject eo)
setSelectedObject
in interface com.webobjects.directtoweb.SelectPageInterface
public NSArray<?> masterObjectAndRelationshipKey()
ERMEditRelationshipPageInterface
masterObjectAndRelationshipKey
in interface ERMEditRelationshipPageInterface
public void setMasterObjectAndRelationshipKey(NSArray<?> a)
ERMEditRelationshipPageInterface
setMasterObjectAndRelationshipKey
in interface ERMEditRelationshipPageInterface
a
- an NSArray containing the master object (index 0) and relationship key (index 1).public void setMasterObjectAndRelationshipKey(EOEnterpriseObject eo, String relationshipKey)
setMasterObjectAndRelationshipKey
in interface com.webobjects.directtoweb.EditRelationshipPageInterface
eo
- the master object, an EOEnterpriseObjectrelationshipKey
- public NSDictionary<String,Object> settings()
public NSArray<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 String subTask()
public void setInlineTask(String task)
public void setInlineTaskSafely(String task)
public void setSubTaskSafely(String subTask)
public String relationshipKey()
public void setRelationshipKey(String key)
public EODataSource dataSource()
dataSource
in class D2WPage
public void setDataSource(EODataSource ds)
setDataSource
in interface com.webobjects.directtoweb.SelectPageInterface
setDataSource
in class ERD2WPage
public EOEnterpriseObject objectToAddToRelationship()
public void setObjectToAddToRelationship(EOEnterpriseObject objectToAddTorRelationship)
public WODisplayGroup relationshipDisplayGroup()
public void setRelationshipDisplayGroup(WODisplayGroup relationshipDisplayGroup)
public EODataSource selectDataSource()
public void setSelectDataSource(EODataSource selectDataSource)
public EOEnterpriseObject masterObject()
public void setMasterObject(EOEnterpriseObject masterObject)
public boolean isListEmpty()
public int listSize()
public boolean isEntityCreatable()
public boolean shouldShowQueryRelatedButton()
public boolean isRelationshipOwned()
public String idForRepetitionContainer()
public Boolean showBottomActionBlock()
public Boolean shouldShowEditListButton()
Copyright © 2002 – 2024 Project Wonder.