List toRemove = new ArrayList(dsToRemove.size()); Iterator i = dsToRemove.iterator(); while (i.hasNext()) toRemove.add(transformDDToDs((pojos.DatasetData) i.next()));  List toAdd = new ArrayList(dsToAdd.size()); i = dsToAdd.iterator(); while (i.hasNext()) toAdd.add(transformDDToDs((pojos.DatasetData) i.next()));
	void updateProject(pojos.ProjectData pd, List dsToRemove, List dsToAdd,						boolean nameChange)	{		try { 			DataManagementService dms = registry.getDataManagementService();			dms.updateProject(transformPojosProjectData(pd), dsToRemove,                                dsToAdd);			//update the presentation and the project summary contained in the 			//projectSummaries list accordingly			updatePSList(pd);			if (nameChange) presentation.updateProjectInTree();            UserNotifier un = registry.getUserNotifier();            IconManager im = IconManager.getInstance(registry);            un.notifyInfo("Update project", "The project has been updated.",                     im.getIcon(IconManager.SEND_TO_DB));		} catch(DSAccessException dsae) {			String s = "Can't update the project: "+pd.getId()+".";			registry.getLogger().error(this, s+" Error: "+dsae);			registry.getUserNotifier().notifyError("Data Retrieval Failure", s,													dsae);		} catch(DSOutOfServiceException dsose) {				ServiceActivationRequest request = new ServiceActivationRequest(										ServiceActivationRequest.DATA_SERVICES);			registry.getEventBus().post(request);		} 		}