Package er.extensions.appserver

Examples of er.extensions.appserver.ERXDisplayGroup.filteredObjects()


     * The display group's objects, filtered by the display group qualifier (if any)
     */
    public NSArray filteredObjects() {
        if (displayGroup() instanceof ERXDisplayGroup) {
            ERXDisplayGroup dg = (ERXDisplayGroup) displayGroup();
            return dg.filteredObjects();
        }
        return displayGroup().qualifier() == null ? displayGroup().allObjects() : EOQualifier.filteredArrayWithQualifier(displayGroup().allObjects(), displayGroup().qualifier());
    }
   
    public WOComponent selectAll() {
View Full Code Here


  public NSArray objects() {
    NSArray objects = null;
    if(displayGroup() != null){
      if (displayGroup() instanceof ERXDisplayGroup) {
        ERXDisplayGroup dg = (ERXDisplayGroup) displayGroup();
        objects =  dg.filteredObjects();
      } else {
        objects =  displayGroup().allObjects();
      }
    }
    return objects;
View Full Code Here

    public int filteredObjectsCount() {
        WODisplayGroup dg=displayGroup();
        if (dg instanceof ERXDisplayGroup) {
      ERXDisplayGroup erxdg = (ERXDisplayGroup) dg;
      return erxdg.filteredObjects().count();
    }
        int result=0;
        EOQualifier q=dg.qualifier();
        if (q!=null) {
            result=EOQualifier.filteredArrayWithQualifier(dg.allObjects(),q).count();
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.