Package org.spw.volunteer.event

Examples of org.spw.volunteer.event.EventDataProvider


                isVolunteer = true;
                if (getSessionBean1().getVolunteer().getApplication() != null) {
                    hasApplication = true;
                }
            }
            getSessionBean1().setEventAttendedDataProvider(new EventDataProvider(
                    getSessionBean1().getPerson().getEventsAttended()));
            getSessionBean1().setEventOrganizedDataProvider(new EventDataProvider(
                    getSessionBean1().getPerson().getOrganize()));
        }
        sectionVolunteer.setRendered(isVolunteer);
        sectionApplication.setRendered(hasApplication);
        hyperlinkCreateVolunteer.setDisabled(isVolunteer);
View Full Code Here


                getSessionBean1().getPartnership().getIdContact() == null) {
            error("This page is not correctly initialized (partnership missing).");
        } else {
            getSessionBean1().getDocumentDataProvider().setContact(
                    getSessionBean1().getPartnership());
            getSessionBean1().setEventAttendedDataProvider(new EventDataProvider(
                    getSessionBean1().getPartnership().getEventsAttended()));
            getSessionBean1().setEventOrganizedDataProvider(new EventDataProvider(
                    getSessionBean1().getPartnership().getOrganize()));
            // Create a donation data provider for this contact
            DonationDataProvider donationDP = new DonationDataProvider();
            donationDP.setContact(getSessionBean1().getPartnership());
            getSessionBean1().setDonationDataProvider(donationDP);
View Full Code Here

     * Getter for property eventDataProvider.
     * @return Value of property eventDataProvider.
     */
    public EventDataProvider getEventDataProvider() {
        if (this.eventDataProvider == null) {
            this.eventDataProvider = new EventDataProvider();
        }
        return this.eventDataProvider;
    }
View Full Code Here

                getSessionBean1().getPartnership().getIdContact() == null) {
            error("This page is not correctly initialized (partnership missing).");
        } else {
            getSessionBean1().getDocumentDataProvider().setContact(
                    getSessionBean1().getPartnership());
            getSessionBean1().setEventAttendedDataProvider(new EventDataProvider(
                    getSessionBean1().getPartnership().getEventsAttended()));
            getSessionBean1().setEventOrganizedDataProvider(new EventDataProvider(
                    getSessionBean1().getPartnership().getOrganize()));
            // Create a donation data provider for this contact
            DonationDataProvider donationDP = new DonationDataProvider();
            donationDP.setContact(getSessionBean1().getPartnership());
            getSessionBean1().setDonationDataProvider(donationDP);
View Full Code Here

                isVolunteer = true;
                if (getSessionBean1().getVolunteer().getApplication() != null) {
                    hasApplication = true;
                }
            }
            getSessionBean1().setEventAttendedDataProvider(new EventDataProvider(
                    getSessionBean1().getPerson().getEventsAttended()));
            getSessionBean1().setEventOrganizedDataProvider(new EventDataProvider(
                    getSessionBean1().getPerson().getOrganize()));
        }
        sectionVolunteer.setRendered(isVolunteer);
        sectionApplication.setRendered(hasApplication);
        hyperlinkCreateVolunteer.setDisabled(isVolunteer);
View Full Code Here

TOP

Related Classes of org.spw.volunteer.event.EventDataProvider

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.