Package com.sun.data.provider

Examples of com.sun.data.provider.RowKey


        }
        return "edit";
    }
   
    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            PersonController  ctrl = new PersonController();
            Person person = (Person)list.getObject(rk);
            ctrl.delete(person);
        }
View Full Code Here


       
        return "new";
    }
   
    public String buttonInfo_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Person person = (Person) list.getObject(rk);
            getSessionBean1().setPerson(person);
        }
       
View Full Code Here

        return "info";
    }
   
    public String buttonLastId_action() {
        if (getSessionBean1().getPerson() != null) {
            RowKey rk = getSessionBean1().getPersonDataProvider().
                    findFirst("idContact", getSessionBean1().getPerson().getIdContact());
            if (rk != null) {
                int rowid = Integer.parseInt(rk.getRowId());
                tableRowGroup1.setFirst(rowid);
            }
        }
        return null;
    }
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

       
        return null;
    }
   
    public String buttonCompleted_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Communication communication = (Communication)getSessionBean1().
                    getCommunicationDataProvider().getObject(rk);
            communication.setDateOfCompletion(new Date());
            new CommunicationController().update(communication);
View Full Code Here

       
        return "mailer";
    }
   
    public String buttonClearReminder_action() {
        RowKey rk = tableRowGroup2.getRowKey();
        if (rk != null) {
            Event event = (Event)remindersList.getObject(rk);
            event.setReminderDate(null);
            new EventController().update(event);
        }
View Full Code Here

       
        return null;
    }
   
    public String buttonEditReminder_action() {
        RowKey rk = tableRowGroup2.getRowKey();
        if (rk != null) {
            Event event = (Event)remindersList.getObject(rk);
            getSessionBean1().setEvent(event);
        }
       
View Full Code Here

    public String buttonRefresh_action() {
        return null;
    }
   
    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            PartnershipController  ctrl = new PartnershipController();
            Partnership partnership = (Partnership)list.getObject(rk);
            ctrl.delete(partnership);
        }
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.