Documentation Archive Developer
Search
PATH Documentation > WebObjects

Up

SelectPageInterface


Implemented by:
D2WListPage
Package:
com.webobjects.directtoweb

Interface Description



This interface is the return value for the D2W selectPageForEntityNamed method that creates a select page. The methods defined by this interface initialize the newly created page.

Method Types


Managing the Data Source
setDataSource

Managing the Next Page Parameters
nextPageDelegate
setNextPageDelegate

Managing the Selected Object
selectedObject
setSelectedObject


Methods



nextPageDelegate


abstract public NextPageDelegate nextPageDelegate()

Returns the receiver's next page delegate.

See Also:
nextPageDelegate (D2WPage)



selectedObject


public abstract EOEnterpriseObject selectedObject()

Returns the object selected by the user.



setDataSource


public abstract void setDataSource(EODataSource dataSource)

Sets the receiver's data source to dataSource. This data source contains the group of objects from which the user makes a selection.



setNextPageDelegate


abstract public void setNextPageDelegate(NextPageDelegate nextPageDelegate)

Sets the receiver's next page delegate to nextPageDelegate. When the user selects an object on the select page, Direct to Web invokes the nextPage method on the next page delegate.

See Also:
NextPageDelegate



setSelectedObject


public abstract void setSelectedObject(EOEnterpriseObject selectedObject)

Sets the receiver's selected object to anObject. This method can be used to set the default selected object.


Up

© 2001 Apple Computer, Inc.