er.directtoweb
Class ERD2WQueryPage
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.directtoweb.D2WComponent
com.webobjects.directtoweb.D2WPage
er.directtoweb.ERD2WPage
er.directtoweb.ERD2WQueryPage
- All Implemented Interfaces:
- Cloneable, DTWGeneration, ERDBranchInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, QueryPageInterface, Serializable, WOActionResults
- Direct Known Subclasses:
- ERD2WQueryPageTemplate, ERD2WQueryPageWithFetchSpecification
- public class ERD2WQueryPage
- extends ERD2WPage
- implements QueryPageInterface
Superclass for all query pages.
In addition to the rest of the goodies of ERD2WPage, it lets you
save and restore the initial query bindings by supplying a NS(Mutable)Dictionary which
contains the keys "queryMin", "queryMax" etc from the respective fields of the WODisplayGroup.
- See Also:
- Serialized Form
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Fields inherited from class er.directtoweb.ERD2WPage |
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, log, validationLog |
Methods inherited from class er.directtoweb.ERD2WPage |
allConfigurationNames, branch, branchChoices, clearValidationFailed, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, descriptionForResponse, editingContext, errorMessage, errorMessages, hasBranchChoices, hasValidationExceptionForPropertyKey, invokeAction, isEmbedded, isObjectDeleteable, isObjectEditable, isObjectInspectable, nextPage, nextPageDelegate, now, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setObject, shouldCollectValidationExceptions, shouldPropagateExceptions, shouldSetFailedValidationValue, sleep, tabSectionsContents, tabSectionsContentsFromRuleResult, urlForCurrentState, userInfo, validationFailedWithException |
Methods inherited from class com.webobjects.directtoweb.D2WComponent |
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, localContext, logout, object, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames |
Methods inherited from class com.webobjects.appserver.WOComponent |
_associationWithName, _awakeInContext, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForKey, valueForKeyPath |
displayGroup
public WODisplayGroup displayGroup
didLoadQueryBindings
protected boolean didLoadQueryBindings
queryBindings
protected NSDictionary queryBindings
branch
protected NSDictionary branch
showResults
protected Boolean showResults
returnPage
public WOComponent returnPage
ERD2WQueryPage
public ERD2WQueryPage(WOContext context)
createDisplayGroup
protected void createDisplayGroup()
pullQueryBindingsForName
protected void pullQueryBindingsForName(String name)
pushQueryBindingsForName
protected void pushQueryBindingsForName(String name)
takeValuesFromRequest
public void takeValuesFromRequest(WORequest request,
WOContext context)
- Description copied from class:
ERD2WPage
- Overridden from the parent for better logging. Also clears validation errors
- Overrides:
takeValuesFromRequest
in class ERD2WPage
appendToResponse
public void appendToResponse(WOResponse arg0,
WOContext arg1)
- Description copied from class:
ERD2WPage
- Overridden from the parent for better logging. Reports exceptions in the console for easier debugging.
- Overrides:
appendToResponse
in class ERD2WPage
saveQueryBindings
protected void saveQueryBindings()
loadQueryBindings
protected void loadQueryBindings()
awake
public void awake()
- Description copied from class:
ERD2WPage
- Overridden to lock the page's editingContext, if there is any present.
- Overrides:
awake
in class ERD2WPage
isDeep
public boolean isDeep()
queryBindings
public NSDictionary queryBindings()
setQueryBindings
public void setQueryBindings(NSDictionary dictionary)
usesDistinct
public boolean usesDistinct()
refreshRefetchedObjects
public boolean refreshRefetchedObjects()
fetchLimit
public int fetchLimit()
qualifier
public EOQualifier qualifier()
branchName
public String branchName()
- Description copied from class:
ERD2WPage
- Implementation of the
ERDBranchDelegate
.
Gets the user selected branch name.
- Specified by:
branchName
in interface ERDBranchInterface
- Overrides:
branchName
in class ERD2WPage
- Returns:
- user selected branch name.
showResults
public boolean showResults()
setShowResults
public void setShowResults(boolean value)
queryAction
public WOComponent queryAction()
cancelAction
public WOComponent cancelAction()
returnAction
public WOComponent returnAction()
showCancel
public boolean showCancel()
- Overrides:
showCancel
in class ERD2WPage
queryDataSource
public EODataSource queryDataSource()
- Specified by:
queryDataSource
in interface QueryPageInterface
setQueryDataSource
public void setQueryDataSource(EODataSource datasource)
Copyright © 2002 – 2004 Project Wonder.