public class ERDSavedQueriesComponent
extends com.webobjects.appserver.WOComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
ERDSavedQueriesComponent._TimestampSupport |
static interface |
ERDSavedQueriesComponent.RequestParams
interface to organize the request params used in this class
|
static class |
ERDSavedQueriesComponent.SavedQuery |
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Eventcom.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utilitycom.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessorcom.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
ERDSavedQueriesComponent.SavedQuery |
aSavedQuery |
String |
DEFAULT_QUERY_NONE |
static Logger |
log |
boolean |
needsAutoSubmit |
static com.webobjects.eocontrol.EOKeyValueArchiving.Support |
newEOKVArchivingTimestampSupport |
String |
newQueryName |
static com.webobjects.eocontrol.EOKeyValueArchiving.Support |
originalEOKVArchivingTimestampSupport |
ERDSavedQueriesComponent.SavedQuery |
selectedSavedQuery |
_Extension, _IsEventLoggingEnabled, _keyAssociations| Constructor and Description |
|---|
ERDSavedQueriesComponent(com.webobjects.appserver.WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
com.webobjects.appserver.WOComponent |
addNewQuery() |
boolean |
autoSubmitEnabled() |
com.webobjects.appserver.WOComponent |
clearForm() |
com.webobjects.directtoweb.D2WContext |
d2wContext() |
String |
defaultQueryNameForPageConfiguration(String pageConfigurationName) |
com.webobjects.appserver.WOComponent |
deleteAllSavedQueries() |
com.webobjects.appserver.WOComponent |
deleteCurrentQuery() |
WODisplayGroup |
displayGroup() |
String |
fetchSavedQueryResultsLink()
For this method to work properly, a valid action should be passed in as a binding for key: directActionNameToFetchSavedQueryResults
|
boolean |
hasNoSavedQueries() |
boolean |
isDefaultQuery(ERDSavedQueriesComponent.SavedQuery aQuery) |
boolean |
isNoSelectedQuery() |
boolean |
isSelectedQueryTheDefault() |
NSMutableArray |
loadSavedQueriesForPageConfigurationNamed(String pageConfigurationName) |
com.webobjects.appserver.WOComponent |
makeDefaultSavedQuery() |
String |
pageConfiguration() |
com.webobjects.appserver.WOComponent |
popupChangedSelection() |
NSDictionary |
queryParamsToFetchSavedQueryResults() |
com.webobjects.appserver.WOComponent |
refresh() |
NSMutableArray |
savedQueries() |
static NSDictionary |
savedQueriesForPageConfigurationNamed(com.webobjects.appserver.WOSession session,
String pageConfigurationName)
retrieves the saved queries for the given pageConfiguration and returns a
dictionary where the key is the name of the savedQuery and value is the
savedQuery itself.
|
void |
saveQueriesForPageConfigurationNamed(NSArray queries,
String pageConfigurationName) |
void |
setAutoSubmitEnabled(boolean b) |
void |
setDefaultQueryNameForPageConfiguration(String aName,
String pageConfigurationName) |
boolean |
showBookmarkableQueryResultsLink() |
void |
sleep() |
boolean |
synchronizesVariablesWithBindings()
component does not synchronize variables
|
com.webobjects.appserver.WOComponent |
updateCurrentQuery() |
static String |
userPreferenceNameForAutoSubmitWithPageConfiguration(String pageConfiguration) |
static String |
userPreferenceNameForDefaultQueryWithPageConfiguration(String pageConfiguration) |
static String |
userPreferenceNameForPageConfiguration(String pageConfiguration) |
protected com.webobjects.foundation.NSKeyValueCoding |
userPreferences() |
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic static final Logger log
public static final com.webobjects.eocontrol.EOKeyValueArchiving.Support originalEOKVArchivingTimestampSupport
public static final com.webobjects.eocontrol.EOKeyValueArchiving.Support newEOKVArchivingTimestampSupport
public ERDSavedQueriesComponent.SavedQuery aSavedQuery
public ERDSavedQueriesComponent.SavedQuery selectedSavedQuery
public String newQueryName
public final String DEFAULT_QUERY_NONE
public boolean needsAutoSubmit
public ERDSavedQueriesComponent(com.webobjects.appserver.WOContext context)
protected com.webobjects.foundation.NSKeyValueCoding userPreferences()
public static String userPreferenceNameForPageConfiguration(String pageConfiguration)
public static String userPreferenceNameForDefaultQueryWithPageConfiguration(String pageConfiguration)
public static String userPreferenceNameForAutoSubmitWithPageConfiguration(String pageConfiguration)
public NSMutableArray loadSavedQueriesForPageConfigurationNamed(String pageConfigurationName)
public static NSDictionary savedQueriesForPageConfigurationNamed(com.webobjects.appserver.WOSession session, String pageConfigurationName)
session - WOSession - to check if there is a session level
ERCoreUserPreferences setpageConfigurationName - StringNSDictionary String name of savedQuery ERDSavedQueriesComponent.SavedQuerypublic void saveQueriesForPageConfigurationNamed(NSArray queries, String pageConfigurationName)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class com.webobjects.appserver.WOComponentpublic void sleep()
sleep in class com.webobjects.appserver.WOComponentpublic com.webobjects.directtoweb.D2WContext d2wContext()
public WODisplayGroup displayGroup()
public String pageConfiguration()
public NSMutableArray savedQueries()
public com.webobjects.appserver.WOComponent popupChangedSelection()
public com.webobjects.appserver.WOComponent refresh()
public boolean autoSubmitEnabled()
public void setAutoSubmitEnabled(boolean b)
public com.webobjects.appserver.WOComponent addNewQuery()
public com.webobjects.appserver.WOComponent updateCurrentQuery()
public com.webobjects.appserver.WOComponent deleteCurrentQuery()
public com.webobjects.appserver.WOComponent deleteAllSavedQueries()
public com.webobjects.appserver.WOComponent clearForm()
public com.webobjects.appserver.WOComponent makeDefaultSavedQuery()
public String defaultQueryNameForPageConfiguration(String pageConfigurationName)
public void setDefaultQueryNameForPageConfiguration(String aName, String pageConfigurationName)
public boolean isSelectedQueryTheDefault()
public boolean isNoSelectedQuery()
public boolean hasNoSavedQueries()
public boolean isDefaultQuery(ERDSavedQueriesComponent.SavedQuery aQuery)
public NSDictionary queryParamsToFetchSavedQueryResults()
public String fetchSavedQueryResultsLink()
String - link to the DA which knows how to fetch the query results given the saved query namepublic boolean showBookmarkableQueryResultsLink()
Boolean
Copyright © 2002 – 2020 Project Wonder.