public class WRQuickReport
extends com.webobjects.appserver.WOComponent
WRReport
. Instead of binding all those keys,
you can simply set up the components via a dictionary.
There are several modes you can supply the data:
GroupDef
and AttributeDef
.model
defining
a model dictionary, and a key settings
, defining the values normally bound
to the report, like shouldShowNavigation
and the like.com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.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.ValueAccessor
com.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 |
---|---|
protected NSArray |
_attributeArray |
protected String |
_componentName |
protected NSArray |
_criteriaArray |
protected DRReportModel |
_model |
protected NSDictionary |
_modelDictionary |
protected NSArray |
_objects |
protected NSDictionary |
_reportDictionary |
protected NSDictionary |
_settingsDictionary |
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
WRQuickReport(com.webobjects.appserver.WOContext c) |
Modifier and Type | Method and Description |
---|---|
void |
appendToResponse(com.webobjects.appserver.WOResponse r,
com.webobjects.appserver.WOContext c) |
NSArray |
attributeArray() |
void |
awake() |
String |
componentName() |
NSArray |
criteriaArray() |
boolean |
dontSyncModel() |
void |
finalize() |
boolean |
hasBinding(String name) |
DRReportModel |
model() |
NSDictionary |
modelDictionary() |
NSArray |
objects() |
String |
plistString() |
String |
reportComponentName() |
NSDictionary |
reportDictionary() |
void |
reset() |
NSDictionary |
settingsDictionary() |
void |
synchModel(com.webobjects.foundation.NSNotification notification) |
boolean |
synchronizesVariablesWithBindings() |
Object |
valueForBinding(String name) |
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
protected DRReportModel _model
protected NSDictionary _modelDictionary
protected NSDictionary _reportDictionary
protected NSDictionary _settingsDictionary
protected NSArray _objects
protected NSArray _attributeArray
protected NSArray _criteriaArray
protected String _componentName
public String reportComponentName()
public void synchModel(com.webobjects.foundation.NSNotification notification)
public String componentName()
public void finalize() throws Throwable
public void awake()
awake
in class com.webobjects.appserver.WOComponent
public void reset()
reset
in class com.webobjects.appserver.WOComponent
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class com.webobjects.appserver.WOComponent
public String plistString()
public NSDictionary modelDictionary()
public NSDictionary reportDictionary()
public NSDictionary settingsDictionary()
public NSArray criteriaArray()
public NSArray attributeArray()
public DRReportModel model()
public NSArray objects()
public boolean hasBinding(String name)
hasBinding
in class com.webobjects.appserver.WOComponent
public Object valueForBinding(String name)
valueForBinding
in class com.webobjects.appserver.WOComponent
public boolean dontSyncModel()
public void appendToResponse(com.webobjects.appserver.WOResponse r, com.webobjects.appserver.WOContext c)
appendToResponse
in class com.webobjects.appserver.WOComponent
Copyright © 2002 – 2020 Project Wonder.