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.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._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.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
ERDSavedQueriesComponent.SavedQuery |
aSavedQuery |
java.lang.String |
DEFAULT_QUERY_NONE |
static org.apache.log4j.Logger |
log |
boolean |
needsAutoSubmit |
static EOKeyValueArchiving.Support |
newEOKVArchiningTimestampSupport
Deprecated.
|
static EOKeyValueArchiving.Support |
newEOKVArchivingTimestampSupport |
java.lang.String |
newQueryName |
static EOKeyValueArchiving.Support |
originalEOKVArchiningTimestampSupport
Deprecated.
|
static EOKeyValueArchiving.Support |
originalEOKVArchivingTimestampSupport |
ERDSavedQueriesComponent.SavedQuery |
selectedSavedQuery |
_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
ERDSavedQueriesComponent(WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
WOComponent |
addNewQuery() |
boolean |
autoSubmitEnabled() |
WOComponent |
clearForm() |
com.webobjects.directtoweb.D2WContext |
d2wContext() |
java.lang.String |
defaultQueryNameForPageConfiguration(java.lang.String pageConfigurationName) |
WOComponent |
deleteAllSavedQueries() |
WOComponent |
deleteCurrentQuery() |
WODisplayGroup |
displayGroup() |
java.lang.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(java.lang.String pageConfigurationName) |
WOComponent |
makeDefaultSavedQuery() |
java.lang.String |
pageConfiguration() |
WOComponent |
popupChangedSelection() |
NSDictionary |
queryParamsToFetchSavedQueryResults() |
WOComponent |
refresh() |
NSMutableArray |
savedQueries() |
static NSDictionary |
savedQueriesForPageConfigurationNamed(WOSession session,
java.lang.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,
java.lang.String pageConfigurationName) |
void |
setAutoSubmitEnabled(boolean b) |
void |
setDefaultQueryNameForPageConfiguration(java.lang.String aName,
java.lang.String pageConfigurationName) |
boolean |
showBookmarkableQueryResultsLink() |
void |
sleep() |
boolean |
synchronizesVariablesWithBindings()
component does not synchronize variables
|
WOComponent |
updateCurrentQuery() |
static java.lang.String |
userPreferenceNameForAutoSubmitWithPageConfiguration(java.lang.String pageConfiguration) |
static java.lang.String |
userPreferenceNameForDefaultQueryWithPageConfiguration(java.lang.String pageConfiguration) |
static java.lang.String |
userPreferenceNameForPageConfiguration(java.lang.String pageConfiguration) |
protected 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 org.apache.log4j.Logger log
public static final EOKeyValueArchiving.Support originalEOKVArchivingTimestampSupport
public static final EOKeyValueArchiving.Support newEOKVArchivingTimestampSupport
@Deprecated public static final EOKeyValueArchiving.Support originalEOKVArchiningTimestampSupport
originalEOKVArchivingTimestampSupport@Deprecated public static final EOKeyValueArchiving.Support newEOKVArchiningTimestampSupport
newEOKVArchivingTimestampSupportpublic ERDSavedQueriesComponent.SavedQuery aSavedQuery
public ERDSavedQueriesComponent.SavedQuery selectedSavedQuery
public java.lang.String newQueryName
public final java.lang.String DEFAULT_QUERY_NONE
public boolean needsAutoSubmit
public ERDSavedQueriesComponent(WOContext context)
protected NSKeyValueCoding userPreferences()
public static java.lang.String userPreferenceNameForPageConfiguration(java.lang.String pageConfiguration)
public static java.lang.String userPreferenceNameForDefaultQueryWithPageConfiguration(java.lang.String pageConfiguration)
public static java.lang.String userPreferenceNameForAutoSubmitWithPageConfiguration(java.lang.String pageConfiguration)
public NSMutableArray loadSavedQueriesForPageConfigurationNamed(java.lang.String pageConfigurationName)
public static NSDictionary savedQueriesForPageConfigurationNamed(WOSession session, java.lang.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, java.lang.String pageConfigurationName)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class WOComponentpublic void sleep()
sleep in class WOComponentpublic com.webobjects.directtoweb.D2WContext d2wContext()
public WODisplayGroup displayGroup()
public java.lang.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 java.lang.String defaultQueryNameForPageConfiguration(java.lang.String pageConfigurationName)
public void setDefaultQueryNameForPageConfiguration(java.lang.String aName,
java.lang.String pageConfigurationName)
public boolean isSelectedQueryTheDefault()
public boolean isNoSelectedQuery()
public boolean hasNoSavedQueries()
public boolean isDefaultQuery(ERDSavedQueriesComponent.SavedQuery aQuery)
public NSDictionary queryParamsToFetchSavedQueryResults()
public java.lang.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 – 2022 Project Wonder.