|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent com.webobjects.directtoweb.D2WComponent com.webobjects.directtoweb.D2WPage com.webobjects.directtoweb.D2WQueryPage
public class D2WQueryPage
The D2WQueryPage class provides the behavior for the query page Direct to Web templates: BASQueryPage, NEUQueryPage, and WOLQueryPage. The classes for these components inherit directly from D2WQueryPage and define no additional methods or variables.
Most of the methods in this class are accessed, via the EOKeyValueCoding interface defined in the EOControl framework, from the bindings (.wod) file of the Direct to Web template. If you create a Direct to Web template from a query page, you can invoke the methods in this class in the same way.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary | |
---|---|
WODisplayGroup |
displayGroup
The WODisplayGroup object that performs the query. |
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
---|
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
D2WQueryPage(WOContext aContext)
Creates an instance of D2WQueryPage with the specified context. |
Method Summary | |
---|---|
int |
fetchLimit()
Gets the maximum number of objects matching the query that the display group fetches. |
String |
fetchSpecOptions()
Gets a String containing the state of the fetch specification options: isDeep, usesDistinct, refreshesRefetchedObjects, and fetchLimit. |
boolean |
isDeep()
Indicates whether fetches should include sub-entities of the entity of the query fetch specification. |
EOQualifier |
qualifier()
Gets the qualifier from query values of the display group. |
WOComponent |
queryAction()
Is invoked when the user clicks Search in the query page. |
EODataSource |
queryDataSource()
Returns the receiver's EODataSource (defined in the EOControl Framework). |
boolean |
refreshRefetchedObjects()
Indicates whether existing objects are overwritten with fetched values when they have been updated or changed. |
WOAssociation |
replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
DTWTemplate aTemplate,
WOContext aContext)
Replace the binding queryAction . |
void |
setQueryDataSource(EODataSource newValue)
Sets the query data source to the specified data source. |
boolean |
usesDistinct()
Indicates whether duplicate objects or records are removed after fetching. |
Methods inherited from class com.webobjects.directtoweb.D2WPage |
---|
alternateRowColor, dataSource, descriptionForResponse, extraBindings, finalize, nextPage, nextPageDelegate, pageWrapperName, setDataSource, setExtraBindings, setNextPage, setNextPageDelegate, showCancel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.webobjects.directtoweb.QueryPageInterface |
---|
setNextPageDelegate |
Field Detail |
---|
public WODisplayGroup displayGroup
Constructor Detail |
---|
public D2WQueryPage(WOContext aContext)
aContext
- instance of WOContextD2WPage.D2WPage(WOContext)
Method Detail |
---|
public EOQualifier qualifier()
D2WQueryPage.displayGroup
,
D2WQueryPage.queryDataSource()
public int fetchLimit()
public boolean isDeep()
public boolean usesDistinct()
public boolean refreshRefetchedObjects()
public EODataSource queryDataSource()
QueryPageInterface
queryDataSource
in interface QueryPageInterface
public String fetchSpecOptions()
D2WQueryPage.isDeep()
,
D2WQueryPage.usesDistinct()
,
D2WQueryPage.refreshRefetchedObjects()
,
D2WQueryPage.fetchLimit()
public void setQueryDataSource(EODataSource newValue)
newValue
- instance of EODataSourceD2WQueryPage.queryDataSource()
,
D2WPage.setDataSource(EODataSource)
public WOComponent queryAction()
D2WPage.nextPageDelegate()
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)
queryAction
.
The implementation is subject to change in future releases.
replacementAssociationForAssociation
in interface DTWGeneration
replacementAssociationForAssociation
in class D2WPage
oldAssociation
- instance of WOAssociationoldBinding
- instance of StringaTemplate
- instance of DTWTemplateaContext
- instance of WOContext
D2WQueryPage.queryAction()
,
D2WPage.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |