public class WRQuickReport extends 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.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 |
---|---|
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
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
WRQuickReport(WOContext c) |
Modifier and Type | Method and Description |
---|---|
void |
appendToResponse(WOResponse r,
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(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 WRQuickReport(WOContext c)
public String reportComponentName()
public void synchModel(NSNotification notification)
public String componentName()
public void finalize() throws Throwable
public void awake()
awake
in class WOComponent
public void reset()
reset
in class WOComponent
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class 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 WOComponent
public Object valueForBinding(String name)
valueForBinding
in class WOComponent
public boolean dontSyncModel()
public void appendToResponse(WOResponse r, WOContext c)
appendToResponse
in class WOComponent
Copyright © 2002 – 2024 Project Wonder.