Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Direct to Web

[Table of Contents]

EditRelationshipPageInterface


Implemented by:
D2WEditRelationshipPage
Package:
com.apple.yellow.directtoweb

Interface Description



This interface is the return value for the D2W editRelationshipPageForEntityNamed method that creates an edit-relationship page. The methods defined by this interface initialize the newly created page.

Method Types


Managing the Next Page Parameters
setNextPage
setNextPageDelegate

Setting the Object
setMasterObjectAndRelationshipKey


Methods



setMasterObjectAndRelationshipKey


abstract public void setMasterObjectAndRelationshipKey(EOEnterpriseObject anObject, String key)

Sets the object whose relationship is edited to anObject. Sets the property key for the relationship that is edited to key. For example, to edit a movie's toStudio relationship, set anObject to a Movie object and set key to "toStudio".



setNextPage


public abstract void setNextPage(WOComponent nextPage)

Sets the page that is displayed when the user clicks Return in the edit-relationship page. If the new page needs to be initialized, set the next page delegate instead.



setNextPageDelegate


public abstract void setNextPageDelegate(NextPageDelegate nextPageDelegate)

Sets the receiver's next page delegate to nextPageDelegate. When the user clicks Return in the edit-relationship page, Direct to Web invokes the nextPage method on the next page delegate.

See Also:
NextPageDelegate


[Table of Contents]