public class ERDSavedQueriesComponent extends 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 |
WOComponent._EventLoggingEnabler, WOComponent.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
ERDSavedQueriesComponent.SavedQuery |
aSavedQuery |
String |
DEFAULT_QUERY_NONE |
static org.apache.log4j.Logger |
log |
boolean |
needsAutoSubmit |
static EOKeyValueArchiving.Support |
newEOKVArchivingTimestampSupport |
String |
newQueryName |
static EOKeyValueArchiving.Support |
originalEOKVArchivingTimestampSupport |
ERDSavedQueriesComponent.SavedQuery |
selectedSavedQuery |
_Extension, _IsEventLoggingEnabled, _keyAssociations
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERDSavedQueriesComponent(WOContext context) |
__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, variableWithName
public static final org.apache.log4j.Logger log
public static final EOKeyValueArchiving.Support originalEOKVArchivingTimestampSupport
public static final 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(WOContext context)
protected 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(WOSession session, String pageConfigurationName)
session
- WOSession
- to check if there is a session level
ERCoreUserPreferences setpageConfigurationName
- String
NSDictionary
String
name of savedQuery ERDSavedQueriesComponent.SavedQuery
public void saveQueriesForPageConfigurationNamed(NSArray queries, String pageConfigurationName)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class WOComponent
public void sleep()
sleep
in class WOComponent
public com.webobjects.directtoweb.D2WContext d2wContext()
public WODisplayGroup displayGroup()
public String pageConfiguration()
public NSMutableArray savedQueries()
public WOComponent popupChangedSelection()
public WOComponent refresh()
public boolean autoSubmitEnabled()
public void setAutoSubmitEnabled(boolean b)
public WOComponent addNewQuery()
public WOComponent updateCurrentQuery()
public WOComponent deleteCurrentQuery()
public WOComponent deleteAllSavedQueries()
public WOComponent clearForm()
public 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 – 2024 Project Wonder.