Wao-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
July 2011
- 1 participants
- 31 discussions
[Suiviobsmer-commits] r1372 - trunk/src/announcement
by bleny@users.labs.libre-entreprise.org 04 Jul '11
by bleny@users.labs.libre-entreprise.org 04 Jul '11
04 Jul '11
Author: bleny
Date: 2011-07-04 14:07:52 +0000 (Mon, 04 Jul 2011)
New Revision: 1372
Log:
release email 3.0
Added:
trunk/src/announcement/release-email-3.0.txt
Added: trunk/src/announcement/release-email-3.0.txt
===================================================================
--- trunk/src/announcement/release-email-3.0.txt (rev 0)
+++ trunk/src/announcement/release-email-3.0.txt 2011-07-04 14:07:52 UTC (rev 1372)
@@ -0,0 +1,28 @@
+La nouvelle version 3.0 de l'applicatif Wao est disponible !
+
+Nouveautés :
+- [bleny] #2363 : Ergonomie : surligner une ligne sélectionnée
+- [bleny] #2603 : Ajout de la typologie sur les embarquements refusés
+- [bleny] #2604 : Ajout du camembert de typologie des embarquements refusés sur la cartographie
+- [bleny] #2614 : Sur un contact, remplacer l'utilisation du champ technique topiaCreateDate par un vrai champs métier createDate
+- [bleny] #2637 : Ajout du plan d'échantillonnage ObsDeb
+- [bleny] #2563 : Mise en valeur des lignes modifiées dans le plan d'échantillonage
+- [bleny] #2365 : Amélioration cartographie des contacts
+- [bleny] #2596 : Configuration des colonnes des contacts par programme (OBSMER, OBSVENTE, OBSDEB)
+- [bleny] #2598 : Complément de documentation pour le programme OBSVENTE
+- [bleny] #1982 : Plan d'échantillonnage : mettre le focus sur la ligne nouvellement modifiée
+- [bleny] #2615 : Utiliser l'identifiant technique unique pour l'unicité d'un contact dans l'import/export CSV
+- [bleny] #2636 : remaniement pour adapter wao à ObsDeb
+- [bleny] #2355 : Revoir filtres pour le chargement des listes déroulantes
+
+Documentation :
+
+http://suiviobsmer.labs.libre-entreprise.org/wao/
+
+Téléchargement :
+
+https://labs.libre-entreprise.org/frs/?group_id=154
+
+Cordialement,
+
+L'équipe Wao
1
0
Author: bleny
Date: 2011-07-04 14:03:45 +0000 (Mon, 04 Jul 2011)
New Revision: 1371
Log:
change log
Modified:
trunk/changelog.txt
Modified: trunk/changelog.txt
===================================================================
--- trunk/changelog.txt 2011-07-04 13:38:27 UTC (rev 1370)
+++ trunk/changelog.txt 2011-07-04 14:03:45 UTC (rev 1371)
@@ -3,6 +3,27 @@
Historique des versions
+3.0
+-----
+
+Evolution
++++++++++
+
+- [bleny] #2363 : Ergonomie : surligner une ligne sélectionnée
+- [bleny] #2603 : Ajout de la typologie sur les embarquements refusés
+- [bleny] #2604 : Ajout du camembert de typologie des embarquements refusés sur la cartographie
+- [bleny] #2614 : Sur un contact, remplacer l'utilisation du champ technique topiaCreateDate par un vrai champs métier createDate
+- [bleny] #2637 : Ajout du plan d'échantillonnage ObsDeb
+- [bleny] #2563 : Mise en valeur des lignes modifiées dans le plan d'échantillonage
+- [bleny] #2365 : Amélioration cartographie des contacts
+- [bleny] #2596 : Configuration des colonnes des contacts par programme (OBSMER, OBSVENTE, OBSDEB)
+- [bleny] #2598 : Complément de documentation pour le programme OBSVENTE
+- [bleny] #1982 : Plan d'échantillonnage : mettre le focus sur la ligne nouvellement modifiée
+- [bleny] #2615 : Utiliser l'identifiant technique unique pour l'unicité d'un contact dans l'import/export CSV
+- [bleny] #2636 : remaniement pour adapter wao à ObsDeb
+- [bleny] #2355 : Revoir filtres pour le chargement des listes déroulantes
+
+
2.1.6
-----
1
0
04 Jul '11
Author: bleny
Date: 2011-07-04 13:38:27 +0000 (Mon, 04 Jul 2011)
New Revision: 1370
Log:
update file headers
Modified:
trunk/src/site/rst/common/utilisateurs.rst
trunk/src/site/rst/obsDeb/administrateur.rst
trunk/src/site/rst/obsDeb/coordinateur.rst
trunk/src/site/rst/obsDeb/observateur.rst
trunk/src/site/rst/obsMer/coordinateur.rst
trunk/src/site/rst/obsMer/observateur.rst
trunk/src/site/rst/obsVente/coordinateur.rst
trunk/src/site/rst/obsVente/observateur.rst
trunk/wao-business/src/main/java/fr/ifremer/wao/bean/ObservationType.java
trunk/wao-business/src/main/java/fr/ifremer/wao/entity/BoatGroupImpl.java
trunk/wao-business/src/main/java/fr/ifremer/wao/entity/FleetImpl.java
trunk/wao-business/src/main/java/fr/ifremer/wao/entity/ObsDebCodeImpl.java
trunk/wao-business/src/main/java/fr/ifremer/wao/entity/TerrestrialLocationDAOImpl.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/ImportExportModel.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatGroupImportModel.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatImportExportModel.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/ContactStateMotivesImportModel.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/RawObsDebCodesImportModel.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatImmatriculationParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/CompanyParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ContactStateMotivesParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/LocationTypeParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ObsDebCodeParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/PortParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionParserFormatter.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionsParser.java
trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/SampleRowParserFormatter.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/AbstractBusinessTest.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebPhoneTest.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsMerTest.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsDebFixtures.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java
trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/data/WaoActivationContext.java
trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/RoadMap.java
trunk/wao-ui/src/test/java/fr/ifremer/wao/ui/data/WaoActivationContextTest.java
Modified: trunk/src/site/rst/common/utilisateurs.rst
===================================================================
--- trunk/src/site/rst/common/utilisateurs.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/common/utilisateurs.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
Pour gérer les sociétés et les utilisateurs, il faut se rendre sur la page
d'administration.
Modified: trunk/src/site/rst/obsDeb/administrateur.rst
===================================================================
--- trunk/src/site/rst/obsDeb/administrateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/obsDeb/administrateur.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
###############################################################################
Utiliser Wao en tant qu'administrateur sur ObsDeb
###############################################################################
Modified: trunk/src/site/rst/obsDeb/coordinateur.rst
===================================================================
--- trunk/src/site/rst/obsDeb/coordinateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/obsDeb/coordinateur.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
###############################################################################
Utiliser Wao en tant que coordinateur sur ObsDeb
###############################################################################
Modified: trunk/src/site/rst/obsDeb/observateur.rst
===================================================================
--- trunk/src/site/rst/obsDeb/observateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/obsDeb/observateur.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
###############################################################################
Utiliser Wao en tant qu'observateur sur ObsDeb
###############################################################################
Modified: trunk/src/site/rst/obsMer/coordinateur.rst
===================================================================
--- trunk/src/site/rst/obsMer/coordinateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/obsMer/coordinateur.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
###############################################################################
Utiliser Wao en tant que coordinateur sur ObsMer
###############################################################################
Modified: trunk/src/site/rst/obsMer/observateur.rst
===================================================================
--- trunk/src/site/rst/obsMer/observateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/obsMer/observateur.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
################################################################################
Utiliser Wao en tant qu'observateur sur ObsMer
################################################################################
Modified: trunk/src/site/rst/obsVente/coordinateur.rst
===================================================================
--- trunk/src/site/rst/obsVente/coordinateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/obsVente/coordinateur.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
###############################################################################
Utiliser Wao en tant que coordinateur sur ObsVente
###############################################################################
Modified: trunk/src/site/rst/obsVente/observateur.rst
===================================================================
--- trunk/src/site/rst/obsVente/observateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/src/site/rst/obsVente/observateur.rst 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2009 - 2011 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
###############################################################################
Utiliser Wao en tant qu'observateur sur ObsVente
###############################################################################
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/bean/ObservationType.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/bean/ObservationType.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/bean/ObservationType.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.bean;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/entity/BoatGroupImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/entity/BoatGroupImpl.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/entity/BoatGroupImpl.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.entity;
public class BoatGroupImpl extends BoatGroupAbstract {
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/entity/FleetImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/entity/FleetImpl.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/entity/FleetImpl.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.entity;
public class FleetImpl extends FleetAbstract {
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/entity/ObsDebCodeImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/entity/ObsDebCodeImpl.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/entity/ObsDebCodeImpl.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.entity;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/entity/TerrestrialLocationDAOImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/entity/TerrestrialLocationDAOImpl.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/entity/TerrestrialLocationDAOImpl.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.entity;
import fr.ifremer.wao.bean.LocationType;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/ImportExportModel.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/ImportExportModel.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/ImportExportModel.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2;
/**
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatGroupImportModel.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatGroupImportModel.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatGroupImportModel.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models;
import fr.ifremer.wao.entity.Boat;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatImportExportModel.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatImportExportModel.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/BoatImportExportModel.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models;
import fr.ifremer.wao.entity.Boat;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/ContactStateMotivesImportModel.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/ContactStateMotivesImportModel.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/ContactStateMotivesImportModel.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/RawObsDebCodesImportModel.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/RawObsDebCodesImportModel.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/RawObsDebCodesImportModel.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models;
import fr.ifremer.wao.bean.RawObsDebCode;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatImmatriculationParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatImmatriculationParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatImmatriculationParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/BoatParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/CompanyParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/CompanyParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/CompanyParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ContactStateMotivesParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ContactStateMotivesParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ContactStateMotivesParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/LocationTypeParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/LocationTypeParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/LocationTypeParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ObsDebCodeParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ObsDebCodeParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/ObsDebCodeParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/PortParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/PortParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/PortParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionsParser.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionsParser.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/RegionsParser.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/SampleRowParserFormatter.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/SampleRowParserFormatter.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/io/csv2/models/operations/SampleRowParserFormatter.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.io.csv2.models.operations;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/AbstractBusinessTest.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/AbstractBusinessTest.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/AbstractBusinessTest.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.business;
import fr.ifremer.wao.WaoServices;
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebPhoneTest.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebPhoneTest.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebPhoneTest.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.business;
import fr.ifremer.wao.WaoBusinessException;
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsMerTest.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsMerTest.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsMerTest.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.business;
import fr.ifremer.wao.WaoBusinessException;
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.business.fixtures;
import fr.ifremer.wao.WaoBusinessException;
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsDebFixtures.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsDebFixtures.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsDebFixtures.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.business.fixtures;
import fr.ifremer.wao.WaoServices;
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Business
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.business.fixtures;
import fr.ifremer.wao.WaoBusinessException;
Modified: trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/data/WaoActivationContext.java
===================================================================
--- trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/data/WaoActivationContext.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/data/WaoActivationContext.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Web Interface
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.ui.data;
import fr.ifremer.wao.bean.ObservationType;
Modified: trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/RoadMap.java
===================================================================
--- trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/RoadMap.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/RoadMap.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Web Interface
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.ui.pages;
import fr.ifremer.wao.WaoUtils;
Modified: trunk/wao-ui/src/test/java/fr/ifremer/wao/ui/data/WaoActivationContextTest.java
===================================================================
--- trunk/wao-ui/src/test/java/fr/ifremer/wao/ui/data/WaoActivationContextTest.java 2011-07-04 13:37:24 UTC (rev 1369)
+++ trunk/wao-ui/src/test/java/fr/ifremer/wao/ui/data/WaoActivationContextTest.java 2011-07-04 13:38:27 UTC (rev 1370)
@@ -1,3 +1,26 @@
+/*
+ * #%L
+ * Wao :: Web Interface
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2009 - 2011 Ifremer
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * #L%
+ */
package fr.ifremer.wao.ui.data;
import fr.ifremer.wao.bean.ObservationType;
1
0
[Suiviobsmer-commits] r1369 - in trunk/src/site: . resources/exemples_imports rst rst/common rst/obsDeb rst/obsMer rst/obsVente
by bleny@users.labs.libre-entreprise.org 04 Jul '11
by bleny@users.labs.libre-entreprise.org 04 Jul '11
04 Jul '11
Author: bleny
Date: 2011-07-04 13:37:24 +0000 (Mon, 04 Jul 2011)
New Revision: 1369
Log:
more doc
Added:
trunk/src/site/resources/exemples_imports/zonesPeche.csv
trunk/src/site/rst/common/navires.rst
trunk/src/site/rst/obsMer/coordinateur.rst
trunk/src/site/rst/obsMer/observateur.rst
trunk/src/site/rst/obsVente/administrateur.rst
trunk/src/site/rst/obsVente/coordinateur.rst
trunk/src/site/rst/obsVente/observateur.rst
Removed:
trunk/src/site/rst/common/boats.rst
trunk/src/site/rst/common/navires.rst
trunk/src/site/rst/import/
Modified:
trunk/src/site/rst/installation.rst
trunk/src/site/rst/obsDeb/coordinateur.rst
trunk/src/site/rst/obsDeb/observateur.rst
trunk/src/site/rst/obsMer/administrateur.rst
trunk/src/site/site_fr.xml
Copied: trunk/src/site/resources/exemples_imports/zonesPeche.csv (from rev 1361, trunk/wao-business/src/test/resources/import/zonesPeche.csv)
===================================================================
--- trunk/src/site/resources/exemples_imports/zonesPeche.csv (rev 0)
+++ trunk/src/site/resources/exemples_imports/zonesPeche.csv 2011-07-04 13:37:24 UTC (rev 1369)
@@ -0,0 +1,7 @@
+"PECHE_DIVISION","PECHE_ZONE","PECHE_FACADE"
+"VId","Manche","Mer du Nord"
+"I","Mer du Nord","Mer du Nord"
+"IId","Manche Ouest","Atlantique"
+"IIIa","Golfe de Gascogne","Atlantique"
+"IV","Golfe de Gascogne","Atlantique"
+,"Méditerranée","Méditerranée"
Deleted: trunk/src/site/rst/common/boats.rst
===================================================================
--- trunk/src/site/rst/common/boats.rst 2011-07-04 10:37:34 UTC (rev 1368)
+++ trunk/src/site/rst/common/boats.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -1,56 +0,0 @@
-Créer/Gérer la base des navires
-===============================
-
-.. -
-.. * #%L
-.. * Wao
-.. *
-.. * $Id: boats.rst 650 2010-10-03 15:14:48Z fdesbois $
-.. * $HeadURL: svn+ssh://bleny at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk/src/site/rst/admin/boat… $
-.. * %%
-.. * Copyright (C) 2009 - 2010 Ifremer
-.. * %%
-.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Affero General Public License as published by
-.. * the Free Software Foundation, either version 3 of the License, or
-.. * (at your option) any later version.
-.. *
-.. * This program is distributed in the hope that it will be useful,
-.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
-.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-.. * GNU General Public License for more details.
-.. *
-.. * You should have received a copy of the GNU Affero General Public License
-.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
-.. * #L%
-.. -
-
-Pour gérer la base des navires, il faut se rendre sur l'onglet Navires. A partir
-de cet onglet, il est possible de charger la liste des navires depuis un
-fichier csv ou les calendriers d'activité depuis un fichier csv ou un fichier
-gzip (un fichier csv compressé au format gzip).
-
-Il est possible de continuer la navigation pendant l'import des calendriers
-d'activité qui peut être long. Les informations des navires ne sont pas
-accessibles pendant l'import.
-
-Import des navires_
-
-Import des calendriers
-
-.. _navires: ../import/boats.html
-
-Consulter les informations d'un navire
---------------------------------------
-
-Il est possible de consulter les informations d'un navire en sélectionnant ce
-dernier dans le tableau des navires. Pour réduire la liste, vous pouvez utiliser
-les filtres de recherche.
-
-On visionne le calendrier d'activité en cliquant sur le calendrier.
-On visionne les informations rentrées par les observateurs d'une société en
-sélectionnant la société correspondante dans la liste déroulante et en validant
-avec la loupe.
-
-.. image:: ../screenshots/listeNavires.png
- :width: 800px
Copied: trunk/src/site/rst/common/navires.rst (from rev 1361, trunk/src/site/rst/common/boats.rst)
===================================================================
--- trunk/src/site/rst/common/navires.rst (rev 0)
+++ trunk/src/site/rst/common/navires.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -0,0 +1,51 @@
+Créer/Gérer la base des navires
+===============================
+
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id: boats.rst 650 2010-10-03 15:14:48Z fdesbois $
+.. * $HeadURL: svn+ssh://bleny at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk/src/site/rst/admin/boat… $
+.. * %%
+.. * Copyright (C) 2009 - 2010 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
+
+Pour gérer la base des navires, il faut se rendre sur l'onglet Navires. A partir
+de cet onglet, il est possible de charger la liste des navires depuis un
+fichier csv ou les calendriers d'activité depuis un fichier csv ou un fichier
+gzip (un fichier csv compressé au format gzip).
+
+Il est possible de continuer la navigation pendant l'import des calendriers
+d'activité qui peut être long. Les informations des navires ne sont pas
+accessibles pendant l'import.
+
+
+Consulter les informations d'un navire
+--------------------------------------
+
+Il est possible de consulter les informations d'un navire en sélectionnant ce
+dernier dans le tableau des navires. Pour réduire la liste, vous pouvez utiliser
+les filtres de recherche.
+
+On visionne le calendrier d'activité en cliquant sur le calendrier.
+On visionne les informations rentrées par les observateurs d'une société en
+sélectionnant la société correspondante dans la liste déroulante et en validant
+avec la loupe.
+
+.. image:: ../screenshots/listeNavires.png
+ :width: 800px
Modified: trunk/src/site/rst/installation.rst
===================================================================
--- trunk/src/site/rst/installation.rst 2011-07-04 10:37:34 UTC (rev 1368)
+++ trunk/src/site/rst/installation.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -42,7 +42,7 @@
- password = password
Note
- Il est fortement conseillé de modifier le mot de passe par défaut du super admin ! (dans le profile utilisateur)
+ Il est fortement conseillé de modifier le mot de passe par défaut du super admin ! (dans le profil utilisateur)
Fichier de configuration
------------------------
Modified: trunk/src/site/rst/obsDeb/coordinateur.rst
===================================================================
--- trunk/src/site/rst/obsDeb/coordinateur.rst 2011-07-04 10:37:34 UTC (rev 1368)
+++ trunk/src/site/rst/obsDeb/coordinateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -10,6 +10,7 @@
En tant que coordinateur, vous disposez des mêmes possibilités qu'en tant
qu'observateur. Vous pouvez donc vous référez à la page dédiée.
+
===============================================================================
Adaptation du plan d'échantillonnage selon les contraintes opérationnelles
===============================================================================
Modified: trunk/src/site/rst/obsDeb/observateur.rst
===================================================================
--- trunk/src/site/rst/obsDeb/observateur.rst 2011-07-04 10:37:34 UTC (rev 1368)
+++ trunk/src/site/rst/obsDeb/observateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -8,7 +8,7 @@
Wao vous permet :
- * De savoir ce qu'il vous reste à faire (le prévisionnel des jours à venirs)
+ * De savoir ce qu'il vous reste à faire (le prévisionnel des jours à venir)
* D'obtenir des informations nécessaire à l'observation (annuaire des navires)
@@ -183,13 +183,14 @@
* « Refus » ou « Refus définitif » indique que le pêcheur a refusé
l'enquête, dans ce cas, il faut préciser dans le commentaire les
détails de la situation
-
+
* « Non observé » signifie, dans le cas du type « Enquête de terrain »
que vous n'avez pas démarché le navire pour essayer de reconstituer
les précédentes marées
+
* Dans le cas de l'enquête téléphonique :
- * « Contact pris » est le premier état du contact
+ * « Contact pris » est l'état initial du contact
* « Refus » ou « Refus définitif » indique que l'armateur a refusé
l'enquête, dans ce cas, il faut préciser dans le commentaire les
Modified: trunk/src/site/rst/obsMer/administrateur.rst
===================================================================
--- trunk/src/site/rst/obsMer/administrateur.rst 2011-07-04 10:37:34 UTC (rev 1368)
+++ trunk/src/site/rst/obsMer/administrateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -1,5 +1,6 @@
-Le plan d'échantillonage
-========================
+###############################################################################
+Utiliser Wao en tant qu'administrateur sur ObsMer
+###############################################################################
.. -
.. * #%L
@@ -58,7 +59,8 @@
Importer le plan d'échantillonage
---------------------------------
-Pour importer le plan d'échantillonage, il suffit de sélectionner le fichier à
+Cette fonctionnalité est disponible depuis la page du **Plan d'échantillonnage**
+en mode administrateur : il suffit de sélectionner le fichier à
importer et valider.
.. image:: ../screenshots/import_sampling_plan.png
@@ -70,6 +72,30 @@
.. image:: ../screenshots/import_sampling_plan_success.png
:width: 800px
+Format de fichier :
+
+- PLAN_CODE (string) : Code de la ligne (unique, obligatoire)
+- SOCIETE_NOM (string) : Nom de la société
+- PECHE_DIVISION (string) : Zones de pêche liés à la ligne, chaque zone est séparé par un " / " -> ex : VIIa / VIIb (obligatoire)
+- PECHE_AUTRE (string) : Autres information sur les zones de pêche pour la ligne
+- METIER_CODE_DCF5 (string) : Code DCF niveau 5 du métier (obligatoire)
+- METIER_MAILLAGE (string) : Maillage du métier
+- METIER_TAILLE (string) : Taille du métier
+- METIER_AUTRE (string) : Autre information du métier
+- METIER_LIBELLE (string) : Libellé du métier
+- METIER_ESPECES (string) : Espèces liées au métier
+- PROGRAMME_CODE (string) : Nom du programme (obligatoire)
+- PROGRAMME_DEBUT (date) : Date de début du programme (obligatoire)
+- PROGRAMME_FIN (date) : Date de fin du programme (obligatoire)
+- Pour chaque mois impliqué, une colonne avec l'entête au format "MM/AAAA"
+ et, pour chaque ligne, l'effort de pêche (un entier) ou vide
+- PLAN_COMMENT (string) : Commentaire sur la création de la ligne
+
+Pour ObsMer :
+
+- PLAN_NB_OBSERV (int) : Nombre d'observateurs (obligatoire)
+- PLAN_DUREE_MOY (double) : Durée moyenne d'une marée (obligatoire)
+
Gérer le plan d'échantillonage
------------------------------
@@ -211,6 +237,39 @@
le programme n'était pas en place.
================================================================================
+Importer et exporter les contacts
+================================================================================
+
+La façon la plus sûre est de partir d'un fichier exporté depuis Wao, de modifier
+avec un tableur puis d'importer
+
+Types et formats des cellules
+-----------------------------
+
+- CONTACT_ID : identifiant unique généré par Wao, laisser vide pour créer un contact
+- CONTACT_DATE_CREATION : date et heure de création du contact
+- CONTACT_OBSERVATEUR_PRINCIPAL : identifiant de l'observateur principal
+- CONTACT_OBSERVATEURS_SECONDAIRES : identifiants des observateurs secondaires
+- CONTACT_ETAT : état du contact
+- CONTACT_DEBUT_OBSERVATION : date et heure de début d'observation (embarquement pour ObsMer et arrivée sur le lieu pour ObsVente)
+- CONTACT_FIN_OBSERVATION : date et heure de fin d'observation (débarquement pour ObsMer et départ du lieu pour ObsVente)
+- CONTACT_SAISIE_DONNEES : date de saisie des données (dans Allegro pour ObsMer, dans Arpège pour ObsVente)
+- CONTACT_COMMENTAIRE_OBSERVATEUR : commentaire de l'observateur
+- CONTACT_COMMENTAIRE_COORDINATEUR : commentaire du coordinateur
+- CONTACT_COMMENTAIRE_PROGRAMME : commentaire de l'administrateur
+- NAVIRE_IMMATRICULATION : immatriculation du navire associé (6 chiffres)
+- NAVIRE_NOM : nom du navire (ignoré à l'import)
+- CONTACT_VALIDATION_SOCIETE : validation société, si une ligne est déjà validée, elle est refusée lors de l'import par un coordinateur
+- CONTACT_VALIDATION_PROGRAMME : validation programme, si une ligne est déjà validée, elle est refusée lors de l'import par un administrateur
+- PLAN_CODE : la ligne du plan associée au contact (pris en compte uniquement à la création du contact, ignoré à la modification)
+
+Pour ObsMer :
+
+- CONTACT_QUALITE_DONNEE
+- CONTACT_OBSERVATION_MAMMIFERE
+- CONTACT_CAPTURE_ACCIDENTELLE
+
+================================================================================
Synthèses
================================================================================
@@ -224,4 +283,4 @@
- la réactivité de la saisie dans Allegro
.. image:: ../screenshots/syntheses.png
- :width: 800px
\ No newline at end of file
+ :width: 800px
Copied: trunk/src/site/rst/obsMer/coordinateur.rst (from rev 1361, trunk/src/site/rst/obsDeb/coordinateur.rst)
===================================================================
--- trunk/src/site/rst/obsMer/coordinateur.rst (rev 0)
+++ trunk/src/site/rst/obsMer/coordinateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -0,0 +1,23 @@
+###############################################################################
+Utiliser Wao en tant que coordinateur sur ObsMer
+###############################################################################
+
+En tant que coordinateur, vous êtes responsable de la relation entre la société
+prestataire et l'Ifremer. Vous veillez à la réalisation du plan d'échantillonnage
+et effectuez les aménagements nécessaires si un observateurs ne peut effectuer
+l'observation (maladie, blocage administratif…)
+
+En tant que coordinateur, vous disposez des mêmes possibilités qu'en tant
+qu'observateur. Vous pouvez donc vous référez à la page dédiée.
+
+===============================================================================
+Valider les données créées par les observateurs pour le programme
+===============================================================================
+
+En tant que coordinateur, vous devez valider les contacts créés par les
+observateurs de votre société avant présentation auprès du programme.
+
+Pour cela vous devez régulièrement vous rendre dans la partie « Contacts »,
+retrouver les contacts non-encore validés par la société (ils sont
+marqués par un point d'interrogation dans la colonne « Validation Société »)
+
Copied: trunk/src/site/rst/obsMer/observateur.rst (from rev 1367, trunk/src/site/rst/obsDeb/observateur.rst)
===================================================================
--- trunk/src/site/rst/obsMer/observateur.rst (rev 0)
+++ trunk/src/site/rst/obsMer/observateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -0,0 +1,97 @@
+################################################################################
+Utiliser Wao en tant qu'observateur sur ObsMer
+################################################################################
+
+
+En tant qu'observateur, votre rôle est de suivre le plan d'échantillonnage qui
+définit le prévisionnel des observations à effectuer.
+
+Wao vous permet :
+
+ * De savoir ce qu'il vous reste à faire (le prévisionnel des jours à venir)
+
+ * D'obtenir des informations nécessaire à l'observation (annuaire des navires)
+
+ * De rapporter les observations que vous avez faites via la création de
+ contacts.
+
+
+================================================================================
+Avant l'observation : le prévisionnel
+================================================================================
+
+Une fois connecté en tant qu'observateur, vous pouvez via la page « Plan
+d'échantillonnage » accéder au prévisionnel.
+
+Le plan d'échantillonnage vous indique pour chaque ligne du plan et
+chaque mois, l'effort d'observation demandé.
+
+
+================================================================================
+Faire le suivi du réalisé : créer un contact
+================================================================================
+
+En tant qu'observateur, vous devez vous lancer à la recherche de navires sur
+lesquels embarqués. Vous pouvez accédez à la liste des navires présentis en
+cliquant sur le navire dans la colonne « Actions » du plan d'échantillonnage.
+
+Dans la page « Navires », vous pouvez obtenir les coordonnées pour joindre
+l'armateur et ainsi prévoir l'observation. Dès que cela est fait, cliquez dans
+la liste des navires sur l'enveloppe à côté du nom du navire. Si le navire
+n'est pas éligible, vous pouvez, dans le formulaire de modifications des
+informations du navire, rendre la navire éligible pour cette ligne du plan.
+
+Une fois le contact créé (après le clic sur l'enveloppe), vous pouvez modifier
+le contact et notamment renseigner :
+
+ * Les observateurs
+
+ * L'observateur référen (obligatoire), c'est celui qui saisiera les données
+ dans Allegro
+
+ * Les observateurs secondaires
+
+ * L'état du contact
+
+ * « Contact pris » est l'état initial du contact
+
+ * « Observation prévue » indique que vous avez pu joindre l'armateur et
+ que vous avez convenu d'une date d'embarquement
+
+ * « Observation annulée » indique que vous n'avez pas pu embarqué lors d'une
+ marée prévue. (Météo, grêve...)
+
+ * « Refus » ou « Refus définitif » indique que l'armateur a refusé
+ l'embarquement, dans ce cas, il faut préciser dans le commentaire les
+ détails de la situation.
+
+ * En cas de refus, vous devez sélectionner un motif de refus
+
+ * « Observation réalisée » indique que vous avez pu embarqué et que vous
+ êtes revenu avec les données d'observations
+
+ * La date d'embarquement (prévue dans le cas de l'état observation prévue ou
+ la date effective dans le cas l'observation réalisée)
+
+ * La date de débarquement / fin de marée
+
+ * La date de saisie des données dans Allegro (après observation)
+
+ * Si vous avez aperçu des mammifères
+
+ * Si des mammifères on accidentellement été capturés.
+
+ * Dans ce cas, vous devez préciser les nombres d'individus et les noms
+ scientifiques des espèces des individus observés. Soyez précis et rigoureux
+ car ces informations seront immédiatement envoyées par mail à différents
+ responsables.
+
+
+================================================================================
+Synchronisation avec votre porte-feuille de navires Allegro
+================================================================================
+
+Si le contacts est sauvé dans l'état « Observation réalisée », Wao proposera,
+si cela n'a pas déjà été fait, d'envoyer un mail pour demander l'ajout du
+navire à votre portefeuille Allegro.
+
Copied: trunk/src/site/rst/obsVente/administrateur.rst (from rev 1363, trunk/src/site/rst/obsMer/administrateur.rst)
===================================================================
--- trunk/src/site/rst/obsVente/administrateur.rst (rev 0)
+++ trunk/src/site/rst/obsVente/administrateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -0,0 +1,115 @@
+###############################################################################
+Utiliser Wao en tant qu'administrateur sur ObsVente
+###############################################################################
+
+.. -
+.. * #%L
+.. * Wao
+.. *
+.. * $Id: echantillonage.rst 1015 2011-02-15 17:30:54Z bleny $
+.. * $HeadURL: svn+ssh://bleny at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk/src/site/rst/admin/echa… $
+.. * %%
+.. * Copyright (C) 2009 - 2010 Ifremer
+.. * %%
+.. * This program is free software: you can redistribute it and/or modify
+.. * it under the terms of the GNU Affero General Public License as published by
+.. * the Free Software Foundation, either version 3 of the License, or
+.. * (at your option) any later version.
+.. *
+.. * This program is distributed in the hope that it will be useful,
+.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
+.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.. * GNU General Public License for more details.
+.. *
+.. * You should have received a copy of the GNU Affero General Public License
+.. * along with this program. If not, see <http://www.gnu.org/licenses/>.
+.. * #L%
+.. -
+
+================================================================================
+Initialisation des référentiels Wao
+================================================================================
+
+Pour ObsVente, vous devez maintenir le référentiel des zones de pêches ainsi que
+le référentiel des lieux. Vous pouvez consulter les exemples de fichiers.
+
+Voir la documentation ObsMer.
+
+================================================================================
+Le prévisionnel (plan d'échantillonnage)
+================================================================================
+
+Importer le plan d'échantillonage
+---------------------------------
+
+Cette fonctionnalité est disponible depuis la page du **Plan d'échantillonnage**
+en mode administrateur : il suffit de sélectionner le fichier à
+importer et valider.
+
+.. image:: ../screenshots/import_sampling_plan.png
+ :width: 800px
+
+Un message vous annonce le résultat de l'import et le nombre de lignes
+refusées.
+
+.. image:: ../screenshots/import_sampling_plan_success.png
+ :width: 800px
+
+Format de fichier :
+
+- PLAN_CODE (string) : Code de la ligne (unique, obligatoire)
+- SOCIETE_NOM (string) : Nom de la société
+- PECHE_DIVISION (string) : Zones de pêche liés à la ligne, chaque zone est séparé par un " / " -> ex : VIIa / VIIb (obligatoire)
+- PECHE_AUTRE (string) : Autres information sur les zones de pêche pour la ligne
+- METIER_CODE_DCF5 (string) : Code DCF niveau 5 du métier (obligatoire)
+- METIER_MAILLAGE (string) : Maillage du métier
+- METIER_TAILLE (string) : Taille du métier
+- METIER_AUTRE (string) : Autre information du métier
+- METIER_LIBELLE (string) : Libellé du métier
+- METIER_ESPECES (string) : Espèces liées au métier
+- PROGRAMME_CODE (string) : Nom du programme (obligatoire)
+- PROGRAMME_DEBUT (date) : Date de début du programme (obligatoire)
+- PROGRAMME_FIN (date) : Date de fin du programme (obligatoire)
+- Pour chaque mois impliqué, une colonne avec l'entête au format "MM/AAAA"
+ et, pour chaque ligne, l'effort de pêche (un entier) ou vide
+- PLAN_COMMENT (string) : Commentaire sur la création de la ligne
+
+Pour ObsVente :
+
+- PLAN_STRATEGIE (String) : Stratégie d'échantillonnage souhaitée (obligatoire)
+- PLAN_LIEU_CODE (String) : Code du quartier maritime (obligatoire)
+- PLAN_LIEU_NOM (String) : Nom du quartier maritime
+
+================================================================================
+Importer et exporter les contacts
+================================================================================
+
+La façon la plus sûre est de partir d'un fichier exporté depuis Wao, de modifier
+avec un tableur puis d'importer
+
+Types et formats des cellules
+-----------------------------
+
+- CONTACT_ID : identifiant unique généré par Wao, laisser vide pour créer un contact
+- CONTACT_DATE_CREATION : date et heure de création du contact
+- CONTACT_OBSERVATEUR_PRINCIPAL : identifiant de l'observateur principal
+- CONTACT_OBSERVATEURS_SECONDAIRES : identifiants des observateurs secondaires
+- CONTACT_ETAT : état du contact
+- CONTACT_DEBUT_OBSERVATION : date et heure de début d'observation (embarquement pour ObsMer et arrivée sur le lieu pour ObsVente)
+- CONTACT_FIN_OBSERVATION : date et heure de fin d'observation (débarquement pour ObsMer et départ du lieu pour ObsVente)
+- CONTACT_SAISIE_DONNEES : date de saisie des données (dans Allegro pour ObsMer, dans Arpège pour ObsVente)
+- CONTACT_COMMENTAIRE_OBSERVATEUR : commentaire de l'observateur
+- CONTACT_COMMENTAIRE_COORDINATEUR : commentaire du coordinateur
+- CONTACT_COMMENTAIRE_PROGRAMME : commentaire de l'administrateur
+- NAVIRE_IMMATRICULATION : immatriculation du navire associé (6 chiffres)
+- NAVIRE_NOM : nom du navire (ignoré à l'import)
+- CONTACT_VALIDATION_SOCIETE : validation société, si une ligne est déjà validée, elle est refusée lors de l'import par un coordinateur
+- CONTACT_VALIDATION_PROGRAMME : validation programme, si une ligne est déjà validée, elle est refusée lors de l'import par un administrateur
+- PLAN_CODE : la ligne du plan associée au contact (pris en compte uniquement à la création du contact, ignoré à la modification)
+
+Pour ObsVente :
+
+- CONTACT_LIEU_TYPE : "Port" ou "Criée"
+- CONTACT_LIEU_CODE : Code du lieu
+- CONTACT_ECHANTILLONNAGE_COMPLET: Échantillonnage complet
+- CONTACT_LIEU_DESCRIPTION : Description du lieu, ignoré à l'import
Added: trunk/src/site/rst/obsVente/coordinateur.rst
===================================================================
--- trunk/src/site/rst/obsVente/coordinateur.rst (rev 0)
+++ trunk/src/site/rst/obsVente/coordinateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -0,0 +1,23 @@
+###############################################################################
+Utiliser Wao en tant que coordinateur sur ObsVente
+###############################################################################
+
+En tant que coordinateur, vous êtes responsable de la relation entre la société
+prestataire et l'Ifremer. Vous veillez à la réalisation du plan d'échantillonnage
+et effectuez les aménagements nécessaires si un observateurs ne peut effectuer
+l'observation (maladie, blocage administratif…)
+
+En tant que coordinateur, vous disposez des mêmes possibilités qu'en tant
+qu'observateur. Vous pouvez donc vous référez à la page dédiée.
+
+===============================================================================
+Valider les données créées par les observateurs pour le programme
+===============================================================================
+
+En tant que coordinateur, vous devez valider les contacts créés par les
+observateurs de votre société avant présentation auprès du programme.
+
+Pour cela vous devez régulièrement vous rendre dans la partie « Contacts »,
+retrouver les contacts non-encore validés par la société (ils sont
+marqués par un point d'interrogation dans la colonne « Validation Société »)
+
Copied: trunk/src/site/rst/obsVente/observateur.rst (from rev 1367, trunk/src/site/rst/obsDeb/observateur.rst)
===================================================================
--- trunk/src/site/rst/obsVente/observateur.rst (rev 0)
+++ trunk/src/site/rst/obsVente/observateur.rst 2011-07-04 13:37:24 UTC (rev 1369)
@@ -0,0 +1,68 @@
+###############################################################################
+Utiliser Wao en tant qu'observateur sur ObsVente
+###############################################################################
+
+
+En tant qu'observateur, votre rôle est de suivre le plan d'échantillonnage qui
+définit le prévisionnel des observations à effectuer.
+
+Wao vous permet :
+
+ * De savoir ce qu'il vous reste à faire (le prévisionnel des jours à venir)
+
+ * D'obtenir des informations nécessaire à l'observation (annuaire des navires)
+
+ * De rapporter les observations que vous avez faites via la création de
+ contacts.
+
+
+===============================================================================
+Avant l'observation : le prévisionnel
+===============================================================================
+
+Une fois connecté en tant qu'observateur, vous pouvez via la page « Plan
+d'échantillonnage » accéder au prévisionnel.
+
+Le plan d'échantillonnage vous indique pour chaque ligne du plan et
+chaque mois, l'effort d'observation demandé.
+
+
+===============================================================================
+Faire le suivi du réalisé : créer un contact
+===============================================================================
+
+En tant qu'observateur, vous devez vous lancer à la recherche de navires sur
+lesquels embarqués. Vous pouvez accédez à la liste des navires présentis en
+cliquant sur le navire dans la colonne « Actions » du plan d'échantillonnage.
+
+Dans la page « Navires », vous pouvez obtenir les coordonnées pour joindre
+l'armateur et ainsi prévoir l'observation. Dès que cela est fait, cliquez dans
+la liste des navires sur l'enveloppe à côté du nom du navire. Si le navire
+n'est pas éligible, vous pouvez, dans le formulaire de modifications des
+informations du navire, rendre la navire éligible pour cette ligne du plan.
+
+Une fois le contact créé (après le clic sur l'enveloppe), vous pouvez modifier
+le contact et notamment renseigner :
+
+ * L'état du contact
+
+ * « Observation prévue » est l'état initial
+
+ * « Observation annulée » indique que vous n'avez pas pu vous rendre sur le
+ lieu d'observation (Météo, grêve...)
+
+ * « Observation réalisée » indique que vous avez pu vous rendre sur les lieux
+ et que vous êtes revenu avec les données d'observations
+
+ * La date d'arrivée sur les lieux et celle de départ
+
+ * La date de saisie des données (après observation)
+
+ * Le lieu dans lequel vous avez obtenu les données, parmi les ports et les
+ criées du quartier maritime définit dans le plan d'échantillonnage.
+
+Lorsque vous créerez de nouveaux contacts, Wao essaiera de reprendre les données
+qui vous avez précédement entrées pour vous évitez d'avoir à re-saisir la même
+informations plusieurs fois. Par exemple, Wao reprend le lieu utilisé dans
+les derniers contacts créés pour cette même ligne du plan car vous aurez sûrement
+observés plusieurs navires dans un même lieu.
\ No newline at end of file
Modified: trunk/src/site/site_fr.xml
===================================================================
--- trunk/src/site/site_fr.xml 2011-07-04 10:37:34 UTC (rev 1368)
+++ trunk/src/site/site_fr.xml 2011-07-04 13:37:24 UTC (rev 1369)
@@ -57,10 +57,14 @@
<menu name="ObsMer">
<item name="Administrateur" href="obsMer/administrateur.html" />
+ <item name="Coordinateur" href="obsMer/coordinateur.html" />
+ <item name="Observateur" href="obsMer/observateur.html" />
</menu>
<menu name="ObsVente">
<item name="Administrateur" href="obsVente/administrateur.html" />
+ <item name="Coordinateur" href="obsVente/coordinateur.html" />
+ <item name="Observateur" href="obsVente/observateur.html" />
</menu>
<menu name="ObsDeb">
1
0
04 Jul '11
Author: bleny
Date: 2011-07-04 10:37:34 +0000 (Mon, 04 Jul 2011)
New Revision: 1368
Log:
minor fixes for ObsDeb
Modified:
trunk/wao-business/src/main/java/fr/ifremer/wao/WaoContextImpl.java
trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceContactImpl.java
trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java
trunk/wao-business/src/main/resources/i18n/wao-business_en_GB.properties
trunk/wao-business/src/main/resources/i18n/wao-business_fr_FR.properties
trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java
trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java
trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/Boats.java
trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/services/WaoManager.java
trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Contacts_fr.properties
trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties
trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties
trunk/wao-ui/src/main/webapp/Boats.tml
trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/WaoContextImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/WaoContextImpl.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/WaoContextImpl.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -53,7 +53,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.Date;
import java.util.Locale;
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceContactImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceContactImpl.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceContactImpl.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -293,6 +293,27 @@
}
}
+ if (success && contact.getObservationType() == ObservationType.FIELD_WORK_OBSERVATION
+ && contact.getContactState() == ContactState.OBSERVATION_NOT_DONE) {
+ success = false;
+ message = WaoUtils._(
+ "wao.business.contact.validation.wrongStateForObservationType",
+ contact.getContactState(), contact.getObservationType());
+ }
+
+ // the length of the observation on the work field must not be less
+ // than one minute.
+ if (success && contact.getObservationType() != ObservationType.PHONE_CALL
+ && contact.getContactState() == ContactState.OBSERVATION_DONE
+ && contact.getObservationBeginDate() != null
+ && contact.getObservationEndDate() != null
+ && DateUtil.getDifferenceInMinutes(
+ contact.getObservationBeginDate(),
+ contact.getObservationEndDate()) < 1) {
+ success = false;
+ message = WaoUtils._("wao.business.contact.validation.missingHoursOfBeginEndObservation");
+ }
+
} else {
// Validation for saving contact depends on contactState
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -1528,7 +1528,7 @@
Date toDate = context.getCurrentDate();
if (connectedUser.isObsDeb() && connectedUser.isObserver()) {
// observer only need to see what he has to do in the next weeks
- fromDate = DateUtils.addWeeks(fromDate, -1); // needed for phone sampling plan
+ fromDate = DateUtils.addMonths(fromDate, -1); // needed for phone sampling plan
toDate = DateUtils.addMonths(toDate, 1);
} else {
// in the firsts months of a new year go from now to 6 months before
Modified: trunk/wao-business/src/main/resources/i18n/wao-business_en_GB.properties
===================================================================
--- trunk/wao-business/src/main/resources/i18n/wao-business_en_GB.properties 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/main/resources/i18n/wao-business_en_GB.properties 2011-07-04 10:37:34 UTC (rev 1368)
@@ -132,6 +132,7 @@
wao.business.contact.validation.commentMissingForState=You must give a comment for state '%s'
wao.business.contact.validation.contactStateMotifMissing=You must precise a motif for the refusal
wao.business.contact.validation.dataReliabilityMissingForValidation=You must provide data reliability before validating
+wao.business.contact.validation.missingHoursOfBeginEndObservation=You must provide accurate time for the beginning and the end of observation
wao.business.entity.UserProfile.description=%s on %s%s
wao.business.mammalsCapture.mail.message=Hello,\n\nAn observer of the ObsMer program provided to WAO the following information\:\n\nTide\: %s\nProfession\: %s\n\nAccidental capture\:\n%s\n\nBest regards,\n\nObsmer program\nhttp\://www.ifremer.fr/wao
wao.business.mammalsCapture.mail.subject=Obsmer WAO\: Information about an accidental capture
Modified: trunk/wao-business/src/main/resources/i18n/wao-business_fr_FR.properties
===================================================================
--- trunk/wao-business/src/main/resources/i18n/wao-business_fr_FR.properties 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/main/resources/i18n/wao-business_fr_FR.properties 2011-07-04 10:37:34 UTC (rev 1368)
@@ -133,6 +133,7 @@
wao.business.contact.validation.commentMissingForState=Il faut préciser un commentaire pour l'état '%s'
wao.business.contact.validation.contactStateMotifMissing=Il faut préciser un motif de refus
wao.business.contact.validation.dataReliabilityMissingForValidation=Il faut préciser la qualité de la donnée avant de valider
+wao.business.contact.validation.missingHoursOfBeginEndObservation=Il faut préciser les heures exactes de début et de fin d'observation
wao.business.entity.UserProfile.description=%s sur %s%s
wao.business.mammalsCapture.mail.message=Bonjour,\n\nUn observateur du programme Obsmer a renseigné dans WAO l'information suivante \:\n\nMarée \: %s\nMétier \: %s\n\nCapture accidentelle \:\n%s\n\nCordialement,\n\nLe programme Obsmer\nhttp\://www.ifremer.fr/wao
wao.business.mammalsCapture.mail.subject=Obsmer WAO\: Information sur capture accidentelle
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -45,8 +45,6 @@
import fr.ifremer.wao.io.ImportResults;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
-import org.h2.util.New;
-import org.hamcrest.BaseMatcher;
import org.junit.Assert;
import org.junit.Test;
import org.nuiton.util.DateUtil;
@@ -59,7 +57,6 @@
import java.util.Collection;
import java.util.List;
import java.util.Map;
-import java.util.regex.Matcher;
/**
*
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/Fixtures.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -24,6 +24,15 @@
import java.util.HashMap;
import java.util.Map;
+/**
+ * Fixtures are little sets of data, this class help you to load those data
+ * in the database in order to help you initializing all needed date, allowing
+ * you to write test focused on the business (without copy-pasted 100 LoC at
+ * the beginning of each test method).
+ *
+ * This classes gathers fixtures that may be used while testing all programs,
+ * sub-classes may provide program-specific fixtures.
+ */
public abstract class Fixtures extends ExternalResource {
protected WaoServices manager;
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/fixtures/ObsMerFixtures.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -30,6 +30,10 @@
import java.util.Arrays;
import java.util.Date;
+/**
+ * This class provides fixtures for the ObsMer program, data-set described
+ * here has been extracted from copy-pasted code found everywhere in tests.
+ */
public class ObsMerFixtures extends Fixtures {
public ObsMerFixtures(WaoServices manager) {
Modified: trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/Boats.java
===================================================================
--- trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/Boats.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/pages/Boats.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -29,6 +29,7 @@
import fr.ifremer.wao.bean.BoatFilter;
import fr.ifremer.wao.bean.CompanyBoatInfos;
import fr.ifremer.wao.bean.ConnectedUser;
+import fr.ifremer.wao.bean.ObsProgram;
import fr.ifremer.wao.bean.SamplingFilter;
import fr.ifremer.wao.bean.UserRole;
import fr.ifremer.wao.entity.Boat;
@@ -134,6 +135,16 @@
sampleRowContext = null;
}
+ public String getSummaryForSampleRowContext() {
+ String summary = null;
+ if (sampleRowContext != null) {
+ if (sampleRowContext.getObsProgram() == ObsProgram.OBSDEB) {
+ summary = manager.getTooltipSampleRow(sampleRowContext);
+ }
+ }
+ return summary;
+ }
+
void setupRender() throws WaoException, WaoBusinessException {
// XXX bleny 20110511 resetting on page load may solve an issue when
Modified: trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/services/WaoManager.java
===================================================================
--- trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/services/WaoManager.java 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-ui/src/main/java/fr/ifremer/wao/ui/services/WaoManager.java 2011-07-04 10:37:34 UTC (rev 1368)
@@ -29,6 +29,7 @@
import fr.ifremer.wao.WaoContext;
import fr.ifremer.wao.WaoException;
import fr.ifremer.wao.WaoProperty;
+import fr.ifremer.wao.WaoUtils;
import fr.ifremer.wao.bean.ContactState;
import fr.ifremer.wao.bean.ObsProgram;
import fr.ifremer.wao.bean.SamplingFilter;
@@ -188,8 +189,19 @@
public String getTooltipSampleRow(SampleRow row) {
StringBuilder result = new StringBuilder();
- if (row.getObsProgram() != ObsProgram.OBSDEB) {
- DateFormat dateFormat = new SimpleDateFormat("MM/yyyy");
+ DateFormat dateFormat;
+ if (row.getObsProgram() == ObsProgram.OBSDEB) {
+ if (row.isFieldWorkObservation()) {
+ dateFormat = new SimpleDateFormat("dd/MM/yyyy");
+ result.append(row.getObservationUnit().getDescription());
+ } else {
+ dateFormat = new SimpleDateFormat("'semaine' w (yyyy)");
+ result.append(row.getBoat().getName());
+ }
+ result.append("\n")
+ .append(dateFormat.format(row.getExpectedDate()));
+ } else {
+ dateFormat = new SimpleDateFormat("MM/yyyy");
Profession profession = row.getProfession();
result.append("<strong>Métier : </strong>").
append(row.getProfessionDescription());
Modified: trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Contacts_fr.properties
===================================================================
--- trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Contacts_fr.properties 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Contacts_fr.properties 2011-07-04 10:37:34 UTC (rev 1368)
@@ -25,7 +25,7 @@
# Grid labels
company-label: Soci\u00e9t\u00e9
-sampleRow-label: M\u00e9tier
+sampleRow-label: Ligne du plan
boat-label: Navire
observationType-label: Type
state-label: Etat
Modified: trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties
===================================================================
--- trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties 2011-07-04 10:37:34 UTC (rev 1368)
@@ -49,6 +49,7 @@
wao.ui.action.showDetails=Show details
wao.ui.action.showFilters=Show filters
wao.ui.action.unvalidateContact=Unvalidate contact
+wao.ui.action.viewBoatsForRow=View the boats for this sample row
wao.ui.action.viewIndicatorsHistory=View indicators historic
wao.ui.boatList=List of %s boats
wao.ui.boatinfo.title=Infos about %s
Modified: trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties
===================================================================
--- trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties 2011-07-04 10:37:34 UTC (rev 1368)
@@ -49,6 +49,7 @@
wao.ui.action.showDetails=Voir les détails
wao.ui.action.showFilters=Afficher les filtres
wao.ui.action.unvalidateContact=Invalider le contact
+wao.ui.action.viewBoatsForRow=Voir les navires présentis pour cette ligne
wao.ui.action.viewIndicatorsHistory=Voir l'historique des modifications des indicateurs
wao.ui.boatList=Liste de %s navires
wao.ui.boatinfo.title=Informations sur %s
Modified: trunk/wao-ui/src/main/webapp/Boats.tml
===================================================================
--- trunk/wao-ui/src/main/webapp/Boats.tml 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-ui/src/main/webapp/Boats.tml 2011-07-04 10:37:34 UTC (rev 1368)
@@ -50,7 +50,11 @@
<t:if test="sampleRowContext">
<div style="text-align: center;">
- ${format:wao.ui.boats.selecting=sampleRowContext.code} (<a t:type="actionlink" t:id="cancelSelection">${message:wao.ui.action.cancel}</a>)
+ ${format:wao.ui.boats.selecting=sampleRowContext.code}
+ <t:if test="summaryForSampleRowContext">
+ (${summaryForSampleRowContext})
+ </t:if>
+ (<a t:type="actionlink" t:id="cancelSelection">${message:wao.ui.action.cancel}</a>)
</div>
</t:if>
Modified: trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml
===================================================================
--- trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml 2011-07-04 10:37:10 UTC (rev 1367)
+++ trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml 2011-07-04 10:37:34 UTC (rev 1368)
@@ -205,7 +205,7 @@
<img src="${asset:context:}/img/delete2.png" alt="${message:wao.ui.action.deleteSampleRow}" />
</a>
</t:if>
- <a t:type="pagelink" t:page="boats" t:context="contextForBoats">
+ <a t:type="pagelink" t:page="boats" t:context="contextForBoats" title="${message:wao.ui.action.viewBoatsForRow}">
<img src="${asset:context:}/img/boat.png" alt="${message:wao.ui.entity.Boats}" />
</a>
</p:actionsCell>
1
0
[Suiviobsmer-commits] r1367 - in trunk/src/site: . resources rst/common rst/obsDeb
by bleny@users.labs.libre-entreprise.org 04 Jul '11
by bleny@users.labs.libre-entreprise.org 04 Jul '11
04 Jul '11
Author: bleny
Date: 2011-07-04 10:37:10 +0000 (Mon, 04 Jul 2011)
New Revision: 1367
Log:
more documentation
Added:
trunk/src/site/resources/database_schema.txt
trunk/src/site/rst/common/navires.rst
Modified:
trunk/src/site/rst/common/utilisateurs.rst
trunk/src/site/rst/obsDeb/observateur.rst
trunk/src/site/site_fr.xml
Added: trunk/src/site/resources/database_schema.txt
===================================================================
--- trunk/src/site/resources/database_schema.txt (rev 0)
+++ trunk/src/site/resources/database_schema.txt 2011-07-04 10:37:10 UTC (rev 1367)
@@ -0,0 +1,832 @@
+
+ Table « public.boat »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ immatriculation | integer |
+ name | text |
+ boatlength | integer |
+ buildyear | integer |
+ active | boolean |
+ shipowner | character varying(255) |
+ boatdistrict | character varying(255) |
+ staffsize | double precision |
+ portofregistry | character varying(255) |
+ boatgroup | character varying(255) |
+ fleet | character varying(255) |
+Index :
+ "boat_pkey" PRIMARY KEY, btree (topiaid)
+ "boat_immatriculation_idx" UNIQUE, btree (immatriculation)
+ "boat_immatriculation_key" UNIQUE, btree (immatriculation)
+Contraintes de clés étrangères :
+ "boat_boatdistrict_fkey" FOREIGN KEY (boatdistrict) REFERENCES boatdistrict(topiaid)
+ "boatgroup_fkey" FOREIGN KEY (boatgroup) REFERENCES boatgroup(topiaid)
+ "fk2e39408e559143" FOREIGN KEY (shipowner) REFERENCES shipowner(topiaid)
+ "fleet_fkey" FOREIGN KEY (fleet) REFERENCES fleet(topiaid)
+ "portofregistry_fkey" FOREIGN KEY (portofregistry) REFERENCES terrestriallocation(topiaid)
+Référencé par :
+ TABLE "samplerow" CONSTRAINT "boat_fkey" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+ TABLE "contact" CONSTRAINT "fk38b7242070b2d8eb" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+ TABLE "elligibleboat" CONSTRAINT "fk9c3f3a3570b2d8eb" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+ TABLE "boatinfos" CONSTRAINT "fka23bd02570b2d8eb" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+ TABLE "activitycalendar" CONSTRAINT "fkc0e4d36d70b2d8eb" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+
+Index « public.boat_immatriculation_idx »
+ Colonne | Type
+-----------------+---------
+ immatriculation | integer
+unique, btree, pour la table « public.boat »
+
+Index « public.boat_immatriculation_key »
+ Colonne | Type
+-----------------+---------
+ immatriculation | integer
+unique, btree, pour la table « public.boat »
+
+ Index « public.boat_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.boat »
+
+ Table « public.boatdistrict »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ code | character varying(10) | non NULL
+ name | text |
+ latitude | double precision |
+ longitude | double precision |
+Index :
+ "boatdistrict_pkey" PRIMARY KEY, btree (topiaid)
+ "boatdistrict_code_key" UNIQUE, btree (code)
+Référencé par :
+ TABLE "boat" CONSTRAINT "boat_boatdistrict_fkey" FOREIGN KEY (boatdistrict) REFERENCES boatdistrict(topiaid)
+
+Index « public.boatdistrict_code_key »
+ Colonne | Type
+---------+-----------------------
+ code | character varying(10)
+unique, btree, pour la table « public.boatdistrict »
+
+Index « public.boatdistrict_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.boatdistrict »
+
+ Table « public.boatgroup »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ code | character varying(255) |
+ commune | text |
+ sector | text |
+ lengthgroup | text |
+ staffsizegroup | text |
+Index :
+ "boatgroup_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "boat" CONSTRAINT "boatgroup_fkey" FOREIGN KEY (boatgroup) REFERENCES boatgroup(topiaid)
+
+ Index « public.boatgroup_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.boatgroup »
+
+ Table « public.boatinfos »
+ Colonne | Type | Modificateurs
+--------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ contactfirstname | text |
+ contactlastname | text |
+ contactemail | text |
+ contactphonenumber | text |
+ dup | integer |
+ comment | text |
+ company | character varying(255) |
+ boat | character varying(255) |
+ contactaddress1 | text |
+ contactaddress2 | text |
+ contactcity | text |
+ contactpostalcode | integer |
+ contactsiret | text |
+Index :
+ "boatinfos_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "fka23bd02570b2d8eb" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+ "fka23bd025f28824af" FOREIGN KEY (company) REFERENCES company(topiaid)
+
+ Index « public.boatinfos_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.boatinfos »
+
+ Table « public.company »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ name | text |
+ phonenumber | text |
+ address1 | text |
+ address2 | text |
+ active | boolean |
+ email | text |
+ city | text |
+ postalcode | integer |
+Index :
+ "company_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "samplerow" CONSTRAINT "fk4256f3d0f28824af" FOREIGN KEY (company) REFERENCES company(topiaid)
+ TABLE "waouser" CONSTRAINT "fk42d03050f28824af" FOREIGN KEY (company) REFERENCES company(topiaid)
+ TABLE "boatinfos" CONSTRAINT "fka23bd025f28824af" FOREIGN KEY (company) REFERENCES company(topiaid)
+ TABLE "news" CONSTRAINT "news_company_fkey" FOREIGN KEY (company) REFERENCES company(topiaid)
+
+ Index « public.company_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.company »
+
+ Table « public.contact »
+ Colonne | Type | Modificateurs
+-------------------------+-----------------------------+------------------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ observationbegindate | timestamp without time zone |
+ observationenddate | timestamp without time zone |
+ nbobservants | integer |
+ mammalsobservation | boolean |
+ mammalscapture | boolean |
+ validationprogram | boolean |
+ validationcompany | boolean |
+ datainputdate | timestamp without time zone |
+ comment | text |
+ tidenbdays | integer |
+ mainobserver | character varying(255) |
+ samplerow | character varying(255) |
+ boat | character varying(255) |
+ state | smallint |
+ commentadmin | text |
+ commentcoordinator | text |
+ emailsent | boolean |
+ datareliabilityordinal | smallint | non NULL Par défaut, 4
+ obsprogramordinal | smallint | non NULL
+ samplingstrategyordinal | smallint |
+ completesampling | boolean |
+ terrestriallocation | character varying(255) |
+ mammalsinfo | text |
+ contactstatemotif | character varying(255) |
+ creationdate | timestamp without time zone |
+ landingdate | timestamp without time zone |
+ observationtypeordinal | smallint |
+ obsdebcode | character varying(255) |
+Index :
+ "contact_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "contactstatemotif_fkey" FOREIGN KEY (contactstatemotif) REFERENCES contactstatemotif(topiaid)
+ "fk38b724206e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ "fk38b7242070b2d8eb" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+ "fk38b72420f0bd0d5b" FOREIGN KEY (mainobserver) REFERENCES waouser(topiaid)
+ "obsdebcode_fkey" FOREIGN KEY (obsdebcode) REFERENCES obsdebcode(topiaid)
+ "terrestriallocation_fkey" FOREIGN KEY (terrestriallocation) REFERENCES terrestriallocation(topiaid)
+Référencé par :
+ TABLE "contact_secondaryobservers" CONSTRAINT "contact_fkey" FOREIGN KEY (contact) REFERENCES contact(topiaid)
+
+ Index « public.contact_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.contact »
+
+ Table « public.contact_secondaryobservers »
+ Colonne | Type | Modificateurs
+--------------------+------------------------+---------------
+ contact | character varying(255) | non NULL
+ secondaryobservers | character varying(255) | non NULL
+Contraintes de clés étrangères :
+ "contact_fkey" FOREIGN KEY (contact) REFERENCES contact(topiaid)
+ "secondaryobservers_fkey" FOREIGN KEY (secondaryobservers) REFERENCES waouser(topiaid)
+
+ Table « public.contactstatemotif »
+ Colonne | Type | Modificateurs
+---------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ contactstateordinal | smallint |
+ code | character varying(255) |
+ name | character varying(1000) |
+ color | character varying(20) |
+Index :
+ "contactstatemotif_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "contact" CONSTRAINT "contactstatemotif_fkey" FOREIGN KEY (contactstatemotif) REFERENCES contactstatemotif(topiaid)
+
+Index « public.contactstatemotif_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.contactstatemotif »
+
+ Table « public.dcf5code »
+ Colonne | Type | Modificateurs
+------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ fishinggeardcf | character varying(255) | non NULL
+ targetspeciesdcf | character varying(255) |
+Index :
+ "dcf5code_pkey" PRIMARY KEY, btree (topiaid)
+ "dcf5code_fishinggeardcf_key" UNIQUE, btree (fishinggeardcf, targetspeciesdcf)
+Contraintes de clés étrangères :
+ "fishinggeardcf_fkey" FOREIGN KEY (fishinggeardcf) REFERENCES fishinggeardcf(topiaid)
+ "targetspeciesdcf_fkey" FOREIGN KEY (targetspeciesdcf) REFERENCES targetspeciesdcf(topiaid)
+Référencé par :
+ TABLE "dcf5code_samplerow" CONSTRAINT "dcf5code_fkey" FOREIGN KEY (dcf5code) REFERENCES dcf5code(topiaid)
+
+Index « public.dcf5code_fishinggeardcf_key »
+ Colonne | Type
+------------------+------------------------
+ fishinggeardcf | character varying(255)
+ targetspeciesdcf | character varying(255)
+unique, btree, pour la table « public.dcf5code »
+
+ Index « public.dcf5code_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.dcf5code »
+
+ Table « public.dcf5code_samplerow »
+ Colonne | Type | Modificateurs
+-----------+------------------------+---------------
+ dcf5code | character varying(255) | non NULL
+ samplerow | character varying(255) | non NULL
+Contraintes de clés étrangères :
+ "dcf5code_fkey" FOREIGN KEY (dcf5code) REFERENCES dcf5code(topiaid)
+ "samplerow_fkey" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+
+ Table « public.elligibleboat »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ globalactive | boolean |
+ companyactive | boolean |
+ boat | character varying(255) |
+ samplerow | character varying(255) |
+Index :
+ "elligibleboat_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "fk9c3f3a356e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ "fk9c3f3a3570b2d8eb" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+
+Index « public.elligibleboat_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.elligibleboat »
+
+ Table « public.fishinggeardcf »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ code | character varying(10) | non NULL
+Index :
+ "fishinggeardcf_pkey" PRIMARY KEY, btree (topiaid)
+ "fishinggeardcf_code_key" UNIQUE, btree (code)
+Référencé par :
+ TABLE "dcf5code" CONSTRAINT "fishinggeardcf_fkey" FOREIGN KEY (fishinggeardcf) REFERENCES fishinggeardcf(topiaid)
+
+Index « public.fishinggeardcf_code_key »
+ Colonne | Type
+---------+-----------------------
+ code | character varying(10)
+unique, btree, pour la table « public.fishinggeardcf »
+
+Index « public.fishinggeardcf_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.fishinggeardcf »
+
+ Table « public.fishingzone »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ sectorname | text |
+ facadename | text |
+ districtcode | text |
+Index :
+ "fishingzone_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "fishingzone_samplerow" CONSTRAINT "fk736b8c27fbbd6b41" FOREIGN KEY (fishingzone) REFERENCES fishingzone(topiaid)
+
+Index « public.fishingzone_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.fishingzone »
+
+ Table « public.fishingzone_samplerow »
+ Colonne | Type | Modificateurs
+-------------+------------------------+---------------
+ fishingzone | character varying(255) | non NULL
+ samplerow | character varying(255) | non NULL
+Contraintes de clés étrangères :
+ "fk736b8c276e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ "fk736b8c27fbbd6b41" FOREIGN KEY (fishingzone) REFERENCES fishingzone(topiaid)
+
+ Table « public.fleet »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ code | character varying(255) |
+ fleetname | character varying(255) |
+ subfleetname | character varying(255) |
+ subsubfleetname | character varying(255) |
+Index :
+ "fleet_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "boat" CONSTRAINT "fleet_fkey" FOREIGN KEY (fleet) REFERENCES fleet(topiaid)
+
+ Index « public.fleet_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.fleet »
+
+ Table « public.indicator »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ indicatorid | smallint |
+ coefficient | double precision |
+Index :
+ "indicator_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "indicatorlevel" CONSTRAINT "indicator_fkey" FOREIGN KEY (indicator) REFERENCES indicator(topiaid)
+
+ Index « public.indicator_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.indicator »
+
+ Table « public.indicatorlevel »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ level | smallint |
+ upperbound | double precision |
+ indicator | character varying(255) |
+Index :
+ "indicatorlevel_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "indicator_fkey" FOREIGN KEY (indicator) REFERENCES indicator(topiaid)
+
+Index « public.indicatorlevel_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.indicatorlevel »
+
+ Table « public.indicatorlog »
+ Colonne | Type | Modificateurs
+------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ logtext | text |
+ comment | text |
+ modificationdate | timestamp without time zone |
+ author | character varying(255) |
+Index :
+ "indicatorlog_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "author_fkey" FOREIGN KEY (author) REFERENCES waouser(topiaid)
+
+Index « public.indicatorlog_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.indicatorlog »
+
+ Table « public.news »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ title | text |
+ content | text |
+ company | character varying(255) |
+Index :
+ "news_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "news_company_fkey" FOREIGN KEY (company) REFERENCES company(topiaid)
+
+ Index « public.news_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.news »
+
+ Table « public.obsdebcode »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ code | character varying(255) |
+Index :
+ "obsdebcode_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "obsdebcodedetails" CONSTRAINT "obsdebcode_fkey" FOREIGN KEY (obsdebcode) REFERENCES obsdebcode(topiaid)
+ TABLE "contact" CONSTRAINT "obsdebcode_fkey" FOREIGN KEY (obsdebcode) REFERENCES obsdebcode(topiaid)
+
+ Index « public.obsdebcode_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.obsdebcode »
+
+ Table « public.obsdebcodedetails »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ obsdebcode | character varying(255) |
+ label | text |
+ region | character varying(255) |
+Index :
+ "obsdebcodedetails_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "obsdebcode_fkey" FOREIGN KEY (obsdebcode) REFERENCES obsdebcode(topiaid)
+ "region_fkey" FOREIGN KEY (region) REFERENCES terrestriallocation(topiaid)
+
+Index « public.obsdebcodedetails_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.obsdebcodedetails »
+
+ Table « public.observers_samplerow »
+ Colonne | Type | Modificateurs
+-----------+------------------------+---------------
+ samplerow | character varying(255) | non NULL
+ observers | character varying(255) | non NULL
+Contraintes de clés étrangères :
+ "observers_fkey" FOREIGN KEY (observers) REFERENCES waouser(topiaid)
+ "samplerow_fkey" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+
+ Table « public.profession »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ meshsize | text |
+ size | text |
+ other | text |
+ libelle | text |
+ species | text |
+Index :
+ "profession_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "samplerow" CONSTRAINT "fk4256f3d0505de23" FOREIGN KEY (profession) REFERENCES profession(topiaid)
+
+ Index « public.profession_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.profession »
+
+ Table « public.samplemonth »
+ Colonne | Type | Modificateurs
+---------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ realtidesvalue | integer |
+ expectedtidesvalue | integer |
+ perioddate | timestamp without time zone |
+ samplerow | character varying(255) |
+ estimatedtidesvalue | integer |
+Index :
+ "samplemonth_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "fk822b6f66e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+
+Index « public.samplemonth_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.samplemonth »
+
+ Table « public.samplerow »
+ Colonne | Type | Modificateurs
+--------------------------+-----------------------------+-------------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ nbobservants | integer |
+ averagetidetime | double precision |
+ code | text |
+ fishingzonesinfos | text |
+ comment | text |
+ programname | text |
+ periodbegin | timestamp without time zone |
+ periodend | timestamp without time zone |
+ profession | character varying(255) |
+ company | character varying(255) |
+ obsprogramordinal | smallint | non NULL
+ samplingstrategyordinal | smallint |
+ terrestriallocation | character varying(255) |
+ terrestriallocationinfos | text |
+ expecteddate | timestamp without time zone |
+ groupname | character varying(255) |
+ observationunit | character varying(255) |
+ blankrow | boolean | Par défaut, false
+ boat | character varying(255) |
+ observationtypeordinal | smallint |
+Index :
+ "samplerow_pkey" PRIMARY KEY, btree (topiaid)
+ "samplerow_code_key" UNIQUE, btree (code)
+Contraintes de clés étrangères :
+ "boat_fkey" FOREIGN KEY (boat) REFERENCES boat(topiaid)
+ "fk4256f3d0505de23" FOREIGN KEY (profession) REFERENCES profession(topiaid)
+ "fk4256f3d0f28824af" FOREIGN KEY (company) REFERENCES company(topiaid)
+ "observationunit_fkey" FOREIGN KEY (observationunit) REFERENCES terrestrialdivision(topiaid)
+ "terrestriallocation_fkey" FOREIGN KEY (terrestriallocation) REFERENCES terrestriallocation(topiaid)
+Référencé par :
+ TABLE "contact" CONSTRAINT "fk38b724206e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ TABLE "samplerowlog" CONSTRAINT "fk4bfe5546e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ TABLE "fishingzone_samplerow" CONSTRAINT "fk736b8c276e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ TABLE "samplemonth" CONSTRAINT "fk822b6f66e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ TABLE "elligibleboat" CONSTRAINT "fk9c3f3a356e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ TABLE "dcf5code_samplerow" CONSTRAINT "samplerow_fkey" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ TABLE "observers_samplerow" CONSTRAINT "samplerow_fkey" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+
+Index « public.samplerow_code_key »
+ Colonne | Type
+---------+------
+ code | text
+unique, btree, pour la table « public.samplerow »
+
+ Index « public.samplerow_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.samplerow »
+
+ Table « public.samplerowlog »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ logtext | text |
+ comment | text |
+ samplerow | character varying(255) |
+ author | character varying(255) |
+ fromadmin | boolean |
+Index :
+ "samplerowlog_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "fk4bfe5546e5f00b5" FOREIGN KEY (samplerow) REFERENCES samplerow(topiaid)
+ "fk4bfe554e17bbdd4" FOREIGN KEY (author) REFERENCES waouser(topiaid)
+
+Index « public.samplerowlog_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.samplerowlog »
+
+ Table « public.shipowner »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ code | text |
+ firstname | text |
+ lastname | text |
+Index :
+ "shipowner_pkey" PRIMARY KEY, btree (topiaid)
+ "shipowner_code_key" UNIQUE, btree (code)
+ "shipowner_idx" UNIQUE, btree (code)
+Référencé par :
+ TABLE "boat" CONSTRAINT "fk2e39408e559143" FOREIGN KEY (shipowner) REFERENCES shipowner(topiaid)
+
+Index « public.shipowner_code_key »
+ Colonne | Type
+---------+------
+ code | text
+unique, btree, pour la table « public.shipowner »
+
+Index « public.shipowner_idx »
+ Colonne | Type
+---------+------
+ code | text
+unique, btree, pour la table « public.shipowner »
+
+ Index « public.shipowner_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.shipowner »
+
+ Table « public.targetspeciesdcf »
+ Colonne | Type | Modificateurs
+-----------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ code | character varying(10) | non NULL
+Index :
+ "targetspeciesdcf_pkey" PRIMARY KEY, btree (topiaid)
+ "targetspeciesdcf_code_key" UNIQUE, btree (code)
+Référencé par :
+ TABLE "dcf5code" CONSTRAINT "targetspeciesdcf_fkey" FOREIGN KEY (targetspeciesdcf) REFERENCES targetspeciesdcf(topiaid)
+
+Index « public.targetspeciesdcf_code_key »
+ Colonne | Type
+---------+-----------------------
+ code | character varying(10)
+unique, btree, pour la table « public.targetspeciesdcf »
+
+Index « public.targetspeciesdcf_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.targetspeciesdcf »
+
+ Table « public.terrestrialdivision »
+ Colonne | Type | Modificateurs
+---------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ code | character varying(255) |
+ skillzonecode | character varying(255) |
+ skillzonename | character varying(255) |
+ subpopulationcode | character varying(255) |
+ subpopulationname | character varying(255) |
+ observationunitcode | character varying(255) |
+ observationunitname | character varying(255) |
+ port | character varying(255) |
+ regionifremer | character varying(255) |
+Index :
+ "terrestrialdivision_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "port_fkey" FOREIGN KEY (port) REFERENCES terrestriallocation(topiaid)
+ "regionifremer_fkey" FOREIGN KEY (regionifremer) REFERENCES terrestriallocation(topiaid)
+Référencé par :
+ TABLE "samplerow" CONSTRAINT "observationunit_fkey" FOREIGN KEY (observationunit) REFERENCES terrestrialdivision(topiaid)
+
+Index « public.terrestrialdivision_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.terrestrialdivision »
+
+ Table « public.terrestriallocation »
+ Colonne | Type | Modificateurs
+----------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ locationtypeordinal | smallint |
+ code | character varying(255) |
+ name | character varying(255) |
+ portcode | character varying(255) |
+ portname | character varying(255) |
+ districtcode | character varying(255) |
+ districtname | character varying(255) |
+ departmentcode | character varying(255) |
+ departmentname | character varying(255) |
+ subregionifremercode | character varying(255) |
+ subregionifremername | character varying(255) |
+ regionifremercode | character varying(255) |
+ regionifremername | character varying(255) |
+ regioncode | character varying(255) |
+ regionname | character varying(255) |
+ regiontypecode | character varying(255) |
+ regiontypename | character varying(255) |
+ countrycode | character varying(255) |
+ countryname | character varying(255) |
+ seaboardcode | character varying(255) |
+ seaboardname | character varying(255) |
+ coastfaocode | character varying(255) |
+ coastfaoname | character varying(255) |
+Index :
+ "terrestriallocation_pkey" PRIMARY KEY, btree (topiaid)
+Référencé par :
+ TABLE "terrestrialdivision" CONSTRAINT "port_fkey" FOREIGN KEY (port) REFERENCES terrestriallocation(topiaid)
+ TABLE "boat" CONSTRAINT "portofregistry_fkey" FOREIGN KEY (portofregistry) REFERENCES terrestriallocation(topiaid)
+ TABLE "obsdebcodedetails" CONSTRAINT "region_fkey" FOREIGN KEY (region) REFERENCES terrestriallocation(topiaid)
+ TABLE "terrestrialdivision" CONSTRAINT "regionifremer_fkey" FOREIGN KEY (regionifremer) REFERENCES terrestriallocation(topiaid)
+ TABLE "samplerow" CONSTRAINT "terrestriallocation_fkey" FOREIGN KEY (terrestriallocation) REFERENCES terrestriallocation(topiaid)
+ TABLE "contact" CONSTRAINT "terrestriallocation_fkey" FOREIGN KEY (terrestriallocation) REFERENCES terrestriallocation(topiaid)
+
+Index « public.terrestriallocation_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.terrestriallocation »
+
+ Table « public.tms_version »
+ Colonne | Type | Modificateurs
+---------+------------------------+---------------
+ version | character varying(255) | non NULL
+Index :
+ "tms_version_pkey" PRIMARY KEY, btree (version)
+
+Index « public.tms_version_pkey »
+ Colonne | Type
+---------+------------------------
+ version | character varying(255)
+clé primaire, btree, pour la table « public.tms_version »
+
+ Table « public.userprofile »
+ Colonne | Type | Modificateurs
+-------------------+-----------------------------+---------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone | non NULL
+ waouser | character varying(255) |
+ obsprogramordinal | smallint | non NULL
+ userroleordinal | smallint | non NULL
+ canwrite | boolean | non NULL
+ token | character varying(50) |
+Index :
+ "userprofile_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "waouser_fkey" FOREIGN KEY (waouser) REFERENCES waouser(topiaid)
+
+Index « public.userprofile_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.userprofile »
+
+ Table « public.waouser »
+ Colonne | Type | Modificateurs
+----------------------+-----------------------------+-------------------
+ topiaid | character varying(255) | non NULL
+ topiaversion | bigint | non NULL
+ topiacreatedate | timestamp without time zone |
+ firstname | text |
+ lastname | text |
+ phonenumber | text |
+ login | text |
+ password | text |
+ active | boolean |
+ company | character varying(255) |
+ mammalsnotifications | boolean | Par défaut, false
+Index :
+ "waouser_pkey" PRIMARY KEY, btree (topiaid)
+Contraintes de clés étrangères :
+ "fk42d03050f28824af" FOREIGN KEY (company) REFERENCES company(topiaid)
+Référencé par :
+ TABLE "indicatorlog" CONSTRAINT "author_fkey" FOREIGN KEY (author) REFERENCES waouser(topiaid)
+ TABLE "contact" CONSTRAINT "fk38b72420f0bd0d5b" FOREIGN KEY (mainobserver) REFERENCES waouser(topiaid)
+ TABLE "samplerowlog" CONSTRAINT "fk4bfe554e17bbdd4" FOREIGN KEY (author) REFERENCES waouser(topiaid)
+ TABLE "observers_samplerow" CONSTRAINT "observers_fkey" FOREIGN KEY (observers) REFERENCES waouser(topiaid)
+ TABLE "contact_secondaryobservers" CONSTRAINT "secondaryobservers_fkey" FOREIGN KEY (secondaryobservers) REFERENCES waouser(topiaid)
+ TABLE "userprofile" CONSTRAINT "waouser_fkey" FOREIGN KEY (waouser) REFERENCES waouser(topiaid)
+
+ Index « public.waouser_pkey »
+ Colonne | Type
+---------+------------------------
+ topiaid | character varying(255)
+clé primaire, btree, pour la table « public.waouser »
+
Modified: trunk/src/site/rst/common/utilisateurs.rst
===================================================================
--- trunk/src/site/rst/common/utilisateurs.rst 2011-07-01 15:06:42 UTC (rev 1366)
+++ trunk/src/site/rst/common/utilisateurs.rst 2011-07-04 10:37:10 UTC (rev 1367)
@@ -40,7 +40,7 @@
Comme pour les sociétés, il est possible de rendre un utilisateur inactif. Un
utilisateur inactif ne peut se connecter à l'application.
-L'identifiant de connection
+L'identifiant de connexion
$$$$$$$$$$$$$$$$$$$$$$$$$$$
Il est très fortement conseiller que l'identifiant de connection soit une
Modified: trunk/src/site/rst/obsDeb/observateur.rst
===================================================================
--- trunk/src/site/rst/obsDeb/observateur.rst 2011-07-01 15:06:42 UTC (rev 1366)
+++ trunk/src/site/rst/obsDeb/observateur.rst 2011-07-04 10:37:10 UTC (rev 1367)
@@ -43,7 +43,7 @@
l'enquête du navire donné dans le prévisionnel.
-------------------------------------------------------------------------------
-Synchoniser mon agenda OBM, Thunderbird… avec Wao
+Synchoniser votre agenda (OBM, Thunderbird ou autre) avec Wao
-------------------------------------------------------------------------------
En ce qui concerne l'observation de terrain, Wao propose la possibilité de
Modified: trunk/src/site/site_fr.xml
===================================================================
--- trunk/src/site/site_fr.xml 2011-07-01 15:06:42 UTC (rev 1366)
+++ trunk/src/site/site_fr.xml 2011-07-04 10:37:10 UTC (rev 1367)
@@ -74,6 +74,7 @@
<item name="Cas d'utilisations" href="dev/usecases.html"/>
<item name="Règles métier" href="dev/business-rules.html" />
<item name="Modèle de données" href="dev/model.html"/>
+ <item name="Schéma de la base" href="database_schema.txt"/>
<item name="Installation" href="installation.html"/>
</menu>
1
0
[Suiviobsmer-commits] r1366 - trunk/wao-business/src/test/java/fr/ifremer/wao/business
by bleny@users.labs.libre-entreprise.org 01 Jul '11
by bleny@users.labs.libre-entreprise.org 01 Jul '11
01 Jul '11
Author: bleny
Date: 2011-07-01 15:06:42 +0000 (Fri, 01 Jul 2011)
New Revision: 1366
Log:
add validation when importing for ObsDeb + test
Modified:
trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java
Modified: trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java
===================================================================
--- trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java 2011-07-01 15:06:25 UTC (rev 1365)
+++ trunk/wao-business/src/test/java/fr/ifremer/wao/business/ObsDebFieldWorkTest.java 2011-07-01 15:06:42 UTC (rev 1366)
@@ -24,6 +24,7 @@
package fr.ifremer.wao.business;
import fr.ifremer.wao.WaoBusinessException;
+import fr.ifremer.wao.WaoException;
import fr.ifremer.wao.bean.BoatFilter;
import fr.ifremer.wao.bean.ConnectedUser;
import fr.ifremer.wao.bean.ContactFilter;
@@ -44,6 +45,8 @@
import fr.ifremer.wao.io.ImportResults;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
+import org.h2.util.New;
+import org.hamcrest.BaseMatcher;
import org.junit.Assert;
import org.junit.Test;
import org.nuiton.util.DateUtil;
@@ -56,6 +59,7 @@
import java.util.Collection;
import java.util.List;
import java.util.Map;
+import java.util.regex.Matcher;
/**
*
@@ -76,6 +80,9 @@
protected static final String SAMPLING_PLAN_WITH_OBSERVERS_CSV =
"PLAN_CODE;REGION_IFREMER_COD;OBSERVATEUR_COD;OBSERVATION_DATE;UNITE_OBSERVATION_COD;OBSERVATEURS;LIGNE_SANS_CONTACTS\n"
+ "2011_890;GA;OBS1;13/02/2010;UO007;josh;N";
+ protected static final String SAMPLING_PLAN_WITH_CONFLICTING_SAMPLE_ROW_CSV =
+ "PLAN_CODE;REGION_IFREMER_COD;OBSERVATEUR_COD;OBSERVATION_DATE;UNITE_OBSERVATION_COD;OBSERVATEURS;LIGNE_SANS_CONTACTS\n"
+ + ";MA;OBS2;13/02/2010;UO087;josh;N";
protected ObsDebFixtures fixtures = new ObsDebFixtures(manager);
@@ -115,10 +122,6 @@
ImportResults importResults = serviceSampling.importSamplingPlanCsv(input, fixtures.joshAsAdministrator());
Assert.assertEquals(4, importResults.getNbRowsImported());
Assert.assertEquals(0, importResults.getNbRowsRefused());
-
- // trying to re-import must fail due to conflicting sample-rows
- input = IOUtils.toInputStream(SAMPLING_PLAN_CSV);
- importResults = serviceSampling.importSamplingPlanCsv(input, fixtures.joshAsAdministrator());
}
/**
@@ -277,6 +280,20 @@
public void coordinatorCannotBreakSamplingPlan() throws IOException, WaoBusinessException {
coordinatorCanAddObserversViaImport();
+ try {
+ InputStream input = IOUtils.toInputStream(SAMPLING_PLAN_WITH_CONFLICTING_SAMPLE_ROW_CSV);
+ serviceSampling.importSamplingPlanCsv(input, fixtures.joshAsCoordinator());
+ Assert.fail("trying to re-import must fail due to conflicting sample-rows");
+ } catch (WaoException e) {
+ if (log.isTraceEnabled()) {
+ log.trace("exception raised by importing conflicting sample row", e);
+ }
+ // check that the exception raised is related to validation and
+ // not to a bug
+ Assert.assertTrue(e.getCause().getCause().getCause().getMessage().
+ startsWith("Erreur de validation de la ligne"));
+ }
+
// josh cannot be affected to this row, because on the same day
// he is to be elsewhere
SampleRow row2011_891 = serviceSampling.getSampleRowByCode(fixtures.joshAsCoordinator(), "2011_891");
1
0
[Suiviobsmer-commits] r1365 - trunk/wao-business/src/main/java/fr/ifremer/wao/service
by bleny@users.labs.libre-entreprise.org 01 Jul '11
by bleny@users.labs.libre-entreprise.org 01 Jul '11
01 Jul '11
Author: bleny
Date: 2011-07-01 15:06:25 +0000 (Fri, 01 Jul 2011)
New Revision: 1365
Log:
add validation when importing for ObsDeb + test
Modified:
trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java
Modified: trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java
===================================================================
--- trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java 2011-07-01 12:17:03 UTC (rev 1364)
+++ trunk/wao-business/src/main/java/fr/ifremer/wao/service/ServiceSamplingImpl.java 2011-07-01 15:06:25 UTC (rev 1365)
@@ -284,7 +284,14 @@
row.setDCF5Code(insertOrSelect(transaction, row.getDCF5Code()));
}
- if (row.getObsProgram() != ObsProgram.OBSDEB) {
+ if (row.getObsProgram() == ObsProgram.OBSDEB) {
+ ValidationResult validationResult = executeValidateSampleRow(transaction, row);
+ if ( ! validationResult.isSuccess()) {
+ throw new IllegalArgumentException(
+ "Erreur de validation de la ligne " + row.getCode() +
+ ". " + validationResult.getMessage());
+ }
+ } else {
updateElligibleBoats(transaction, row, boats);
}
@@ -1117,7 +1124,11 @@
timeLog.log(startReadLine, "import one line");
} catch (Exception e) {
- WaoBusinessException waoBusinessException = new WaoBusinessException(e.getMessage() + "\n" + e.getCause().getMessage(), e);
+ String message = e.getMessage();
+ if (e.getCause() != null) {
+ message += "\n" + e.getCause().getMessage();
+ }
+ WaoBusinessException waoBusinessException = new WaoBusinessException(message, e);
errorArgs.add(-1);
errorArgs.add(sampleRow == null ? "" : sampleRow.getCode());
//errorArgs.add(e.getMessage());
@@ -1593,7 +1604,7 @@
for (WaoUser observer : sampleRow.getObservers()) {
samplingFilter.setSampleRowObserver(observer);
- List<SampleRow> conflictingSampleRows = executeGetSampleRowsByFilter(transaction, samplingFilter);
+ List<SampleRow> conflictingSampleRows = getSampleRowsByFilter(samplingFilter);
// remove sampleRow from the list, it can't be in conflict with itself
SampleRow rowToRemove = sampleRow;
for (SampleRow conflictingSampleRow : conflictingSampleRows) {
1
0
[Suiviobsmer-commits] r1364 - trunk/src/site/rst/dev
by bleny@users.labs.libre-entreprise.org 01 Jul '11
by bleny@users.labs.libre-entreprise.org 01 Jul '11
01 Jul '11
Author: bleny
Date: 2011-07-01 12:17:03 +0000 (Fri, 01 Jul 2011)
New Revision: 1364
Log:
describe the entity model
Modified:
trunk/src/site/rst/dev/model.rst
Modified: trunk/src/site/rst/dev/model.rst
===================================================================
--- trunk/src/site/rst/dev/model.rst 2011-07-01 12:16:25 UTC (rev 1363)
+++ trunk/src/site/rst/dev/model.rst 2011-07-01 12:17:03 UTC (rev 1364)
@@ -74,8 +74,8 @@
-------------------------------------------------
Il s'agit d'un endroit précis où mener des observations à terre. Chaque lieu
-est soit de type ``Port``, soit de type ``Criée`` et est identifié par un code
-de, le couple [code, type de lieu] est unique.
+est soit de type ``Port``, soit de type ``Criée`` et est identifié par un code,
+le couple [code, type de lieu] est unique.
Les lieux sont partitionnés en selon un découpage administratif (département,
région, pays) et selon un découpage Ifremer (région Ifremer). On retrouve
@@ -89,7 +89,7 @@
* Des régions ifremers
-Ce sont les différents niveaux de granularités nécessaires dans Wao.
+Ce sont les différents niveaux de granularité nécessaires dans Wao.
La stratification (entité TerrestrialDivision)
----------------------------------------------
@@ -215,7 +215,7 @@
Dans le cas d'ObsDeb, on indique le lieu terrestre dans lequel on s'est rendu :
il s'agit d'un port faisant parti de l'unité d'observation définie dans la
-ligne échantillonnée. De même, on associée au compte-rendu d'observation un code
+ligne échantillonnée. De même, on associe au compte-rendu d'observation un code
métier parmi ceux qui décrivent un métier pratiqué dans la région dans laquelle
on a observé (la région étant définie dans la ligne pour le cas du téléphonique,
ou, dans le cas du terrain, il s'agit de la région dans laquelle se trouve l'UO).
1
0
[Suiviobsmer-commits] r1363 - trunk/src/site/rst/obsMer
by bleny@users.labs.libre-entreprise.org 01 Jul '11
by bleny@users.labs.libre-entreprise.org 01 Jul '11
01 Jul '11
Author: bleny
Date: 2011-07-01 12:16:25 +0000 (Fri, 01 Jul 2011)
New Revision: 1363
Log:
add ?\194?\167 about data reliability
Modified:
trunk/src/site/rst/obsMer/administrateur.rst
Modified: trunk/src/site/rst/obsMer/administrateur.rst
===================================================================
--- trunk/src/site/rst/obsMer/administrateur.rst 2011-07-01 10:26:42 UTC (rev 1362)
+++ trunk/src/site/rst/obsMer/administrateur.rst 2011-07-01 12:16:25 UTC (rev 1363)
@@ -25,6 +25,12 @@
.. * #L%
.. -
+================================================================================
+Initialisation des référentiels Wao
+================================================================================
+
+Vous pourrez consulter des exemples de fichiers.
+
Importer les zones de pêche
---------------------------
@@ -39,6 +45,16 @@
.. image:: ../screenshots/import_zones_success.png
+Importer les motifs de refus
+----------------------------
+
+Vous devez également importer les motifs de refus qui pourront être renseignés
+lors de la saisie des contacts.
+
+================================================================================
+Le prévisionnel (plan d'échantillonnage)
+================================================================================
+
Importer le plan d'échantillonage
---------------------------------
@@ -154,8 +170,49 @@
.. image:: ../screenshots/create_sampling_plan.png
:width: 800px
+================================================================================
+Valider les données remontées par les prestataires
+================================================================================
+
+En tant qu'administrateur, vous devez régulièrement vous rendre dans la liste
+des contacts afin de vérifier que des contacts validés par la société ne sont
+pas en attente de validation par le programme.
+
+Vous pouvez valider ou invalider le contact si vous estimez que celui-ci
+respecte les attentes du programme.
+
+Avant de valider un contact, vous devez renseigner la qualité de la donnée :
+
+ * « Inconnue » : c'est la valeur par défaut, affectée dès la création du
+ contact. Étant donnée que l'observation n'a pas encore été réalisée, on ne
+ peut évaluer la qualité des données receuillies.
+
+ * « Exploitable » : la qualité des données remontées par l'observateur
+ a été évaluée par le programme. Cette évaluation est positive, les données
+ sont exploitables.
+
+ * « Douteuse » : la qualité des données remontées par l'observateur
+ a été évaluée par le programme. La qualité des données est sujette à caution.
+
+ * « Non-exploitable » : la qualité des données remontées par l'observateur
+ a été évaluée par le programme. Cette évaluation est négative, les données
+ se sont avérées inexploitables.
+
+ * « Correction demandée » : la qualité des données remontées par l'observateur
+ n'a pas pu être évaluée par le programme. Les informations nécessaires au
+ programme afin d'évaluer la qualité de la donnée sont incorrectes ou
+ manquantes. Il faut alors préciser dans le commentaire administrateur le
+ problème afin que le coordinateur puisse y remédier.
+
+ * « Non-renseignée » : Il s'agit d'une option permettant de ne pas renseigner
+ la qualité de la donnée (et de permettre tout de même de valider le
+ contact). Cette option peut notamment être utilisée pour les données
+ historiques, pour lesquelles la démarche d'évaluation de la qualité par
+ le programme n'était pas en place.
+
+================================================================================
Synthèses
-=========
+================================================================================
L'écran de synthèse permet de visualiser graphiquement plusieurs indicateurs
tels que :
1
0