|
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.D2WStatelessComponent com.webobjects.directtoweb.QueryComponent com.webobjects.directtoweb.D2WQueryAnyField
public class D2WQueryAnyField
This property-level component builds a query based on the destination objects of a relationship. The user can specify the key for an attribute of the destination object and a value the attribute must have. This object does not traverse the relationship, making it appropriate for relationships that contain many objects.
Property-level components are not accessed programmatically. Instead, you use the Web Assistant to choose the property-level component that Direct to Web uses to display a property on a particular entity and task page.
If you want to create property-level component to query based on a property, use D2WCustomQueryComponent.
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 |
---|
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
---|
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
D2WQueryAnyField(WOContext aContext)
Creates a new D2WQueryAnyField with the specified aContext. |
Method Summary | |
---|---|
String |
componentsForDisplayKeyList()
This method is intentionally undocumented. |
String |
componentsForKeyList()
This method is intentionally undocumented. |
D2WContext |
relationshipContext()
This method is intentionally undocumented. |
NSArray |
relationshipContextDisplayAttributesKeys()
This method is intentionally undocumented. |
WOAssociation |
replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
DTWTemplate aTemplate,
WOContext aContext)
This method is intentionally undocumented. |
void |
reset()
This method is intentionally undocumented. |
String |
selectedKey()
This method is intentionally undocumented. |
void |
setSelectedKey(String newValue)
This method is intentionally undocumented. |
String |
variableNameForKeyList()
This method is intentionally undocumented. |
Methods inherited from class com.webobjects.directtoweb.QueryComponent |
---|
displayGroup, setValue, value |
Methods inherited from class com.webobjects.directtoweb.D2WStatelessComponent |
---|
d2wContext, isStateless, localContext, object |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public D2WQueryAnyField(WOContext aContext)
aContext
- a WOContext.Method Detail |
---|
public D2WContext relationshipContext()
public void reset()
reset
in class QueryComponent
D2WStatelessComponent.d2wContext()
,
D2WStatelessComponent.object()
public NSArray relationshipContextDisplayAttributesKeys()
public String selectedKey()
public String variableNameForKeyList()
public String componentsForKeyList()
public String componentsForDisplayKeyList()
public void setSelectedKey(String newValue)
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)
replacementAssociationForAssociation
in interface DTWGeneration
replacementAssociationForAssociation
in class QueryComponent
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |