Package com.sun.data.provider

Examples of com.sun.data.provider.RowKey


    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


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

       
        return "new";
    }
   
    public String buttonVolunteer_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Program program = (Program)list.getObject(rk);
            getSessionBean1().setProgram(program);
            java.util.List<Volunteer> contacts = new ArrayList();
            for (VolunteerApplication application : program.getApplications()) {
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

       
        return "eventEdit";
    }
   
    public String buttonEditCommunication_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Communication communication = (Communication) actionsNotCompletedList.getObject(rk);
            if (! communication.getParticipants().isEmpty()) {
                Contact contact = communication.getParticipants().get(0);
                if (contact instanceof Partnership) {
View Full Code Here

    public String buttonGo_action() {
        return "mailer";
    }

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

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

        }
        return null;
    }
   
    public String buttonEdit_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Country country = (Country)list.getObject(rk);
            getSessionBean1().setCountry(country);
        }
        return "edit";
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.