Subversion Repositories eFlore/Applications.coel

Rev

Rev 989 | Rev 997 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 989 Rev 996
Line 1100... Line 1100...
1100
			}
1100
			}
1101
			modele.supprimerPublicationAPersonne(vueARafraichir, idPublicationAPersonneSepareParVirgule);
1101
			modele.supprimerPublicationAPersonne(vueARafraichir, idPublicationAPersonneSepareParVirgule);
1102
		}
1102
		}
1103
	}
1103
	}
Line -... Line 1104...
-
 
1104
	
-
 
1105
	//Lier plusieurs publication à une personne
-
 
1106
	public void ajouterPublicationAPersonne(Rafraichissable vueARafraichir, PublicationAPersonneListe listePublications, String personneId, String roleId) {
-
 
1107
		if (listePublications!=null && listePublications.size()>0)	{
-
 
1108
			String idsPubli = "";
-
 
1109
			for (Iterator<String> it = listePublications.keySet().iterator(); it.hasNext();) {
-
 
1110
				idsPubli += listePublications.get(it.next()).getId();
-
 
1111
				if (it.hasNext()) {
-
 
1112
					idsPubli += ",";
-
 
1113
				}
-
 
1114
			}			
-
 
1115
			modele.ajouterPublicationAPersonne(vueARafraichir, idsPubli, personneId, roleId);
-
 
1116
		}
-
 
1117
	}
1104
	
1118
	
1105
	//+----------------------------------------------------------------------------------------------------------------+
1119
	//+----------------------------------------------------------------------------------------------------------------+
1106
	//												GESTION DES COMMENTAIRES
1120
	//												GESTION DES COMMENTAIRES
Line 1107... Line 1121...
1107
	//+----------------------------------------------------------------------------------------------------------------+
1121
	//+----------------------------------------------------------------------------------------------------------------+