Package com.webobjects.eocontrol

Examples of com.webobjects.eocontrol.EODataSource.fetchObjects()


                _objects = (NSArray)super.valueForBinding("objects");
            } else {
                if(super.hasBinding("dataSource")) {
                    EODataSource ds = (EODataSource)super.valueForBinding("dataSource");
                    ERXAssert.DURING.notNull("dataSource", ds);
                    _objects = ds.fetchObjects();
                }
            }
        }
        return _objects;
    }
View Full Code Here


    public NSArray theList() {
        NSMutableArray aSortedArray;
        NSArray anUnsortedArray;
        if (_privateList()==null) {
            EODataSource aDataSource = _localDataSource();
            anUnsortedArray = aDataSource.fetchObjects();
            // 81398 sort contents
            aSortedArray = new NSMutableArray(anUnsortedArray);
            try {
                _WOJExtensionsUtil._sortEOsUsingSingleKey(aSortedArray, _localDestinationDisplayKey());
            } catch (NSComparator.ComparisonException e) {
View Full Code Here

                }
            }
            if(_list == null) {
              EODataSource ds = dataSource();
              if(ds.editingContext()!=null) {
                _list = ds.fetchObjects();
                if(ds.editingContext() != editingContext()) {
                  _list = ERXEOControlUtilities.localInstancesOfObjects(editingContext(), _list);
                }
              } else {
                log.error("EC of datasource is null, possible resubmit: " + ERXApplication.erxApplication().extraInformationForExceptionInContext(null, context()));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.