Package er.grouping

Examples of er.grouping.DRReportModel


    public GroupingOnly(WOContext context) {
        super(context);
        Session s = (Session)session();
        NSArray mcrits = DRReportModel.masterCriteriaForKey(s.selectedGroupingCriteriaString());

        DRReportModel mod = DRReportModel.withRawRecordsCriteriaListAttributeList(s.objects(), mcrits, null);
        //DRReportModel mod = new DRReportModel(s.objects() , mcrits, null);
        s.setReportModel(mod);
    }
View Full Code Here


    }

    public WOComponent regroup() {
        Session s = (Session)session();
        NSArray mcrits = DRReportModel.masterCriteriaForKey(s.selectedGroupingCriteriaString());
        DRReportModel mod = DRReportModel.withRawRecordsCriteriaListAttributeList(s.objects(), mcrits, null);
        //DRReportModel mod = new DRReportModel(s.objects(), mcrits, null);
        s.setReportModel(mod);
        return null;
    }
View Full Code Here

    }

    public WOComponent regroupWithReportEditor() {
        Session s = (Session)session();
       
        DRReportModel mod = DRReportModel.withRawRecordsCriteriaListAttributeList(s.objects(), s.critArray(), null);

        //DRReportModel mod = new DRReportModel(s.objects(), s.critArray(), null);
        s.setReportModel(mod);
        return null;
    }
View Full Code Here

        return name;
    }

    public void synchModel(NSNotification notification) {
        if(_model == notification.object() && !dontSyncModel()) {
            DRReportModel model = _model;
            reset();
            if(model != null) {
                model.initWithRawRecords(objects(), criteriaArray(), attributeArray());
            }
            log.info("Model was re-set.");
            //reset();
        }
    }
View Full Code Here

        //pg.records = movieDisplayGroup.allObjects();

        Session s = (Session)session();
        s.setObjectForKey(this, "Main");
       
        DRReportModel model = DRReportModel.withRawRecordsCriteriaListAttributeList(movieDisplayGroup.allObjects(), s.critArray, s.attribArray);
        s.setModel(model);
        //model.addToZList((DRGroup)model.vList().lastObject());
        WOComponent resultPage = (WOComponent)this.pageWithName("Report");
        return resultPage;
View Full Code Here

    public void rebuildReport(){
        Session s = (Session)session();
        NSArray aCritArray2 = (NSArray) s.valueForKey("critArray2");
        NSArray aAttribList2 = (NSArray) s.valueForKey("attribArray2");
        NSArray objs = (NSArray) s.groupByRows;
        DRReportModel mod = DRReportModel.withRawRecordsCriteriaListAttributeList(objs, aCritArray2, aAttribList2);
        s.reportModel2 = mod;
    }
View Full Code Here

    public GroupingOnly (WOContext c){
        super(c);
        Session s = (Session)session();
        NSArray mcrits = DRReportModel.masterCriteriaForKey(s.selectedGroupingCriteriaString);
        DRReportModel mod = DRReportModel.withRawRecordsCriteriaListAttributeList(s.objects , mcrits, null);
        s.reportModel = mod;
    }
View Full Code Here

    }

    public WOComponent regroup() {
        Session s = (Session)session();
        NSArray mcrits = DRReportModel.masterCriteriaForKey(s.selectedGroupingCriteriaString);
        DRReportModel mod = DRReportModel.withRawRecordsCriteriaListAttributeList(s.objects, mcrits, null);
        s.reportModel = mod;
        return null;
    }
View Full Code Here

    }


    public WOComponent regroupWithReportEditor() {
  Session s = (Session)session();
  DRReportModel mod = DRReportModel.withRawRecordsCriteriaListAttributeList(s.objects, s.critArray, null);
  s.reportModel = mod;
        return null;
    }
View Full Code Here

TOP

Related Classes of er.grouping.DRReportModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.