[Castore-commits] GroupeBean.java 1.4 1.5 GroupeBeanFactory.java
1.5 1.6
Arnaud Thimel
thimel at adullact1.hosting.cri74.org
Mer 14 Juin 17:50:11 CEST 2006
Update of /cvsroot/castore/castore-presentation/src/java/fr/emn/castor/presentation/groupes
In directory adullact1:/tmp/cvs-serv26907/src/java/fr/emn/castor/presentation/groupes
Modified Files:
GroupeBean.java GroupeBeanFactory.java
Log Message:
Suppression du message plutot rattaché à la page 'MesGroupes'
Index: GroupeBeanFactory.java
===================================================================
RCS file: /cvsroot/castore/castore-presentation/src/java/fr/emn/castor/presentation/groupes/GroupeBeanFactory.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** GroupeBeanFactory.java 14 Jun 2006 15:28:38 -0000 1.5
--- GroupeBeanFactory.java 14 Jun 2006 15:50:08 -0000 1.6
***************
*** 41,44 ****
--- 41,45 ----
import static fr.emn.castor.groupes.GroupesConstants.GROUPE_UTILISATEUR_DESCRIPTION;
import static fr.emn.castor.groupes.GroupesConstants.GROUPE_UTILISATEUR_NOM;
+ import static fr.emn.castor.groupes.GroupesConstants.GROUPE_UTILISATEUR_TYPE;
import static fr.emn.castor.groupes.GroupesConstants.GROUPE_UTILISATEUR_UTILISATEURS;
***************
*** 86,89 ****
--- 87,93 ----
groupBean.setGroupDesc(description);
+ String type = (String)groupMap.get(GROUPE_UTILISATEUR_TYPE);
+ groupBean.setGroupType(type);
+
Map<String, String> usersAndNames = new LinkedHashMap<String, String>();
Collection<String> users =
Index: GroupeBean.java
===================================================================
RCS file: /cvsroot/castore/castore-presentation/src/java/fr/emn/castor/presentation/groupes/GroupeBean.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** GroupeBean.java 14 Jun 2006 15:24:28 -0000 1.4
--- GroupeBean.java 14 Jun 2006 15:50:08 -0000 1.5
***************
*** 70,73 ****
--- 70,78 ----
/**
+ * Le nom du groupe.
+ */
+ private String groupType;
+
+ /**
* Cree une nouvelle instance.
* @param groupId l'identifiant du groupe represente par ce GroupeBean
***************
*** 141,143 ****
--- 146,164 ----
}
+ /**
+ * Renvoie le groupType de cette instance.
+ * @return la valeur de l'attribut
+ */
+ public String getGroupType() {
+ return this.groupType;
+ }
+
+ /**
+ * Modifie le groupType de cette instance.
+ * @param groupType la nouvelle valeur de l'attribut
+ */
+ public void setGroupType(String groupType) {
+ this.groupType = groupType;
+ }
+
} //GroupeBean
Plus d'informations sur la liste de diffusion Castore-commits