/trunk/src/org/tela_botanica/client/modeles/collection/Collection.java |
---|
17,7 → 17,6 |
private CollectionAPersonneListe personnesLiees = null; |
private CollectionAPublicationListe publicationsLiees = null; |
private CollectionACommentaireListe commentairesLiees = null; |
public static String[] champsObligatoires = {"cc_id_collection","cc_ce_type"}; |
public Collection(){ |
/trunk/src/org/tela_botanica/client/modeles/collection/CollectionAsyncDao.java |
---|
80,7 → 80,6 |
public void ajouter(Collection collection) { |
String postDonneesEncodees = construirePost(null, collection); |
final JsonRestRequestBuilder rb = UtilDAO.construireRequetePost(SERVICE_NOM); |
rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() { |
@Override |
102,9 → 101,8 |
} |
public void modifier(Collection collection) { |
String postDonneesEncodees = construirePost(collection.getId(), collection); |
GWT.log(postDonneesEncodees, null); |
String[] parametres = {collection.getId()}; |
final JsonRestRequestBuilder rb = UtilDAO.construireRequetePost(SERVICE_NOM, parametres); |
rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() { |
147,8 → 145,7 |
postDonnees += "&cc_id_collection=" + URL.encodeComponent(collectionId); |
} |
/*Debug.log("id projet:"+collection.getIdProjet()); |
Debug.log("liste projet:"+((ProjetListe) Registry.get(RegistreId.PROJETS)).get(collection.getIdProjet()).toString()); |
/* |
postDonnees += "&cpr_abreviation=" + URL.encodeComponent(((ProjetListe) Registry.get(RegistreId.PROJETS)).get(collection.getIdProjet()).getAbreviation()); |
postDonnees += "&cc_ce_projet=" + URL.encodeComponent(collection.getIdProjet()) + |
"&cc_ce_mere=" + URL.encodeComponent(collection.getCollectionMereId()) + |
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAPersonneAsyncDao.java |
---|
58,11 → 58,6 |
} |
public void ajouter(String structureId, StructureAPersonne personnel) { |
Debug.log("<<<< BEGIN StructureAPersonneAsyncDao.ajouter()"); |
Debug.log("<<<< StructureAPersonneAsyncDao.ajouter(), personnel="+personnel.toString()); |
String postDonneesEncodees = construirePost(structureId, personnel); |
final JsonRestRequestBuilder rb = UtilDAO.construireRequetePost(SERVICE_NOM); |
rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() { |
78,9 → 73,6 |
} |
} |
}); |
Debug.log("<<<< END StructureAPersonneAsyncDao.supprimer()"); |
} |
public void modifier(StructureAPersonne personnel) { |
/trunk/src/org/tela_botanica/client/modeles/publication/PublicationAPersonneListe.java |
---|
22,8 → 22,6 |
super(auteurs.size()) ; |
final int taillemax = auteurs.size(); |
Debug.log("|> PublicationAPersonneListe : [constructeur] ::: auteurs = "+auteurs.toString()); |
for (int i = 0; i < taillemax; i++) { |
JSONObject publicationAPersonneCourante = auteurs.get(i).isObject() ; |
/trunk/src/org/tela_botanica/client/modeles/. |
---|
Property changes: |
Deleted: svn:mergeinfo |
Reverse-merged /branches/v1.0-syrah/src/org/tela_botanica/client/modeles:r1136-1234 |