Project Wonder 5.0

er.grouping
Class DRReportModel

java.lang.Object
  extended by er.grouping.DRReportModel

public class DRReportModel
extends java.lang.Object


Field Summary
protected  com.webobjects.foundation.NSArray _attributeList
           
protected  int _attributeListDepth
           
protected  com.webobjects.foundation.NSArray _criteriaList
           
protected  com.webobjects.foundation.NSMutableDictionary _flatAttributeDepthDict
           
protected  com.webobjects.foundation.NSMutableArray _flatAttributeList
           
protected  com.webobjects.foundation.NSMutableArray _flatAttributeListTotal
           
protected  com.webobjects.foundation.NSMutableDictionary _flatAttributeListTotalDict
           
protected  com.webobjects.foundation.NSDictionary _groupDict
           
protected  com.webobjects.foundation.NSArray _groups
           
protected  com.webobjects.foundation.NSMutableArray _hList
           
protected  com.webobjects.foundation.NSArray _orderings
           
protected  com.webobjects.foundation.NSArray _rawRecords
           
protected  com.webobjects.foundation.NSArray _records
           
protected  com.webobjects.foundation.NSMutableDictionary _registeredRecordGroups
           
protected  com.webobjects.foundation.NSMutableArray _vList
           
protected  com.webobjects.foundation.NSMutableArray _zList
           
static java.lang.String ATTRIBUTE_DEF_KEY
           
static java.lang.String DRReportModelRebuildNotification
           
static java.lang.String DRReportModelUpdateNotification
           
static java.lang.String GROUP_DEF_KEY
           
 
Constructor Summary
DRReportModel()
           
 
Method Summary
 void addToHList(DRGroup drg)
           
 void addToVList(DRGroup drg)
           
 void addToZList(DRGroup drg)
           
 com.webobjects.foundation.NSArray attributeList()
           
static com.webobjects.foundation.NSArray attributeList(com.webobjects.foundation.NSArray attList)
           
 int attributeListDepth()
           
static com.webobjects.foundation.NSArray attributeListString(com.webobjects.foundation.NSArray attList)
           
static boolean boolForString(java.lang.String s)
           
 void buildGrandTotal()
           
 void buildOrderings()
           
 java.lang.String coordinateKey(com.webobjects.foundation.NSDictionary coordDict)
           
 com.webobjects.foundation.NSArray criteriaList()
           
 com.webobjects.foundation.NSArray dimensionForName(java.lang.String dim)
           
 com.webobjects.foundation.NSDictionary flatAttributeDepthDict()
           
 com.webobjects.foundation.NSArray flatAttributeList()
           
 com.webobjects.foundation.NSArray flatAttributeListTotal()
           
 com.webobjects.foundation.NSDictionary flatAttributeListTotalDict()
           
 void flatListForAttribute(DRAttribute att)
           
 void flatListForAttributeList()
           
 void flatListForAttributeListTotals()
           
 void groupAllRecordGroups()
           
 DRGroup groupForMasterCriteria(DRMasterCriteria mc)
           
 com.webobjects.foundation.NSArray groups()
           
 com.webobjects.foundation.NSDictionary groupsWithCriteriaArray(com.webobjects.foundation.NSArray aCritArray)
           
 com.webobjects.foundation.NSArray hList()
           
 DRReportModel initWithRawRecords(com.webobjects.foundation.NSArray rawr, com.webobjects.foundation.NSArray aCritArray, com.webobjects.foundation.NSArray aAttribList)
           
 void makeRecordGroupsStaleTotal()
           
static com.webobjects.foundation.NSArray masterCriteriaForKey(java.lang.String akey)
           
 DRMasterCriteria masterCriteriaForKeyPath(java.lang.String keypath)
           
static com.webobjects.foundation.NSArray masterCriteriaList(com.webobjects.foundation.NSArray mcList)
           
static com.webobjects.foundation.NSArray masterCriteriaListString(com.webobjects.foundation.NSArray mcList)
           
static com.webobjects.foundation.NSArray masterSubCriteriaListString(com.webobjects.foundation.NSArray smcList)
           
static com.webobjects.foundation.NSDictionary modelDictWithPListString(java.lang.String plistString)
           
static com.webobjects.foundation.NSDictionary modelFromPlistString(java.lang.String plistString)
           
 void moveUpDimension(DRGroup vGroup, boolean up, java.lang.String dim)
           
 com.webobjects.foundation.NSArray orderings()
           
static java.lang.String pListStringAttributeListMasterCriteriaList(com.webobjects.foundation.NSArray attList, com.webobjects.foundation.NSArray mcList)
           
static com.webobjects.foundation.NSArray possibleValues(com.webobjects.foundation.NSDictionary smcdict)
           
 com.webobjects.foundation.NSArray rawRecords()
           
 DRRecordGroup recordGroupForCoordinates(com.webobjects.foundation.NSDictionary coordDict)
           
 com.webobjects.foundation.NSArray records()
           
 com.webobjects.foundation.NSArray recordsForRawRecords(com.webobjects.foundation.NSArray rawr)
           
 void registerRecordGroupWithCoordinates(DRRecordGroup recGrp, com.webobjects.foundation.NSDictionary coordDict)
           
 void resetDefaults()
           
 void setAttributeList(com.webobjects.foundation.NSArray arr)
           
 void setCriteriaList(com.webobjects.foundation.NSArray arr)
           
 void setOrderings(com.webobjects.foundation.NSArray v)
           
 int spanForVListIndexAsCellsShowHeadingShowTotals(boolean forVlist, int indx, boolean asCells, boolean showHeading, boolean showTotals)
           
static java.lang.String stringContentsOfFile(java.lang.String path)
           
static com.webobjects.foundation.NSDictionary stringForAttribute(DRAttribute att)
           
static java.lang.String stringForBool(boolean b)
           
static com.webobjects.foundation.NSArray subMasterCriteriaList(com.webobjects.foundation.NSArray smcList)
           
 void synchModel()
           
 void synchModel(com.webobjects.foundation.NSNotification notification)
           
 java.lang.String toString()
           
 com.webobjects.foundation.NSArray vList()
           
static DRReportModel withRawRecordsCriteriaListAttributeList(com.webobjects.foundation.NSArray rawr, com.webobjects.foundation.NSArray aCritArray, com.webobjects.foundation.NSArray aAttribList)
           
static boolean writeStringToDiskPathAtomically(java.lang.String string, java.lang.String path, boolean flag)
           
 com.webobjects.foundation.NSArray zList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DRReportModelUpdateNotification

public static final java.lang.String DRReportModelUpdateNotification
See Also:
Constant Field Values

DRReportModelRebuildNotification

public static final java.lang.String DRReportModelRebuildNotification
See Also:
Constant Field Values

GROUP_DEF_KEY

public static final java.lang.String GROUP_DEF_KEY
See Also:
Constant Field Values

ATTRIBUTE_DEF_KEY

public static final java.lang.String ATTRIBUTE_DEF_KEY
See Also:
Constant Field Values

_vList

protected com.webobjects.foundation.NSMutableArray _vList

_hList

protected com.webobjects.foundation.NSMutableArray _hList

_zList

protected com.webobjects.foundation.NSMutableArray _zList

_records

protected com.webobjects.foundation.NSArray _records

_groups

protected com.webobjects.foundation.NSArray _groups

_groupDict

protected com.webobjects.foundation.NSDictionary _groupDict

_rawRecords

protected com.webobjects.foundation.NSArray _rawRecords

_attributeList

protected com.webobjects.foundation.NSArray _attributeList

_criteriaList

protected com.webobjects.foundation.NSArray _criteriaList

_registeredRecordGroups

protected com.webobjects.foundation.NSMutableDictionary _registeredRecordGroups

_flatAttributeDepthDict

protected com.webobjects.foundation.NSMutableDictionary _flatAttributeDepthDict

_flatAttributeList

protected com.webobjects.foundation.NSMutableArray _flatAttributeList

_flatAttributeListTotal

protected com.webobjects.foundation.NSMutableArray _flatAttributeListTotal

_flatAttributeListTotalDict

protected com.webobjects.foundation.NSMutableDictionary _flatAttributeListTotalDict

_attributeListDepth

protected int _attributeListDepth

_orderings

protected com.webobjects.foundation.NSArray _orderings
Constructor Detail

DRReportModel

public DRReportModel()
Method Detail

resetDefaults

public void resetDefaults()

orderings

public com.webobjects.foundation.NSArray orderings()

setOrderings

public void setOrderings(com.webobjects.foundation.NSArray v)

buildOrderings

public void buildOrderings()

masterCriteriaForKey

public static com.webobjects.foundation.NSArray masterCriteriaForKey(java.lang.String akey)

writeStringToDiskPathAtomically

public static boolean writeStringToDiskPathAtomically(java.lang.String string,
                                                      java.lang.String path,
                                                      boolean flag)

stringContentsOfFile

public static java.lang.String stringContentsOfFile(java.lang.String path)

boolForString

public static boolean boolForString(java.lang.String s)

stringForBool

public static java.lang.String stringForBool(boolean b)

possibleValues

public static com.webobjects.foundation.NSArray possibleValues(com.webobjects.foundation.NSDictionary smcdict)

subMasterCriteriaList

public static com.webobjects.foundation.NSArray subMasterCriteriaList(com.webobjects.foundation.NSArray smcList)

masterCriteriaList

public static com.webobjects.foundation.NSArray masterCriteriaList(com.webobjects.foundation.NSArray mcList)

attributeList

public static com.webobjects.foundation.NSArray attributeList(com.webobjects.foundation.NSArray attList)

modelDictWithPListString

public static com.webobjects.foundation.NSDictionary modelDictWithPListString(java.lang.String plistString)

modelFromPlistString

public static com.webobjects.foundation.NSDictionary modelFromPlistString(java.lang.String plistString)

masterSubCriteriaListString

public static com.webobjects.foundation.NSArray masterSubCriteriaListString(com.webobjects.foundation.NSArray smcList)

masterCriteriaListString

public static com.webobjects.foundation.NSArray masterCriteriaListString(com.webobjects.foundation.NSArray mcList)

stringForAttribute

public static com.webobjects.foundation.NSDictionary stringForAttribute(DRAttribute att)

attributeListString

public static com.webobjects.foundation.NSArray attributeListString(com.webobjects.foundation.NSArray attList)

pListStringAttributeListMasterCriteriaList

public static java.lang.String pListStringAttributeListMasterCriteriaList(com.webobjects.foundation.NSArray attList,
                                                                          com.webobjects.foundation.NSArray mcList)

withRawRecordsCriteriaListAttributeList

public static DRReportModel withRawRecordsCriteriaListAttributeList(com.webobjects.foundation.NSArray rawr,
                                                                    com.webobjects.foundation.NSArray aCritArray,
                                                                    com.webobjects.foundation.NSArray aAttribList)

buildGrandTotal

public void buildGrandTotal()

initWithRawRecords

public DRReportModel initWithRawRecords(com.webobjects.foundation.NSArray rawr,
                                        com.webobjects.foundation.NSArray aCritArray,
                                        com.webobjects.foundation.NSArray aAttribList)

synchModel

public void synchModel()

synchModel

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

groupAllRecordGroups

public void groupAllRecordGroups()

recordsForRawRecords

public com.webobjects.foundation.NSArray recordsForRawRecords(com.webobjects.foundation.NSArray rawr)

attributeListDepth

public int attributeListDepth()

flatAttributeList

public com.webobjects.foundation.NSArray flatAttributeList()

flatListForAttribute

public void flatListForAttribute(DRAttribute att)

flatListForAttributeList

public void flatListForAttributeList()

flatListForAttributeListTotals

public void flatListForAttributeListTotals()

flatAttributeDepthDict

public com.webobjects.foundation.NSDictionary flatAttributeDepthDict()

flatAttributeListTotalDict

public com.webobjects.foundation.NSDictionary flatAttributeListTotalDict()

flatAttributeListTotal

public com.webobjects.foundation.NSArray flatAttributeListTotal()

groupsWithCriteriaArray

public com.webobjects.foundation.NSDictionary groupsWithCriteriaArray(com.webobjects.foundation.NSArray aCritArray)

spanForVListIndexAsCellsShowHeadingShowTotals

public int spanForVListIndexAsCellsShowHeadingShowTotals(boolean forVlist,
                                                         int indx,
                                                         boolean asCells,
                                                         boolean showHeading,
                                                         boolean showTotals)

dimensionForName

public com.webobjects.foundation.NSArray dimensionForName(java.lang.String dim)

moveUpDimension

public void moveUpDimension(DRGroup vGroup,
                            boolean up,
                            java.lang.String dim)

zList

public com.webobjects.foundation.NSArray zList()

hList

public com.webobjects.foundation.NSArray hList()

vList

public com.webobjects.foundation.NSArray vList()

addToVList

public void addToVList(DRGroup drg)

addToHList

public void addToHList(DRGroup drg)

addToZList

public void addToZList(DRGroup drg)

records

public com.webobjects.foundation.NSArray records()

groups

public com.webobjects.foundation.NSArray groups()

groupForMasterCriteria

public DRGroup groupForMasterCriteria(DRMasterCriteria mc)

masterCriteriaForKeyPath

public DRMasterCriteria masterCriteriaForKeyPath(java.lang.String keypath)

rawRecords

public com.webobjects.foundation.NSArray rawRecords()

criteriaList

public com.webobjects.foundation.NSArray criteriaList()

setCriteriaList

public void setCriteriaList(com.webobjects.foundation.NSArray arr)

attributeList

public com.webobjects.foundation.NSArray attributeList()

setAttributeList

public void setAttributeList(com.webobjects.foundation.NSArray arr)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

coordinateKey

public java.lang.String coordinateKey(com.webobjects.foundation.NSDictionary coordDict)

registerRecordGroupWithCoordinates

public void registerRecordGroupWithCoordinates(DRRecordGroup recGrp,
                                               com.webobjects.foundation.NSDictionary coordDict)

makeRecordGroupsStaleTotal

public void makeRecordGroupsStaleTotal()

recordGroupForCoordinates

public DRRecordGroup recordGroupForCoordinates(com.webobjects.foundation.NSDictionary coordDict)

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

Copyright © 2002 – 2007 Project Wonder.