Package com.webobjects.directtoweb

Examples of com.webobjects.directtoweb.QueryPageInterface


//  }
 
  // GENERIC ACTIONS
 
    public WOComponent queryPageForEntityName(String entityName) {
        QueryPageInterface newQueryPage = D2W.factory().queryPageForEntityNamed(entityName, session());
        return (WOComponent) newQueryPage;
    }
View Full Code Here


        public void setDataSource(EODataSource value) {
            dataSource = value;
        }

        public WOComponent firstPage(String pageConfiguration) {
            QueryPageInterface qpi = (QueryPageInterface)pageForConfigurationNamed(pageConfiguration);
            qpi.setNextPageDelegate(this);
            return (WOComponent) qpi;
        }
View Full Code Here

//  }
 
  // GENERIC ACTIONS
 
    public WOComponent queryPageForEntityName(String entityName) {
        QueryPageInterface newQueryPage = D2W.factory().queryPageForEntityNamed(entityName, session());
        return (WOComponent) newQueryPage;
    }
View Full Code Here

    public NSArray visibleEntityNames() {
        return D2W.factory().visibleEntityNames(session());
    }

    public WOComponent findEntityAction() {
        QueryPageInterface newQueryPage = D2W.factory().queryPageForEntityNamed(_manipulatedEntityName, session());
        return (WOComponent) newQueryPage;
    }
View Full Code Here

            lpi.setDataSource(ERXEOControlUtilities.dataSourceForArray(ec, entityName, new NSArray(EOUtilities.createAndInsertInstance(ec, entityName))));
          } else if (page instanceof ConfirmPageInterface) {
            ConfirmPageInterface cpi = (ConfirmPageInterface) page;
            // nothing
          } else if (page instanceof QueryPageInterface) {
            QueryPageInterface qpi = (QueryPageInterface) page;
            // nothing
          } else {
            log.info("Unsupported: " + pageName + " -> " + page.name());
          }
          page.appendToResponse(new ERXResponse(), context);
View Full Code Here

        }
        return result;
    }
   
    public WOComponent showRegularQueryAction() {
        QueryPageInterface qpi = null;
        if(queryConfigurationName() != null) {
            qpi = (QueryPageInterface)D2W.factory().pageForConfigurationNamed(queryConfigurationName(), session());
        else {
            qpi = D2W.factory().queryPageForEntityNamed(entity().name(), session());
        }
View Full Code Here

    public NSArray visibleEntityNames() {
        return D2W.factory().visibleEntityNames(session());
    }

    public WOComponent findEntityAction() {
        QueryPageInterface newQueryPage = D2W.factory().queryPageForEntityNamed(_manipulatedEntityName, session());
        return (WOComponent) newQueryPage;
    }
View Full Code Here

    public WOComponent findAMovie() {
        return (WOComponent)(QueryPageInterface)D2W.factory().pageForConfigurationNamed("SearchMovie", this);
    }

    public WOComponent findAnActor() {
        QueryPageInterface qpi = (QueryPageInterface)D2W.factory().pageForConfigurationNamed("FindTalent", this);
        return (WOComponent)qpi;
    }
View Full Code Here

  // GENERIC ACTIONS

  public WOComponent queryPageForEntityName(String entityName)
  {
    QueryPageInterface newQueryPage = D2W.factory().queryPageForEntityNamed(entityName, session());
    return (WOComponent) newQueryPage;
  }
View Full Code Here

  }
 
  // GENERIC ACTIONS
 
    public WOComponent queryPageForEntityName(String entityName) {
        QueryPageInterface newQueryPage = D2W.factory().queryPageForEntityNamed(entityName, session());
        return (WOComponent) newQueryPage;
    }
View Full Code Here

TOP

Related Classes of com.webobjects.directtoweb.QueryPageInterface

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.