|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.directtoweb.D2WComponent
com.webobjects.directtoweb.D2WPage
er.directtoweb.pages.ERD2WPage
er.modern.look.pages.ERMODEditRelationshipPage
public class ERMODEditRelationshipPage
An improved EditRelationshipPage that supports embedding and inline editing tasks.
D2W Keys | |
editConfigurationName | editConfigurationName |
isEntityEditable | isEntityEditable |
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. |
Nested Class Summary | |
---|---|
static interface |
ERMODEditRelationshipPage.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 | |
---|---|
boolean |
isRelationshipToMany
|
com.webobjects.appserver.WOComponent |
nextPage
|
com.webobjects.directtoweb.NextPageDelegate |
nextPageDelegate
|
Fields inherited from class er.directtoweb.pages.ERD2WPage |
---|
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, log, 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 | |
---|---|
ERMODEditRelationshipPage(com.webobjects.appserver.WOContext context)
|
Method Summary | |
---|---|
void |
awake()
Overridden to lock the page's editingContext, if there is any present. |
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. |
java.lang.String |
inlineTask()
|
java.lang.String |
inspectConfiguration()
Returns the name of the current inline page configuration |
boolean |
isListEmpty()
Checks if the current list is empty. |
int |
listSize()
The number of objects in the list. |
com.webobjects.eocontrol.EOEnterpriseObject |
masterObject()
|
com.webobjects.foundation.NSArray<?> |
masterObjectAndRelationshipKey()
Returns an array containing the master object (index 0) and relationship key (index 1). |
com.webobjects.appserver.WOComponent |
newObjectAction()
Performs the newObjectAction. |
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. |
com.webobjects.appserver.WODisplayGroup |
relationshipDisplayGroup()
Display group for the related objects |
java.lang.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(java.lang.String task)
|
void |
setInlineTaskSafely(java.lang.String task)
|
void |
setMasterObject(com.webobjects.eocontrol.EOEnterpriseObject masterObject)
|
void |
setMasterObjectAndRelationshipKey(com.webobjects.eocontrol.EOEnterpriseObject eo,
java.lang.String relationshipKey)
Set the master object and relationship key. |
void |
setMasterObjectAndRelationshipKey(com.webobjects.foundation.NSArray<?> a)
Sets the master object and relationship key. |
void |
setObjectToAddToRelationship(com.webobjects.eocontrol.EOEnterpriseObject objectToAddTorRelationship)
|
void |
setRelationshipDisplayGroup(com.webobjects.appserver.WODisplayGroup relationshipDisplayGroup)
|
void |
setRelationshipKey(java.lang.String key)
|
void |
setSelectDataSource(com.webobjects.eocontrol.EODataSource selectDataSource)
|
void |
setSelectedObject(com.webobjects.eocontrol.EOEnterpriseObject eo)
Sets the current selected Object. |
void |
sleep()
Overridden to unlock the page's editingContext, if there is any present. |
Methods inherited from class com.webobjects.directtoweb.D2WPage |
---|
alternateRowColor, 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 |
Methods inherited from interface com.webobjects.directtoweb.SelectPageInterface |
---|
nextPageDelegate, setNextPageDelegate |
Field Detail |
---|
public boolean isRelationshipToMany
public com.webobjects.appserver.WOComponent nextPage
public com.webobjects.directtoweb.NextPageDelegate nextPageDelegate
Constructor Detail |
---|
public ERMODEditRelationshipPage(com.webobjects.appserver.WOContext context)
Method Detail |
---|
public void awake()
ERD2WPage
awake
in class ERD2WPage
public void sleep()
ERD2WPage
sleep
in class ERD2WPage
public 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 java.lang.String inspectConfiguration()
public com.webobjects.eocontrol.EOEnterpriseObject selectedObject()
selectedObject
in interface com.webobjects.directtoweb.SelectPageInterface
public void setSelectedObject(com.webobjects.eocontrol.EOEnterpriseObject eo)
setSelectedObject
in interface com.webobjects.directtoweb.SelectPageInterface
public com.webobjects.foundation.NSArray<?> masterObjectAndRelationshipKey()
ERMEditRelationshipPageInterface
masterObjectAndRelationshipKey
in interface ERMEditRelationshipPageInterface
public void setMasterObjectAndRelationshipKey(com.webobjects.foundation.NSArray<?> a)
ERMEditRelationhsipPageInterface
setMasterObjectAndRelationshipKey
in interface ERMEditRelationshipPageInterface
NSArray
- containing the master object (index 0) and relationship key (index 1).public void setMasterObjectAndRelationshipKey(com.webobjects.eocontrol.EOEnterpriseObject eo, java.lang.String relationshipKey)
setMasterObjectAndRelationshipKey
in interface com.webobjects.directtoweb.EditRelationshipPageInterface
EOEnterpriseObject
- the master objectString
- the relationship keypublic java.lang.String inlineTask()
public void setInlineTask(java.lang.String task)
public void setInlineTaskSafely(java.lang.String task)
public java.lang.String relationshipKey()
public void setRelationshipKey(java.lang.String key)
public com.webobjects.eocontrol.EODataSource dataSource()
dataSource
in class com.webobjects.directtoweb.D2WPage
public void setDataSource(com.webobjects.eocontrol.EODataSource ds)
setDataSource
in interface com.webobjects.directtoweb.SelectPageInterface
setDataSource
in class ERD2WPage
public com.webobjects.eocontrol.EOEnterpriseObject objectToAddToRelationship()
public void setObjectToAddToRelationship(com.webobjects.eocontrol.EOEnterpriseObject objectToAddTorRelationship)
public com.webobjects.appserver.WODisplayGroup relationshipDisplayGroup()
public void setRelationshipDisplayGroup(com.webobjects.appserver.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()
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |