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
- 2357 discussions
[Suiviobsmer-commits] r116 - in trunk: . suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages suiviobsmer-ui/src/main/webapp suiviobsmer-ui/src/main/webapp/css
by fdesbois@users.labs.libre-entreprise.org 09 Dec '09
by fdesbois@users.labs.libre-entreprise.org 09 Dec '09
09 Dec '09
Author: fdesbois
Date: 2009-12-09 10:06:17 +0000 (Wed, 09 Dec 2009)
New Revision: 116
Modified:
trunk/changelog.txt
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
trunk/suiviobsmer-ui/src/main/webapp/SamplingPlan.tml
trunk/suiviobsmer-ui/src/main/webapp/css/sampling.css
Log:
Evol #1951 (SamplingPlan) : Add links on programs to filter period
Modified: trunk/changelog.txt
===================================================================
--- trunk/changelog.txt 2009-12-08 18:20:44 UTC (rev 115)
+++ trunk/changelog.txt 2009-12-09 10:06:17 UTC (rev 116)
@@ -1,17 +1,19 @@
0.0.1-alpha-2
+-------------
- - [08-12-2009] [fdesbois] ANO BoatInfos : En mode admin le champ de sélection des sociétés
- ne charge pas les données
+[09-12-2009] [fdesbois] EVO #1951 (SamplingPlan)
+ Ajout d'un lien sur les programmes pour filtrer la période
- - [08-12-2009] [fdesbois] EVO : Ajout d'une config pour logger les erreurs/debugs dans un fichier
-
- - [08-12-2009] [fdesbois] ANO SamplingPlan : Caractère de fin manquant sur l'affichage des zones de pêche
-
- - [08-12-2009] [fdesbois] EVO Contacts : Renommage colonne "Mammifères"
- en "Observations et captures accidentelles"
-
- - [08-12-2009] [fdesbois] EVO BoatInfos : Renomage texte "... embarquements dont X dans votre société..."
- par "... embarquements dont X pour votre société..."
-
- - [08-12-2009] [fdesbois] ANO BoatInfos : Lien présent pour la création d'un contact
- lorsque la ligne du plan est barré
+[08-12-2009] [fdesbois] ANO (BoatInfos)
+ En mode admin le champ de sélection des sociétés ne charge pas les données
+[08-12-2009] [fdesbois] EVO
+ Ajout d'une config pour logger les erreurs/debugs dans un fichier
+[08-12-2009] [fdesbois] ANO (SamplingPlan)
+ Caractère de fin manquant sur l'affichage des zones de pêche
+[08-12-2009] [fdesbois] EVO (Contacts)
+ Renommage colonne "Mammifères" en "Observations et captures accidentelles"
+[08-12-2009] [fdesbois] EVO (BoatInfos)
+ Renomage texte "... embarquements dont X dans votre société..." par "... embarquements
+ dont X pour votre société..."
+[08-12-2009] [fdesbois] ANO (BoatInfos)
+ Lien présent pour la création d'un contact lorsque la ligne du plan est barré
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-08 18:20:44 UTC (rev 115)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-09 10:06:17 UTC (rev 116)
@@ -44,6 +44,7 @@
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.upload.services.UploadedFile;
import fr.ifremer.suiviobsmer.PeriodDates;
+import fr.ifremer.suiviobsmer.entity.Program;
import org.slf4j.Logger;
/**
@@ -330,6 +331,18 @@
return new SimpleDateFormat("MM/yyyy");
}
- /** ------------------------- ACTIONS ----------------------------------- **/
+ /** ------------------------- ACTIONS ----------------------------------- **/
+
+ /**
+ * Used to filter period using dates from the program selected in table.
+ * @param rowIndex index of the row in the table
+ * @throws SuiviObsmerException for a data problem
+ */
+ void onActionFromFilterProgramDates(int rowIndex) throws SuiviObsmerException {
+ row = getData().get(rowIndex);
+ Program program = row.getProgram();
+ period.setFromDate(program.getPeriodBegin());
+ period.setThruDate(program.getPeriodEnd());
+ }
}
Modified: trunk/suiviobsmer-ui/src/main/webapp/SamplingPlan.tml
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/SamplingPlan.tml 2009-12-08 18:20:44 UTC (rev 115)
+++ trunk/suiviobsmer-ui/src/main/webapp/SamplingPlan.tml 2009-12-09 10:06:17 UTC (rev 116)
@@ -96,7 +96,12 @@
</t:if>
<tr class="${parityClass}">
<td class="bleft">${row.code}</td>
- <td class="width150">${row.program.name}</td>
+ <td class="width150">
+ <a t:type="actionlink" t:id="filterProgramDates" t:context="rowIndex"
+ title="Changer les dates de la période par rapport à celles du programme">
+ ${row.program.name}
+ </a>
+ </td>
<t:if t:test="user.admin">
<td>${companyName}</td>
</t:if>
Modified: trunk/suiviobsmer-ui/src/main/webapp/css/sampling.css
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/css/sampling.css 2009-12-08 18:20:44 UTC (rev 115)
+++ trunk/suiviobsmer-ui/src/main/webapp/css/sampling.css 2009-12-09 10:06:17 UTC (rev 116)
@@ -14,6 +14,7 @@
width: 95%;
margin-left: auto;
margin-right: auto;
+ font-size: 0.8em;
}
div#so-sampling div.admin {
@@ -87,6 +88,16 @@
color: blue;
}
+div#so-sampling table a {
+ color: black;
+ text-decoration: none;
+}
+
+div#so-sampling table a:hover {
+ text-decoration: underline;
+}
+
+
/* Historic page */
div#so-sampling-historic {
margin-top: 10px;
1
0
08 Dec '09
Author: fdesbois
Date: 2009-12-08 18:20:44 +0000 (Tue, 08 Dec 2009)
New Revision: 115
Added:
trunk/checkstyle.xml
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/CompanyBoatInfosImpl.java
Removed:
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java
Modified:
trunk/changelog.txt
trunk/pom.xml
trunk/suiviobsmer-business/pom.xml
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java
trunk/suiviobsmer-business/src/main/xmi/suiviobsmer.zargo
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java
trunk/suiviobsmer-ui/pom.xml
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
trunk/suiviobsmer-ui/src/main/resources/log4j.properties
trunk/suiviobsmer-ui/src/main/webapp/Boats.tml
Log:
- Refactor ElligibleBoatsCompany by CompanyBoatInfos to include BoatInfos
- Resolve problem refreshing selected company BoatInfos in admin mode
Modified: trunk/changelog.txt
===================================================================
--- trunk/changelog.txt 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/changelog.txt 2009-12-08 18:20:44 UTC (rev 115)
@@ -1,6 +1,17 @@
0.0.1-alpha-2
- - [08-12-2009] [desbois] ANO SamplingPlan : Caractère de fin manquant sur l'affichage des zones de pêche
- - [08-12-2009] [desbois] EVO Contacts : Renommage colonne "Mammifères" en "Observations et captures accidentelles"
- - [08-12-2009] [desbois] EVO BoatInfos : Renomage texte "... embarquements dont X dans votre société..." par "... embarquements dont X pour votre société..."
- - [08-12-2009] [desbois] ANO BoatInfos : Lien présent pour la création d'un contact lorsque la ligne du plan est barré
+ - [08-12-2009] [fdesbois] ANO BoatInfos : En mode admin le champ de sélection des sociétés
+ ne charge pas les données
+
+ - [08-12-2009] [fdesbois] EVO : Ajout d'une config pour logger les erreurs/debugs dans un fichier
+
+ - [08-12-2009] [fdesbois] ANO SamplingPlan : Caractère de fin manquant sur l'affichage des zones de pêche
+
+ - [08-12-2009] [fdesbois] EVO Contacts : Renommage colonne "Mammifères"
+ en "Observations et captures accidentelles"
+
+ - [08-12-2009] [fdesbois] EVO BoatInfos : Renomage texte "... embarquements dont X dans votre société..."
+ par "... embarquements dont X pour votre société..."
+
+ - [08-12-2009] [fdesbois] ANO BoatInfos : Lien présent pour la création d'un contact
+ lorsque la ligne du plan est barré
Added: trunk/checkstyle.xml
===================================================================
--- trunk/checkstyle.xml (rev 0)
+++ trunk/checkstyle.xml 2009-12-08 18:20:44 UTC (rev 115)
@@ -0,0 +1,186 @@
+<?xml version="1.0"?>
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<module name="Checker">
+ <!--
+ If you set the basedir property below, then all reported file
+ names will be relative to the specified directory. See
+ http://checkstyle.sourceforge.net/5.x/config.html#Checker
+
+ <property name="basedir" value="${basedir}"/>
+ -->
+
+ <metadata name="com.atlas-sw.eclipse" value="I like Sydney"/>
+
+ <property name="severity" value="error"/>
+
+ <!-- <module name="SuppressionFilter">
+ <property name="file" value="checkstyle_suppression.xml"/>
+ </module> -->
+
+ <module name="JavadocPackage">
+ <property name="allowLegacy" value="false"/>
+ </module>
+
+ <!-- <module name="Translation">
+ <property name="severity" value="${translation.severity}"/>
+ </module> -->
+
+ <module name="FileTabCharacter">
+ <property name="eachLine" value="false"/>
+ </module>
+
+ <module name="FileLength">
+ <property name="fileExtensions" value="java"/>
+ </module>
+
+ <!-- <module name="Header">
+ <property name="headerFile" value="checkstyle_header.xml"/>
+ <property name="fileExtensions" value="java"/>
+ <property name="id" value="header"/>
+ </module> -->
+
+ <module name="RegexpSingleline">
+ <property name="format" value="^[^\*]*\s+$"/>
+ <property name="minimum" value="0"/>
+ <property name="maximum" value="0"/>
+ </module>
+
+ <module name="TreeWalker">
+ <property name="tabWidth" value="4" />
+
+ <module name="AvoidStarImport"/>
+ <module name="ConstantName"/>
+ <module name="EmptyBlock"/>
+ <module name="EmptyForIteratorPad"/>
+ <module name="EqualsHashCode"/>
+
+ <!-- module name="IllegalCatch"/
+ <module name="ImportControl">
+ <property name="file" value="checkstyle_import.xml"/>
+ </module> -->
+ <module name="IllegalImport"/>
+ <module name="IllegalInstantiation"/>
+ <module name="IllegalThrows"/>
+ <module name="InnerAssignment"/>
+ <module name="JavadocType">
+ <property name="authorFormat" value="\S"/>
+ </module>
+ <module name="JavadocMethod">
+ <property name="allowUndeclaredRTE" value="true"/>
+ <property name="allowThrowsTagsForSubclasses" value="true"/>
+ </module>
+ <module name="JavadocVariable"/>
+ <module name="JavadocStyle">
+ <property name="scope" value="public"/>
+ </module>
+
+ <module name="LeftCurly">
+ <property name="tokens" value="CLASS_DEF,INTERFACE_DEF,METHOD_DEF,CTOR_DEF"/>
+ <property name="option" value="eol"/>
+ </module>
+ <module name="LeftCurly">
+ <property name="tokens" value="LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_SWITCH,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE"/>
+ <property name="option" value="eol"/>
+ </module>
+
+ <module name="OuterTypeNumber"/>
+ <module name="LineLength">
+ <property name="severity" value="warning" />
+ <property name="ignorePattern" value="^ *\* *[^ ]+$"/>
+ </module>
+
+ <module name="LocalFinalVariableName"/>
+ <module name="LocalVariableName"/>
+ <module name="MemberName">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ </module>
+ <module name="MethodLength"/>
+ <module name="MethodName"/>
+ <module name="MethodParamPad"/>
+ <module name="ModifierOrder"/>
+ <module name="NeedBraces"/>
+ <module name="NoWhitespaceAfter">
+ <property name="tokens" value="ARRAY_INIT, BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS" />
+ </module>
+
+ <module name="NoWhitespaceBefore"/>
+ <module name="NoWhitespaceBefore">
+ <property name="tokens" value="DOT"/>
+ <property name="allowLineBreaks" value="true"/>
+ </module>
+
+ <module name="OperatorWrap"/>
+ <module name="OperatorWrap">
+ <property name="tokens" value="ASSIGN, DIV_ASSIGN, PLUS_ASSIGN, MINUS_ASSIGN, STAR_ASSIGN, MOD_ASSIGN, SR_ASSIGN, BSR_ASSIGN, SL_ASSIGN, BXOR_ASSIGN, BOR_ASSIGN, BAND_ASSIGN"/>
+ <property name="option" value="eol"/>
+ </module>
+ <module name="PackageName"/>
+ <module name="ParameterName">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ </module>
+ <module name="ParameterNumber">
+ <property name="id" value="paramNum"/>
+ </module>
+ <module name="ParenPad"/>
+ <module name="TypecastParenPad"/>
+ <module name="RedundantImport"/>
+ <module name="RedundantModifier">
+ <property name="severity" value="warning" />
+ </module>
+ <module name="RightCurly">
+ <property name="option" value="same"/>
+ </module>
+ <module name="SimplifyBooleanExpression"/>
+ <module name="SimplifyBooleanReturn"/>
+ <module name="StaticVariableName">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ </module>
+ <module name="TypeName"/>
+ <module name="UnusedImports"/>
+ <module name="UpperEll"/>
+ <module name="VisibilityModifier">
+ <property name="protectedAllowed" value="true"/>
+ </module>
+ <module name="WhitespaceAfter">
+ <property name="tokens" value="COMMA, SEMI"/>
+ </module>
+ <module name="WhitespaceAround"/>
+ <module name="GenericWhitespace"/>
+ <module name="FinalClass"/>
+ <module name="MissingSwitchDefault"/>
+ <module name="MagicNumber">
+ <property name="severity" value="warning" />
+ <property name="ignoreNumbers" value="-1,0,1, 1"/>
+ </module>
+ <module name="Indentation">
+ <property name="severity" value="warning" />
+ <property name="basicOffset" value="4"/>
+ <property name="braceAdjustment" value="0"/>
+ <property name="caseIndent" value="0"/>
+ </module>
+ <module name="ArrayTrailingComma"/>
+ <!--<module name="FinalLocalVariable"/> -->
+ <module name="EqualsAvoidNull"/>
+
+ <!-- Generates quite a few errors -->
+ <module name="CyclomaticComplexity">
+ <property name="severity" value="ignore"/>
+ </module>
+
+ <module name="NestedIfDepth">
+ <property name="max" value="3"/>
+ </module>
+ <module name="NestedTryDepth"/>
+ <module name="ExplicitInitialization"/>
+ <module name="AnnotationUseStyle"/>
+ <module name="MissingDeprecated"/>
+ <module name="MissingOverride">
+ <property name="javaFiveCompatibility" value="true"/>
+ </module>
+ <module name="PackageAnnotation"/>
+ <module name="SuppressWarnings"/>
+ </module>
+</module>
\ No newline at end of file
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/pom.xml 2009-12-08 18:20:44 UTC (rev 115)
@@ -84,13 +84,13 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.5.8</version>
+ <version>1.5.10</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>1.5.8</version>
+ <version>1.5.10</version>
<scope>runtime</scope>
</dependency>
<dependency>
@@ -234,10 +234,10 @@
<!-- libraries version -->
<nuitonutils.version>1.1.1</nuitonutils.version>
- <topia.version>2.3.0-beta-1</topia.version>
+ <topia.version>2.3.0-beta-2-SNAPSHOT</topia.version>
<license.version>2.0.0</license.version>
<helper.version>1.1.0</helper.version>
- <eugene.version>2.0.0-beta-1</eugene.version>
+ <eugene.version>2.0.0-beta-2-SNAPSHOT</eugene.version>
<tapestry.version>5.1.0.5</tapestry.version>
<!-- default license to use -->
@@ -482,6 +482,10 @@
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.1.2</version>
</plugin>
+ <plugin>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
@@ -499,6 +503,14 @@
<version>2.4.3</version>
</plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <configLocation>checkstyle.xml</configLocation>
+ </configuration>
+ </plugin>
+
</plugins>
</reporting>
Modified: trunk/suiviobsmer-business/pom.xml
===================================================================
--- trunk/suiviobsmer-business/pom.xml 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/pom.xml 2009-12-08 18:20:44 UTC (rev 115)
@@ -64,7 +64,7 @@
<!-- *** Project Information ************************************* -->
<!-- ************************************************************* -->
- <name>SuiviObsmer Business</name>
+ <name>SuiviObsmer :: Business</name>
<description>Métier de l'application SuiviObsmer</description>
<!-- ************************************************************* -->
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -68,11 +68,17 @@
log.info("Create first admin : login=\"admin\" / password=\"password\"");
}
- Company company = companyDAO.create(Company.ACTIVE, false, Company.NAME, "superadmin");
+ Company company = companyDAO.create(Company.ACTIVE, false, Company.NAME, "ADMIN");
String password = SuiviObsmerUtils.encodeString("password");
- User user = dao.create(User.ADMIN, true, User.ACTIVE, false, User.LOGIN, "admin", User.PASSWORD, password);
+ User user = dao.create(
+ User.ADMIN, true,
+ User.ACTIVE, false,
+ User.LOGIN, "admin",
+ User.PASSWORD, password,
+ User.FIRST_NAME, "Super",
+ User.LAST_NAME, "Admin");
company.addUser(user);
user.setCompany(company);
Copied: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/CompanyBoatInfosImpl.java (from rev 110, trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java)
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/CompanyBoatInfosImpl.java (rev 0)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/CompanyBoatInfosImpl.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -0,0 +1,106 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
+
+package fr.ifremer.suiviobsmer.bean;
+
+import fr.ifremer.suiviobsmer.entity.ElligibleBoat;
+import fr.ifremer.suiviobsmer.entity.ElligibleBoatImpl;
+import fr.ifremer.suiviobsmer.entity.SampleRow;
+import java.util.Collection;
+import java.util.Iterator;
+import org.apache.commons.lang.StringUtils;
+
+/**
+ * ElligibleBoatsCompanyImpl
+ *
+ * Created: 7 déc. 2009
+ *
+ * @author fdesbois
+ * @version $Revision$
+ *
+ * Mise a jour: $Date$
+ * par : $Author$
+ */
+public class CompanyBoatInfosImpl extends CompanyBoatInfos {
+
+ @Override
+ public void removeElligibleBoat(String sampleRowCode) {
+ ElligibleBoat elligible = elligibleBoats.get(sampleRowCode);
+ // ElligibleBoat set by an admin
+ if (elligible.getCompanyActive() == null) {
+ elligible.setCompanyActive(Boolean.FALSE);
+ } else {
+ if (!deletedElligibleBoats.contains(elligible) && !StringUtils.isEmpty(elligible.getTopiaId())) {
+ deletedElligibleBoats.add(elligible);
+ }
+ elligibleBoats.remove(sampleRowCode);
+ }
+ }
+
+ @Override
+ public ElligibleBoat getElligibleBoat(String sampleRowCode) {
+ return elligibleBoats.get(sampleRowCode);
+ }
+
+ @Override
+ public ElligibleBoat setNewElligibleBoat(SampleRow row) {
+ ElligibleBoat elligible = null;
+ if (row == null) {
+ return null;
+ }
+ if (!elligibleBoats.containsKey(row.getCode())) {
+ elligible = new ElligibleBoatImpl();
+ elligible.setCompanyActive(Boolean.TRUE);
+ elligible.setBoat(boatInfos.getBoat());
+ elligible.setSampleRow(row);
+ elligibleBoats.put(row.getCode(), elligible);
+ removePreviouslyDeleted(row.getCode());
+ }
+ return elligible;
+ }
+
+ protected void removePreviouslyDeleted(String sampleRowCode) {
+ Iterator<ElligibleBoat> it = deletedElligibleBoats.iterator();
+ while (it.hasNext()) {
+ ElligibleBoat current = it.next();
+ if (current.getSampleRow().getCode().equals(sampleRowCode)) {
+ it.remove();
+ }
+ }
+ }
+
+ /**
+ * Active only element wich is inactive. So element which is linked by admin in SamplingRowForm.
+ * The Boolean CompanyActive is set to null : no specific modification for company.
+ * @param sampleRowCode code of the element to reactivate
+ */
+ @Override
+ public void activeElligibleBoat(String sampleRowCode) {
+ ElligibleBoat elligible = getElligibleBoat(sampleRowCode);
+ elligible.setCompanyActive(null);
+ }
+
+ @Override
+ public Collection<ElligibleBoat> getElligibleBoatsValues() {
+ return elligibleBoats.values();
+ }
+
+}
Property changes on: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/CompanyBoatInfosImpl.java
___________________________________________________________________
Added: svn:keywords
+ Author Date Revision
Added: svn:mergeinfo
+
Deleted: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -1,106 +0,0 @@
-/*
- * *##%
- * SuiviObsmer Business
- * Copyright (C) 2009 Ifremer
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU 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 Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * ##%*
- */
-
-package fr.ifremer.suiviobsmer.bean;
-
-import fr.ifremer.suiviobsmer.entity.ElligibleBoat;
-import fr.ifremer.suiviobsmer.entity.ElligibleBoatImpl;
-import fr.ifremer.suiviobsmer.entity.SampleRow;
-import java.util.Collection;
-import java.util.Iterator;
-import org.apache.commons.lang.StringUtils;
-
-/**
- * ElligibleBoatsCompanyImpl
- *
- * Created: 7 déc. 2009
- *
- * @author fdesbois
- * @version $Revision$
- *
- * Mise a jour: $Date$
- * par : $Author$
- */
-public class ElligibleBoatsCompanyImpl extends ElligibleBoatsCompany {
-
- @Override
- public void removeElement(String sampleRowCode) {
- ElligibleBoat elligible = elligibleBoats.get(sampleRowCode);
- // ElligibleBoat set by an admin
- if (elligible.getCompanyActive() == null) {
- elligible.setCompanyActive(Boolean.FALSE);
- } else {
- if (!deletedElligibleBoats.contains(elligible) && !StringUtils.isEmpty(elligible.getTopiaId())) {
- deletedElligibleBoats.add(elligible);
- }
- elligibleBoats.remove(sampleRowCode);
- }
- }
-
- @Override
- public ElligibleBoat getElement(String sampleRowCode) {
- return elligibleBoats.get(sampleRowCode);
- }
-
- @Override
- public ElligibleBoat setNewElement(SampleRow row) {
- ElligibleBoat elligible = null;
- if (row == null) {
- return null;
- }
- if (!elligibleBoats.containsKey(row.getCode())) {
- elligible = new ElligibleBoatImpl();
- elligible.setCompanyActive(Boolean.TRUE);
- elligible.setBoat(boat);
- elligible.setSampleRow(row);
- elligibleBoats.put(row.getCode(), elligible);
- removePreviouslyDeleted(row.getCode());
- }
- return elligible;
- }
-
- protected void removePreviouslyDeleted(String sampleRowCode) {
- Iterator<ElligibleBoat> it = deletedElligibleBoats.iterator();
- while (it.hasNext()) {
- ElligibleBoat current = it.next();
- if (current.getSampleRow().getCode().equals(sampleRowCode)) {
- it.remove();
- }
- }
- }
-
- /**
- * Active only element wich is inactive. So element which is linked by admin in SamplingRowForm.
- * The Boolean CompanyActive is set to null : no specific modification for company.
- * @param sampleRowCode code of the element to reactivate
- */
- @Override
- public void activeElement(String sampleRowCode) {
- ElligibleBoat elligible = getElement(sampleRowCode);
- elligible.setCompanyActive(null);
- }
-
- @Override
- public Collection<ElligibleBoat> values() {
- return elligibleBoats.values();
- }
-
-}
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -47,6 +47,7 @@
private static final long serialVersionUID = 1L;
@Override
+ @Deprecated
public BoatInfos getBoatInfos(Company company) throws SuiviObsmerException {
TopiaContext transaction = null;
BoatInfos boatInfos = null;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -26,8 +26,8 @@
import fr.ifremer.suiviobsmer.SuiviObsmerException;
import fr.ifremer.suiviobsmer.SuiviObsmerModelDAOHelper;
import fr.ifremer.suiviobsmer.bean.BoatFilter;
-import fr.ifremer.suiviobsmer.bean.ElligibleBoatsCompany;
-import fr.ifremer.suiviobsmer.bean.ElligibleBoatsCompanyImpl;
+import fr.ifremer.suiviobsmer.bean.CompanyBoatInfos;
+import fr.ifremer.suiviobsmer.bean.CompanyBoatInfosImpl;
import fr.ifremer.suiviobsmer.entity.*;
import fr.ifremer.suiviobsmer.entity.Boat;
import fr.ifremer.suiviobsmer.services.ServiceBoat;
@@ -213,7 +213,7 @@
}
/**
- * Get elligible boats for a company and a boat. This method is useful to get sampleRows elligibles for
+ * Get boat infos and elligible boats for a company and a boat. This method is useful to get sampleRows elligibles for
* the boat. Only sampleRows not closed linked with the company argument will be returned.
* The result give a Map with sampleRowCode in key and ElligibleBoat in value. The ElligibleBoat entity
* contains the SampleRow and attributes useful to know if the link is active or specific for the company.
@@ -223,13 +223,15 @@
* deleted elements
*/
@Override
- public ElligibleBoatsCompany getElligibleBoats(int boatImmatriculation, Company company)
+ public CompanyBoatInfos getCompanyBoatInfos(int boatImmatriculation, Company company)
throws SuiviObsmerException {
- Map<String, ElligibleBoat> map = new HashMap<String, ElligibleBoat>();
- ElligibleBoatsCompany result = new ElligibleBoatsCompanyImpl();
+
+ Map<String, ElligibleBoat> elligibleBoats = new HashMap<String, ElligibleBoat>();
+ CompanyBoatInfos result = new CompanyBoatInfosImpl();
result.setCompany(company);
- result.setElligibleBoats(map);
+ result.setElligibleBoats(elligibleBoats);
result.setDeletedElligibleBoats(new ArrayList<ElligibleBoat>());
+
TopiaContext transaction = null;
try {
transaction = rootContext.beginTransaction();
@@ -237,8 +239,20 @@
BoatDAO dao = SuiviObsmerModelDAOHelper.getBoatDAO(transaction);
Boat boat = dao.findByImmatriculation(boatImmatriculation);
- result.setBoat(boat);
+ BoatInfosDAO boatInfosDAO = SuiviObsmerModelDAOHelper.getBoatInfosDAO(transaction);
+ BoatInfos boatInfos = boatInfosDAO.findByProperties(
+ BoatInfos.BOAT, boat, BoatInfos.COMPANY, company);
+ if (boatInfos == null) {
+ boatInfos = new BoatInfosImpl();
+ boatInfos.setBoat(boat);
+ boatInfos.setCompany(company);
+ } else {
+ // load data
+ boatInfos.getBoat();
+ }
+ result.setBoatInfos(boatInfos);
+
for (ElligibleBoat elligible : boat.getElligibleBoat()) {
SampleRow sampleRow = elligible.getSampleRow();
@@ -249,7 +263,7 @@
sampleRow.getCompany().getTopiaId() : "";
if (companyId.equals(company.getTopiaId())) {
- map.put(sampleRow.getCode(), elligible);
+ elligibleBoats.put(sampleRow.getCode(), elligible);
}
}
}
@@ -257,14 +271,15 @@
transaction.closeContext();
} catch (Exception eee) {
SuiviObsmerUtils.serviceException(transaction,
- "Impossible de récupérer les lignes du plans elligibles pour" +
- " ce navire : " + boatImmatriculation, eee);
+ "Impossible de récupérer les informations du navire " +
+ "immatriculé '" + boatImmatriculation + "'" +
+ " pour la société '" + company.getName() + "'", eee);
}
return result;
}
@Override
- public void createUpdateBoatInfos(BoatInfos boatInfos, ElligibleBoatsCompany elligibleBoatsCompany)
+ public void createUpdateCompanyBoatInfos(CompanyBoatInfos companyBoatInfos)
throws SuiviObsmerException {
TopiaContext transaction = null;
try {
@@ -272,18 +287,19 @@
BoatInfosDAO dao = SuiviObsmerModelDAOHelper.getBoatInfosDAO(transaction);
+ BoatInfos boatInfos = companyBoatInfos.getBoatInfos();
SuiviObsmerUtils.prepareTopiaId(BoatInfos.class, boatInfos);
dao.update(boatInfos);
ElligibleBoatDAO elligibleDAO = SuiviObsmerModelDAOHelper.getElligibleBoatDAO(transaction);
- for (ElligibleBoat elligible : elligibleBoatsCompany.values()) {
+ for (ElligibleBoat elligible : companyBoatInfos.getElligibleBoatsValues()) {
SuiviObsmerUtils.prepareTopiaId(ElligibleBoat.class, elligible);
elligibleDAO.update(elligible);
}
// Delete ElligibleBoats for the company
- for (ElligibleBoat elligible : elligibleBoatsCompany.getDeletedElligibleBoats()) {
+ for (ElligibleBoat elligible : companyBoatInfos.getDeletedElligibleBoats()) {
elligibleDAO.delete(elligible);
}
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -77,7 +77,7 @@
results.put(contact.getTopiaId(), contact);
}
} else {
- List list = transaction.find("FROM ContactImpl WHERE user.company = :company",
+ List list = transaction.find("FROM ContactImpl WHERE user.company = :company",
"company", company);
for (Object o : list) {
Contact contact = (Contact)o;
@@ -88,7 +88,7 @@
transaction.closeContext();
} catch (Exception eee) {
- SuiviObsmerUtils.serviceException(transaction,
+ SuiviObsmerUtils.serviceException(transaction,
"Impossible de filtrer la liste des contacts", eee);
}
return results;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -23,7 +23,7 @@
import fr.ifremer.suiviobsmer.SuiviObsmerException;
import fr.ifremer.suiviobsmer.bean.BoatFilter;
-import fr.ifremer.suiviobsmer.bean.ElligibleBoatsCompany;
+import fr.ifremer.suiviobsmer.bean.CompanyBoatInfos;
import fr.ifremer.suiviobsmer.entity.*;
import fr.ifremer.suiviobsmer.services.ServiceBoat;
import java.io.InputStream;
@@ -222,7 +222,7 @@
}
@Override
- public ElligibleBoatsCompany getElligibleBoats(int boatImmatriculation, Company company) throws SuiviObsmerException {
+ public CompanyBoatInfos getCompanyBoatInfos(int boatImmatriculation, Company company) throws SuiviObsmerException {
throw new UnsupportedOperationException("Not supported yet.");
}
@@ -232,7 +232,7 @@
}
@Override
- public void createUpdateBoatInfos(BoatInfos boatInfos, ElligibleBoatsCompany elligibleBoatsCompany) throws SuiviObsmerException {
+ public void createUpdateCompanyBoatInfos(CompanyBoatInfos elligibleBoatsCompany) throws SuiviObsmerException {
throw new UnsupportedOperationException("Not supported yet.");
}
Modified: trunk/suiviobsmer-business/src/main/xmi/suiviobsmer.zargo
===================================================================
(Binary files differ)
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -92,7 +92,7 @@
assertEquals(1, companies.size());
Company company = companies.get(0);
- assertEquals("superadmin", company.getName());
+ assertEquals("ADMIN", company.getName());
List<User> users = (List<User>)company.getUser();
assertEquals(1, users.size());
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -28,7 +28,7 @@
import fr.ifremer.suiviobsmer.bean.BoatFilterImpl;
import fr.ifremer.suiviobsmer.business.SuiviObsmerRunnerTest;
import fr.ifremer.suiviobsmer.bean.BoatFilter;
-import fr.ifremer.suiviobsmer.bean.ElligibleBoatsCompany;
+import fr.ifremer.suiviobsmer.bean.CompanyBoatInfos;
import fr.ifremer.suiviobsmer.entity.Boat;
import fr.ifremer.suiviobsmer.entity.BoatInfos;
import fr.ifremer.suiviobsmer.entity.Company;
@@ -148,12 +148,12 @@
/** EXEC METHOD **/
- ElligibleBoatsCompany result = service.getElligibleBoats(174592, company);
+ CompanyBoatInfos result = service.getCompanyBoatInfos(174592, company);
assertNotNull(result);
- assertEquals(174592, result.getBoat().getImmatriculation());
+ assertEquals(174592, result.getBoatInfos().getBoat().getImmatriculation());
assertEquals("TARTANPION", result.getCompany().getName());
// only row1 is getting
- assertEquals(1, result.values().size());
+ assertEquals(1, result.getElligibleBoatsValues().size());
}
private List<SampleRow> prepareSampleRows(Company company)
@@ -217,7 +217,7 @@
// Return new BoatInfos
BoatInfos boatInfos = boat.getBoatInfos(company);
- ElligibleBoatsCompany elligibleBoats = service.getElligibleBoats(174592, company);
+ CompanyBoatInfos companyBoatInfos = service.getCompanyBoatInfos(174592, company);
/** EXEC METHOD **/
@@ -227,38 +227,38 @@
/** TEST1 **/
// ajout d'une nouvelle ligne "2010_4" non mise en elligible auparavent
- elligibleBoats.setNewElement(rows.get(1));
+ companyBoatInfos.setNewElligibleBoat(rows.get(1));
// ligne deja elligible mise en inactive
- elligibleBoats.removeElement("2009_3");
+ companyBoatInfos.removeElligibleBoat("2009_3");
- service.createUpdateBoatInfos(boatInfos, elligibleBoats);
+ service.createUpdateCompanyBoatInfos(companyBoatInfos);
- elligibleBoats = service.getElligibleBoats(174592, company);
+ companyBoatInfos = service.getCompanyBoatInfos(174592, company);
- Map<String, ElligibleBoat> results = elligibleBoats.getElligibleBoats();
+ Map<String, ElligibleBoat> results = companyBoatInfos.getElligibleBoats();
assertEquals(2, results.size());
- ElligibleBoat elligible = elligibleBoats.getElement("2009_3");
+ ElligibleBoat elligible = companyBoatInfos.getElligibleBoat("2009_3");
assertNotNull(elligible.getCompanyActive());
assertFalse(elligible.getCompanyActive());
- elligible = elligibleBoats.getElement("2010_4");
+ elligible = companyBoatInfos.getElligibleBoat("2010_4");
assertTrue(elligible.getCompanyActive());
/** TEST2 **/
// Suppression ligne lié elligible pour la société
- elligibleBoats.removeElement("2010_4");
+ companyBoatInfos.removeElligibleBoat("2010_4");
// Reactivation ligne mise en inactive juste avant
- elligibleBoats.activeElement("2009_3");
+ companyBoatInfos.activeElligibleBoat("2009_3");
- service.createUpdateBoatInfos(boatInfos, elligibleBoats);
+ service.createUpdateCompanyBoatInfos(companyBoatInfos);
- elligibleBoats = service.getElligibleBoats(174592, company);
+ companyBoatInfos = service.getCompanyBoatInfos(174592, company);
- results = elligibleBoats.getElligibleBoats();
+ results = companyBoatInfos.getElligibleBoats();
assertEquals(1, results.size());
- elligible = elligibleBoats.getElement("2009_3");
+ elligible = companyBoatInfos.getElligibleBoat("2009_3");
assertNull(elligible.getCompanyActive());
assertTrue(elligible.getGlobalActive());
Modified: trunk/suiviobsmer-ui/pom.xml
===================================================================
--- trunk/suiviobsmer-ui/pom.xml 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-ui/pom.xml 2009-12-08 18:20:44 UTC (rev 115)
@@ -71,7 +71,7 @@
<!-- *** Project Information ************************************* -->
<!-- ************************************************************* -->
- <name>SuiviObsmer Web Interface</name>
+ <name>SuiviObsmer :: Web Interface</name>
<description>Interface utilisateur du SuiviObsmer</description>
<!-- ************************************************************* -->
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-08 18:20:44 UTC (rev 115)
@@ -24,9 +24,9 @@
import fr.ifremer.suiviobsmer.SuiviObsmerException;
import fr.ifremer.suiviobsmer.bean.BoatFilterImpl;
import fr.ifremer.suiviobsmer.entity.Boat;
+import fr.ifremer.suiviobsmer.bean.BoatFilter;
+import fr.ifremer.suiviobsmer.bean.CompanyBoatInfos;
import fr.ifremer.suiviobsmer.entity.BoatInfos;
-import fr.ifremer.suiviobsmer.bean.BoatFilter;
-import fr.ifremer.suiviobsmer.bean.ElligibleBoatsCompany;
import fr.ifremer.suiviobsmer.entity.Company;
import fr.ifremer.suiviobsmer.entity.ElligibleBoat;
import fr.ifremer.suiviobsmer.entity.FishingZone;
@@ -118,8 +118,9 @@
getSampleRowSelectModel();
// Suppress persistant boat informations for selected boat
- boatInfos = null;
- elligibleSampleRows = null;
+ //boatInfos = null;
+ companyBoatInfos = null;
+ boatSelectedImmatriculation = null;
if (isSampleRowExists()) {
filtersHidden = false;
boats = null;
@@ -328,8 +329,8 @@
// Suppress persistant immatriculation for boat selected
boatSelectedImmatriculation = null;
// Suppress persistant boat informations for boat selected
- boatInfos = null;
- elligibleSampleRows = null;
+ //boatInfos = null;
+ companyBoatInfos = null;
}
/**************************** Boats List *****************************************/
@@ -338,6 +339,7 @@
private Map<Integer, Boat> boats;
@Property
+ @Persist
private Integer boatSelectedImmatriculation;
@Property
@@ -379,18 +381,19 @@
Block onActionFromShowBoatInfos(Integer boatImma) {
boatSelectedImmatriculation = boatImma;
// Suppress persistant boat informations
- boatInfos = null;
- elligibleSampleRows = null;
+ //boatInfos = null;
+ companyBoatInfos = null;
+ //companyId = null;
return boatsZone.getBody();
}
/**************************** Boat selected Infos *************************/
- @Persist
- private BoatInfos boatInfos;
+// @Persist
+// private BoatInfos boatInfos;
@Persist
- private ElligibleBoatsCompany elligibleSampleRows;
+ private CompanyBoatInfos companyBoatInfos;
@InjectComponent
private Zone boatInfosZone;
@@ -401,9 +404,6 @@
@Inject
private Block editBoatInfos;
- /**
- * Current element for professionLibelles loop
- */
@Property
private ElligibleBoat elligibleBoat;
@@ -430,30 +430,30 @@
return displayBoatInfos;
}
- public BoatInfos getBoatInfos() throws SuiviObsmerException {
- if (boatInfos == null && boatSelectedImmatriculation != null) {
- Boat selectedBoat = getBoats().get(boatSelectedImmatriculation);
+ public CompanyBoatInfos getCompanyBoatInfos() throws SuiviObsmerException {
+ if (companyBoatInfos == null && boatSelectedImmatriculation != null) {
if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [boat.getBoatInfos]");
log.info("BUSINESS REQUEST [getElligibleBoats]");
}
- boatInfos = selectedBoat.getBoatInfos(getCompany());
- elligibleSampleRows =
- serviceBoat.getElligibleBoats(boatSelectedImmatriculation, getCompany());
+ companyBoatInfos =
+ serviceBoat.getCompanyBoatInfos(boatSelectedImmatriculation, getCompany());
}
- return boatInfos;
+ return companyBoatInfos;
}
- public ElligibleBoatsCompany getElligibleSampleRows() throws SuiviObsmerException {
-// if (elligibleSampleRows == null && boatSelectedImmatriculation != null) {
-// Boat selectedBoat = getBoats().get(boatSelectedImmatriculation);
-// if (log.isInfoEnabled()) {
-//
-// }
-// }
- return elligibleSampleRows;
+ public String getBoatName() throws SuiviObsmerException {
+ Boat boat = null;
+ if (getBoatInfos() != null) {
+ boat = getBoatInfos().getBoat();
+ }
+ boat = getBoats().get(boatSelectedImmatriculation);
+ return boat.getName();
}
+ public BoatInfos getBoatInfos() throws SuiviObsmerException {
+ return getCompanyBoatInfos().getBoatInfos();
+ }
+
public String getElligibleRowInfos() {
return BusinessUtils.getTooltipSampleRow(elligibleBoat.getSampleRow());
}
@@ -487,7 +487,10 @@
return companySelectModel;
}
- Block onSuccessFromCompanySelectForm() {
+ Block onSuccessFromCompanySelectForm() throws SuiviObsmerException {
+ companyBoatInfos = null;
+ // boatSelectedImmatriculation is getting from Persist("flash")
+ getCompanyBoatInfos();
return boatInfosZone.getBody();
}
@@ -502,10 +505,11 @@
log.debug("Change property");
}
}*/
+
// Set boatSelectedImmatriculation for boatInfos to reinitialize it (next getBoatInfos() call)
- boatSelectedImmatriculation = getBoatInfos().getBoat().getImmatriculation();
+ //boatSelectedImmatriculation = getBoatInfos().getBoat().getImmatriculation();
// Suppress boatInfos to get the one from serviceBoat (not updated yet)
- boatInfos = null;
+ companyBoatInfos = null;
return boatInfosZone.getBody();
}
@@ -514,24 +518,24 @@
boatInfosEditable = true;
if (!StringUtils.isEmpty(boatInfosSampleRowCode)) {
SampleRow row = getSampleRowSelectModel().findObject(boatInfosSampleRowCode);
- elligibleSampleRows.setNewElement(row);
+ companyBoatInfos.setNewElligibleBoat(row);
}
}
void onSelectedFromRemoveBoatInfosSampleRow(String sampleRowCode) throws SuiviObsmerException {
boatInfosEditable = true;
- elligibleSampleRows.removeElement(sampleRowCode);
+ companyBoatInfos.removeElligibleBoat(sampleRowCode);
}
void onSelectedFromActiveBoatInfosSampleRow(String sampleRowCode) throws SuiviObsmerException {
boatInfosEditable = true;
- elligibleSampleRows.activeElement(sampleRowCode);
+ companyBoatInfos.activeElligibleBoat(sampleRowCode);
}
Block onSuccessFromBoatInfosForm() throws SuiviObsmerException {
if (!boatInfosEditable) {
// Save data
- serviceBoat.createUpdateBoatInfos(boatInfos, elligibleSampleRows);
+ serviceBoat.createUpdateCompanyBoatInfos(companyBoatInfos);
}
return boatInfosZone.getBody();
}
Modified: trunk/suiviobsmer-ui/src/main/resources/log4j.properties
===================================================================
--- trunk/suiviobsmer-ui/src/main/resources/log4j.properties 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-ui/src/main/resources/log4j.properties 2009-12-08 18:20:44 UTC (rev 115)
@@ -1,44 +1,24 @@
# Default to info level output; this is very handy if you eventually use Hibernate as well.
-log4j.rootCategory=warn, A1
+log4j.rootCategory=WARN, console, globalfile
-# A1 is set to be a ConsoleAppender.
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+#log4j.appender.console.layout.ConversionPattern=%d [%p] %c{2} %m%n
+log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss} %5p (%F:%L) %m%n
+log4j.appender.console.Threshold=INFO
-# A1 uses PatternLayout.
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%d [%p] %c{2} %m%n
+log4j.appender.globalfile=org.apache.log4j.RollingFileAppender
+log4j.appender.globalfile.File=${user.home}/.suiviobsmer/log/suiviobsmer.log
+log4j.appender.globalfile.MaxFileSize=500KB
+log4j.appender.globalfile.Append=true
+log4j.appender.globalfile.MaxBackupIndex=10
+log4j.appender.globalfile.Threshold=DEBUG
+log4j.appender.globalfile.layout=org.apache.log4j.PatternLayout
+log4j.appender.globalfile.layout.ConversionPattern=%d{yyyy/MM/dd hh:mm:ss} %5p (%F:%L) %m%n
-# Service category names are the name of the defining module class
-# and then the service id.
-log4j.category.org.chorem.test.services.AppModule.TimingFilter=info
+# For Tapestry
+log4j.logger.org.apache.tapestry5.services.TapestryModule.ComponentClassResolver=INFO
+log4j.logger.org.apache.tapestry5.TapestryFilter=INFO
-# Outputs a list of pages, components and mixins at startup.
-log4j.category.org.apache.tapestry5.services.TapestryModule.ComponentClassResolver=info
-
-# Outputs startup statistics; elapsed time to setup and initialize the registry, and a list of
-# available services.
-log4j.category.org.apache.tapestry5.TapestryFilter=info
-
-
-# Turning on debug mode for a page's or component's transformer logger
-# will show all of the code changes that occur when the
-# class is loaded.
-
-# log4j.category.tapestry.transformer.org.chorem.test.pages.Index=debug
-
-# Turning on debug mode for a component's events logger will show all the events triggered on the
-# component, and which component methods are invoked as a result.
-
-# log4j.category.tapestry.events.org.chorem.test.pages.Index=debug
-
-# Turning on trace mode for a page's render provides extended information about every step
-# in rendering (this is not generally helpful). Turning on debug mode will add a one-line
-# summary that includes the elapsed render time.
-
-# log4j.category.tapestry.render.org.chorem.test.pages.Index=debug
-
-# Turn on some verbose debugging about everything in the application. This is nice initially,
-# while getting everything set up. You'll probably want to remove this once you are
-# up and running, replacing it with more selecting debugging output.
log4j.logger.fr.ifremer.suiviobsmer=DEBUG
log4j.logger.org.nuiton.util=INFO
Modified: trunk/suiviobsmer-ui/src/main/webapp/Boats.tml
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/Boats.tml 2009-12-08 13:45:12 UTC (rev 114)
+++ trunk/suiviobsmer-ui/src/main/webapp/Boats.tml 2009-12-08 18:20:44 UTC (rev 115)
@@ -74,17 +74,19 @@
<div t:type="zone" t:id="boatsZone" t:update="show" class="clearfix">
- <!-- Liste des navires -->
+ <!-- BOATLIST:: -->
<div class="fleft" id="so-boats-list">
<h1>Liste des navires</h1>
<div t:type="grid" t:source="boats.values()" t:row="boat"
t:include="name, immatriculation, districtCode, boatLength, buildYear" t:rowClass="prop:rowClass" t:rowsPerPage="20">
<p:nameCell>
- <t:if t:test="sampleRowExists">
- <a t:type="actionlink" t:id="addNewContactFromBoat" t:context="boat.immatriculation">
- <img src="${asset:context:}/img/contact-22px.png" title="Créer un nouveau contact pour ce navire et la ligne sélectionnée dans les filtres"/>
- </a>
- </t:if>
+ <t:unless t:test="user.admin">
+ <t:if t:test="sampleRowExists">
+ <a t:type="actionlink" t:id="addNewContactFromBoat" t:context="boat.immatriculation">
+ <img src="${asset:context:}/img/contact-22px.png" title="Créer un nouveau contact pour ce navire et la ligne sélectionnée dans les filtres"/>
+ </a>
+ </t:if>
+ </t:unless>
<a t:type="actionlink" t:id="showBoatInfos" t:context="boat.immatriculation" t:zone="boatsZone">${boat.name}</a>
</p:nameCell>
<p:boatLengthCell>
@@ -92,19 +94,44 @@
</p:boatLengthCell>
</div>
</div>
- <!-- Informations du navire sélectionné -->
+
+
+
+ <!-- BOATINFOS:: Informations du navire sélectionné -->
<t:if t:test="boatSelectedImmatriculation">
- <t:zone t:id="boatInfosZone" t:update="show" class="fleft" id="so-boats-boat-infos">
- <t:delegate to="activeBoatInfosBlock" />
- <fieldset id="so-boats-boat-infos-calendar">
- <legend>Calendrier d'activité 2009</legend>
- <p><img src="${asset:context:}/img/calendar.png" title="Calendrier d'activité"/></p>
- </fieldset>
+ <t:zone t:id="boatInfosZone" t:update="show" class="fleft" id="so-boats-boat-infos">
+ <t:if t:test="user.admin">
+ <!-- For admin -->
+ <h2>Informations sur <!--${companyBoatInfos.boatInfos.boat.name}-->${boatName}</h2>
+ <form t:type="form" t:id="companySelectForm" t:zone="so-boats-boat-infos">
+ <t:label t:for="company" /> :
+ <input t:type="select" t:id="company" t:model="companySelectModel" t:value="companyId" />
+ <input t:type="submit" class="ico search" t:id="searchCompany" value="Search" />
+ </form>
+ <t:if t:test="companyId">
+ <t:delegate to="activeBoatInfosBlock" />
+ <fieldset id="so-boats-boat-infos-calendar">
+ <legend>Calendrier d'activité 2009</legend>
+ <p><img src="${asset:context:}/img/calendar.png" title="Calendrier d'activité"/></p>
+ </fieldset>
+ </t:if>
+
+ <!-- For user -->
+ <p:else>
+ <t:delegate to="activeBoatInfosBlock" />
+ <fieldset id="so-boats-boat-infos-calendar">
+ <legend>Calendrier d'activité 2009</legend>
+ <p><img src="${asset:context:}/img/calendar.png" title="Calendrier d'activité"/></p>
+ </fieldset>
+ </p:else>
+ </t:if>
</t:zone>
- <!-- Mode : affichage -->
+
+
+ <!-- BOATINFOS:: DISPLAY MODE -->
<t:block t:id="displayBoatInfos">
- <!-- En-tête -->
- <t:if t:test="user.admin">
+
+ <!--t:if t:test="user.admin">
<h2>Informations sur ${boatInfos.boat.name}</h2>
<form t:type="form" t:id="companySelectForm" t:zone="so-boats-boat-infos">
<t:label t:for="company" /> :
@@ -112,21 +139,25 @@
t:value="companyId" />
<input t:type="submit" class="ico search" t:id="searchCompany" value="Search" />
</form>
- <p:else>
- <div class="clearfix">
- <div class="fleft">
- <h2>Informations sur ${boatInfos.boat.name}</h2>
- </div>
- <!-- En-tête - actions -->
- <div class="fright">
- <a t:type="actionlink" t:id="editBoatInfos" t:zone="so-boats-boat-infos">
- <img src="${asset:context:}/img/edit.png" title="Editer les informations"/>
- </a>
- </div>
+ <p:else-->
+
+ <!-- HEADER (User only) -->
+ <t:unless t:test="user.admin">
+ <div class="clearfix">
+ <div class="fleft">
+ <h2>Informations sur ${boatInfos.boat.name}</h2>
</div>
- </p:else>
- </t:if>
- <!-- Corps - contact -->
+ <!-- En-tête - actions -->
+ <div class="fright">
+ <a t:type="actionlink" t:id="editBoatInfos" t:zone="so-boats-boat-infos">
+ <img src="${asset:context:}/img/edit.png" title="Editer les informations"/>
+ </a>
+ </div>
+ </div>
+ <!--/p:else-->
+ </t:unless>
+
+ <!-- BODY - armateur, contact -->
<fieldset id="so-boats-boat-infos-shipowner">
<legend>Armateur</legend>
<div t:type="beandisplay" t:id="boatInfosShipOwner" t:object="boatInfos.boat.shipOwner"
@@ -137,7 +168,8 @@
<div t:type="beandisplay" t:id="boatInfosContact" t:object="boatInfos"
t:include="contactFirstName, contactLastName, contactPhoneNumber, contactEmail" />
</fieldset>
- <!-- Corps - embarquement -->
+
+ <!-- BODY - autres -->
<fieldset id="so-boats-boat-infos-boarding">
<legend>Autres informations sur le navire</legend>
<div>
@@ -151,16 +183,18 @@
<p class="sep"> </p>
<label>Ligne(s) du plan :</label>
<ul>
- <li t:type="loop" t:source="elligibleSampleRows.values()" t:value="elligibleBoat">
+ <li t:type="loop" t:source="companyBoatInfos.elligibleBoatsValues" t:value="elligibleBoat">
<span t:type="ck/Tooltip" title="Infos" t:value="prop:elligibleRowInfos" t:effect="appear">
<span class="${elligibleRowClass}">
${elligibleBoat.sampleRow.code}
</span>
</span>
- <t:unless t:test="elligibleBoatCompanyActiveFalse">
- <a t:type="actionlink" t:id="addNewContactFromSampleRow" t:context="elligibleBoat.sampleRow.code">
- <img src="${asset:context:}/img/contact-22px.png" title="Créer un nouveau contact pour ce navire et cette ligne du plan"/>
- </a>
+ <t:unless t:test="user.admin">
+ <t:unless t:test="elligibleBoatCompanyActiveFalse">
+ <a t:type="actionlink" t:id="addNewContactFromSampleRow" t:context="elligibleBoat.sampleRow.code">
+ <img src="${asset:context:}/img/contact-22px.png" title="Créer un nouveau contact pour ce navire et cette ligne du plan"/>
+ </a>
+ </t:unless>
</t:unless>
</li>
</ul>
@@ -172,10 +206,14 @@
</div>
</fieldset>
</t:block>
- <!-- Mode : édition -->
+
+
+
+ <!-- BOATINFOS:: EDITION MODE (User only) -->
<t:block t:id="editBoatInfos">
<form t:type="form" t:id="boatInfosForm" t:zone="so-boats-boat-infos">
<t:errors />
+
<!-- En-tête -->
<div class="clearfix">
<div class="fleft">
@@ -190,6 +228,7 @@
title="Enregistrer les modifications" />
</div>
</div>
+
<!-- Corps - contact -->
<!--fieldset id="so-boats-boat-infos-shipowner">
<legend>Armateur</legend>
@@ -203,7 +242,8 @@
t:include="contactFirstName, contactLastName, contactPhoneNumber, contactEmail" />
</div>
</fieldset>
- <!-- Corps - embarquement -->
+
+ <!-- Corps - autres -->
<fieldset id="so-boats-boat-infos-boarding">
<legend>Autres informations sur le navire</legend>
<div>
@@ -217,7 +257,7 @@
<p class="sep"> </p>
<label>Ligne(s) du plan :</label>
<ul>
- <li t:type="loop" t:source="elligibleSampleRows.values()" volatile="true" t:value="elligibleBoat">
+ <li t:type="loop" t:source="companyBoatInfos.elligibleBoatsValues" volatile="true" t:value="elligibleBoat">
<span t:type="ck/Tooltip" title="Infos" t:value="prop:elligibleRowInfos" t:effect="appear">
<span class="${elligibleRowClass}">
${elligibleBoat.sampleRow.code}
1
0
[Suiviobsmer-commits] r114 - in trunk: suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock suiviobsmer-business/src/main/xmi suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/mixins suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages suiviobsmer-ui/src/main/webapp suiviobsmer-ui/src/main/webapp/css suiviobsmer-ui/src/main/webapp/js
by fdesbois@users.labs.libre-entreprise.org 08 Dec '09
by fdesbois@users.labs.libre-entreprise.org 08 Dec '09
08 Dec '09
Author: fdesbois
Date: 2009-12-08 13:45:12 +0000 (Tue, 08 Dec 2009)
New Revision: 114
Added:
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/mixins/Confirm.java
trunk/suiviobsmer-ui/src/main/webapp/js/dialog.js
Modified:
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java
trunk/suiviobsmer-business/src/main/xmi/suiviobsmer.zargo
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java
trunk/suiviobsmer-ui/src/main/webapp/Contacts.tml
trunk/suiviobsmer-ui/src/main/webapp/css/common.css
Log:
Evol #1954 : Contact row can be suppress if not validated yet
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-08 13:08:53 UTC (rev 113)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-08 13:45:12 UTC (rev 114)
@@ -115,7 +115,7 @@
}
@Override
- public void createUpdateContact(Contact contact) throws SuiviObsmerException {
+ public void saveContact(Contact contact, boolean delete) throws SuiviObsmerException {
TopiaContext transaction = null;
try {
transaction = rootContext.beginTransaction();
@@ -123,13 +123,17 @@
ContactDAO dao = SuiviObsmerModelDAOHelper.getContactDAO(transaction);
SuiviObsmerUtils.prepareTopiaId(Contact.class, contact);
- dao.update(contact);
+ if (delete) {
+ dao.delete(contact);
+ } else {
+ dao.update(contact);
+ }
transaction.commitTransaction();
transaction.closeContext();
} catch (Exception eee) {
SuiviObsmerUtils.serviceException(transaction,
- "Impossible de filtrer la liste des contacts", eee);
+ "Impossible de sauvegarder le contact", eee);
}
}
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java 2009-12-08 13:08:53 UTC (rev 113)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java 2009-12-08 13:45:12 UTC (rev 114)
@@ -255,7 +255,7 @@
}
@Override
- public void createUpdateContact(Contact contact) throws SuiviObsmerException {
+ public void saveContact(Contact contact, boolean delete) throws SuiviObsmerException {
throw new UnsupportedOperationException("Not supported yet.");
}
Modified: trunk/suiviobsmer-business/src/main/xmi/suiviobsmer.zargo
===================================================================
(Binary files differ)
Added: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/mixins/Confirm.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/mixins/Confirm.java (rev 0)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/mixins/Confirm.java 2009-12-08 13:45:12 UTC (rev 114)
@@ -0,0 +1,65 @@
+/**
+ * *##% Ca$h Web Interface
+ * Copyright (C) 2009 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ */
+
+package fr.ifremer.suiviobsmer.ui.mixins;
+
+import org.apache.tapestry5.BindingConstants;
+import org.apache.tapestry5.ClientElement;
+import org.apache.tapestry5.RenderSupport;
+import org.apache.tapestry5.annotations.AfterRender;
+import org.apache.tapestry5.annotations.IncludeJavaScriptLibrary;
+import org.apache.tapestry5.annotations.InjectContainer;
+import org.apache.tapestry5.annotations.Parameter;
+import org.apache.tapestry5.ioc.annotations.Inject;
+
+/**
+ * Confirm.java
+ *
+ * A simple mixin for attaching a javascript confirmation box to the onclick
+ * event of any component that implements ClientElement.
+ *
+ * @author fdesbois
+ * @version $Revision: 3 $
+ *
+ * Last update: $Date: 2009-07-31 16:54:15 +0200 (ven. 31 juil. 2009) $
+ * by : $Author: fdesbois $
+ */
+ at IncludeJavaScriptLibrary("context:js/dialog.js")
+public class Confirm {
+
+ @Parameter(value = "Are you sure?", defaultPrefix = BindingConstants.LITERAL)
+ private String message;
+
+ @Inject
+ private RenderSupport renderSupport;
+
+ @InjectContainer
+ private ClientElement element;
+
+ @Parameter
+ private boolean wDisabled;
+
+ @AfterRender
+ public void afterRender() {
+ if (!wDisabled) {
+ renderSupport.addScript(String.format("new Confirm('%s', '%s');",element.getClientId(), message));
+ }
+ }
+
+}
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java 2009-12-08 13:08:53 UTC (rev 113)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java 2009-12-08 13:45:12 UTC (rev 114)
@@ -108,13 +108,8 @@
void setupRender() throws SuiviObsmerException {
contacts = null;
getContacts();
- //editableContactId = null;
}
-// public User getUser() {
-// return layout.getCurrentUser();
-// }
-
void onActivate(EventContext ec) {
if (ec.getCount() > 0) {
boatId = ec.get(String.class, 0);
@@ -130,15 +125,6 @@
/**************************** NEW CONTACT *********************************/
-// @Inject
-// private PropertyAccess propertyAccess;
-//
-// @Persist
-// private GenericSelectModel<SampleRow> sampleRowSelectModel;
-
-// @Persist
-// private GenericSelectModel<Boat> boatSelectModel;
-
private Contact newContact;
private Boat boat;
@@ -159,37 +145,9 @@
return sampleRow;
}
-// public GenericSelectModel<SampleRow> getSampleRowSelectModel() throws SuiviObsmerException {
-// if (sampleRowSelectModel == null) {
-// if (log.isInfoEnabled()) {
-// log.info("BUSINESS REQUEST [getSampleRowsForUser]");
-// }
-// List<SampleRow> sampleRows = serviceSampling.getSampleRowsForUser(getUser());
-// sampleRowSelectModel = new GenericSelectModel<SampleRow>(sampleRows, SampleRow.class,
-// "code", "topiaId", propertyAccess);
-// }
-// return sampleRowSelectModel;
-// }
-
-
-// public GenericSelectModel<Boat> getBoatSelectModel() throws SuiviObsmerException {
-// if (boatSelectModel == null) {
-// if (log.isInfoEnabled()) {
-// log.info("BUSINESS REQUEST [getBoatsForUser]");
-// }
-// List<Boat> boats = serviceBoat.getBoatsForUser(getUser());
-// boatSelectModel = new GenericSelectModel<Boat>(boats, Boat.class,
-// "name", "topiaId", propertyAccess);
-// }
-// return boatSelectModel;
-// }
-
public Contact getNewContact() throws SuiviObsmerException {
if (newContact == null) {
- //Boat boat = getBoatSelectModel().findObject(boatId);
- //SampleRow sampleRow = getSampleRowSelectModel().findObject(sampleRowId);
newContact = serviceContact.getNewContact(user, getSampleRow(), getBoat());
- //editableContactId = "";
}
return newContact;
}
@@ -283,6 +241,9 @@
} else if (BooleanUtils.isFalse(contact.getValidationProgram()) ||
(!user.getAdmin() && BooleanUtils.isFalse(contact.getValidationCompany()))) {
return "refused";
+ } else if (BooleanUtils.isTrue(contact.getValidationProgram()) ||
+ (!user.getAdmin() && BooleanUtils.isTrue(contact.getValidationCompany()))) {
+ return "accepted";
}
return even ? "even" : "odd";
}
@@ -303,14 +264,14 @@
private boolean contactEdited;
+ private boolean contactDeleted;
+
public boolean hasActions() {
// pour un non admin : affichage si aucune des deux validations ont été effectuées
if (!user.getAdmin()) {
return contact.getValidationCompany() == null &&
contact.getValidationProgram() == null;
}
- // OLD pour un admin : affichage si la compagnie n'a pas encore validé ou l'a fait positivement
- // isNotFalse
// pour un admin : affichage uniquement si la compagnie a validé la ligne
return BooleanUtils.isTrue(contact.getValidationCompany());
}
@@ -347,17 +308,21 @@
void onSelectedFromEditContact(String contactId) {
editableContactId = contactId;
- contactEdited = true;
contactSelectedId = contactId;
+ contactEdited = true;
}
+ void onSelectedFromDeleteContact(String contactId) throws SuiviObsmerException {
+ contact = getContacts().get(contactId);
+ contactDeleted = true;
+ }
+
void onSelectedFromSaveContact(String contactId) throws SuiviObsmerException {
contact = getContacts().get(contactId);
}
void onSelectedFromCancelEditContact() throws SuiviObsmerException {
contactEdited = true;
- //editableContactId = null;
}
/**************************** CONTACT SAVE ********************************/
@@ -371,19 +336,17 @@
if (log.isDebugEnabled()) {
log.debug("Contact save : " + contact);
}
- serviceContact.createUpdateContact(contact);
- //layout.getFeedBack().addInfo("Contact sauvegardé !");
+ serviceContact.saveContact(contact, contactDeleted);
contactSelectedId = contact.getTopiaId();
} catch (SuiviObsmerException eee) {
layout.getFeedBack().addError(eee.getMessage());
}
- //editableContactId = null;
}
}
public void createNewContact(Boat boat, SampleRow sampleRow) throws SuiviObsmerException {
contact = serviceContact.getNewContact(user, sampleRow, boat);
- serviceContact.createUpdateContact(contact);
+ serviceContact.saveContact(contact, Boolean.FALSE);
contactSelectedId = contact.getTopiaId();
}
}
Modified: trunk/suiviobsmer-ui/src/main/webapp/Contacts.tml
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/Contacts.tml 2009-12-08 13:08:53 UTC (rev 113)
+++ trunk/suiviobsmer-ui/src/main/webapp/Contacts.tml 2009-12-08 13:45:12 UTC (rev 114)
@@ -94,6 +94,9 @@
<p:else>
<input t:type="submitContext" t:id="editContact" class="ico edit" value="Edit"
t:context="contact.topiaId" title="Modifier le contact" />
+ <input t:type="submitContext" t:id="deleteContact" class="ico22px delete" value="Delete"
+ t:context="contact.topiaId" title="Supprimer le contact"
+ t:mixins="confirm" t:message="Etes-vous sûr de vouloir supprimer définitivement ce contact ?" />
</p:else>
</t:if>
</t:unless>
Modified: trunk/suiviobsmer-ui/src/main/webapp/css/common.css
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/css/common.css 2009-12-08 13:08:53 UTC (rev 113)
+++ trunk/suiviobsmer-ui/src/main/webapp/css/common.css 2009-12-08 13:45:12 UTC (rev 114)
@@ -150,6 +150,10 @@
background: url(../img/edit.png) no-repeat center center;
}
+input.delete {
+ background: url(../img/delete2.png) no-repeat center center;
+}
+
input.remove {
width: 22px;
height: 22px;
@@ -237,6 +241,9 @@
background-color: #ffaaaa;
}
+table.t-data-grid tbody tr.accepted {
+ background-color: #8dff98;
+}
/** FILTERS COMPONENT **/
div.so-filters {
width: 60%;
Added: trunk/suiviobsmer-ui/src/main/webapp/js/dialog.js
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/js/dialog.js (rev 0)
+++ trunk/suiviobsmer-ui/src/main/webapp/js/dialog.js 2009-12-08 13:45:12 UTC (rev 114)
@@ -0,0 +1,19 @@
+/**
+ * Dialogue de confirmation
+ */
+var Confirm = Class.create({
+ /**
+ * element : Element DOM depuis lequel le dialogue de confirmation va s'ouvrir
+ * message : Message à afficher dans la boîte de dialogue
+ */
+ initialize: function(element, message) {
+ this.message = message;
+ Event.observe($(element), 'click', this.doConfirm.bindAsEventListener(this));
+ },
+ doConfirm: function(e) {
+ if(! confirm(this.message)) {
+ //Tapestry.debug('STOP ' + e);
+ Event.stop(e);
+ }
+ }
+});
1
0
[Suiviobsmer-commits] r113 - in trunk: . suiviobsmer-business suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl suiviobsmer-business/src/test/resources/import suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages suiviobsmer-ui/src/main/resources/fr/ifremer/suiviobsmer/ui/pages suiviobsmer-ui/src/main/webapp suiviobsmer-ui/src/main/webapp/css
by fdesbois@users.labs.libre-entreprise.org 08 Dec '09
by fdesbois@users.labs.libre-entreprise.org 08 Dec '09
08 Dec '09
Author: fdesbois
Date: 2009-12-08 13:08:53 +0000 (Tue, 08 Dec 2009)
New Revision: 113
Added:
trunk/suiviobsmer-business/changelog.txt
Modified:
trunk/README.txt
trunk/changelog.txt
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java
trunk/suiviobsmer-business/src/test/resources/import/echantillonnage.csv
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
trunk/suiviobsmer-ui/src/main/resources/fr/ifremer/suiviobsmer/ui/pages/Contacts.properties
trunk/suiviobsmer-ui/src/main/webapp/Boats.tml
trunk/suiviobsmer-ui/src/main/webapp/css/contacts.css
Log:
Minor corrections (see changelog)
Modified: trunk/README.txt
===================================================================
--- trunk/README.txt 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/README.txt 2009-12-08 13:08:53 UTC (rev 113)
@@ -7,5 +7,9 @@
------------------
login = admin
-passwor = password
+password = password
+Format des fichiers en CSV
+--------------------------
+
+Encodage UTF-8 obligatoire. Préconisation d'OpenOffice pour la sauvegarde des fichiers.
Modified: trunk/changelog.txt
===================================================================
--- trunk/changelog.txt 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/changelog.txt 2009-12-08 13:08:53 UTC (rev 113)
@@ -1 +1,6 @@
+0.0.1-alpha-2
+ - [08-12-2009] [desbois] ANO SamplingPlan : Caractère de fin manquant sur l'affichage des zones de pêche
+ - [08-12-2009] [desbois] EVO Contacts : Renommage colonne "Mammifères" en "Observations et captures accidentelles"
+ - [08-12-2009] [desbois] EVO BoatInfos : Renomage texte "... embarquements dont X dans votre société..." par "... embarquements dont X pour votre société..."
+ - [08-12-2009] [desbois] ANO BoatInfos : Lien présent pour la création d'un contact lorsque la ligne du plan est barré
Added: trunk/suiviobsmer-business/changelog.txt
===================================================================
--- trunk/suiviobsmer-business/changelog.txt (rev 0)
+++ trunk/suiviobsmer-business/changelog.txt 2009-12-08 13:08:53 UTC (rev 113)
@@ -0,0 +1 @@
+
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java 2009-12-08 13:08:53 UTC (rev 113)
@@ -327,6 +327,8 @@
public int[] importSamplingPlanCsv(InputStream input) throws SuiviObsmerException {
TopiaContext transaction = null;
int[] result = new int[3];
+ int currRow = 0;
+ SampleRow row = null;
try {
transaction = rootContext.beginTransaction();
@@ -337,7 +339,6 @@
int nbImported = 0;
int nbRefused = 0;
- int currRow = 0;
while(reader.readRecord()) {
currRow++;
@@ -356,7 +357,7 @@
int[] programEnd = getMonthAndYear(reader.get("PROGRAMME_FIN").trim());
String districts = reader.get("PECHE_DIVISION");
- SampleRow row = dao.findByCode(code);
+ row = dao.findByCode(code);
// Refuse existing SampleRow
if (row != null) {
if (log.isInfoEnabled()) {
@@ -403,10 +404,18 @@
result[0] = nbImported;
result[1] = nbRefused;
+ } catch (NumberFormatException eee) {
+ SuiviObsmerUtils.serviceException(transaction,
+ "Erreur à la ligne " + currRow + " [CODE = " + row.getCode() + "] : " +
+ "Le format de la durée moyenne des marées est incorrect, il doit être de la forme : 1.9 ", eee);
+ } catch (ParseException eee) {
+ SuiviObsmerUtils.serviceException(transaction,
+ "Erreur à la ligne " + currRow + " [CODE = " + row.getCode() + "] : " +
+ "Le format des dates est incorrect, il doit être de la forme : MM/AAAA", eee);
} catch (Exception eee) {
SuiviObsmerUtils.serviceException(transaction,
"Problème d'import du fichier CSV. Voir documentation pour plus de détails sur " +
- "les en-têtes autorisés.",
+ "les en-têtes autorisés et le format des données.",
eee);
}
return result;
@@ -535,7 +544,9 @@
String fishingZoneInfos = reader.get("PECHE_AUTRE").trim();
int nbObservants = Integer.parseInt(reader.get("PLAN_NB_OBSERV").trim());
- double averageTideTime = Double.parseDouble(reader.get("PLAN_DUREE_MOY").trim());
+ String averageStr = reader.get("PLAN_DUREE_MOY").trim();
+ averageStr = averageStr.replaceAll(",", ".");
+ double averageTideTime = Double.parseDouble(averageStr);
sampleRow.setFishingZonesInfos(fishingZoneInfos);
sampleRow.setNbObservants(nbObservants);
@@ -550,7 +561,7 @@
int lastMonthColumnId = firstMonthColumnId + nbTotalColumns - nbFixedColumns;
for (int i = firstMonthColumnId; i < lastMonthColumnId; i++) {
-
+
int[] monthAndYear = getMonthAndYear(reader.getHeader(i));
Integer monthValue = StringUtils.isEmpty(reader.get(i)) ? null : Integer.parseInt(reader.get(i));
Modified: trunk/suiviobsmer-business/src/test/resources/import/echantillonnage.csv
===================================================================
--- trunk/suiviobsmer-business/src/test/resources/import/echantillonnage.csv 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/suiviobsmer-business/src/test/resources/import/echantillonnage.csv 2009-12-08 13:08:53 UTC (rev 113)
@@ -1,5 +1,5 @@
"PLAN_CODE","SOCIETE_NOM","PECHE_DIVISION","PECHE_AUTRE","METIER_CODE_DCF5","METIER_MAILLAGE","METIER_TAILLE","METIER_AUTRE","METIER_LIBELLE","METIER_ESPECES","PROGRAMME_CODE","PROGRAMME_DEBUT","PROGRAMME_FIN",12/2009,01/2010,02/2010,03/2010,04/2010,05/2010,06/2010,07/2010,08/2010,09/2010,10/2010,11/2010,12/2010,01/2011,02/2011,03/2011,"PLAN_DUREE_MOY","PLAN_NB_OBSERV","PLAN_COMMENT"
-"2010_1",TARTANPION,"IId / I",,"DB_MOL",,,,,,"MA-2009",03/2010,01/2011,,,,0,0,0,0,0,0,0,2,0,0,4,,,"1.5",1,
+"2010_1",TARTANPION,"IId / I",,"DB_MOL",,,,,,"MA-2009",03/2010,01/2011,,,,0,0,0,0,0,0,0,2,0,0,4,,,"1,5",1,
"2010_2",,"IId",,"GTR_DEAEF et ANS_DEF",,,,"Fileyage","poissons tubes","MANY",01/2008,12/2008,,20,0,0,21,0,0,21,0,0,21,0,0,,,,1,1,
"2010_3",,"IId / IV",,"ORM",,,,"balottage en plein air","divers choses visqueuses","MA-2009",03/2010,01/2011,,,,0,22,0,0,25,0,0,21,0,0,25,,,2,1,
"2009_1",,"IId / IV",,"GTR_DEF et GNS_DEF","110-119",,,"Fileyage à poissons tubes","poissons plats","PPP2010",12/2009,10/2010,0,1,1,1,2,1,1,1,1,1,2,,,,,,1,1,
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-08 13:08:53 UTC (rev 113)
@@ -18,543 +18,544 @@
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* ##%*
*/
-
-package fr.ifremer.suiviobsmer.ui.pages;
-
-import fr.ifremer.suiviobsmer.SuiviObsmerException;
-import fr.ifremer.suiviobsmer.bean.BoatFilterImpl;
-import fr.ifremer.suiviobsmer.entity.Boat;
-import fr.ifremer.suiviobsmer.entity.BoatInfos;
-import fr.ifremer.suiviobsmer.bean.BoatFilter;
-import fr.ifremer.suiviobsmer.bean.ElligibleBoatsCompany;
-import fr.ifremer.suiviobsmer.entity.Company;
-import fr.ifremer.suiviobsmer.entity.ElligibleBoat;
-import fr.ifremer.suiviobsmer.entity.FishingZone;
-import fr.ifremer.suiviobsmer.entity.Profession;
-import fr.ifremer.suiviobsmer.entity.SampleRow;
-import fr.ifremer.suiviobsmer.entity.User;
-import fr.ifremer.suiviobsmer.services.ServiceBoat;
-import fr.ifremer.suiviobsmer.services.ServiceReferential;
-import fr.ifremer.suiviobsmer.services.ServiceSampling;
-import fr.ifremer.suiviobsmer.services.ServiceUser;
-import fr.ifremer.suiviobsmer.ui.base.BusinessUtils;
-import fr.ifremer.suiviobsmer.ui.base.GenericSelectModel;
-import fr.ifremer.suiviobsmer.ui.base.SuiviObsmerPage;
-import fr.ifremer.suiviobsmer.ui.components.Layout;
-import java.text.DateFormat;
-import java.text.SimpleDateFormat;
-import java.util.List;
-import java.util.Map;
-import org.apache.commons.lang.BooleanUtils;
-import org.apache.commons.lang.StringUtils;
-import org.apache.tapestry5.Block;
-import org.apache.tapestry5.EventContext;
-import org.apache.tapestry5.annotations.IncludeStylesheet;
-import org.apache.tapestry5.annotations.InjectComponent;
-import org.apache.tapestry5.annotations.InjectPage;
-import org.apache.tapestry5.annotations.Log;
-import org.apache.tapestry5.annotations.Persist;
-import org.apache.tapestry5.annotations.Property;
-import org.apache.tapestry5.annotations.SessionState;
-import org.apache.tapestry5.corelib.components.Form;
-import org.apache.tapestry5.corelib.components.Zone;
-import org.apache.tapestry5.ioc.annotations.Inject;
-import org.apache.tapestry5.ioc.services.PropertyAccess;
-import org.apache.tapestry5.upload.services.UploadedFile;
-import org.slf4j.Logger;
-
-/**
- * Boats
- *
- * Created: 9 nov. 2009
- *
- * @author fdesbois
- * @version $Revision$
- *
- * Mise a jour: $Date$
- * par : $Author$
- */
- at IncludeStylesheet("context:css/boats.css")
-public class Boats implements SuiviObsmerPage {
-
- @Override
- public boolean isOnlyForAdmin() {
- return false;
- }
-
- @Inject
- private Logger log;
-
- @InjectComponent
- private Layout layout;
-
- @SessionState
- @Property
- private User user;
-
- @Inject
- private ServiceReferential serviceReferential;
-
- @Inject
- private ServiceSampling serviceSampling;
-
- @Inject
- private ServiceBoat serviceBoat;
-
- @Inject
- private PropertyAccess propertyAccess;
-
- @Property
- private String sampleRowCode;
-
- void setupRender() throws SuiviObsmerException {
- sampleRow = null;
- getSampleRow();
- professionSelectModel = null;
- getProfessionSelectModel();
- fishingZoneSelectModel = null;
- getFishingZoneSelectModel();
- sampleRowSelectModel = null;
- getSampleRowSelectModel();
-
- // Suppress persistant boat informations for selected boat
- boatInfos = null;
- elligibleSampleRows = null;
- if (isSampleRowExists()) {
- filtersHidden = false;
- boats = null;
- professionId = getSampleRow().getProfession().getTopiaId();
- fishingZoneId = getSampleRow().getFirstFishingZone().getTopiaId();
- getBoatFilter().setSampleRowCode(getSampleRow().getCode());
- }
- }
-
-// public User getUser() {
-// return layout.getCurrentUser();
-// }
-
- void onActivate(EventContext ec) {
- if (ec.getCount() > 0) {
- sampleRowCode = ec.get(String.class, 0);
- }
- }
-
- String onPassivate() {
- return sampleRowCode;
- }
-
- /**************************** Import Form ******************************************/
-
- /**
- * Fichier CSV contenant une liste de navires.
- */
- @Property
- private UploadedFile boatsCsvFile;
-
- @InjectComponent
- private Form importBoatsForm;
-
- /**
- * Récupération des exceptions du champs d'upload de fichier.
- */
- /*Object onUploadException(FileUploadException ex) {
- createListForm.recordError("Upload exception: " + ex.getMessage());
- return this;
- }*/
-
- @Log
- void onSuccessFromImportBoatsForm() {
- //importBoatsForm.clearErrors();
- try {
- int[] result = serviceBoat.importBoatCsv(boatsCsvFile.getStream());
- // Suppress persitant list of boats
- boats = null;
- layout.getFeedBack().addInfo(result[0] + " navires importés dont " + result[1] + " nouveaux");
- } catch (SuiviObsmerException eee) {
- layout.getFeedBack().addError(eee.getMessage());
- }
- //return importBoatsForm.getHasErrors() ? importBoatsForm : this;
- }
-
- /**************************** Filters Form *****************************************/
-
- @Persist
- private BoatFilter boatFilter;
-
- @Persist
- private SampleRow sampleRow;
-
- @Persist
- private GenericSelectModel<SampleRow> sampleRowSelectModel;
-
- @Persist
- private GenericSelectModel<Profession> professionSelectModel;
-
- @Property
- private String professionId;
-
- @Persist
- private GenericSelectModel<FishingZone> fishingZoneSelectModel;
-
- @Property
- private String fishingZoneId;
-
- @Persist
- private boolean filtersHidden;
-
- @InjectComponent
- private Zone filtersZone;
-
- public BoatFilter getBoatFilter() throws SuiviObsmerException {
- if (boatFilter == null) {
- boatFilter = new BoatFilterImpl();
- if (log.isDebugEnabled()) {
- log.debug("new BoatFilter");
- }
- if (!user.getAdmin()) {
- if (log.isDebugEnabled()) {
- log.debug("set company for boatFilter");
- }
- boatFilter.setCompany(user.getCompany());
- }
- }
- return boatFilter;
- }
-
- public SampleRow getSampleRow() throws SuiviObsmerException {
- if (sampleRow == null && !StringUtils.isEmpty(sampleRowCode)) {
- if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [getSampleRow]");
- }
- sampleRow = serviceSampling.getSampleRow(sampleRowCode);
- }
- return sampleRow;
- }
-
- public boolean isSampleRowExists() throws SuiviObsmerException {
- return getSampleRow() != null;
- }
-
- public GenericSelectModel<SampleRow> getSampleRowSelectModel() throws SuiviObsmerException {
- if (sampleRowSelectModel == null) {
- if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [getSampleRowsForUser]");
- }
- /*List<OptionModel> options = new ArrayList<OptionModel>();
- for (String code : serviceSampling.getSampleRowCodesForUser(getUser())) {
- options.add(new OptionModelImpl(code,code));
- }
- sampleRowSelectModel = new SelectModelImpl(null, options);*/
- List<SampleRow> sampleRows = serviceSampling.getSampleRowsForUser(user);
- sampleRowSelectModel = new GenericSelectModel<SampleRow>(sampleRows, SampleRow.class,
- "code", "code", propertyAccess);
- }
- return sampleRowSelectModel;
- }
-
- public GenericSelectModel<Profession> getProfessionSelectModel() throws SuiviObsmerException {
- if (professionSelectModel == null) {
- if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [getProfessions]");
- }
- List<Profession> professions = serviceReferential.getProfessions();
- professionSelectModel = new GenericSelectModel<Profession>(professions, Profession.class,
- "code", "topiaId", propertyAccess);
- }
- return professionSelectModel;
- }
-
- public GenericSelectModel<FishingZone> getFishingZoneSelectModel() throws SuiviObsmerException {
- if (fishingZoneSelectModel == null) {
- if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [getFishingZones]");
- }
- List<FishingZone> fishingZones = null;
- if (isSampleRowExists()) {
- fishingZones = getSampleRow().getFishingZone();
- } else {
- fishingZones = serviceReferential.getFishingZones();
- }
- fishingZoneSelectModel = new GenericSelectModel<FishingZone>(fishingZones, FishingZone.class,
- "code", "topiaId", propertyAccess);
- }
- return fishingZoneSelectModel;
- }
-
- public boolean isFiltersHidden() {
- return filtersHidden;
- }
-
- public String getHiddenClass() {
- return isFiltersHidden() ? "hidden" : "";
- }
-
- Block onActionFromShowFilters() {
- filtersHidden = false;
- return filtersZone.getBody();
- }
-
- Block onActionFromHideFilters() {
- filtersHidden = true;
- return filtersZone.getBody();
- }
-
- void onSelectedFromReset() {
- // Suppress persistant boat filter
- boatFilter = null;
- }
-
- void onSelectedFromSearch() throws SuiviObsmerException {
- if (log.isDebugEnabled()) {
- //log.debug("SUBMIT : facadeChange=" + facadeChangeSelected);
- log.debug("FILTER : fishingZone=" + boatFilter.getFishingZone());
- log.debug("FILTER : sampleRowCode=" + boatFilter.getSampleRowCode());
- log.debug("FILTER : profession=" + boatFilter.getProfession());
- log.debug("FILTER : boatName=" + boatFilter.getBoatName());
- log.debug("FILTER : boatImmatriculation=" + boatFilter.getBoatImmatriculation());
- log.debug("FILTER : boatDistrictCode=" + boatFilter.getBoatDistrictCode());
- log.debug("FILTER : company=" + boatFilter.getCompany());
- }
- Profession profession = getProfessionSelectModel().findObject(professionId);
- FishingZone fishingZone = getFishingZoneSelectModel().findObject(fishingZoneId);
- boatFilter.setProfession(profession);
- boatFilter.setFishingZone(fishingZone);
- }
-
- void onSuccessFromFiltersForm() throws SuiviObsmerException {
- // Suppress persistant boats list to get new one with filter
- boats = null;
- // Suppress persistant immatriculation for boat selected
- boatSelectedImmatriculation = null;
- // Suppress persistant boat informations for boat selected
- boatInfos = null;
- elligibleSampleRows = null;
- }
-
- /**************************** Boats List *****************************************/
-
- @Persist
- private Map<Integer, Boat> boats;
-
- @Property
- private Integer boatSelectedImmatriculation;
-
- @Property
- private Boat boat;
-
- private boolean even = true;
-
- @InjectComponent
- private Zone boatsZone;
-
- public Map<Integer, Boat> getBoats() throws SuiviObsmerException {
- if (boats == null) {
- if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [getBoatsByFilter]");
- }
- boats = serviceBoat.getBoatsByFilter(boatFilter);
- }
- return boats;
- }
-
- public String getRowClass() {
- String result = "";
- even = !even;
- if (boatSelectedImmatriculation != null &&
- boat.getImmatriculation() == boatSelectedImmatriculation) {
- result = "selected";
- } else if (!boat.getActive()) {
- result = "refused";
- } else {
- result = even ? "even" : "odd";
- }
- return result;
- }
-
- public DateFormat getDateFormat() {
- return new SimpleDateFormat("dd/MM/yyyy");
- }
-
- Block onActionFromShowBoatInfos(Integer boatImma) {
- boatSelectedImmatriculation = boatImma;
- // Suppress persistant boat informations
- boatInfos = null;
- elligibleSampleRows = null;
- return boatsZone.getBody();
- }
-
- /**************************** Boat selected Infos *************************/
-
- @Persist
- private BoatInfos boatInfos;
-
- @Persist
- private ElligibleBoatsCompany elligibleSampleRows;
-
- @InjectComponent
- private Zone boatInfosZone;
-
- @Inject
- private Block displayBoatInfos;
-
- @Inject
- private Block editBoatInfos;
-
- /**
- * Current element for professionLibelles loop
- */
- @Property
- private ElligibleBoat elligibleBoat;
-
- @Property
- private String boatInfosSampleRowCode;
-
- private boolean boatInfosEditable;
-
- @Inject
- private ServiceUser serviceUser;
-
- private GenericSelectModel<Company> companySelectModel;
-
- @Property
- private String companyId;
-
- /*@Persist
- private SuiviObsmerPropertyChangeListener propertyChange;*/
-
- public Block getActiveBoatInfosBlock() {
- if (boatInfosEditable) {
- return editBoatInfos;
- }
- return displayBoatInfos;
- }
-
- public BoatInfos getBoatInfos() throws SuiviObsmerException {
- if (boatInfos == null && boatSelectedImmatriculation != null) {
- Boat selectedBoat = getBoats().get(boatSelectedImmatriculation);
- if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [boat.getBoatInfos]");
- log.info("BUSINESS REQUEST [getElligibleBoats]");
- }
- boatInfos = selectedBoat.getBoatInfos(getCompany());
- elligibleSampleRows =
- serviceBoat.getElligibleBoats(boatSelectedImmatriculation, getCompany());
- }
- return boatInfos;
- }
-
- public ElligibleBoatsCompany getElligibleSampleRows() throws SuiviObsmerException {
-// if (elligibleSampleRows == null && boatSelectedImmatriculation != null) {
-// Boat selectedBoat = getBoats().get(boatSelectedImmatriculation);
-// if (log.isInfoEnabled()) {
-//
-// }
-// }
- return elligibleSampleRows;
- }
-
- public String getElligibleRowInfos() {
- return BusinessUtils.getTooltipSampleRow(elligibleBoat.getSampleRow());
- }
-
- public boolean isElligibleBoatCompanyActiveFalse() {
- return BooleanUtils.isFalse(elligibleBoat.getCompanyActive());
- }
-
- public String getElligibleRowClass() {
- boolean condition1 = elligibleBoat.getCompanyActive() == null && !elligibleBoat.getGlobalActive();
-
- return condition1 || isElligibleBoatCompanyActiveFalse() ? "line-through" : "";
- }
-
- public Company getCompany() throws SuiviObsmerException {
- if (user.getAdmin() && companyId != null) {
- return getCompanySelectModel().findObject(companyId);
- }
- return user.getCompany();
- }
-
- public GenericSelectModel<Company> getCompanySelectModel() throws SuiviObsmerException {
- if (companySelectModel == null) {
- if (log.isDebugEnabled()) {
- log.debug("BUSINESS REQUEST [getCompanies]");
- }
- List<Company> companies = serviceUser.getCompanies();
- companySelectModel = new GenericSelectModel<Company>(companies,Company.class,
- "name","topiaId",propertyAccess);
- }
- return companySelectModel;
- }
-
- Block onSuccessFromCompanySelectForm() {
- return boatInfosZone.getBody();
- }
-
- Block onActionFromEditBoatInfos() {
- boatInfosEditable = true;
- return boatInfosZone.getBody();
- }
-
- Block onActionFromCancelEditBoatInfos() throws SuiviObsmerException {
- /*if (propertyChange.isChanged()) {
- if (log.isDebugEnabled()) {
- log.debug("Change property");
- }
- }*/
- // Set boatSelectedImmatriculation for boatInfos to reinitialize it (next getBoatInfos() call)
- boatSelectedImmatriculation = getBoatInfos().getBoat().getImmatriculation();
- // Suppress boatInfos to get the one from serviceBoat (not updated yet)
- boatInfos = null;
- return boatInfosZone.getBody();
- }
-
- void onSelectedFromAddBoatInfosSampleRow() throws SuiviObsmerException {
- // We stay in edition mode
- boatInfosEditable = true;
- if (!StringUtils.isEmpty(boatInfosSampleRowCode)) {
- SampleRow row = getSampleRowSelectModel().findObject(boatInfosSampleRowCode);
- elligibleSampleRows.setNewElement(row);
- }
- }
-
- void onSelectedFromRemoveBoatInfosSampleRow(String sampleRowCode) throws SuiviObsmerException {
- boatInfosEditable = true;
- elligibleSampleRows.removeElement(sampleRowCode);
- }
-
- void onSelectedFromActiveBoatInfosSampleRow(String sampleRowCode) throws SuiviObsmerException {
- boatInfosEditable = true;
- elligibleSampleRows.activeElement(sampleRowCode);
- }
-
- Block onSuccessFromBoatInfosForm() throws SuiviObsmerException {
- if (!boatInfosEditable) {
- // Save data
- serviceBoat.createUpdateBoatInfos(boatInfos, elligibleSampleRows);
- }
- return boatInfosZone.getBody();
- }
-
- /**************************** Create new contact **************************/
-
- @InjectPage
- private Contacts contacts;
-
- Object onActionFromAddNewContactFromBoat(int boatImmatriculation) throws SuiviObsmerException {
- // Get selected sampleRow
- sampleRow = getSampleRow();
- // Get boat from list
- boat = getBoats().get(boatImmatriculation);
- contacts.createNewContact(boat, sampleRow);
- return contacts;
- }
-
- Object onActionFromAddNewContactFromSampleRow(String sampleRowCode) throws SuiviObsmerException {
- // Get selected boat from BoatInfos
- boat = getBoatInfos().getBoat();
- // Get sampleRow from elligibleBoat list
- sampleRow = getSampleRowSelectModel().findObject(sampleRowCode);
- contacts.createNewContact(boat, sampleRow);
- return contacts;
- }
-}
+
+package fr.ifremer.suiviobsmer.ui.pages;
+
+import fr.ifremer.suiviobsmer.SuiviObsmerException;
+import fr.ifremer.suiviobsmer.bean.BoatFilterImpl;
+import fr.ifremer.suiviobsmer.entity.Boat;
+import fr.ifremer.suiviobsmer.entity.BoatInfos;
+import fr.ifremer.suiviobsmer.bean.BoatFilter;
+import fr.ifremer.suiviobsmer.bean.ElligibleBoatsCompany;
+import fr.ifremer.suiviobsmer.entity.Company;
+import fr.ifremer.suiviobsmer.entity.ElligibleBoat;
+import fr.ifremer.suiviobsmer.entity.FishingZone;
+import fr.ifremer.suiviobsmer.entity.Profession;
+import fr.ifremer.suiviobsmer.entity.SampleRow;
+import fr.ifremer.suiviobsmer.entity.User;
+import fr.ifremer.suiviobsmer.services.ServiceBoat;
+import fr.ifremer.suiviobsmer.services.ServiceReferential;
+import fr.ifremer.suiviobsmer.services.ServiceSampling;
+import fr.ifremer.suiviobsmer.services.ServiceUser;
+import fr.ifremer.suiviobsmer.ui.base.BusinessUtils;
+import fr.ifremer.suiviobsmer.ui.base.GenericSelectModel;
+import fr.ifremer.suiviobsmer.ui.base.SuiviObsmerPage;
+import fr.ifremer.suiviobsmer.ui.components.Layout;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.List;
+import java.util.Map;
+import org.apache.commons.lang.BooleanUtils;
+import org.apache.commons.lang.StringUtils;
+import org.apache.tapestry5.Block;
+import org.apache.tapestry5.EventContext;
+import org.apache.tapestry5.annotations.IncludeStylesheet;
+import org.apache.tapestry5.annotations.InjectComponent;
+import org.apache.tapestry5.annotations.InjectPage;
+import org.apache.tapestry5.annotations.Log;
+import org.apache.tapestry5.annotations.Persist;
+import org.apache.tapestry5.annotations.Property;
+import org.apache.tapestry5.annotations.SessionState;
+import org.apache.tapestry5.corelib.components.Form;
+import org.apache.tapestry5.corelib.components.Zone;
+import org.apache.tapestry5.ioc.annotations.Inject;
+import org.apache.tapestry5.ioc.services.PropertyAccess;
+import org.apache.tapestry5.upload.services.UploadedFile;
+import org.slf4j.Logger;
+
+/**
+ * Boats
+ *
+ * Created: 9 nov. 2009
+ *
+ * @author fdesbois
+ * @version $Revision$
+ *
+ * Mise a jour: $Date$
+ * par : $Author$
+ */
+ at IncludeStylesheet("context:css/boats.css")
+public class Boats implements SuiviObsmerPage {
+
+ @Override
+ public boolean isOnlyForAdmin() {
+ return false;
+ }
+
+ @Inject
+ private Logger log;
+
+ @InjectComponent
+ private Layout layout;
+
+ @SessionState
+ @Property
+ private User user;
+
+ @Inject
+ private ServiceReferential serviceReferential;
+
+ @Inject
+ private ServiceSampling serviceSampling;
+
+ @Inject
+ private ServiceBoat serviceBoat;
+
+ @Inject
+ private PropertyAccess propertyAccess;
+
+ @Property
+ private String sampleRowCode;
+
+ void setupRender() throws SuiviObsmerException {
+ sampleRow = null;
+ getSampleRow();
+ professionSelectModel = null;
+ getProfessionSelectModel();
+ fishingZoneSelectModel = null;
+ getFishingZoneSelectModel();
+ sampleRowSelectModel = null;
+ getSampleRowSelectModel();
+
+ // Suppress persistant boat informations for selected boat
+ boatInfos = null;
+ elligibleSampleRows = null;
+ if (isSampleRowExists()) {
+ filtersHidden = false;
+ boats = null;
+ professionId = getSampleRow().getProfession().getTopiaId();
+ fishingZoneId = getSampleRow().getFirstFishingZone().getTopiaId();
+ getBoatFilter().setSampleRowCode(getSampleRow().getCode());
+ }
+ }
+
+// public User getUser() {
+// return layout.getCurrentUser();
+// }
+
+ void onActivate(EventContext ec) {
+ if (ec.getCount() > 0) {
+ sampleRowCode = ec.get(String.class, 0);
+ }
+ }
+
+ String onPassivate() {
+ return sampleRowCode;
+ }
+
+ /**************************** Import Form ******************************************/
+
+ /**
+ * Fichier CSV contenant une liste de navires.
+ */
+ @Property
+ private UploadedFile boatsCsvFile;
+
+ @InjectComponent
+ private Form importBoatsForm;
+
+ /**
+ * Récupération des exceptions du champs d'upload de fichier.
+ */
+ /*Object onUploadException(FileUploadException ex) {
+ createListForm.recordError("Upload exception: " + ex.getMessage());
+ return this;
+ }*/
+
+ @Log
+ void onSuccessFromImportBoatsForm() {
+ //importBoatsForm.clearErrors();
+ try {
+ int[] result = serviceBoat.importBoatCsv(boatsCsvFile.getStream());
+ // Suppress persitant list of boats
+ boats = null;
+ layout.getFeedBack().addInfo(result[0] + " navires importés dont " + result[1] + " nouveaux");
+ } catch (SuiviObsmerException eee) {
+ layout.getFeedBack().addError(eee.getMessage());
+ }
+ //return importBoatsForm.getHasErrors() ? importBoatsForm : this;
+ }
+
+ /**************************** Filters Form *****************************************/
+
+ @Persist
+ private BoatFilter boatFilter;
+
+ @Persist
+ private SampleRow sampleRow;
+
+ @Persist
+ private GenericSelectModel<SampleRow> sampleRowSelectModel;
+
+ @Persist
+ private GenericSelectModel<Profession> professionSelectModel;
+
+ @Property
+ private String professionId;
+
+ @Persist
+ private GenericSelectModel<FishingZone> fishingZoneSelectModel;
+
+ @Property
+ private String fishingZoneId;
+
+ @Persist
+ private boolean filtersHidden;
+
+ @InjectComponent
+ private Zone filtersZone;
+
+ public BoatFilter getBoatFilter() throws SuiviObsmerException {
+ if (boatFilter == null) {
+ boatFilter = new BoatFilterImpl();
+ if (log.isDebugEnabled()) {
+ log.debug("new BoatFilter");
+ }
+ if (!user.getAdmin()) {
+ if (log.isDebugEnabled()) {
+ log.debug("set company for boatFilter");
+ }
+ boatFilter.setCompany(user.getCompany());
+ }
+ }
+ return boatFilter;
+ }
+
+ public SampleRow getSampleRow() throws SuiviObsmerException {
+ if (sampleRow == null && !StringUtils.isEmpty(sampleRowCode)) {
+ if (log.isInfoEnabled()) {
+ log.info("BUSINESS REQUEST [getSampleRow]");
+ }
+ sampleRow = serviceSampling.getSampleRow(sampleRowCode);
+ }
+ return sampleRow;
+ }
+
+ public boolean isSampleRowExists() throws SuiviObsmerException {
+ return getSampleRow() != null;
+ }
+
+ public GenericSelectModel<SampleRow> getSampleRowSelectModel() throws SuiviObsmerException {
+ if (sampleRowSelectModel == null) {
+ if (log.isInfoEnabled()) {
+ log.info("BUSINESS REQUEST [getSampleRowsForUser]");
+ }
+ /*List<OptionModel> options = new ArrayList<OptionModel>();
+ for (String code : serviceSampling.getSampleRowCodesForUser(getUser())) {
+ options.add(new OptionModelImpl(code,code));
+ }
+ sampleRowSelectModel = new SelectModelImpl(null, options);*/
+ List<SampleRow> sampleRows = serviceSampling.getSampleRowsForUser(user);
+ sampleRowSelectModel = new GenericSelectModel<SampleRow>(sampleRows, SampleRow.class,
+ "code", "code", propertyAccess);
+ }
+ return sampleRowSelectModel;
+ }
+
+ public GenericSelectModel<Profession> getProfessionSelectModel() throws SuiviObsmerException {
+ if (professionSelectModel == null) {
+ if (log.isInfoEnabled()) {
+ log.info("BUSINESS REQUEST [getProfessions]");
+ }
+ List<Profession> professions = serviceReferential.getProfessions();
+ professionSelectModel = new GenericSelectModel<Profession>(professions, Profession.class,
+ "code", "topiaId", propertyAccess);
+ }
+ return professionSelectModel;
+ }
+
+ public GenericSelectModel<FishingZone> getFishingZoneSelectModel() throws SuiviObsmerException {
+ if (fishingZoneSelectModel == null) {
+ if (log.isInfoEnabled()) {
+ log.info("BUSINESS REQUEST [getFishingZones]");
+ }
+ List<FishingZone> fishingZones = null;
+ if (isSampleRowExists()) {
+ fishingZones = getSampleRow().getFishingZone();
+ } else {
+ fishingZones = serviceReferential.getFishingZones();
+ }
+ fishingZoneSelectModel = new GenericSelectModel<FishingZone>(fishingZones, FishingZone.class,
+ "code", "topiaId", propertyAccess);
+ }
+ return fishingZoneSelectModel;
+ }
+
+ public boolean isFiltersHidden() {
+ return filtersHidden;
+ }
+
+ public String getHiddenClass() {
+ return isFiltersHidden() ? "hidden" : "";
+ }
+
+ Block onActionFromShowFilters() {
+ filtersHidden = false;
+ return filtersZone.getBody();
+ }
+
+ Block onActionFromHideFilters() {
+ filtersHidden = true;
+ return filtersZone.getBody();
+ }
+
+ void onSelectedFromReset() {
+ // Suppress persistant boat filter
+ boatFilter = null;
+ sampleRowCode = null;
+ }
+
+ void onSelectedFromSearch() throws SuiviObsmerException {
+ if (log.isDebugEnabled()) {
+ //log.debug("SUBMIT : facadeChange=" + facadeChangeSelected);
+ log.debug("FILTER : fishingZone=" + boatFilter.getFishingZone());
+ log.debug("FILTER : sampleRowCode=" + boatFilter.getSampleRowCode());
+ log.debug("FILTER : profession=" + boatFilter.getProfession());
+ log.debug("FILTER : boatName=" + boatFilter.getBoatName());
+ log.debug("FILTER : boatImmatriculation=" + boatFilter.getBoatImmatriculation());
+ log.debug("FILTER : boatDistrictCode=" + boatFilter.getBoatDistrictCode());
+ log.debug("FILTER : company=" + boatFilter.getCompany());
+ }
+ Profession profession = getProfessionSelectModel().findObject(professionId);
+ FishingZone fishingZone = getFishingZoneSelectModel().findObject(fishingZoneId);
+ boatFilter.setProfession(profession);
+ boatFilter.setFishingZone(fishingZone);
+ }
+
+ void onSuccessFromFiltersForm() throws SuiviObsmerException {
+ // Suppress persistant boats list to get new one with filter
+ boats = null;
+ // Suppress persistant immatriculation for boat selected
+ boatSelectedImmatriculation = null;
+ // Suppress persistant boat informations for boat selected
+ boatInfos = null;
+ elligibleSampleRows = null;
+ }
+
+ /**************************** Boats List *****************************************/
+
+ @Persist
+ private Map<Integer, Boat> boats;
+
+ @Property
+ private Integer boatSelectedImmatriculation;
+
+ @Property
+ private Boat boat;
+
+ private boolean even = true;
+
+ @InjectComponent
+ private Zone boatsZone;
+
+ public Map<Integer, Boat> getBoats() throws SuiviObsmerException {
+ if (boats == null) {
+ if (log.isInfoEnabled()) {
+ log.info("BUSINESS REQUEST [getBoatsByFilter]");
+ }
+ boats = serviceBoat.getBoatsByFilter(boatFilter);
+ }
+ return boats;
+ }
+
+ public String getRowClass() {
+ String result = "";
+ even = !even;
+ if (boatSelectedImmatriculation != null &&
+ boat.getImmatriculation() == boatSelectedImmatriculation) {
+ result = "selected";
+ } else if (!boat.getActive()) {
+ result = "refused";
+ } else {
+ result = even ? "even" : "odd";
+ }
+ return result;
+ }
+
+ public DateFormat getDateFormat() {
+ return new SimpleDateFormat("dd/MM/yyyy");
+ }
+
+ Block onActionFromShowBoatInfos(Integer boatImma) {
+ boatSelectedImmatriculation = boatImma;
+ // Suppress persistant boat informations
+ boatInfos = null;
+ elligibleSampleRows = null;
+ return boatsZone.getBody();
+ }
+
+ /**************************** Boat selected Infos *************************/
+
+ @Persist
+ private BoatInfos boatInfos;
+
+ @Persist
+ private ElligibleBoatsCompany elligibleSampleRows;
+
+ @InjectComponent
+ private Zone boatInfosZone;
+
+ @Inject
+ private Block displayBoatInfos;
+
+ @Inject
+ private Block editBoatInfos;
+
+ /**
+ * Current element for professionLibelles loop
+ */
+ @Property
+ private ElligibleBoat elligibleBoat;
+
+ @Property
+ private String boatInfosSampleRowCode;
+
+ private boolean boatInfosEditable;
+
+ @Inject
+ private ServiceUser serviceUser;
+
+ private GenericSelectModel<Company> companySelectModel;
+
+ @Property
+ private String companyId;
+
+ /*@Persist
+ private SuiviObsmerPropertyChangeListener propertyChange;*/
+
+ public Block getActiveBoatInfosBlock() {
+ if (boatInfosEditable) {
+ return editBoatInfos;
+ }
+ return displayBoatInfos;
+ }
+
+ public BoatInfos getBoatInfos() throws SuiviObsmerException {
+ if (boatInfos == null && boatSelectedImmatriculation != null) {
+ Boat selectedBoat = getBoats().get(boatSelectedImmatriculation);
+ if (log.isInfoEnabled()) {
+ log.info("BUSINESS REQUEST [boat.getBoatInfos]");
+ log.info("BUSINESS REQUEST [getElligibleBoats]");
+ }
+ boatInfos = selectedBoat.getBoatInfos(getCompany());
+ elligibleSampleRows =
+ serviceBoat.getElligibleBoats(boatSelectedImmatriculation, getCompany());
+ }
+ return boatInfos;
+ }
+
+ public ElligibleBoatsCompany getElligibleSampleRows() throws SuiviObsmerException {
+// if (elligibleSampleRows == null && boatSelectedImmatriculation != null) {
+// Boat selectedBoat = getBoats().get(boatSelectedImmatriculation);
+// if (log.isInfoEnabled()) {
+//
+// }
+// }
+ return elligibleSampleRows;
+ }
+
+ public String getElligibleRowInfos() {
+ return BusinessUtils.getTooltipSampleRow(elligibleBoat.getSampleRow());
+ }
+
+ public boolean isElligibleBoatCompanyActiveFalse() {
+ return BooleanUtils.isFalse(elligibleBoat.getCompanyActive());
+ }
+
+ public String getElligibleRowClass() {
+ boolean condition1 = elligibleBoat.getCompanyActive() == null && !elligibleBoat.getGlobalActive();
+
+ return condition1 || isElligibleBoatCompanyActiveFalse() ? "line-through" : "";
+ }
+
+ public Company getCompany() throws SuiviObsmerException {
+ if (user.getAdmin() && companyId != null) {
+ return getCompanySelectModel().findObject(companyId);
+ }
+ return user.getCompany();
+ }
+
+ public GenericSelectModel<Company> getCompanySelectModel() throws SuiviObsmerException {
+ if (companySelectModel == null) {
+ if (log.isDebugEnabled()) {
+ log.debug("BUSINESS REQUEST [getCompanies]");
+ }
+ List<Company> companies = serviceUser.getCompanies();
+ companySelectModel = new GenericSelectModel<Company>(companies,Company.class,
+ "name","topiaId",propertyAccess);
+ }
+ return companySelectModel;
+ }
+
+ Block onSuccessFromCompanySelectForm() {
+ return boatInfosZone.getBody();
+ }
+
+ Block onActionFromEditBoatInfos() {
+ boatInfosEditable = true;
+ return boatInfosZone.getBody();
+ }
+
+ Block onActionFromCancelEditBoatInfos() throws SuiviObsmerException {
+ /*if (propertyChange.isChanged()) {
+ if (log.isDebugEnabled()) {
+ log.debug("Change property");
+ }
+ }*/
+ // Set boatSelectedImmatriculation for boatInfos to reinitialize it (next getBoatInfos() call)
+ boatSelectedImmatriculation = getBoatInfos().getBoat().getImmatriculation();
+ // Suppress boatInfos to get the one from serviceBoat (not updated yet)
+ boatInfos = null;
+ return boatInfosZone.getBody();
+ }
+
+ void onSelectedFromAddBoatInfosSampleRow() throws SuiviObsmerException {
+ // We stay in edition mode
+ boatInfosEditable = true;
+ if (!StringUtils.isEmpty(boatInfosSampleRowCode)) {
+ SampleRow row = getSampleRowSelectModel().findObject(boatInfosSampleRowCode);
+ elligibleSampleRows.setNewElement(row);
+ }
+ }
+
+ void onSelectedFromRemoveBoatInfosSampleRow(String sampleRowCode) throws SuiviObsmerException {
+ boatInfosEditable = true;
+ elligibleSampleRows.removeElement(sampleRowCode);
+ }
+
+ void onSelectedFromActiveBoatInfosSampleRow(String sampleRowCode) throws SuiviObsmerException {
+ boatInfosEditable = true;
+ elligibleSampleRows.activeElement(sampleRowCode);
+ }
+
+ Block onSuccessFromBoatInfosForm() throws SuiviObsmerException {
+ if (!boatInfosEditable) {
+ // Save data
+ serviceBoat.createUpdateBoatInfos(boatInfos, elligibleSampleRows);
+ }
+ return boatInfosZone.getBody();
+ }
+
+ /**************************** Create new contact **************************/
+
+ @InjectPage
+ private Contacts contacts;
+
+ Object onActionFromAddNewContactFromBoat(int boatImmatriculation) throws SuiviObsmerException {
+ // Get selected sampleRow
+ sampleRow = getSampleRow();
+ // Get boat from list
+ boat = getBoats().get(boatImmatriculation);
+ contacts.createNewContact(boat, sampleRow);
+ return contacts;
+ }
+
+ Object onActionFromAddNewContactFromSampleRow(String sampleRowCode) throws SuiviObsmerException {
+ // Get selected boat from BoatInfos
+ boat = getBoatInfos().getBoat();
+ // Get sampleRow from elligibleBoat list
+ sampleRow = getSampleRowSelectModel().findObject(sampleRowCode);
+ contacts.createNewContact(boat, sampleRow);
+ return contacts;
+ }
+}
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-08 13:08:53 UTC (rev 113)
@@ -18,318 +18,318 @@
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* ##%*
*/
-
-package fr.ifremer.suiviobsmer.ui.pages;
-
-
-import fr.ifremer.suiviobsmer.SuiviObsmerException;
-import fr.ifremer.suiviobsmer.entity.Company;
-import fr.ifremer.suiviobsmer.entity.FishingZone;
-import fr.ifremer.suiviobsmer.entity.SampleMonth;
-import fr.ifremer.suiviobsmer.entity.SampleRow;
-import fr.ifremer.suiviobsmer.entity.User;
-import fr.ifremer.suiviobsmer.services.ServiceSampling;
-import fr.ifremer.suiviobsmer.ui.base.SuiviObsmerPage;
-import fr.ifremer.suiviobsmer.ui.components.Layout;
-import java.text.DateFormat;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.List;
-import org.apache.tapestry5.annotations.IncludeStylesheet;
-import org.apache.tapestry5.annotations.InjectComponent;
-import org.apache.tapestry5.annotations.Log;
-import org.apache.tapestry5.annotations.Persist;
-import org.apache.tapestry5.annotations.Property;
-import org.apache.tapestry5.annotations.SessionState;
-import org.apache.tapestry5.ioc.annotations.Inject;
-import org.apache.tapestry5.upload.services.UploadedFile;
-import fr.ifremer.suiviobsmer.PeriodDates;
-import org.slf4j.Logger;
-
-/**
- * SampingPlan
- *
- * Created: 9 nov. 2009
- *
- * @author fdesbois
- * @version $Revision$
- *
- * Mise a jour: $Date$
- * par : $Author$
- */
- at IncludeStylesheet("context:css/sampling.css")
-public class SamplingPlan implements SuiviObsmerPage {
-
- @Override
- public boolean isOnlyForAdmin() {
- return false;
- }
-
- @Inject
- private Logger log;
-
- @Inject
- private ServiceSampling serviceSampling;
-
- @InjectComponent
- private Layout layout;
-
- @SessionState
- @Property
- private User user;
-
- /**
- * Page initialization
- */
- void setupRender() {
- periodBegin = getPeriod().getFromDate();
- periodEnd = getPeriod().getThruDate();
- }
-
- /**
- * Get current user from Layout component
- * @return current user
- */
-// public User getUser() {
-// return layout.getCurrentUser();
-// }
-
- /**************************** IMPORT (ADMIN) *******************************/
-
- /**
- * Fichier CSV contenant un plan d'échantillonnage
- */
- @Property
- private UploadedFile samplingPlanCsvFile;
-
- @Log
- void onSuccessFromImportSamplingPlan() {
- try {
- int[] result = serviceSampling.importSamplingPlanCsv(samplingPlanCsvFile.getStream());
- layout.getFeedBack().addInfo(result[0] + " lignes du plan importés, " +
- result[1] + " refusés (voir documentation)");
- } catch (SuiviObsmerException eee) {
- layout.getFeedBack().addError(eee.getMessage());
- }
- }
-
- /**************************** PERIOD SELECTION *****************************/
-
- @Persist
- private PeriodDates period;
-
- @Property
- private Date periodBegin;
-
- @Property
- private Date periodEnd;
-
- public PeriodDates getPeriod() {
- if (period == null) {
- period = PeriodDates.createMonthsPeriodFromToday(11);
- }
- return period;
- }
-
- void onSuccessFromPeriodForm() {
- if (periodBegin != null && periodEnd != null) {
- period.setFromDate(periodBegin);
- period.setThruDate(periodEnd);
- }
- }
-
- /**************************** MAIN TABLE ***********************************/
-
- /** ------------------------- DATA -------------------------------------- **/
-
- /**
- * Main data for samplingPlan : List of SampleRow ordered by FishingZone.
- */
- private List<SampleRow> data;
-
- private List<Date> months;
-
- @Property
- private Date month;
-
- /**
- * Current SampleRow from loop
- */
- @Property
- private SampleRow row;
-
- @Property
- private String currentFacadeName;
-
- @Property
- private String currentSectorName;
-
- /**
- * Return List of SampleRow from suiviobsmer-business
- * @return List of SampleRow
- * @throws SuiviObsmerException
- */
- public List<SampleRow> getData() throws SuiviObsmerException {
- if (data == null) {
- if (log.isInfoEnabled()) {
- log.info("BUSINESS REQUEST [getSampleRowsOrderedByFishingZone]");
- }
- Company company = null;
- if (!user.getAdmin()) {
- company = user.getCompany();
- }
- data = serviceSampling.getSampleRowsOrderedByFishingZone(
- getPeriod().getFromDate(), getPeriod().getThruDate(), company);
- }
- return data;
- }
-
- public List<Date> getMonths() {
- if (months == null) {
- months = getPeriod().getMonths();
- }
- return months;
- }
-
- public boolean isFacadeChanged() {
- FishingZone zone = row.getFirstFishingZone();
- if (!zone.getFacadeName().equals(currentFacadeName)) {
- currentFacadeName = zone.getFacadeName();
- return true;
- }
- return false;
- }
-
- public boolean isSectorChanged() {
- FishingZone zone = row.getFirstFishingZone();
- if (!zone.getSectorName().equals(currentSectorName)) {
- currentSectorName = zone.getSectorName();
- return true;
- }
- return false;
- }
-
- public String getCompanyName() {
- return row.getCompany() != null ? row.getCompany().getName() : "";
- }
-
- public boolean isCurrentMonth() {
- String currentStr = getDateFormat().format(new Date());
- String monthStr = getDateFormat().format(month);
- return currentStr.equals(monthStr);
- }
-
- public Integer getNbTidesExpected() {
- SampleMonth sampleMonth = row.getSampleMonth(month);
- if (sampleMonth != null) {
- return sampleMonth.getExpectedTidesValue();
- }
- return null;
- }
-
- public String getFishingZones() {
- String result = "";
- for (FishingZone zone : row.getFishingZone()) {
- result += zone.getDistrictCode() + ", ";
- }
- return result.substring(0, result.length()-3);
- }
-
- public Integer getNbTidesReal() {
- SampleMonth sampleMonth = row.getSampleMonth(month);
- if (sampleMonth != null) {
- return sampleMonth.getRealTidesValue();
- }
- return null;
- }
-
- public boolean hasNbTidesReal() {
- // test with current month ????
- Date current = new Date();
- return month.before(current) && !isCurrentMonth() && getNbTidesReal() != null;
- }
-
- public int getTotalTidesExpected() {
- int total = 0;
- for (Date currentMonth : getMonths()) {
- SampleMonth sampleMonth = row.getSampleMonth(currentMonth);
- if (sampleMonth != null) {
- total += sampleMonth.getExpectedTidesValue();
- }
- }
- return total;
- }
-
- public int getTotalTidesReal() {
- int total = 0;
- for (Date currentMonth : getMonths()) {
- SampleMonth sampleMonth = row.getSampleMonth(currentMonth);
- if (sampleMonth != null) {
- total += sampleMonth.getRealTidesValue();
- }
- }
- return total;
- }
-
- /** ------------------------- HTML & STYLE ------------------------------ **/
-
- @Property
- private int rowIndex;
-
- public int getNbColumnsForProfession() {
- // code, program.name, fishingZone.districts, profession.code, profession.libelle
- int fixed = 5;
- if (user.getAdmin()) {
- // company, program.periodBegin, program.periodEnd, fishingZonesInfos
- // profession.meshSize, profession.size, profession.other, profession.species
- fixed += 8;
- }
- return fixed;
- }
-
- public int getNbColumnsForMonths() {
- return getMonths().size() + 1;
- }
-
- public int getNbColumnsForOther() {
- return 3;
- }
-
- public int getNbColumnsTotal() {
- return getNbColumnsForProfession() +
- getNbColumnsForMonths() + getNbColumnsForOther();
- }
-
- public String getMainClass() {
- return user.getAdmin() ? "admin" : "user";
- }
-
- public String getParityClass() {
- return rowIndex % 2 == 0 ? "even" : "odd";
- }
-
- public String getActionsClass() {
- return user.getAdmin() ? "width70" : "width30";
- }
-
- public String getRealTidesClass() {
- String result = "real-warning";
- if (getNbTidesReal() < getNbTidesExpected()) {
- result += "-inf";
- } else if (getNbTidesReal() > getNbTidesExpected()) {
- result += "-sup";
- }
- return result;
- }
-
- public String getMonthCurrentClass() {
- return isCurrentMonth() ? "current" : "";
- }
-
- public DateFormat getDateFormat() {
- return new SimpleDateFormat("MM/yyyy");
- }
-
- /** ------------------------- ACTIONS ----------------------------------- **/
-
-}
+
+package fr.ifremer.suiviobsmer.ui.pages;
+
+
+import fr.ifremer.suiviobsmer.SuiviObsmerException;
+import fr.ifremer.suiviobsmer.entity.Company;
+import fr.ifremer.suiviobsmer.entity.FishingZone;
+import fr.ifremer.suiviobsmer.entity.SampleMonth;
+import fr.ifremer.suiviobsmer.entity.SampleRow;
+import fr.ifremer.suiviobsmer.entity.User;
+import fr.ifremer.suiviobsmer.services.ServiceSampling;
+import fr.ifremer.suiviobsmer.ui.base.SuiviObsmerPage;
+import fr.ifremer.suiviobsmer.ui.components.Layout;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.List;
+import org.apache.tapestry5.annotations.IncludeStylesheet;
+import org.apache.tapestry5.annotations.InjectComponent;
+import org.apache.tapestry5.annotations.Log;
+import org.apache.tapestry5.annotations.Persist;
+import org.apache.tapestry5.annotations.Property;
+import org.apache.tapestry5.annotations.SessionState;
+import org.apache.tapestry5.ioc.annotations.Inject;
+import org.apache.tapestry5.upload.services.UploadedFile;
+import fr.ifremer.suiviobsmer.PeriodDates;
+import org.slf4j.Logger;
+
+/**
+ * SampingPlan
+ *
+ * Created: 9 nov. 2009
+ *
+ * @author fdesbois
+ * @version $Revision$
+ *
+ * Mise a jour: $Date$
+ * par : $Author$
+ */
+ at IncludeStylesheet("context:css/sampling.css")
+public class SamplingPlan implements SuiviObsmerPage {
+
+ @Override
+ public boolean isOnlyForAdmin() {
+ return false;
+ }
+
+ @Inject
+ private Logger log;
+
+ @Inject
+ private ServiceSampling serviceSampling;
+
+ @InjectComponent
+ private Layout layout;
+
+ @SessionState
+ @Property
+ private User user;
+
+ /**
+ * Page initialization
+ */
+ void setupRender() {
+ periodBegin = getPeriod().getFromDate();
+ periodEnd = getPeriod().getThruDate();
+ }
+
+ /**
+ * Get current user from Layout component
+ * @return current user
+ */
+// public User getUser() {
+// return layout.getCurrentUser();
+// }
+
+ /**************************** IMPORT (ADMIN) *******************************/
+
+ /**
+ * Fichier CSV contenant un plan d'échantillonnage
+ */
+ @Property
+ private UploadedFile samplingPlanCsvFile;
+
+ @Log
+ void onSuccessFromImportSamplingPlan() {
+ try {
+ int[] result = serviceSampling.importSamplingPlanCsv(samplingPlanCsvFile.getStream());
+ layout.getFeedBack().addInfo(result[0] + " lignes du plan importés, " +
+ result[1] + " refusés (voir documentation)");
+ } catch (SuiviObsmerException eee) {
+ layout.getFeedBack().addError(eee.getMessage());
+ }
+ }
+
+ /**************************** PERIOD SELECTION *****************************/
+
+ @Persist
+ private PeriodDates period;
+
+ @Property
+ private Date periodBegin;
+
+ @Property
+ private Date periodEnd;
+
+ public PeriodDates getPeriod() {
+ if (period == null) {
+ period = PeriodDates.createMonthsPeriodFromToday(11);
+ }
+ return period;
+ }
+
+ void onSuccessFromPeriodForm() {
+ if (periodBegin != null && periodEnd != null) {
+ period.setFromDate(periodBegin);
+ period.setThruDate(periodEnd);
+ }
+ }
+
+ /**************************** MAIN TABLE ***********************************/
+
+ /** ------------------------- DATA -------------------------------------- **/
+
+ /**
+ * Main data for samplingPlan : List of SampleRow ordered by FishingZone.
+ */
+ private List<SampleRow> data;
+
+ private List<Date> months;
+
+ @Property
+ private Date month;
+
+ /**
+ * Current SampleRow from loop
+ */
+ @Property
+ private SampleRow row;
+
+ @Property
+ private String currentFacadeName;
+
+ @Property
+ private String currentSectorName;
+
+ /**
+ * Return List of SampleRow from suiviobsmer-business
+ * @return List of SampleRow
+ * @throws SuiviObsmerException
+ */
+ public List<SampleRow> getData() throws SuiviObsmerException {
+ if (data == null) {
+ if (log.isInfoEnabled()) {
+ log.info("BUSINESS REQUEST [getSampleRowsOrderedByFishingZone]");
+ }
+ Company company = null;
+ if (!user.getAdmin()) {
+ company = user.getCompany();
+ }
+ data = serviceSampling.getSampleRowsOrderedByFishingZone(
+ getPeriod().getFromDate(), getPeriod().getThruDate(), company);
+ }
+ return data;
+ }
+
+ public List<Date> getMonths() {
+ if (months == null) {
+ months = getPeriod().getMonths();
+ }
+ return months;
+ }
+
+ public boolean isFacadeChanged() {
+ FishingZone zone = row.getFirstFishingZone();
+ if (!zone.getFacadeName().equals(currentFacadeName)) {
+ currentFacadeName = zone.getFacadeName();
+ return true;
+ }
+ return false;
+ }
+
+ public boolean isSectorChanged() {
+ FishingZone zone = row.getFirstFishingZone();
+ if (!zone.getSectorName().equals(currentSectorName)) {
+ currentSectorName = zone.getSectorName();
+ return true;
+ }
+ return false;
+ }
+
+ public String getCompanyName() {
+ return row.getCompany() != null ? row.getCompany().getName() : "";
+ }
+
+ public boolean isCurrentMonth() {
+ String currentStr = getDateFormat().format(new Date());
+ String monthStr = getDateFormat().format(month);
+ return currentStr.equals(monthStr);
+ }
+
+ public Integer getNbTidesExpected() {
+ SampleMonth sampleMonth = row.getSampleMonth(month);
+ if (sampleMonth != null) {
+ return sampleMonth.getExpectedTidesValue();
+ }
+ return null;
+ }
+
+ public String getFishingZones() {
+ String result = "";
+ for (FishingZone zone : row.getFishingZone()) {
+ result += zone.getDistrictCode() + ", ";
+ }
+ return result.substring(0, result.length()-2);
+ }
+
+ public Integer getNbTidesReal() {
+ SampleMonth sampleMonth = row.getSampleMonth(month);
+ if (sampleMonth != null) {
+ return sampleMonth.getRealTidesValue();
+ }
+ return null;
+ }
+
+ public boolean hasNbTidesReal() {
+ // test with current month ????
+ Date current = new Date();
+ return month.before(current) && !isCurrentMonth() && getNbTidesReal() != null;
+ }
+
+ public int getTotalTidesExpected() {
+ int total = 0;
+ for (Date currentMonth : getMonths()) {
+ SampleMonth sampleMonth = row.getSampleMonth(currentMonth);
+ if (sampleMonth != null) {
+ total += sampleMonth.getExpectedTidesValue();
+ }
+ }
+ return total;
+ }
+
+ public int getTotalTidesReal() {
+ int total = 0;
+ for (Date currentMonth : getMonths()) {
+ SampleMonth sampleMonth = row.getSampleMonth(currentMonth);
+ if (sampleMonth != null) {
+ total += sampleMonth.getRealTidesValue();
+ }
+ }
+ return total;
+ }
+
+ /** ------------------------- HTML & STYLE ------------------------------ **/
+
+ @Property
+ private int rowIndex;
+
+ public int getNbColumnsForProfession() {
+ // code, program.name, fishingZone.districts, profession.code, profession.libelle
+ int fixed = 5;
+ if (user.getAdmin()) {
+ // company, program.periodBegin, program.periodEnd, fishingZonesInfos
+ // profession.meshSize, profession.size, profession.other, profession.species
+ fixed += 8;
+ }
+ return fixed;
+ }
+
+ public int getNbColumnsForMonths() {
+ return getMonths().size() + 1;
+ }
+
+ public int getNbColumnsForOther() {
+ return 3;
+ }
+
+ public int getNbColumnsTotal() {
+ return getNbColumnsForProfession() +
+ getNbColumnsForMonths() + getNbColumnsForOther();
+ }
+
+ public String getMainClass() {
+ return user.getAdmin() ? "admin" : "user";
+ }
+
+ public String getParityClass() {
+ return rowIndex % 2 == 0 ? "even" : "odd";
+ }
+
+ public String getActionsClass() {
+ return user.getAdmin() ? "width70" : "width30";
+ }
+
+ public String getRealTidesClass() {
+ String result = "real-warning";
+ if (getNbTidesReal() < getNbTidesExpected()) {
+ result += "-inf";
+ } else if (getNbTidesReal() > getNbTidesExpected()) {
+ result += "-sup";
+ }
+ return result;
+ }
+
+ public String getMonthCurrentClass() {
+ return isCurrentMonth() ? "current" : "";
+ }
+
+ public DateFormat getDateFormat() {
+ return new SimpleDateFormat("MM/yyyy");
+ }
+
+ /** ------------------------- ACTIONS ----------------------------------- **/
+
+}
Modified: trunk/suiviobsmer-ui/src/main/resources/fr/ifremer/suiviobsmer/ui/pages/Contacts.properties
===================================================================
--- trunk/suiviobsmer-ui/src/main/resources/fr/ifremer/suiviobsmer/ui/pages/Contacts.properties 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/suiviobsmer-ui/src/main/resources/fr/ifremer/suiviobsmer/ui/pages/Contacts.properties 2009-12-08 13:08:53 UTC (rev 113)
@@ -16,6 +16,6 @@
boatName-label: Navire
boatImmatriculation-label: N\u00B0
boatDistrictCode-label: CQ
-mammals-label: Mammif\u00E8res
+mammals-label: Observations et captures accidentelles
dataInputDate-label: Saisie des donn\u00E9es dans Allegro
comment-label: Commentaire
Modified: trunk/suiviobsmer-ui/src/main/webapp/Boats.tml
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/Boats.tml 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/suiviobsmer-ui/src/main/webapp/Boats.tml 2009-12-08 13:08:53 UTC (rev 113)
@@ -145,7 +145,7 @@
<p class="sep"> </p>
<p>
<strong>${boatInfos.nbBoarding}</strong> embarquements
- dont <strong>${boatInfos.nbBoardingForCompany}</strong> dans votre société
+ dont <strong>${boatInfos.nbBoardingForCompany}</strong> pour votre société
depuis le <strong><t:output value="boatInfos.firstBoardingDate" format="dateFormat" /></strong>
</p>
<p class="sep"> </p>
@@ -157,9 +157,11 @@
${elligibleBoat.sampleRow.code}
</span>
</span>
- <a t:type="actionlink" t:id="addNewContactFromSampleRow" t:context="elligibleBoat.sampleRow.code">
- <img src="${asset:context:}/img/contact-22px.png" title="Créer un nouveau contact pour ce navire et cette ligne du plan"/>
- </a>
+ <t:unless t:test="elligibleBoatCompanyActiveFalse">
+ <a t:type="actionlink" t:id="addNewContactFromSampleRow" t:context="elligibleBoat.sampleRow.code">
+ <img src="${asset:context:}/img/contact-22px.png" title="Créer un nouveau contact pour ce navire et cette ligne du plan"/>
+ </a>
+ </t:unless>
</li>
</ul>
<t:if t:test="boatInfos.comment">
Modified: trunk/suiviobsmer-ui/src/main/webapp/css/contacts.css
===================================================================
--- trunk/suiviobsmer-ui/src/main/webapp/css/contacts.css 2009-12-07 18:58:12 UTC (rev 112)
+++ trunk/suiviobsmer-ui/src/main/webapp/css/contacts.css 2009-12-08 13:08:53 UTC (rev 113)
@@ -61,6 +61,10 @@
text-align: center;
}
+div#so-contacts table.t-data-grid thead tr th.mammals {
+ white-space: normal;
+}
+
div#so-contacts table.t-data-grid thead tr th.actions {
width: 90px;
}
1
0
[Suiviobsmer-commits] r112 - tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business
by fdesbois@users.labs.libre-entreprise.org 07 Dec '09
by fdesbois@users.labs.libre-entreprise.org 07 Dec '09
07 Dec '09
Author: fdesbois
Date: 2009-12-07 18:58:12 +0000 (Mon, 07 Dec 2009)
New Revision: 112
Added:
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/changelog.txt
Log:
missing changelog.txt
Added: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/changelog.txt
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/changelog.txt (rev 0)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/changelog.txt 2009-12-07 18:58:12 UTC (rev 112)
@@ -0,0 +1 @@
+
1
0
07 Dec '09
Author: fdesbois
Date: 2009-12-07 18:47:44 +0000 (Mon, 07 Dec 2009)
New Revision: 111
Added:
tags/suiviobsmer-0.0.1-alpha-1/README.txt
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/LICENSE.txt
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/README.txt
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/README.txt
Modified:
tags/suiviobsmer-0.0.1-alpha-1/pom.xml
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java
tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java
Log:
Add license + readme
Added: tags/suiviobsmer-0.0.1-alpha-1/README.txt
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/README.txt (rev 0)
+++ tags/suiviobsmer-0.0.1-alpha-1/README.txt 2009-12-07 18:47:44 UTC (rev 111)
@@ -0,0 +1,11 @@
+Launch application with winstone
+--------------------------------
+
+java -jar suiviobsmer-XXX.war
+
+Default admin user
+------------------
+
+login = admin
+passwor = password
+
Modified: tags/suiviobsmer-0.0.1-alpha-1/pom.xml
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/pom.xml 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/pom.xml 2009-12-07 18:47:44 UTC (rev 111)
@@ -888,6 +888,35 @@
</plugins>
</build>
</profile>
+ <!-- ce profile permet de generer les entetes de licenses pour les
+ fichiers java -->
+ <profile>
+ <id>update-java-header</id>
+ <activation>
+ <property>
+ <name>updateJavaHeader</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <defaultGoal>process-resources</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.nuiton</groupId>
+ <artifactId>maven-license-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>update-java-header</id>
+ <goals>
+ <goal>update-header</goal>
+ </goals>
+ <phase>process-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
Added: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/LICENSE.txt
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/LICENSE.txt (rev 0)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/LICENSE.txt 2009-12-07 18:47:44 UTC (rev 111)
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU 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 General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Added: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/README.txt
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/README.txt (rev 0)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/README.txt 2009-12-07 18:47:44 UTC (rev 111)
@@ -0,0 +1,11 @@
+Launch application with winstone
+--------------------------------
+
+java -jar suiviobsmer-XXX.war
+
+Default admin user
+------------------
+
+login = admin
+passwor = password
+
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,8 +1,9 @@
package fr.ifremer.suiviobsmer;
/**
- * *##% Chorem-Commons
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -16,7 +17,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,8 +1,9 @@
package fr.ifremer.suiviobsmer;
/**
- * *##% Chorem-Commons
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -16,7 +17,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,6 +1,7 @@
/**
- * *##% Ca$h Business
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -14,7 +15,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.bean;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.bean;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.bean;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.business;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Added: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/README.txt
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/README.txt (rev 0)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/README.txt 2009-12-07 18:47:44 UTC (rev 111)
@@ -0,0 +1,11 @@
+Launch application with winstone
+--------------------------------
+
+java -jar suiviobsmer-XXX.war
+
+Default admin user
+------------------
+
+login = admin
+passwor = password
+
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.base;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,6 +1,7 @@
/**
- * *##% Ca$h Web Interface
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -14,7 +15,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
package fr.ifremer.suiviobsmer.ui.base;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.base;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.components;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,18 +1,21 @@
-/* *##% Pollen
- * Copyright (C) 2009 CodeLutin
+/* *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * it under the terms of the GNU 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.
+ * GNU General Lesser Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>. ##%*/
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*/
package fr.ifremer.suiviobsmer.ui.components;
@@ -114,4 +117,4 @@
errorMessages.add(message);
}
}
-}
\ No newline at end of file
+}
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.components;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
// Copyright 2007 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.data;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,18 +1,21 @@
-/* *##% Pollen
- * Copyright (C) 2009 CodeLutin
+/* *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * it under the terms of the GNU 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.
+ * GNU General Lesser Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>. ##%*/
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*/
package fr.ifremer.suiviobsmer.ui.services;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.services;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.services;
Modified: tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java
===================================================================
--- tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java 2009-12-07 18:42:18 UTC (rev 110)
+++ tags/suiviobsmer-0.0.1-alpha-1/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java 2009-12-07 18:47:44 UTC (rev 111)
@@ -1,20 +1,21 @@
-/* *##%
- * Copyright (C) 2009 Code Lutin
+/* *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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.
+ * GNU General Lesser Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *##%*/
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*/
package fr.ifremer.suiviobsmer.ui.war;
1
0
07 Dec '09
Author: fdesbois
Date: 2009-12-07 18:42:18 +0000 (Mon, 07 Dec 2009)
New Revision: 110
Added:
trunk/README.txt
trunk/suiviobsmer-business/LICENSE.txt
trunk/suiviobsmer-business/README.txt
trunk/suiviobsmer-ui/README.txt
Modified:
trunk/
trunk/pom.xml
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java
trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java
trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java
trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java
Log:
Add license header + readme
Property changes on: trunk
___________________________________________________________________
Added: svn:ignore
+ target
Added: trunk/README.txt
===================================================================
--- trunk/README.txt (rev 0)
+++ trunk/README.txt 2009-12-07 18:42:18 UTC (rev 110)
@@ -0,0 +1,11 @@
+Launch application with winstone
+--------------------------------
+
+java -jar suiviobsmer-XXX.war
+
+Default admin user
+------------------
+
+login = admin
+passwor = password
+
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/pom.xml 2009-12-07 18:42:18 UTC (rev 110)
@@ -888,6 +888,35 @@
</plugins>
</build>
</profile>
+ <!-- ce profile permet de generer les entetes de licenses pour les
+ fichiers java -->
+ <profile>
+ <id>update-java-header</id>
+ <activation>
+ <property>
+ <name>updateJavaHeader</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <defaultGoal>process-resources</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.nuiton</groupId>
+ <artifactId>maven-license-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>update-java-header</id>
+ <goals>
+ <goal>update-header</goal>
+ </goals>
+ <phase>process-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
Added: trunk/suiviobsmer-business/LICENSE.txt
===================================================================
--- trunk/suiviobsmer-business/LICENSE.txt (rev 0)
+++ trunk/suiviobsmer-business/LICENSE.txt 2009-12-07 18:42:18 UTC (rev 110)
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU 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 General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Added: trunk/suiviobsmer-business/README.txt
===================================================================
--- trunk/suiviobsmer-business/README.txt (rev 0)
+++ trunk/suiviobsmer-business/README.txt 2009-12-07 18:42:18 UTC (rev 110)
@@ -0,0 +1 @@
+Look at README.txt in SuiviObsmer-ui to launch the application
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DataLoader.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/DateUtils.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,8 +1,9 @@
package fr.ifremer.suiviobsmer;
/**
- * *##% Chorem-Commons
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -16,7 +17,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/PeriodDates.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,8 +1,9 @@
package fr.ifremer.suiviobsmer;
/**
- * *##% Chorem-Commons
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -16,7 +17,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerException.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobal.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunner.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerRunnerImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/SuiviObsmerUtils.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,6 +1,7 @@
/**
- * *##% Ca$h Business
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -14,7 +15,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/BoatFilterImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.bean;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ContactState.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.bean;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/bean/ElligibleBoatsCompanyImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.bean;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/BoatInfosImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/CompanyImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/FishingZoneImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProfessionImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/ProgramImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleMonthImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/SampleRowImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/entity/UserImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceContactImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/impl/ServiceUserImpl.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceBoatMock.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceContactMock.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceNewsMock.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceReferentialMock.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceSamplingMock.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java
===================================================================
--- trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/main/java/fr/ifremer/suiviobsmer/mock/ServiceUserMock.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.mock;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerGlobalTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/SuiviObsmerUtilsTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/business/SuiviObsmerRunnerTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.business;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/ProgramImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/entity/SampleRowImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.entity;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceBoatImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceReferentialImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Modified: trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java
===================================================================
--- trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-business/src/test/java/fr/ifremer/suiviobsmer/impl/ServiceSamplingImplTest.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Business
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.impl;
Added: trunk/suiviobsmer-ui/README.txt
===================================================================
--- trunk/suiviobsmer-ui/README.txt (rev 0)
+++ trunk/suiviobsmer-ui/README.txt 2009-12-07 18:42:18 UTC (rev 110)
@@ -0,0 +1,11 @@
+Launch application with winstone
+--------------------------------
+
+java -jar suiviobsmer-XXX.war
+
+Default admin user
+------------------
+
+login = admin
+passwor = password
+
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/BusinessUtils.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.base;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/GenericSelectModel.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,6 +1,7 @@
/**
- * *##% Ca$h Web Interface
- * Copyright (C) 2009 CodeLutin
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -14,7 +15,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
*/
package fr.ifremer.suiviobsmer.ui.base;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/base/SuiviObsmerPage.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.base;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/BooleanImage.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.components;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/FeedBack.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,18 +1,21 @@
-/* *##% Pollen
- * Copyright (C) 2009 CodeLutin
+/* *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * it under the terms of the GNU 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.
+ * GNU General Lesser Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>. ##%*/
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*/
package fr.ifremer.suiviobsmer.ui.components;
@@ -114,4 +117,4 @@
errorMessages.add(message);
}
}
-}
\ No newline at end of file
+}
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/Layout.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.components;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/components/SubmitContext.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
// Copyright 2007 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/data/SuiviObsmerPropertyChangeListener.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.data;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Administration.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Boats.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Contacts.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Index.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SampleRowForm.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingHistoric.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/SamplingPlan.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/Synthesis.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/pages/UserProfile.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.pages;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/AppModule.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,18 +1,21 @@
-/* *##% Pollen
- * Copyright (C) 2009 CodeLutin
+/* *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * it under the terms of the GNU 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.
+ * GNU General Lesser Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>. ##%*/
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*/
package fr.ifremer.suiviobsmer.ui.services;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/ContactModelFactory.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.services;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/services/SuiviObsmerManager.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*
+ */
package fr.ifremer.suiviobsmer.ui.services;
Modified: trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java
===================================================================
--- trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java 2009-12-07 18:27:35 UTC (rev 109)
+++ trunk/suiviobsmer-ui/src/main/java/fr/ifremer/suiviobsmer/ui/war/SuiviObsmerWarLauncher.java 2009-12-07 18:42:18 UTC (rev 110)
@@ -1,20 +1,21 @@
-/* *##%
- * Copyright (C) 2009 Code Lutin
+/* *##%
+ * SuiviObsmer Web Interface
+ * Copyright (C) 2009 Ifremer
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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.
+ * GNU General Lesser Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *##%*/
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
+ * ##%*/
package fr.ifremer.suiviobsmer.ui.war;
1
0
[Suiviobsmer-commits] r109 - in trunk: . suiviobsmer-business suiviobsmer-ui
by fdesbois@users.labs.libre-entreprise.org 07 Dec '09
by fdesbois@users.labs.libre-entreprise.org 07 Dec '09
07 Dec '09
Author: fdesbois
Date: 2009-12-07 18:27:35 +0000 (Mon, 07 Dec 2009)
New Revision: 109
Modified:
trunk/pom.xml
trunk/suiviobsmer-business/pom.xml
trunk/suiviobsmer-ui/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-12-07 18:27:32 UTC (rev 108)
+++ trunk/pom.xml 2009-12-07 18:27:35 UTC (rev 109)
@@ -15,7 +15,7 @@
<groupId>fr.ifremer</groupId>
<artifactId>suiviobsmer</artifactId>
- <version>0.0.1-alpha-1</version>
+ <version>0.0.1-alpha-2-SNAPSHOT</version>
<modules>
<module>suiviobsmer-ui</module>
@@ -251,9 +251,9 @@
<scm>
- <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-1</connection>
- <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-1</developerConnection>
- <url>http://labs.libre-entreprise.org/scm/viewvc.php/tags/suiviobsmer-0.0.1-alph…</url>
+ <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk</connection>
+ <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk</developerConnection>
+ <url>http://labs.libre-entreprise.org/scm/viewvc.php/trunk/?root=suiviobsmer</url>
</scm>
<build>
Modified: trunk/suiviobsmer-business/pom.xml
===================================================================
--- trunk/suiviobsmer-business/pom.xml 2009-12-07 18:27:32 UTC (rev 108)
+++ trunk/suiviobsmer-business/pom.xml 2009-12-07 18:27:35 UTC (rev 109)
@@ -10,7 +10,7 @@
<parent>
<groupId>fr.ifremer</groupId>
<artifactId>suiviobsmer</artifactId>
- <version>0.0.1-alpha-1</version>
+ <version>0.0.1-alpha-2-SNAPSHOT</version>
</parent>
<groupId>fr.ifremer.suiviobsmer</groupId>
@@ -110,9 +110,9 @@
</build>
<scm>
- <url>http://labs.libre-entreprise.org/scm/viewvc.php/tags/suiviobsmer-0.0.1-alph…</url>
- <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</connection>
- <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</developerConnection>
+ <url>http://labs.libre-entreprise.org/scm/viewvc.php/trunk/suiviobsmer-business/…</url>
+ <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk/suiviobsmer-business</connection>
+ <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk/suiviobsmer-business</developerConnection>
</scm>
</project>
Modified: trunk/suiviobsmer-ui/pom.xml
===================================================================
--- trunk/suiviobsmer-ui/pom.xml 2009-12-07 18:27:32 UTC (rev 108)
+++ trunk/suiviobsmer-ui/pom.xml 2009-12-07 18:27:35 UTC (rev 109)
@@ -10,7 +10,7 @@
<parent>
<groupId>fr.ifremer</groupId>
<artifactId>suiviobsmer</artifactId>
- <version>0.0.1-alpha-1</version>
+ <version>0.0.1-alpha-2-SNAPSHOT</version>
</parent>
<groupId>fr.ifremer.suiviobsmer</groupId>
@@ -123,9 +123,9 @@
</build>
<scm>
- <url>http://labs.libre-entreprise.org/scm/viewvc.php/tags/suiviobsmer-0.0.1-alph…</url>
- <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</connection>
- <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</developerConnection>
+ <url>http://labs.libre-entreprise.org/scm/viewvc.php/trunk/suiviobsmer-ui/?root=…</url>
+ <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk/suiviobsmer-ui</connection>
+ <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk/suiviobsmer-ui</developerConnection>
</scm>
</project>
1
0
Author: fdesbois
Date: 2009-12-07 18:27:32 +0000 (Mon, 07 Dec 2009)
New Revision: 108
Added:
tags/suiviobsmer-0.0.1-alpha-1/
Log:
[maven-scm] copy for tag suiviobsmer-0.0.1-alpha-1
1
0
[Suiviobsmer-commits] r107 - in trunk: . suiviobsmer-business suiviobsmer-ui
by fdesbois@users.labs.libre-entreprise.org 07 Dec '09
by fdesbois@users.labs.libre-entreprise.org 07 Dec '09
07 Dec '09
Author: fdesbois
Date: 2009-12-07 18:27:28 +0000 (Mon, 07 Dec 2009)
New Revision: 107
Modified:
trunk/pom.xml
trunk/suiviobsmer-business/pom.xml
trunk/suiviobsmer-ui/pom.xml
Log:
[maven-release-plugin] prepare release suiviobsmer-0.0.1-alpha-1
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-12-07 18:13:01 UTC (rev 106)
+++ trunk/pom.xml 2009-12-07 18:27:28 UTC (rev 107)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -16,7 +15,7 @@
<groupId>fr.ifremer</groupId>
<artifactId>suiviobsmer</artifactId>
- <version>0.0.1-alpha-1-SNAPSHOT</version>
+ <version>0.0.1-alpha-1</version>
<modules>
<module>suiviobsmer-ui</module>
@@ -252,9 +251,9 @@
<scm>
- <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk</connection>
- <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/trunk</developerConnection>
- <url>http://labs.libre-entreprise.org/scm/viewvc.php/trunk/?root=suiviobsmer</url>
+ <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-1</connection>
+ <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-1</developerConnection>
+ <url>http://labs.libre-entreprise.org/scm/viewvc.php/tags/suiviobsmer-0.0.1-alph…</url>
</scm>
<build>
Modified: trunk/suiviobsmer-business/pom.xml
===================================================================
--- trunk/suiviobsmer-business/pom.xml 2009-12-07 18:13:01 UTC (rev 106)
+++ trunk/suiviobsmer-business/pom.xml 2009-12-07 18:27:28 UTC (rev 107)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -11,7 +10,7 @@
<parent>
<groupId>fr.ifremer</groupId>
<artifactId>suiviobsmer</artifactId>
- <version>0.0.1-alpha-1-SNAPSHOT</version>
+ <version>0.0.1-alpha-1</version>
</parent>
<groupId>fr.ifremer.suiviobsmer</groupId>
@@ -111,7 +110,9 @@
</build>
<scm>
- <url>http://labs.libre-entreprise.org/scm/viewvc.php/trunk/suiviobsmer-business/…</url>
- </scm>
+ <url>http://labs.libre-entreprise.org/scm/viewvc.php/tags/suiviobsmer-0.0.1-alph…</url>
+ <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</connection>
+ <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</developerConnection>
+ </scm>
</project>
Modified: trunk/suiviobsmer-ui/pom.xml
===================================================================
--- trunk/suiviobsmer-ui/pom.xml 2009-12-07 18:13:01 UTC (rev 106)
+++ trunk/suiviobsmer-ui/pom.xml 2009-12-07 18:27:28 UTC (rev 107)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -11,7 +10,7 @@
<parent>
<groupId>fr.ifremer</groupId>
<artifactId>suiviobsmer</artifactId>
- <version>0.0.1-alpha-1-SNAPSHOT</version>
+ <version>0.0.1-alpha-1</version>
</parent>
<groupId>fr.ifremer.suiviobsmer</groupId>
@@ -124,7 +123,9 @@
</build>
<scm>
- <url>http://labs.libre-entreprise.org/scm/viewvc.php/trunk/suiviobsmer-ui/?root=…</url>
- </scm>
+ <url>http://labs.libre-entreprise.org/scm/viewvc.php/tags/suiviobsmer-0.0.1-alph…</url>
+ <connection>scm:svn:svn://anonymous at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</connection>
+ <developerConnection>scm:svn:svn+ssh://fdesbois at labs.libre-entreprise.org/svnroot/suiviobsmer/tags/suiviobsmer-0.0.1-alpha-…</developerConnection>
+ </scm>
</project>
1
0