Package com.sun.data.provider

Examples of com.sun.data.provider.RowKey


        return null;
    }

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


       
        return "new";
    }

    public String buttonInfo_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            getSessionBean1().setPartnership((Partnership)list.getObject(rk));
        }
       
        return "info";
View Full Code Here

                list.getContact().getClass().getName());
        return null;
    }
   
    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Communication communication = (Communication)list.getObject(rk);
            deleteCommunication(communication);
        }
        list.refreshListCommunicationsContact();
View Full Code Here

       
        return "new";
    }
   
    public String buttonEdit_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Communication communication = (Communication)list.getObject(rk);
            getSessionBean1().setCommunication(communication);
            loadOfficeStaff(communication.getParticipants());
            loadSelected(communication.getParticipants());
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

                list.getContact().getClass().getName());
        return null;
    }
   
    public String buttonDelete_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Communication communication = (Communication)list.getObject(rk);
            deleteCommunication(communication);
        }
        list.refreshListCommunicationsContact();
View Full Code Here

       
        return "new";
    }
   
    public String buttonEdit_action() {
        RowKey rk = tableRowGroup1.getRowKey();
        if (rk != null) {
            Communication communication = (Communication)list.getObject(rk);
            getSessionBean1().setCommunication(communication);
            loadOfficeStaff(communication.getParticipants());
            loadSelected(communication.getParticipants());
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

    }
   
    //To hold information about the seleected rows
    private TableSelectPhaseListener tablePhaseListener = new TableSelectPhaseListener();
    public void setSelected(Object object) {
        RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
        if (rowKey != null) {
            tablePhaseListener.setSelected(rowKey, object);
        }
    }
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.