Package com.sun.data.provider

Examples of com.sun.data.provider.RowKey


    public String buttonRefresh_action() {
        return null;
    }
   
    public String buttonEdit_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Event event = (Event)list.getObject(rk);
            getSessionBean1().setEvent(event);
        }
       
View Full Code Here


       
        return "edit";
    }
   
    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Event event = (Event)list.getObject(rk);
            new EventController().delete(event);
            list.refreshList();
        }
View Full Code Here

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

    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

       
        return "new";
    }

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

       
        return "edit";
    }

    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Advertisement advertisement = (Advertisement)list.getObject(rk);
            deleteAdvertisement(advertisement);
        }
        list.refreshListPartnership();
View Full Code Here

    public String buttonRefresh_action() {
        return null;
    }
   
    public String buttonEdit_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Person Person = (Person)list.getObject(rk);
            getSessionBean1().setPerson(Person);
        }
        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.