Package com.sun.data.provider

Examples of com.sun.data.provider.RowKey


    private void setEvent(Event event) {
        getSessionBean1().setEvent(event);
    }
   
    public String buttonDeleteAttended_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Contact contact= (Contact) getSessionBean1().getAttendedDataProvider().getObject(rk);
            removeAttended(contact);
        }
        getSessionBean1().getAttendedDataProvider().refreshList();
View Full Code Here


       
        return null;
    }
   
    public String buttonDeleteOrganized_action() {
        RowKey rk = tableRowGroup2.getRowKey();
        if (rk != null) {
            Contact contact= (Contact) getSessionBean1().getOrganizedByDataProvider().getObject(rk);
            removeOrganizedBy(contact);
        }
        getSessionBean1().getOrganizedByDataProvider().refreshList();
View Full Code Here

       
        return null;
    }
   
    public String buttonInfoAttended_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Object contact= getSessionBean1().getAttendedDataProvider().getObject(rk);
            //TODO: finish to direct on the partnership page
            if (contact instanceof Person) {
                getSessionBean1().setPerson((Person) contact);
View Full Code Here

        }
        return null;
    }
   
    public String buttonInfoOrganized_action() {
        RowKey rk = tableRowGroup2.getRowKey();
        if (rk != null) {
            Object contact= getSessionBean1().getOrganizedByDataProvider().getObject(rk);
            //TODO: finish to direct on the partnership page
            if (contact instanceof Person) {
                getSessionBean1().setPerson((Person) contact);
View Full Code Here

                option);
        return "new";
    }
   
    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            OptionValueController  ctrl = new OptionValueController();
            OptionValue optionValue = (OptionValue)list.getObject(rk);
            ctrl.delete(optionValue);
        }
View Full Code Here

        return null;
    }
   
    public String buttonEdit_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            OptionValue optionValue = (OptionValue)list.getObject(rk);
            getSessionBean1().setOptionValue(optionValue);
        }
        return "edit";
View Full Code Here

    public String buttonRefresh_action() {
        return null;
    }

    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            FundraisingController ctrl = new FundraisingController();
            Fundraising fundraising = (Fundraising)list.getObject(rk);
            ctrl.delete(fundraising);
            list.refreshList();
View Full Code Here

        getSessionBean1().setFundraising(new Fundraising());
        return "new";
    }

    public String buttonPlan_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Fundraising fundraising = (Fundraising)list.getObject(rk);
            getSessionBean1().setFundraising(fundraising);
        }
       
View Full Code Here

       
        return "plan";
    }

    public String buttonEdit_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Fundraising fundraising = (Fundraising)list.getObject(rk);
            getSessionBean1().setFundraising(fundraising);
        }
       
View Full Code Here

    public String buttonRefresh_action() {
        return null;
    }
   
    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            ProgramController  ctrl = new ProgramController();
            Program program = (Program)list.getObject(rk);
            ctrl.delete(program);
            list.refreshList();
View Full Code Here

TOP

Related Classes of com.sun.data.provider.RowKey

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.