// Set the communication data provider for this contact
getSessionBean1().getCommunicationDataProvider().
setContact(getSessionBean1().getPartnership());
getSessionBean1().getCommunicationDataProvider().refreshListCommunicationsContact();
// Create an advertisement data provider for this partnership
AdvertisementDataProvider advertisementDP = new AdvertisementDataProvider();
advertisementDP.setPartnership(getSessionBean1().getPartnership());
advertisementDP.refreshListPartnership();
getSessionBean1().setAdvertisementDataProvider(advertisementDP);
}
}