|
WebObjects 5.2.3 | ||||||||||
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
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 inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class 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.NSKeyValueCoding |
NullValue |
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,
com.webobjects.directtoweb.generation.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 int fetchLimit()
public String fetchSpecOptions()
isDeep()
,
usesDistinct()
,
refreshRefetchedObjects()
,
fetchLimit()
public boolean isDeep()
public EOQualifier qualifier()
displayGroup
,
queryDataSource()
public WOComponent queryAction()
D2WPage.nextPageDelegate()
public EODataSource queryDataSource()
QueryPageInterface
queryDataSource
in interface QueryPageInterface
public boolean refreshRefetchedObjects()
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, com.webobjects.directtoweb.generation.DTWTemplate aTemplate, WOContext aContext)
queryAction
.
The implementation is subject to change in future releases.
replacementAssociationForAssociation
in interface com.webobjects.directtoweb.generation.DTWGeneration
replacementAssociationForAssociation
in class D2WPage
oldAssociation
- instance of WOAssociationoldBinding
- instance of StringaTemplate
- instance of DTWTemplateaContext
- instance of WOContext
queryAction()
,
D2WPage.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
public void setQueryDataSource(EODataSource newValue)
newValue
- instance of EODataSourcequeryDataSource()
,
D2WPage.setDataSource(EODataSource)
public boolean usesDistinct()
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |