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

D2WQueryAllEntitiesPage

Package: com.apple.yellow.directtoweb

Inherits from:D2WPage

Implements:

Subclasses:


Class Description

This class provides the behavior for the query-all page Direct to Web templates, specifically BASQueryAllEntitesPage, NEUQueryAllPage, and WOLQueryAllPage. The classes for these components inherit directly from D2WQueryAllEntitiesPage and define no additional variables or methods.

Most of the methods in this class are accessed (via the EOKeyValueCoding interface defined in the EOControl framework) from the Direct to Web template's bindings (.wod) file. If you create a Direct to Web template from a query-all page, you can invoke the methods in this class in the same way. See the "Direct to Web" chapter of WebObjects Tools and Techniques for more information about creating a Direct to Web template.

Method Types


Constructors

Fields
Actions
Private Methods


Constructors


com.apple.yellow.directtoweb.D2WQueryAllEntitiesPage

public D2WQueryAllEntitiesPage()

Standard Java no-argument constructor.
Fields



displayGroup
com.apple.yellow.webobjects.WODisplayGroup

The WODisplayGroup object that performs the query.
Methods


queryAction

public WOComponent queryAction()

This action method is invoked when the user clicks the search button next to an entity in the query-all page. It returns a list page (a WOComponent) displaying the objects that match the query.



queryDataSource

public EODataSource queryDataSource()

This method is intentionally undocumented. You should never have to invoke or customize it.



replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)

This method is intentionally undocumented. You should never have to invoke or customize it.



showRegularQueryAction

public WOComponent showRegularQueryAction()

This action method is invoked when the user clicks the More Options button next to an entity. It returns a query page (a WOComponent for the entity.