Examples of ERD2WInspectPage


Examples of er.directtoweb.pages.ERD2WInspectPage

    }
   
    ///  Component stuff;
   
    public WOComponent createComponent() {
        ERD2WInspectPage page = (ERD2WInspectPage) createPageNamed("CreateComponent");
        Component eo = (Component) page.object();
        applyCurrentUser(eo, Component.Key.OWNER);
        return page;
    }
View Full Code Here

Examples of er.directtoweb.pages.ERD2WInspectPage

    }

    ///People stuff
   
    public WOComponent createPeople() {
        ERD2WInspectPage page = (ERD2WInspectPage) createPageNamed("CreatePeople");
        EOEnterpriseObject eo = page.object();
        //applyCurrentUser(eo, "owner");
        return page;
    }
View Full Code Here

Examples of er.directtoweb.pages.ERD2WInspectPage

        //applyCurrentUser(eo, "owner");
        return page;
    }
   
    public WOComponent signUp() {
        final ERD2WInspectPage page;
        People signUp = session().signUp();
        if(signUp == null) {
          page = (ERD2WInspectPage) createPageNamed("SignUpPeople");
          signUp = (People) page.object();
          session().setSignUp(signUp);
        } else {
          page = (ERD2WInspectPage) editPageNamed("SignUpPeople", signUp);
        }
        page.setNextPageDelegate(new NextPageDelegate() {

      public WOComponent nextPage(WOComponent arg0) {
        if(page.objectWasSaved()) {
          session().finishSignUp();
        } else {
          session().setSignUp(null);
        }
       
View Full Code Here

Examples of er.directtoweb.pages.ERD2WInspectPage

    }

    /// Framework stuff
   
    public WOComponent createFramework() {
        ERD2WInspectPage page = (ERD2WInspectPage) createPageNamed("CreateFramework");
        EOEnterpriseObject eo = page.object();
        applyCurrentUser(eo, Framework.Key.OWNER);
        return page;
    }
View Full Code Here

Examples of er.directtoweb.pages.ERD2WInspectPage

    }

    /// Requirement stuff
   
    public WOComponent createRequirement() {
        ERD2WInspectPage page = (ERD2WInspectPage) createPageNamed("CreateRequirement");
        EOEnterpriseObject eo = page.object();
        applyCurrentUser(eo, Requirement.Key.ORIGINATOR);
        applyCurrentUser(eo, Requirement.Key.OWNER);
        return page;
     }
View Full Code Here

Examples of er.directtoweb.pages.ERD2WInspectPage

    }

    /// Test item stuff

    public WOComponent createTestItem() {
        ERD2WInspectPage page = (ERD2WInspectPage) createPageNamed("CreateTestItem");
        EOEnterpriseObject eo = page.object();
        applyCurrentUser(eo, TestItem.Key.OWNER);
        return page;
    }
View Full Code Here

Examples of er.directtoweb.pages.ERD2WInspectPage

        lpi.setDataSource(ds);
        return (WOComponent) lpi;
    }

    public WOComponent createRelease() {
        ERD2WInspectPage page = (ERD2WInspectPage) createPageNamed("CreateRelease");
        EOEnterpriseObject eo = page.object();
        return page;
    }
View Full Code Here

Examples of er.directtoweb.pages.ERD2WInspectPage

    }

    /// Bug stuff

    public WOComponent createBug() {
        ERD2WInspectPage page = (ERD2WInspectPage) createPageNamed("CreateBug");
        Bug bug = (Bug) page.object();
        applyCurrentUser(bug, Bug.Key.ORIGINATOR);
        applyCurrentUser(bug, Bug.Key.OWNER);
        return page;
    }
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.