Project Wonder 5.0

er.reporting
Class WRQuickReport

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by er.reporting.WRQuickReport
All Implemented Interfaces:
com.webobjects.appserver.WOActionResults, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, java.io.Serializable, java.lang.Cloneable

public class WRQuickReport
extends com.webobjects.appserver.WOComponent

Provides a quick way to set up a 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:

  • Via a model dictionary, a path to a model dictionary or a string defining a model dictionary
    A model dictionary is defined by the keys GroupDef and AttributeDef.
  • Via a report dictionary.
    A report dictionary is a dictionary with the key model defining a model dictionary, and a key settings, defining the values normally bound to the report, like shouldShowNavigation and the like. Additionally, you can bind all values defining the report to the component itself, overriding the values in the dictionary.

    See Also:
    Serialized Form

    Nested Class Summary
     
    Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
    com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
     
    Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
    com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
     
    Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
    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.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
     
    Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
    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
     
    Field Summary
    protected  com.webobjects.foundation.NSArray _attributeArray
               
    protected  java.lang.String _componentName
               
    protected  com.webobjects.foundation.NSArray _criteriaArray
               
    protected  DRReportModel _model
               
    protected  com.webobjects.foundation.NSDictionary _modelDictionary
               
    protected  com.webobjects.foundation.NSArray _objects
               
    protected  com.webobjects.foundation.NSDictionary _reportDictionary
               
    protected  com.webobjects.foundation.NSDictionary _settingsDictionary
               
     
    Fields inherited from class com.webobjects.appserver.WOComponent
    _Extension, _IsEventLoggingEnabled, _keyAssociations
     
    Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
    _CLASS
     
    Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
    _CLASS, _KeyPathSeparatorChar, KeyPathSeparator
     
    Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
    NullValue
     
    Fields inherited from interface com.webobjects.foundation.NSValidation
    _CLASS
     
    Constructor Summary
    WRQuickReport(com.webobjects.appserver.WOContext c)
               
     
    Method Summary
     void appendToResponse(com.webobjects.appserver.WOResponse r, com.webobjects.appserver.WOContext c)
               
     com.webobjects.foundation.NSArray attributeArray()
               
     void awake()
               
     java.lang.String componentName()
               
     com.webobjects.foundation.NSArray criteriaArray()
               
     boolean dontSyncModel()
               
     void finalize()
               
     boolean hasBinding(java.lang.String name)
               
     DRReportModel model()
               
     com.webobjects.foundation.NSDictionary modelDictionary()
               
     com.webobjects.foundation.NSArray objects()
               
     java.lang.String plistString()
               
     java.lang.String reportComponentName()
               
     com.webobjects.foundation.NSDictionary reportDictionary()
               
     void reset()
               
     com.webobjects.foundation.NSDictionary settingsDictionary()
               
     void synchModel(com.webobjects.foundation.NSNotification notification)
               
     boolean synchronizesVariablesWithBindings()
               
     java.lang.Object valueForBinding(java.lang.String name)
               
     
    Methods inherited from class com.webobjects.appserver.WOComponent
    _associationWithName, _awakeInContext, _childTemplate, _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, sleep, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForKey, valueForKeyPath
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Field Detail

    _model

    protected DRReportModel _model

    _modelDictionary

    protected com.webobjects.foundation.NSDictionary _modelDictionary

    _reportDictionary

    protected com.webobjects.foundation.NSDictionary _reportDictionary

    _settingsDictionary

    protected com.webobjects.foundation.NSDictionary _settingsDictionary

    _objects

    protected com.webobjects.foundation.NSArray _objects

    _attributeArray

    protected com.webobjects.foundation.NSArray _attributeArray

    _criteriaArray

    protected com.webobjects.foundation.NSArray _criteriaArray

    _componentName

    protected java.lang.String _componentName
    Constructor Detail

    WRQuickReport

    public WRQuickReport(com.webobjects.appserver.WOContext c)
    Method Detail

    reportComponentName

    public java.lang.String reportComponentName()

    synchModel

    public void synchModel(com.webobjects.foundation.NSNotification notification)

    componentName

    public java.lang.String componentName()

    finalize

    public void finalize()
                  throws java.lang.Throwable
    Overrides:
    finalize in class java.lang.Object
    Throws:
    java.lang.Throwable

    awake

    public void awake()
    Overrides:
    awake in class com.webobjects.appserver.WOComponent

    reset

    public void reset()
    Overrides:
    reset in class com.webobjects.appserver.WOComponent

    synchronizesVariablesWithBindings

    public boolean synchronizesVariablesWithBindings()
    Overrides:
    synchronizesVariablesWithBindings in class com.webobjects.appserver.WOComponent

    plistString

    public java.lang.String plistString()

    modelDictionary

    public com.webobjects.foundation.NSDictionary modelDictionary()

    reportDictionary

    public com.webobjects.foundation.NSDictionary reportDictionary()

    settingsDictionary

    public com.webobjects.foundation.NSDictionary settingsDictionary()

    criteriaArray

    public com.webobjects.foundation.NSArray criteriaArray()

    attributeArray

    public com.webobjects.foundation.NSArray attributeArray()

    model

    public DRReportModel model()

    objects

    public com.webobjects.foundation.NSArray objects()

    hasBinding

    public boolean hasBinding(java.lang.String name)
    Overrides:
    hasBinding in class com.webobjects.appserver.WOComponent

    valueForBinding

    public java.lang.Object valueForBinding(java.lang.String name)
    Overrides:
    valueForBinding in class com.webobjects.appserver.WOComponent

    dontSyncModel

    public boolean dontSyncModel()

    appendToResponse

    public void appendToResponse(com.webobjects.appserver.WOResponse r,
                                 com.webobjects.appserver.WOContext c)
    Overrides:
    appendToResponse in class com.webobjects.appserver.WOComponent

    Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

    Copyright © 2002 – 2007 Project Wonder.