Simexplorer-si-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
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
January 2008
- 2 participants
- 470 discussions
r434 - trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/model
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: tchemit
Date: 2008-01-23 15:03:01 +0000 (Wed, 23 Jan 2008)
New Revision: 434
Modified:
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/model/DetailTabModel.java
Log:
le bean ?\195?\160 utiliser est une LoggableElement + doc
Modified: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/model/DetailTabModel.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/model/DetailTabModel.java 2008-01-23 14:38:32 UTC (rev 433)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/model/DetailTabModel.java 2008-01-23 15:03:01 UTC (rev 434)
@@ -18,36 +18,30 @@
* \#\#% */
package fr.cemagref.simexplorer.is.ui.swing.model;
-import fr.cemagref.simexplorer.is.contenttype.ContentType;
-import fr.cemagref.simexplorer.is.entities.metadata.MetaDataEntity;
-import fr.cemagref.simexplorer.is.entities.metadata.Version;
+import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
import fr.cemagref.simexplorer.is.ui.swing.SimExplorerTab;
import jaxx.runtime.builder.TabModel;
-import java.util.Date;
-import java.util.Map;
-
/**
* Le model pour un Tab contenant le détail d'une application
*
* @author chemit
*/
public class DetailTabModel implements TabModel {
-
+ /** ? */
protected SimExplorerTab tab;
private static final long serialVersionUID = 4851121531481734868L;
- protected MetaDataEntity bean;
-
+ /** l'uuid de l'élément que l'on veut récupérer */
protected String uuid;
-
+ /** flag pour savoir si on est dans le cas local ou remote */
protected boolean remote;
-
+ /** l'index de l'élément recherché à partir de la liste */
protected int index;
+ /** l'élément dont on veut afficher le détail */
+ protected LoggableElement bean;
- protected Version[] versions;
-
public String getName() {
return tab.name();
}
@@ -56,7 +50,7 @@
return tab;
}
- public MetaDataEntity getBean() {
+ public LoggableElement getBean() {
return bean;
}
@@ -76,75 +70,11 @@
this.index = index;
}
- public Version[] getVersions() {
- return versions;
- }
-
- public void setVersions(Version[] versions) {
- this.versions = versions;
- }
-
- public Map<String, ContentType> getAttachments() {
- return getBean().getAttachments();
- }
-
- public Date getCreationDate() {
- return getBean().getCreationDate();
- }
-
- public String getDescription() {
- return getBean().getDescription();
- }
-
- public Map<String, String> getDescriptors() {
- return getBean().getDescriptors();
- }
-
- public String getType() {
- return getBean().getType();
- }
-
- public boolean isLatest() {
- return getBean().isLatest();
- }
-
- public String getHash() {
- return getBean().getHash();
- }
-
- public String getApplicationName() {
- return getBean().getName();
- }
-
- public String getParentDataUuid() {
- return getBean().getParentDataUuid();
- }
-
- public String getParentDataVersion() {
- return getBean().getParentDataVersion();
- }
-
- public String getParentVersionUuid() {
- return getBean().getParentVersionUuid();
- }
-
- public String getParentVersionVersion() {
- return getBean().getParentVersionVersion();
- }
-
- public String getUuid() {
- return getBean().getUuid();
- }
-
- public Version getVersion() {
- return getBean().getVersion();
- }
-
public void setName(String name) {
this.tab = SimExplorerTab.valueOf(name);
}
- public void setBean(MetaDataEntity bean) {
+ public void setBean(LoggableElement bean) {
this.bean = bean;
}
1
0
r433 - trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: tchemit
Date: 2008-01-23 14:38:32 +0000 (Wed, 23 Jan 2008)
New Revision: 433
Modified:
trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/SimExplorerAbstractTabAction.java
Log:
implantation m?\195?\169thode getElement appelant le service
Modified: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/SimExplorerAbstractTabAction.java
===================================================================
--- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/SimExplorerAbstractTabAction.java 2008-01-23 14:14:21 UTC (rev 432)
+++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/SimExplorerAbstractTabAction.java 2008-01-23 14:38:32 UTC (rev 433)
@@ -18,10 +18,11 @@
* ##% */
package fr.cemagref.simexplorer.is.ui.swing.action;
-import fr.cemagref.simexplorer.is.ui.swing.SimExplorerTab;
-import fr.cemagref.simexplorer.is.ui.SimExplorer;
+import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
import fr.cemagref.simexplorer.is.entities.metadata.MetaDataEntity;
import fr.cemagref.simexplorer.is.service.StorageService;
+import fr.cemagref.simexplorer.is.ui.SimExplorer;
+import fr.cemagref.simexplorer.is.ui.swing.SimExplorerTab;
import jaxx.runtime.JAXXObject;
import jaxx.runtime.builder.TabModel;
import org.apache.commons.beanutils.Converter;
@@ -82,7 +83,7 @@
break;
}
}
- if (tab==null) {
+ if (tab == null) {
throw new IllegalStateException("could not found tab to match for action " + this);
}
}
@@ -103,14 +104,46 @@
return s.substring(s.lastIndexOf(".") + 1) + "<tab: " + tab + ", param: " + param + ">";
}
- protected MetaDataEntity[] getData(boolean onlyLatest,int width, long newFirstIndex,int rowOrder) throws Exception {
+ protected int getCount(boolean remote, String token, String query) throws Exception {
+ int size;
+ if (query == null || query.isEmpty()) {
+ if (remote) {
+ size = SimExplorer.getRemoteStorageService().findApplicationsCount(token, false);
+ } else {
+ size = SimExplorer.getStorageService().findApplicationsCount(token, false);
+ }
+ } else {
+ if (remote) {
+ size = SimExplorer.getRemoteStorageService().findFullTextCount(token, query, false);
+ } else {
+ size = SimExplorer.getStorageService().findFullTextCount(token, query, false);
+ }
+ }
+ return size;
+ }
+
+ protected MetaDataEntity[] getData(boolean remote, boolean onlyLatest, String query, int width, long newFirstIndex, int rowOrder) throws Exception {
StorageService service;
- service = getTab() == SimExplorerTab.local ? SimExplorer.getStorageService() : SimExplorer.getRemoteStorageService();
+ service = remote ? SimExplorer.getRemoteStorageService() : SimExplorer.getStorageService();
MetaDataEntity[] data;
- data = service.findApplications(null, onlyLatest, (int) newFirstIndex, width, rowOrder);
+ if (query == null || query.isEmpty()) {
+
+ data = service.findApplications(null, onlyLatest, (int) newFirstIndex, width, rowOrder);
+ } else {
+ data = service.findFullText(null, query, onlyLatest, (int) newFirstIndex, width, rowOrder);
+
+ }
return data;
}
-
+
+ protected LoggableElement getElement(boolean remote, String uuid, String version) throws Exception {
+ StorageService service;
+ service = remote ? SimExplorer.getRemoteStorageService() : SimExplorer.getStorageService();
+ LoggableElement data;
+ data = service.getElement(null, uuid, version);
+ return data;
+ }
+
protected JComponent getUIObject(String name) {
return getUIObject(name, getUI());
}
1
0
r432 - trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: tchemit
Date: 2008-01-23 14:14:21 +0000 (Wed, 23 Jan 2008)
New Revision: 432
Modified:
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java
Log:
suppression initializer inutiles + params javadoc inutile
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java 2008-01-23 14:13:46 UTC (rev 431)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java 2008-01-23 14:14:21 UTC (rev 432)
@@ -397,7 +397,7 @@
int result = 0;
- Hits hits = null;
+ Hits hits;
// Get current searcher instance
Searcher searcher = getSearcher();
try {
@@ -439,7 +439,7 @@
Set<MetaDataEntity> result = null;
- Hits hits = null;
+ Hits hits;
// Get current searcher instance
Searcher searcher = getSearcher();
try {
@@ -554,8 +554,6 @@
/**
* Transform a Lucene document into a LoggableElement thanks to a factory
*
- * @param factory
- * The element factory
* @param document
* The document to transform
* @return Instance of element
@@ -645,7 +643,7 @@
/**
* Transform an element to a Lucene document thanks to a factory
*
- * @param factory
+ * @param readers
* @param element
* @return
* @throws Exception
1
0
r431 - in trunk/simexplorer-is-service/src: java/fr/cemagref/simexplorer/is/service test/fr/cemagref/simexplorer/is/service/test
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: tchemit
Date: 2008-01-23 14:13:46 +0000 (Wed, 23 Jan 2008)
New Revision: 431
Added:
trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/ElementGenerator.java
Removed:
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java
Modified:
trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/MockStorageServiceImpl.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java
Log:
implantation de la m?\195?\169thode getLement du service + d?\195?\169placement generator
Copied: trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/ElementGenerator.java (from rev 430, trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java)
===================================================================
--- trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/ElementGenerator.java (rev 0)
+++ trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/ElementGenerator.java 2008-01-23 14:13:46 UTC (rev 431)
@@ -0,0 +1,177 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
+package fr.cemagref.simexplorer.is.service;
+
+import java.util.Date;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Random;
+import java.util.Set;
+import java.util.UUID;
+
+import fr.cemagref.simexplorer.is.entities.data.Code;
+import fr.cemagref.simexplorer.is.entities.data.Component;
+import fr.cemagref.simexplorer.is.entities.data.Constant;
+import fr.cemagref.simexplorer.is.entities.data.ConstantValue;
+import fr.cemagref.simexplorer.is.entities.data.DataEntity;
+import fr.cemagref.simexplorer.is.entities.data.ExplorationApplication;
+import fr.cemagref.simexplorer.is.entities.data.ExplorationData;
+import fr.cemagref.simexplorer.is.entities.data.Library;
+import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
+import fr.cemagref.simexplorer.is.entities.data.Result;
+import fr.cemagref.simexplorer.is.entities.data.Structure;
+import fr.cemagref.simexplorer.is.entities.metadata.MetaDataEntity;
+import fr.cemagref.simexplorer.is.entities.metadata.Version;
+import fr.cemagref.simexplorer.is.factories.BaseEntityFactory;
+
+public class ElementGenerator {
+
+ private Random r = new Random();
+
+ private String shortString() {
+ return Long.toHexString(r.nextLong());
+ }
+
+ private String longString() {
+ return UUID.randomUUID().toString();
+ }
+
+ private void update(LoggableElement element) throws Exception {
+ MetaDataEntity metaData = new MetaDataEntity();
+ metaData.setUuid(shortString());
+ metaData.setName(longString());
+ metaData.setType(element.getClass().getSimpleName());
+
+ StringBuffer sb = new StringBuffer("");
+ int c = 3 + r.nextInt(5);
+ for (int i = 0; i < c; i++) {
+ sb.append(shortString());
+ sb.append(" ");
+ }
+ metaData.setDescription(sb.toString());
+
+ Version v = new Version("0");
+ c = 2 + r.nextInt(2);
+ for (int i = 0; i < c; i++) {
+ v.setVersion(i, r.nextInt(5));
+ }
+ metaData.setVersion(v.toString());
+ metaData.setCreationDate(new Date());
+ metaData.setHash(shortString());
+ metaData.setLatest(true);
+
+ Map<String, String> descriptors = new HashMap<String, String>();
+ int i = 5 + r.nextInt(10);
+ for (int j = 0; j < i; j++) {
+ descriptors.put(Integer.toString(j), shortString());
+ }
+ metaData.setDescriptors(descriptors);
+
+ element.setMetaData(metaData);
+ }
+
+ private <T extends DataEntity> Set<T> generateArray(Class<T> clazz)
+ throws Exception {
+ Set<T> elements = new HashSet<T>();
+ int i = 3 + r.nextInt(2);
+ for (int j = 0; j < i; j++) {
+ T element = BaseEntityFactory.<T>getFactory(clazz).createInstance();
+ if (element instanceof LoggableElement) {
+ update((LoggableElement) element);
+ }
+ elements.add(element);
+ }
+ return elements;
+ }
+
+ public ExplorationApplication generateRandomEA() throws Exception {
+ ExplorationApplication ea = new ExplorationApplication();
+ update(ea);
+ Set<ExplorationData> datas = generateArray(ExplorationData.class);
+ for (ExplorationData object : datas) {
+ processExplorationData(object);
+ }
+ ea.setExplorations(datas);
+ Set<Component> components = generateArray(Component.class);
+ for (Component object : components) {
+ processComponent(object);
+ }
+ ea.setComponents(components);
+ return ea;
+ }
+
+ private void processComponent(Component component) throws Exception {
+ Set<Constant> constants = generateArray(Constant.class);
+ for (Constant constant : constants) {
+ processConstant(constant);
+ }
+ component.setConstants(constants);
+
+ component.setStructures(new HashSet<Structure>());
+
+ Set<Code> codes = generateArray(Code.class);
+ for (Code code : codes) {
+ processCode(code);
+ }
+ component.setCodes(codes);
+
+ Set<Library> libraries = generateArray(Library.class);
+ for (Library library : libraries) {
+ processLibrary(library);
+ }
+ component.setLibraries(libraries);
+
+ }
+
+ private void processLibrary(Library library) {
+ }
+
+ private void processCode(Code code) {
+ code.setCode(shortString());
+ code.setLanguage(shortString());
+ }
+
+ private void processConstant(Constant constant) {
+ constant.setName(shortString());
+ constant.setType(String.class);
+ }
+
+ private void processExplorationData(ExplorationData explorationData)
+ throws Exception {
+ Result result = new Result();
+ explorationData.setResult(result);
+
+ Set<ConstantValue> constantValues = generateArray(ConstantValue.class);
+ for (ConstantValue constantValue : constantValues) {
+ processConstantValue(constantValue);
+ }
+ explorationData.setValuesMap(constantValues);
+
+ }
+
+ private void processConstantValue(ConstantValue constantValue) {
+ Constant constant = new Constant();
+ constant.setName(shortString());
+ constant.setType(Integer.class);
+
+ constantValue.setConstant(constant);
+ constantValue.setValue(Integer.toString(r.nextInt()));
+ }
+
+}
Modified: trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/MockStorageServiceImpl.java
===================================================================
--- trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/MockStorageServiceImpl.java 2008-01-23 11:17:09 UTC (rev 430)
+++ trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/MockStorageServiceImpl.java 2008-01-23 14:13:46 UTC (rev 431)
@@ -21,6 +21,7 @@
import com.healthmarketscience.rmiio.RemoteInputStream;
import com.healthmarketscience.rmiio.RemoteOutputStream;
import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
+import fr.cemagref.simexplorer.is.entities.data.ExplorationApplication;
import fr.cemagref.simexplorer.is.entities.metadata.MetaDataEntity;
import fr.cemagref.simexplorer.is.storage.MetaDataGenerator;
@@ -34,9 +35,13 @@
public class MockStorageServiceImpl implements StorageService {
static final int SIZE = 400;
- SortedMap<String, MetaDataEntity> mockData;
- List<String> mockDataIndex;
+ protected SortedMap<String, MetaDataEntity> mockData;
+
+ protected List<String> mockDataIndex;
+
+ protected ElementGenerator generator;
+
public SortedMap<String, MetaDataEntity> mockData() {
if (mockData == null) {
mockData = new TreeMap<String, MetaDataEntity>();
@@ -107,8 +112,20 @@
return result;
}
+ public ElementGenerator getGenerator() {
+ if (generator == null) {
+ generator = new ElementGenerator();
+ }
+ return generator;
+ }
+
public LoggableElement getElement(String token, String uuid, String version) throws Exception {
- return (LoggableElement) checkImplemented();
+
+
+ ExplorationApplication explorationApplication = getGenerator().generateRandomEA();
+ explorationApplication.getMetaData().setUuid(uuid);
+ explorationApplication.getMetaData().setVersion(version);
+ return explorationApplication;
}
public String loginUser(String login, String password) {
Deleted: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java 2008-01-23 11:17:09 UTC (rev 430)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java 2008-01-23 14:13:46 UTC (rev 431)
@@ -1,177 +0,0 @@
-/*
-* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
-*
-* 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 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, write to the Free Software
-* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-* ##% */
-package fr.cemagref.simexplorer.is.service.test;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Random;
-import java.util.Set;
-import java.util.UUID;
-
-import fr.cemagref.simexplorer.is.entities.data.Code;
-import fr.cemagref.simexplorer.is.entities.data.Component;
-import fr.cemagref.simexplorer.is.entities.data.Constant;
-import fr.cemagref.simexplorer.is.entities.data.ConstantValue;
-import fr.cemagref.simexplorer.is.entities.data.DataEntity;
-import fr.cemagref.simexplorer.is.entities.data.ExplorationApplication;
-import fr.cemagref.simexplorer.is.entities.data.ExplorationData;
-import fr.cemagref.simexplorer.is.entities.data.Library;
-import fr.cemagref.simexplorer.is.entities.data.LoggableElement;
-import fr.cemagref.simexplorer.is.entities.data.Result;
-import fr.cemagref.simexplorer.is.entities.data.Structure;
-import fr.cemagref.simexplorer.is.entities.metadata.MetaDataEntity;
-import fr.cemagref.simexplorer.is.entities.metadata.Version;
-import fr.cemagref.simexplorer.is.factories.BaseEntityFactory;
-
-public class ElementGenerator {
-
- private Random r = new Random();
-
- private String shortString() {
- return Long.toHexString(r.nextLong());
- }
-
- private String longString() {
- return UUID.randomUUID().toString();
- }
-
- private void update(LoggableElement element) throws Exception {
- MetaDataEntity metaData = new MetaDataEntity();
- metaData.setUuid(shortString());
- metaData.setName(longString());
- metaData.setType(element.getClass().getSimpleName());
-
- StringBuffer sb = new StringBuffer("");
- int c = 3 + r.nextInt(5);
- for (int i = 0; i < c; i++) {
- sb.append(shortString());
- sb.append(" ");
- }
- metaData.setDescription(sb.toString());
-
- Version v = new Version("0");
- c = 2 + r.nextInt(2);
- for (int i = 0; i < c; i++) {
- v.setVersion(i, r.nextInt(5));
- }
- metaData.setVersion(v.toString());
- metaData.setCreationDate(new Date());
- metaData.setHash(shortString());
- metaData.setLatest(true);
-
- Map<String, String> descriptors = new HashMap<String, String>();
- int i = 5 + r.nextInt(10);
- for (int j = 0; j < i; j++) {
- descriptors.put(Integer.toString(j), shortString());
- }
- metaData.setDescriptors(descriptors);
-
- element.setMetaData(metaData);
- }
-
- private <T extends DataEntity> Set<T> generateArray(Class<T> clazz)
- throws Exception {
- Set<T> elements = new HashSet<T>();
- int i = 3 + r.nextInt(2);
- for (int j = 0; j < i; j++) {
- T element = BaseEntityFactory.<T>getFactory(clazz).createInstance();
- if (element instanceof LoggableElement) {
- update((LoggableElement) element);
- }
- elements.add(element);
- }
- return elements;
- }
-
- public ExplorationApplication generateRandomEA() throws Exception {
- ExplorationApplication ea = new ExplorationApplication();
- update(ea);
- Set<ExplorationData> datas = generateArray(ExplorationData.class);
- for (ExplorationData object : datas) {
- processExplorationData(object);
- }
- ea.setExplorations(datas);
- Set<Component> components = generateArray(Component.class);
- for (Component object : components) {
- processComponent(object);
- }
- ea.setComponents(components);
- return ea;
- }
-
- private void processComponent(Component component) throws Exception {
- Set<Constant> constants = generateArray(Constant.class);
- for (Constant constant : constants) {
- processConstant(constant);
- }
- component.setConstants(constants);
-
- component.setStructures(new HashSet<Structure>());
-
- Set<Code> codes = generateArray(Code.class);
- for (Code code : codes) {
- processCode(code);
- }
- component.setCodes(codes);
-
- Set<Library> libraries = generateArray(Library.class);
- for (Library library : libraries) {
- processLibrary(library);
- }
- component.setLibraries(libraries);
-
- }
-
- private void processLibrary(Library library) {
- }
-
- private void processCode(Code code) {
- code.setCode(shortString());
- code.setLanguage(shortString());
- }
-
- private void processConstant(Constant constant) {
- constant.setName(shortString());
- constant.setType(String.class);
- }
-
- private void processExplorationData(ExplorationData explorationData)
- throws Exception {
- Result result = new Result();
- explorationData.setResult(result);
-
- Set<ConstantValue> constantValues = generateArray(ConstantValue.class);
- for (ConstantValue constantValue : constantValues) {
- processConstantValue(constantValue);
- }
- explorationData.setValuesMap(constantValues);
-
- }
-
- private void processConstantValue(ConstantValue constantValue) {
- Constant constant = new Constant();
- constant.setName(shortString());
- constant.setType(Integer.class);
-
- constantValue.setConstant(constant);
- constantValue.setValue(Integer.toString(r.nextInt()));
- }
-
-}
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java 2008-01-23 11:17:09 UTC (rev 430)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java 2008-01-23 14:13:46 UTC (rev 431)
@@ -27,6 +27,7 @@
import fr.cemagref.simexplorer.is.factories.XmlConstants;
import fr.cemagref.simexplorer.is.service.StorageServiceClient;
import fr.cemagref.simexplorer.is.service.StorageServiceCommon;
+import fr.cemagref.simexplorer.is.service.ElementGenerator;
public class StorageServiceMassInsert extends TestCase {
1
0
23 Jan '08
Author: tchemit
Date: 2008-01-23 11:17:09 +0000 (Wed, 23 Jan 2008)
New Revision: 430
Removed:
trunk/simexplorer-is-swing/src/i18n/
Log:
update plugin i18n
1
0
23 Jan '08
Author: tchemit
Date: 2008-01-23 11:11:22 +0000 (Wed, 23 Jan 2008)
New Revision: 429
Removed:
trunk/simexplorer-is-swing/src/i18n/language-en_GB.properties
trunk/simexplorer-is-swing/src/i18n/language-fr_FR.properties
Log:
update plugin i18n
Deleted: trunk/simexplorer-is-swing/src/i18n/language-en_GB.properties
===================================================================
--- trunk/simexplorer-is-swing/src/i18n/language-en_GB.properties 2008-01-23 10:59:17 UTC (rev 428)
+++ trunk/simexplorer-is-swing/src/i18n/language-en_GB.properties 2008-01-23 11:11:22 UTC (rev 429)
@@ -1,155 +0,0 @@
-#Tue Jan 22 12:48:42 GMT 2008
-simexplorer.action.about=About
-simexplorer.action.about.help=
-simexplorer.action.about.tooltip=Show About dialog
-simexplorer.action.application.advancedSearch=Advanced search
-simexplorer.action.application.advancedSearch.help=
-simexplorer.action.application.advancedSearch.tooltip=Show advanced search dialog
-simexplorer.action.application.collapseAll=collapseAll
-simexplorer.action.application.collapseAll.help=
-simexplorer.action.application.collapseAll.tooltip=Collapse all nodes
-simexplorer.action.application.expandAll=expandAll
-simexplorer.action.application.expandAll.help=Expand all nodes
-simexplorer.action.application.expandAll.tooltip=
-simexplorer.action.application.export=export
-simexplorer.action.application.export.help=
-simexplorer.action.application.export.tooltip=Export application
-simexplorer.action.application.import=import
-simexplorer.action.application.import.help=
-simexplorer.action.application.import.tooltip=import application
-simexplorer.action.application.resetSearch=reset
-simexplorer.action.application.resetSearch.help=
-simexplorer.action.application.resetSearch.tooltip=reset search
-simexplorer.action.application.search=search
-simexplorer.action.application.search.help=
-simexplorer.action.application.search.tooltip=Launch search
-simexplorer.action.application.searchText=search text \:
-simexplorer.action.application.searchText.tooltip=Text to search in applications
-simexplorer.action.closeTab=close
-simexplorer.action.closeTab.help=
-simexplorer.action.closeTab.tooltip=close the tab
-simexplorer.action.config=Preferences
-simexplorer.action.config.help=
-simexplorer.action.config.tooltip=Display the configuration modifier UI
-simexplorer.action.connect=Connect
-simexplorer.action.connect.help=
-simexplorer.action.connect.tooltip=Connect to remote server
-simexplorer.action.groups=Groups
-simexplorer.action.groups.help=
-simexplorer.action.groups.tooltip=Show Groups admin screen
-simexplorer.action.help=Help
-simexplorer.action.help.help=
-simexplorer.action.help.tooltip=Show help dialog
-simexplorer.action.hide.local=hide local applications
-simexplorer.action.hide.local.help=
-simexplorer.action.hide.local.tooltip=hide local applications
-simexplorer.action.hide.remote=hide remote applications
-simexplorer.action.hide.remote.help=
-simexplorer.action.hide.remote.tooltip=Hide the list of remote applications
-simexplorer.action.hide.synchronize=hide Synchronize
-simexplorer.action.hide.synchronize.help=
-simexplorer.action.hide.synchronize.tooltip=Hide Synchronize screen
-simexplorer.action.i18n.en=English
-simexplorer.action.i18n.en.help=
-simexplorer.action.i18n.en.tooltip=Change to english language
-simexplorer.action.i18n.fr=French
-simexplorer.action.i18n.fr.help=
-simexplorer.action.i18n.fr.tooltip=Change to french language
-simexplorer.action.pagination.changeSizor=Change Page size
-simexplorer.action.pagination.changeSizor.help=
-simexplorer.action.pagination.changeSizor.tooltip=Select the number of results to display in a page
-simexplorer.action.pagination.currentPage=page
-simexplorer.action.pagination.goFirstPage=First page
-simexplorer.action.pagination.goFirstPage.help=
-simexplorer.action.pagination.goFirstPage.tooltip=Access to first page in the list of results
-simexplorer.action.pagination.goLastPage=Last page
-simexplorer.action.pagination.goLastPage.help=
-simexplorer.action.pagination.goLastPage.tooltip=Access to last page in the list of results
-simexplorer.action.pagination.goNextPage=Next page
-simexplorer.action.pagination.goNextPage.help=
-simexplorer.action.pagination.goNextPage.tooltip=Access to next page in the list of results
-simexplorer.action.pagination.goPage=Page
-simexplorer.action.pagination.goPage.help=
-simexplorer.action.pagination.goPage.tooltip=Select page to display in the list of results
-simexplorer.action.pagination.goPreviousPage=Previous page
-simexplorer.action.pagination.goPreviousPage.help=
-simexplorer.action.pagination.goPreviousPage.tooltip=Access to previous page in the list of results
-simexplorer.action.quit=Quit
-simexplorer.action.quit.help=
-simexplorer.action.quit.tooltip=Quit SimExplorer SI
-simexplorer.action.show.detail=Application detail
-simexplorer.action.show.detail.help=
-simexplorer.action.show.detail.tooltip=show Detail of Application
-simexplorer.action.show.local=Applications (local)
-simexplorer.action.show.local.help=
-simexplorer.action.show.local.tooltip=Show the list of local applications
-simexplorer.action.show.remote=Applications (remote)
-simexplorer.action.show.remote.help=
-simexplorer.action.show.remote.tooltip=Show the list of remote applications
-simexplorer.action.show.synchronize=Synchronize
-simexplorer.action.show.synchronize.help=
-simexplorer.action.show.synchronize.tooltip=Show synchronize screen
-simexplorer.action.site=Site
-simexplorer.action.site.help=
-simexplorer.action.site.tooltip=Go to SimExplorer SI site
-simexplorer.action.synchronize=Synchronize
-simexplorer.action.synchronize.help=
-simexplorer.action.synchronize.tooltip=Launch synchronization
-simexplorer.action.unconnect=Unconnect
-simexplorer.action.unconnect.help=
-simexplorer.action.unconnect.tooltip=Disconnect from remote server
-simexplorer.action.users=Users
-simexplorer.action.users.help=
-simexplorer.action.users.tooltip=Show Users admin screen
-simexplorer.admin.menu=Admin
-simexplorer.change.config.property=
-simexplorer.common.cancel=cancel
-simexplorer.common.creationDate=create date
-simexplorer.common.description=description
-simexplorer.common.name=name
-simexplorer.common.ok=ok
-simexplorer.common.reset=reset
-simexplorer.common.type=type
-simexplorer.common.version=version
-simexplorer.config.i18n.menu=Language
-simexplorer.config.main.backupDirectory.description=Directory to put all SimExplorer backup files
-simexplorer.config.main.baseDirectory.description=Directory of the local databse of SimExplorer
-simexplorer.config.main.configFileName.description=The path of the configuration file
-simexplorer.config.main.country.description=Country of the user's locale
-simexplorer.config.main.description=Configuration de l'application SimExplorer SI
-simexplorer.config.main.firstName.description=User first name
-simexplorer.config.main.language.description=Language of user's locale
-simexplorer.config.main.lastName.description=User last name
-simexplorer.config.main.login.description=User login to remote server
-simexplorer.config.main.serverURL.description=URL of the remote server
-simexplorer.config.main.showLocalTab.description=Show at launch time, the local tab
-simexplorer.config.main.showRemoteTab.description=Show at launch time, the remote tab
-simexplorer.config.main.showSynchTab.description=Show at launch time, the synchronize tab
-simexplorer.config.main.sizor.description=number of result to display by page in ui
-simexplorer.config.main.userMail.description=User email adress
-simexplorer.config.main.version.description=Version of application
-simexplorer.config.menu=Configuration
-simexplorer.config.title=SimExplorer SI configuration modifier
-simexplorer.error.load.actions.class=could not found for action key {0} class {1}
-simexplorer.error.load.actions.file=could not load actions.properties file for reason {0}
-simexplorer.error.unfound.config.property=
-simexplorer.help.menu=Help
-simexplorer.main.menu=Main
-simexplorer.main.ui.title=SimExplorer SI v 0.0.1
-simexplorer.message.reset.user.configuration=
-simexplorer.option.description.config=change value of configuration property (with **key**) by value **value**.
-simexplorer.option.description.configFile=configuration's file
-simexplorer.option.description.editConfig=to launch UI of configuration modifier
-simexplorer.option.description.help=Show this help
-simexplorer.option.description.resetConfig=Reset user configuration.
-simexplorer.option.description.showConfig=See configuration details
-simexplorer.option.description.ui=launch or not user interface (value)
-simexplorer.tab.detail=Application detail
-simexplorer.tab.detail.tooltip=Screen of details of an Application
-simexplorer.tab.local=Local applications
-simexplorer.tab.local.tooltip=List of all applications existing on local database
-simexplorer.tab.remote=Remote applications
-simexplorer.tab.remote.tooltip=List of all applications existing on remote server
-simexplorer.tab.synchronize=Synchronize
-simexplorer.tab.synchronize.tooltip=Screen to synchronize applications
-{0}\ should\ have\ a\ name\ like\ this\ {1},\ but\ was\ {2}=
Deleted: trunk/simexplorer-is-swing/src/i18n/language-fr_FR.properties
===================================================================
--- trunk/simexplorer-is-swing/src/i18n/language-fr_FR.properties 2008-01-23 10:59:17 UTC (rev 428)
+++ trunk/simexplorer-is-swing/src/i18n/language-fr_FR.properties 2008-01-23 11:11:22 UTC (rev 429)
@@ -1,155 +0,0 @@
-#Tue Jan 22 12:48:42 GMT 2008
-simexplorer.action.about=A propos
-simexplorer.action.about.help=
-simexplorer.action.about.tooltip=Afficher les cr\u00E9dits
-simexplorer.action.application.advancedSearch=Recherche avanc\u00E9e
-simexplorer.action.application.advancedSearch.help=
-simexplorer.action.application.advancedSearch.tooltip=Cliquer pour afficher le recherche avanc\u00E9e
-simexplorer.action.application.collapseAll=tout r\u00E9duire
-simexplorer.action.application.collapseAll.help=
-simexplorer.action.application.collapseAll.tooltip=R\u00E9duire tous les noeuds
-simexplorer.action.application.expandAll=tout d\u00E9rouler
-simexplorer.action.application.expandAll.help=
-simexplorer.action.application.expandAll.tooltip=\u00E9taler tous les noeuds
-simexplorer.action.application.export=exporter
-simexplorer.action.application.export.help=
-simexplorer.action.application.export.tooltip=Exporter une application
-simexplorer.action.application.import=importer
-simexplorer.action.application.import.help=
-simexplorer.action.application.import.tooltip=Importer une application
-simexplorer.action.application.resetSearch=r\u00E9initialiser
-simexplorer.action.application.resetSearch.help=
-simexplorer.action.application.resetSearch.tooltip=R\u00E9initialiser la recherche
-simexplorer.action.application.search=chercher
-simexplorer.action.application.search.help=
-simexplorer.action.application.search.tooltip=Lancer la recherche
-simexplorer.action.application.searchText=recherche \:
-simexplorer.action.application.searchText.tooltip=Le texte de recherche
-simexplorer.action.closeTab=Fermer
-simexplorer.action.closeTab.help=
-simexplorer.action.closeTab.tooltip=Fermer l'onglet
-simexplorer.action.config=Pr\u00E9f\u00E9rences
-simexplorer.action.config.help=
-simexplorer.action.config.tooltip=Afficher le dialogue de modification de configuration
-simexplorer.action.connect=Connexion
-simexplorer.action.connect.help=
-simexplorer.action.connect.tooltip=Se connecter au serveur distant
-simexplorer.action.groups=Groupes
-simexplorer.action.groups.help=
-simexplorer.action.groups.tooltip=Afficher le gestionnaire des groupes
-simexplorer.action.help=Aide
-simexplorer.action.help.help=
-simexplorer.action.help.tooltip=Acc\u00E9der \u00E0 l'aide
-simexplorer.action.hide.local=cacher Applications locales
-simexplorer.action.hide.local.help=
-simexplorer.action.hide.local.tooltip=Cacher la liste des applications locales
-simexplorer.action.hide.remote=cacher Applications distantes
-simexplorer.action.hide.remote.help=
-simexplorer.action.hide.remote.tooltip=Cacher la liste des applications distantes
-simexplorer.action.hide.synchronize=cacher Synchronisation
-simexplorer.action.hide.synchronize.help=
-simexplorer.action.hide.synchronize.tooltip=Cacher l'\u00E9cran de synchronisation
-simexplorer.action.i18n.en=Anglais
-simexplorer.action.i18n.en.help=
-simexplorer.action.i18n.en.tooltip=Traduire l'application en anglais
-simexplorer.action.i18n.fr=Fran\u00E7ais
-simexplorer.action.i18n.fr.help=
-simexplorer.action.i18n.fr.tooltip=Traduire l'application en fran\u00E7ais
-simexplorer.action.pagination.changeSizor=Change fen\u00EAtre
-simexplorer.action.pagination.changeSizor.help=
-simexplorer.action.pagination.changeSizor.tooltip=Choisir le nombre de r\u00E9sultats par page
-simexplorer.action.pagination.currentPage=page
-simexplorer.action.pagination.goFirstPage=Premi\u00E8re page
-simexplorer.action.pagination.goFirstPage.help=
-simexplorer.action.pagination.goFirstPage.tooltip=Acc\u00E9der \u00E0 la premi\u00E8re page de la liste des r\u00E9sultats
-simexplorer.action.pagination.goLastPage=Derni\u00E8re Page
-simexplorer.action.pagination.goLastPage.help=
-simexplorer.action.pagination.goLastPage.tooltip=Acc\u00E9der \u00E0 la derni\u00E8re page de la liste des r\u00E9sultats
-simexplorer.action.pagination.goNextPage=Prochaine page
-simexplorer.action.pagination.goNextPage.help=
-simexplorer.action.pagination.goNextPage.tooltip=Acc\u00E9der \u00E0 la prochaine page de la liste des r\u00E9sultats
-simexplorer.action.pagination.goPage=Page
-simexplorer.action.pagination.goPage.help=
-simexplorer.action.pagination.goPage.tooltip=Choisir la page \u00E0 acc\u00E9der dans la liste des r\u00E9sultats
-simexplorer.action.pagination.goPreviousPage=Pr\u00E9c\u00E9dente page
-simexplorer.action.pagination.goPreviousPage.help=
-simexplorer.action.pagination.goPreviousPage.tooltip=Acc\u00E9der \u00E0 la page pr\u00E9c\u00E9dente de la liste des r\u00E9sultats
-simexplorer.action.quit=Quitter
-simexplorer.action.quit.help=
-simexplorer.action.quit.tooltip=Pour quitter l'application
-simexplorer.action.show.detail=D\u00E9tail
-simexplorer.action.show.detail.help=
-simexplorer.action.show.detail.tooltip=Affcihier les d\u00E9tail de l'application
-simexplorer.action.show.local=Applications locales
-simexplorer.action.show.local.help=
-simexplorer.action.show.local.tooltip=Afficher la liste des applications locales
-simexplorer.action.show.remote=Applications distantes
-simexplorer.action.show.remote.help=
-simexplorer.action.show.remote.tooltip=Afficher la liste des applications distantes
-simexplorer.action.show.synchronize=Synchroniser
-simexplorer.action.show.synchronize.help=
-simexplorer.action.show.synchronize.tooltip=Afficher l'\u00E9cran de synchronisation des applications
-simexplorer.action.site=Site
-simexplorer.action.site.help=
-simexplorer.action.site.tooltip=Acc\u00E9der \u00E0 l'aide
-simexplorer.action.synchronize=Synchroniser
-simexplorer.action.synchronize.help=
-simexplorer.action.synchronize.tooltip=Lancer une nouvelle synchronisation
-simexplorer.action.unconnect=D\u00E9connexion
-simexplorer.action.unconnect.help=
-simexplorer.action.unconnect.tooltip=Se d\u00E9connecter du serveur distant
-simexplorer.action.users=Utilisateurs
-simexplorer.action.users.help=
-simexplorer.action.users.tooltip=Afficher le gestionnaire des utilisateurs
-simexplorer.admin.menu=Administration
-simexplorer.change.config.property=
-simexplorer.common.cancel=annuler
-simexplorer.common.creationDate=date de cr\u00E9ation
-simexplorer.common.description=description
-simexplorer.common.name=nom
-simexplorer.common.ok=appliquer
-simexplorer.common.reset=r\u00E9initialiser
-simexplorer.common.type=type
-simexplorer.common.version=version
-simexplorer.config.i18n.menu=Langue
-simexplorer.config.main.backupDirectory.description=le r\u00E9pertoire des sauvegardes
-simexplorer.config.main.baseDirectory.description=le r\u00E9pertoire de la base locale
-simexplorer.config.main.configFileName.description=Le chemin du fichier de configuration
-simexplorer.config.main.country.description=Le pays de la locale utilisateur
-simexplorer.config.main.description=La configuration de l'application
-simexplorer.config.main.firstName.description=Le pr\u00E9nom de l'utilisateur
-simexplorer.config.main.language.description=La langue de la locale utilisateur
-simexplorer.config.main.lastName.description=Le nom de l'utilisateur
-simexplorer.config.main.login.description=Le login de l'utilisateur
-simexplorer.config.main.serverURL.description=l'url du serveur distant
-simexplorer.config.main.showLocalTab.description=Voir au d\u00E9marrage l'onglet Local
-simexplorer.config.main.showRemoteTab.description=Voir au d\u00E9mrrage l'onglet Distant
-simexplorer.config.main.showSynchTab.description=Voir au d\u00E9marrage l'onglet Synchro
-simexplorer.config.main.sizor.description=Nombre de r\u00E9sultats par page dans l'ui
-simexplorer.config.main.userMail.description=Le courriel de l'utilisateur
-simexplorer.config.main.version.description=La version du logiciel
-simexplorer.config.menu=Configuration
-simexplorer.config.title=SimExplorer SI Pr\u00E9f\u00E9rences
-simexplorer.error.load.actions.class=could not found for action key {0} class {1}
-simexplorer.error.load.actions.file=could not load actions.properties file for reason {0}
-simexplorer.error.unfound.config.property=
-simexplorer.help.menu=Aide
-simexplorer.main.menu=Menu principal
-simexplorer.main.ui.title=SimExplorer SI v 0.0.1
-simexplorer.message.reset.user.configuration=
-simexplorer.option.description.config=remplace la valeur d'une propri\u00E9t\u00E9 de clef **key** de la configuration par la valeur **value**.
-simexplorer.option.description.configFile=le fichier de configuration utilis\u00E9
-simexplorer.option.description.editConfig=pour lancer l'UI d'\u00E9dition de la configuration
-simexplorer.option.description.help=Show this help
-simexplorer.option.description.resetConfig=R\u00E9initialisation de la configuration.
-simexplorer.option.description.showConfig=Voir les d\u00E9tails d'une configuration
-simexplorer.option.description.ui=launch or not user interface (value)
-simexplorer.tab.detail=D\u00E9tail Application
-simexplorer.tab.detail.tooltip=L'\u00E9cran affichant les d\u00E9tails d'une application
-simexplorer.tab.local=Applications locales
-simexplorer.tab.local.tooltip=La liste des applications pr\u00E9sentes localement
-simexplorer.tab.remote=Applications distantes
-simexplorer.tab.remote.tooltip=La liste des applications pr\u00E9sentes sur le serveur distant
-simexplorer.tab.synchronize=Synchronisation
-simexplorer.tab.synchronize.tooltip=L'\u00E9cran de synchronisation des applications
-{0}\ should\ have\ a\ name\ like\ this\ {1},\ but\ was\ {2}=
1
0
r428 - in trunk: simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials simexplorer-is-security/sr
by glandais@users.labs.libre-entreprise.org 23 Jan '08
by glandais@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: glandais
Date: 2008-01-23 10:59:17 +0000 (Wed, 23 Jan 2008)
New Revision: 428
Modified:
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentType.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentTypeFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/RawType.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/BaseEntity.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Code.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Component.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Constant.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ConstantValue.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/DataEntity.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationApplication.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationData.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Library.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/LoggableElement.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Repository.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Result.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Structure.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/MetaDataEntity.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/Version.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/BaseEntityFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/CodeFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ComponentFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantValueFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationApplicationFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationDataFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LibraryFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LoggableElementFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/MetaDataEntityFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/RepositoryFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ResultFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/StructureFactory.java
trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/XmlConstants.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManager.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManagerImpl.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurity.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurityImpl.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Actor.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Group.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/LoginAction.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Permission.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/User.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationService.java
trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationServiceImpl.java
trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java
trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java
trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageService.java
trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceClient.java
trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceCommon.java
trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceServer.java
trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineSecuImpl.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/MetaDataGenerator.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/AttachmentHandler.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/FileSystemAttachmentHandler.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/Database.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/DatabaseConstants.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/SearcherPool.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngine.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineImpl.java
trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/util/Config.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThread.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneSimpleTest.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/components/Layout.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/grid/ElementDataSource.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationExport.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationImport.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementDetail.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementList.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupEdit.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupList.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/Login.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserEdit.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserList.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/ProtectedPage.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/AppModule.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/GroupValueEncoder.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteSecurityService.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteService.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteStorageService.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/UserValueEncoder.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/AttachmentStreamResponse.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/XMLAttachment.java
Log:
GPL header
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentType.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentType.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentType.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.contenttype;
import java.io.InputStream;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentTypeFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentTypeFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/ContentTypeFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.contenttype;
import java.util.HashMap;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/RawType.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/RawType.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/contenttype/RawType.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.contenttype;
import java.io.InputStream;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/BaseEntity.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/BaseEntity.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/BaseEntity.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Code.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Code.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Code.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Component.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Component.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Component.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Constant.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Constant.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Constant.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ConstantValue.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ConstantValue.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ConstantValue.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/DataEntity.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/DataEntity.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/DataEntity.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import fr.cemagref.simexplorer.is.entities.BaseEntity;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationApplication.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationApplication.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationApplication.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationData.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationData.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/ExplorationData.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Library.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Library.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Library.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/LoggableElement.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/LoggableElement.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/LoggableElement.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import fr.cemagref.simexplorer.is.entities.metadata.MetaDataEntity;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Repository.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Repository.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Repository.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Result.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Result.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Result.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Structure.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Structure.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/data/Structure.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.data;
public abstract class Structure extends DataEntity {
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/MetaDataEntity.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/MetaDataEntity.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/MetaDataEntity.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.metadata;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/Version.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/Version.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/entities/metadata/Version.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.entities.metadata;
import java.io.Serializable;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/BaseEntityFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/BaseEntityFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/BaseEntityFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import java.io.ByteArrayInputStream;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/CodeFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/CodeFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/CodeFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ComponentFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ComponentFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ComponentFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantValueFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantValueFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ConstantValueFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationApplicationFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationApplicationFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationApplicationFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationDataFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationDataFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ExplorationDataFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LibraryFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LibraryFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LibraryFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import fr.cemagref.simexplorer.is.entities.data.Library;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LoggableElementFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LoggableElementFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/LoggableElementFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Element;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/MetaDataEntityFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/MetaDataEntityFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/MetaDataEntityFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import java.io.InputStream;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/RepositoryFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/RepositoryFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/RepositoryFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ResultFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ResultFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/ResultFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import org.w3c.dom.Document;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/StructureFactory.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/StructureFactory.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/StructureFactory.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
import fr.cemagref.simexplorer.is.entities.data.Structure;
Modified: trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/XmlConstants.java
===================================================================
--- trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/XmlConstants.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-entities/src/java/fr/cemagref/simexplorer/is/factories/XmlConstants.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.factories;
/**
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManager.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManager.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManager.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.credentials;
import javax.ejb.Local;
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManagerImpl.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManagerImpl.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/credentials/CredentialManagerImpl.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.credentials;
import java.util.List;
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurity.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurity.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurity.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.dao;
import java.util.List;
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurityImpl.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurityImpl.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/dao/DaoSecurityImpl.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.dao;
import java.util.List;
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Actor.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Actor.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Actor.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.entities;
import java.io.Serializable;
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Group.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Group.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Group.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.entities;
public class Group extends Actor {
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/LoginAction.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/LoginAction.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/LoginAction.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.entities;
import java.util.Date;
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Permission.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Permission.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/Permission.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.entities;
public class Permission {
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/User.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/User.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/entities/User.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.entities;
public class User extends Actor {
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationService.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationService.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationService.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.service;
import javax.ejb.Remote;
Modified: trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationServiceImpl.java
===================================================================
--- trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationServiceImpl.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/java/fr/cemagref/simexplorer/is/security/service/AuthenticationServiceImpl.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.service;
import java.security.MessageDigest;
Modified: trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java
===================================================================
--- trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.test;
import java.util.Properties;
Modified: trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java
===================================================================
--- trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.security.test;
import java.util.Properties;
Modified: trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageService.java
===================================================================
--- trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageService.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageService.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service;
import java.util.Map;
Modified: trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceClient.java
===================================================================
--- trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceClient.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceClient.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service;
import fr.cemagref.simexplorer.is.storage.engine.StorageEngineImpl;
Modified: trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceCommon.java
===================================================================
--- trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceCommon.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceCommon.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service;
import java.io.BufferedInputStream;
Modified: trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceServer.java
===================================================================
--- trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceServer.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/StorageServiceServer.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service;
import javax.ejb.EJB;
Modified: trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineSecuImpl.java
===================================================================
--- trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineSecuImpl.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineSecuImpl.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.engine;
import java.io.InputStream;
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/ElementGenerator.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service.test;
import java.util.Date;
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service.test;
import java.io.InputStream;
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service.test;
import java.util.Properties;
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.service.test;
import java.io.ByteArrayInputStream;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/MetaDataGenerator.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/MetaDataGenerator.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/MetaDataGenerator.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage;
import java.util.Date;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/AttachmentHandler.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/AttachmentHandler.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/AttachmentHandler.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.attachment;
import java.io.InputStream;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/FileSystemAttachmentHandler.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/FileSystemAttachmentHandler.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/attachment/FileSystemAttachmentHandler.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.attachment;
import java.io.BufferedInputStream;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/Database.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/Database.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/Database.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.database;
import java.io.Reader;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/DatabaseConstants.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/DatabaseConstants.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/DatabaseConstants.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.database;
/**
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/LuceneDatabase.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.database.lucene;
import java.io.File;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/SearcherPool.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/SearcherPool.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/database/lucene/SearcherPool.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.database.lucene;
import java.io.IOException;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngine.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngine.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngine.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.engine;
import java.io.InputStream;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineImpl.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineImpl.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/engine/StorageEngineImpl.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.engine;
import java.io.InputStream;
Modified: trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/util/Config.java
===================================================================
--- trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/util/Config.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/java/fr/cemagref/simexplorer/is/storage/util/Config.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.util;
import java.io.IOException;
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.test;
import java.io.Reader;
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.test;
import java.io.Reader;
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThread.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThread.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThread.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.test;
import java.io.Reader;
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.test;
import junit.framework.TestCase;
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneSimpleTest.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneSimpleTest.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneSimpleTest.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.storage.test;
import junit.framework.TestCase;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/components/Layout.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/components/Layout.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/components/Layout.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,21 +1,20 @@
-/* *##%
- * Copyright (C) 2006 Code Lutin
- *
- * 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 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, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *##%*/
-
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.components;
import java.util.Locale;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/grid/ElementDataSource.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/grid/ElementDataSource.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/grid/ElementDataSource.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.grid;
import javax.naming.NamingException;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationExport.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationExport.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationExport.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import fr.cemagref.simexplorer.is.ui.web.pages.security.UserPage;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationImport.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationImport.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ApplicationImport.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import org.apache.tapestry.ioc.annotations.Inject;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementDetail.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementDetail.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementDetail.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import java.io.ByteArrayInputStream;
@@ -70,7 +87,7 @@
xmlRemoteOutputStream.export(), uuid, version);
MetaDataEntity mde = RemoteStorageService.getStorageService()
- .getMetadata(uuid, version);
+ .getMetadata(getToken(), uuid, version);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
response = new XMLAttachment(bis, mde.getType() + "." + mde.getUuid()
+ ".v" + mde.getVersion());
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementList.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementList.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/ElementList.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import java.util.ArrayList;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupEdit.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupEdit.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupEdit.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import java.util.ArrayList;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupList.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupList.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/GroupList.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import java.util.ArrayList;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/Login.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/Login.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/Login.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import org.apache.tapestry.annotations.ApplicationState;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserEdit.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserEdit.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserEdit.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import java.util.ArrayList;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserList.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserList.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/UserList.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages;
import java.util.ArrayList;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages.security;
public abstract class AdminPage extends ProtectedPage {
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/ProtectedPage.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/ProtectedPage.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/ProtectedPage.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages.security;
import org.apache.tapestry.annotations.ApplicationState;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages.security;
public abstract class SuperAdminPage extends ProtectedPage {
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.pages.security;
public abstract class UserPage extends ProtectedPage {
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/AppModule.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/AppModule.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/AppModule.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.services;
import java.io.IOException;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/GroupValueEncoder.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/GroupValueEncoder.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/GroupValueEncoder.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.services;
import org.apache.tapestry.ValueEncoder;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteSecurityService.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteSecurityService.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteSecurityService.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.services;
import fr.cemagref.simexplorer.is.security.service.AuthenticationService;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteService.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteService.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteService.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.services;
import java.util.HashMap;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteStorageService.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteStorageService.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/RemoteStorageService.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.services;
import fr.cemagref.simexplorer.is.service.StorageService;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/UserValueEncoder.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/UserValueEncoder.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/services/UserValueEncoder.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.services;
import org.apache.tapestry.ValueEncoder;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/AttachmentStreamResponse.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/AttachmentStreamResponse.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/AttachmentStreamResponse.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.tools;
import java.io.IOException;
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/XMLAttachment.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/XMLAttachment.java 2008-01-23 10:58:08 UTC (rev 427)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/tools/XMLAttachment.java 2008-01-23 10:59:17 UTC (rev 428)
@@ -1,3 +1,20 @@
+/*
+* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
+*
+* 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 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, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+* ##% */
package fr.cemagref.simexplorer.is.ui.web.tools;
import java.io.InputStream;
1
0
r427 - trunk/simexplorer-is/src/site/fr/rst/devel
by glandais@users.labs.libre-entreprise.org 23 Jan '08
by glandais@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: glandais
Date: 2008-01-23 10:58:08 +0000 (Wed, 23 Jan 2008)
New Revision: 427
Added:
trunk/simexplorer-is/src/site/fr/rst/devel/architecture.txt
trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.txt
trunk/simexplorer-is/src/site/fr/rst/devel/migration.txt
Removed:
trunk/simexplorer-is/src/site/fr/rst/devel/architecture.rst
trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.rst
trunk/simexplorer-is/src/site/fr/rst/devel/migration.rst
Log:
Moved old rst to txt
Deleted: trunk/simexplorer-is/src/site/fr/rst/devel/architecture.rst
===================================================================
--- trunk/simexplorer-is/src/site/fr/rst/devel/architecture.rst 2008-01-23 10:54:50 UTC (rev 426)
+++ trunk/simexplorer-is/src/site/fr/rst/devel/architecture.rst 2008-01-23 10:58:08 UTC (rev 427)
@@ -1,390 +0,0 @@
-=======================================
-SimExplorer SI - Dossier d'architecture
-=======================================
-
-.. contents:: :depth: 3
-.. sectnum::
-
-Introduction
-============
-
-Ce document détaille la solution proposée en réponse à la demande d'un outil d'exploration de simulation.
-
-Architecture conceptuelle
-=========================
-
-Rappel des fonctions de l'application
--------------------------------------
-
-L'application permet l'utilisation d'outils de simulation dans un environnement multi-utilisateurs. Un mode client léger met à disposition la gestion des utilisateurs et la consultation des paramÚtres des simulations. Ce mode est accessible avec un simple navigateur. Avec un logiciel fourni (nommé aussi client lourd), l'utilisateur peut de même gérer les utilisateurs, mais aussi les simulations afin de les lancer. Une fonction de synchronisation met à jour les données locales par rapport aux données centralisées.
-
-Chaque fonction est limitée en fonction des droits de l'utilisateur connecté. Cet utilisateur, en fonction des groupes auxquels il appartient, obtient des droits sur les simulations et les utilisateurs (création, modification, suppression).
-
-Les modifications des paramÚtres des simulations sont sauvegardé afin de conserver un historique. Cet historique se synchronise avec les données centralisées et les données de l'utilisateur.
-
-Décomposition de l'application en modules
------------------------------------------
-
-L'authentification s'appuie sur un module unique. Celui ci permet d'authentifier les utilisateurs se connectant via le client léger ou le client lourd. Un premier niveau impératif nécessite l'appartenance de l'utilisateur à un groupe destiné à contenir les accrédités à utiliser l'application. Ce module fourni aussi les groupes d'appartenance d'un utilisateur, afin de déterminer ses droits. Enfin, ce module permet l'édition des utilisateurs et des groupes par les utilisateurs avec pouvoir.
-
-Les autorisations sont gérées conjointement avec l'authentification. Une simulation a des droits associés en fonction de son propriétaire et son groupe d'appartenance. Ses droits sont décorélés des données métier, seul un identifiant technique permet aux services d'interroger le module d'autorisation afin de valider l'accÚs à une simulation. Le niveau de granularité des droits est similaire à la gestion des modes sur les fichiers. Les droits sur les actions création/modification/exécution sont alloués en fonction de l'utilisateur/groupe/autre.
-
-Le stockage est un module dupliqué à la fois sur le serveur gérant les données centralisées et sur chaque client lourd. Celui-ci a la charge de conserver les données dans une base, et de stocker les données volumineuses dans le systÚme de fichier. Il est capable de persister les objets utilisés par l'application. Un mécanisme de synchronisation permet de mettre à jour les données locales et les données centralisées en fonction de rÚgles de gestion de versionnement.
-
-La logique métier de l'application est contenue dans des services. Ceux ci peuvent être exécutés localement, lors de l'exécution d'une simulation sur le client lourd par exemple. Certains services sont présents uniquement sur le serveur, parce qu'ils nécessitent les modules d'autorisation et les données centralisées. Le client lourd fait alors appel à ces services dans un mode appel distant.
-
-Le module d'interface est composé de deux parties. CÎté serveur, l'utilisateur accÚde avec un navigateur Internet standard à l'application. Les pages sont servies par un serveur web utilisant un contrÎleur. Celui ci interagit avec les services afin de présenter les données à l'utilisateur. CÎté client, l'interface graphique s'appuie aussi sur un contrÎleur utilisant les services.
-
-
-Exigences et contraintes
-------------------------
-
-Contraintes d'urbanisme
-_______________________
-
-Le client lourd doit s'intégrer dans SimExplorer RCP.
-
-Les services déployés sur le serveur et mis à disposition du client lourd doivent pouvoir être réutilisés par des applications tierces.
-
-Le serveur doit être en mesure de lancer des simulations et de récupérer les résultats.
-
-Exigences et contraintes liées à des fonctionnalités particuliÚres
-__________________________________________________________________
-
-Un serveur d'authentification.existant pourra être réutilisé dans la mesure où il est accessible via des protocoles standards. Une note précisant le fonctionnement de ce serveur devra être fourni afin de rendre possible son utilisation. ex : LDAP
-
-Les appels de lancement des simulations devra être formalisés dans une note. Ceux ci pourront alors être intégrés dans les services.
-
-L'authentification implique l'établissement d'une connexion sécurisée entre le client et le serveur, afin de ne pas faire passer en clair les mots de passe sur le réseau. Le serveur disposera d'un certificat afin de crypter les flux.
-
-Contraintes d'ergonomie
-_______________________
-
-L'application web se doit d'être compatible avec les navigateurs récents : Firefox2+ et IE6+.
-
-L'application client lourd est un application standard type bureautique, et doit être compatible avec le maximum de plateformes. Le lancement de l'application doit se faire simplement par un raccourci.
-
-Volumétrie
-__________
-
-Les données associées aux simulations sont parfois trÚs volumineuses (>100Mo). Ces données doivent être stockées en local mais aussi sur le serveur, avec des transferts entre le client et le serveur.
-
-Contraintes et exigences liées à l'exploitation
-_______________________________________________
-
-Lors de la mise à jour de l'application, la base de données doit être synchrone avec l'applicatif. De même, le client lourd doit être à jour par rapport à la version déployée sur le serveur.
-
-Les données doivent pouvoir être simplement sauvegardées et restaurées.
-
-Architecture logique
-====================
-
-Schéma d'architecture logique
------------------------------
-
-.. image:: diagramme1.png
-
-Description des flux
---------------------
-
- #. Serveur web
-
- L'interface client léger passe par ce flux. L'authentification se fera en HTTPS, le reste de l'application pourra être au choix en HTTP ou en HTTPS. Le contenu sera constitué de pages XHTML compatibles avec les navigateurs récents.
-
- #. Interface client lourd
-
- C'est à travers ce canal que l'utilisateur interagit avec l'application.
-
- #. Serveur d'authentification
-
- Le framework d'authentification utilise un serveur externe afin d'authentifier les utilisateurs. Ce flux dépend du serveur.
-
- #. Autorisations
-
- Toutes les informations relatives à la protection des accÚs aux simulations sont retrouvées via ce lien vers une base de données.
-
- #. Persistance cÎté serveur
-
- Les objets sont stockés dans une base de donnée à travers ce flux.
-
- #. Persistance cÎté client
-
- De même, les objets sont stockés dans une base de données. Nous sommes ici en présence d'une base de données embarquée, afin de rendre le client lourd autonome.
-
- #. SystÚme de fichiers serveur
-
- Les données volumineuses sont stockées dans le systÚme de fichier plutÎt que dans la base.
-
- #. SystÚme de fichiers client
-
- De la même façon que sur le serveur, les données sont stockées sous forme de fichiers dans le systÚme de fichier de l'utilisateur.
-
- #. Services distants
-
- La communication entre le client lourd et le serveur passe par ce flux. Celui ci est crypté et intégré à haut niveau dans l'application. Les appels de service se font de façon transparente, de façon similaire à un appel local.
-
-
-Initialisation des entrepÎts de données
----------------------------------------
-
-Pour l'authentification, un groupe d'utilisateur doit être créé afin d'accueillir les personnes accréditées. De plus, un groupe d'administrateur avec un utilisateur doit exister afin de permettre l'administration des utilisateurs. Ces deux groupes seront à spécifier lors de l'installation.
-
-Si l'application doit utiliser un serveur d'authentification existant, le groupe des administrateurs doit avoir les droits de lister les utilisateurs amenés à être ajouté aux personnes accréditées.
-
-Les bases de données d'autorisation et de stockage peuvent être initialisés lors du lancement de l'application de façon automatique. Si les droits de création de table et de champs n'est pas autorisé pour l'application, un script doit être exécuté avant le déploiement d'une nouvelle version afin de mettre à jour la base et migrer les données.
-
-CÎté client, le problÚme ne se pose pas, la base de données est embarquée dans l'application.
-
-Les modules de l'application
-----------------------------
-
-Le module authentification
-__________________________
-
-La technologie JAAS (Java Authentication and Authorization Service) a été retenue. La partie autorisation est utilisée uniquement pour valider l'accÚs de l'utilisateur authentifié à l'application.
-
-Plusieurs méthodes d'authentification sont déjà implantées (login/mot de passe/groupes dans une base de données avec JDBC, LDAP, ...).
-
-Les modules services
-____________________
-
-Les services sont contenus dans des EJB (Entreprise Java Bean). Chaque service est un composant disposant d'outils facilitant la mise en oeuvre des transactions et la distribution.
-
-Ces services sont destinés à contenir toute la logique métier.
-
-Les services contiennent aussi le contexte d'authentification de l'appelant.
-
-Le module autorisation
-______________________
-
-Grâce au contexte d'authentification des EJB, les appels au module d'autorisation vont sécurisés les accÚs aux données.
-
-Le module stockage
-__________________
-
-Ce module repose en grande partie sur la technologie JPA (Java Persistence API). Elle permet un mapping entre les objets et la base de données de façon transparente et interropérable. Le choix de la base de données n'est alors plus vérouillé, de nombreux systÚmes étant compatibles. Afin de gérer les volumétries associées aux simulations, certaines propriétés seront stockées sur le disque dur.
-
-Lors de l'accÚs à une donnée, le module gérant les autorisations est appelé afin de vérifier les droits. De même, lorsque l'utilisateur crée une nouvelle entité, les droits lui sont associés via ce service.
-
-Le module interface
-___________________
-
-CÎté client léger, le site est réalisé avec Tapestry 5. Ce framework apporte le développement orienté objet au applications web. De nombreuses fonctionnalités sont incluses et facilitent le développement.
-
-CÎté client lourd, le framework JAXX est utilisé. Ce framework transforme des XML décrivant l'interface en classes Java.
-
-Développement de l'application
-------------------------------
-
-Lors de la construction de Simexplorer SI, nous utilisons le framework ToPIA ainsi que différents outils développés par Code Lutin. Ceux ci sont tous sous licence LGPL.
-
-A partir du modÚle conceptuel, le process de développement génÚre une partie de l'application, entre autre sous la forme d'interfaces à implémenter. Nous obtenons alors :
- - les entités persistées
- - les interfaces des services
- - les interfaces des composants des pages web
-
-
-Architecture physique
-=====================
-
-Architecture logicielle
------------------------
-
-L'ensemble de l'application est développée avec le langage Java. La version de référence lors du développement de l'application est JRE 6 Update 3.
-
-Serveur Web
-___________
-
-Le serveur web est constitué d'un Apache 2.2. Le module mod_proxy_ajp permet de ne pas lancer le serveur d'application en root et d'avoir accÚs au port HTTP et HTTPS.
-
-Serveur Applicatif
-__________________
-
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-| |JBoss 4.2.2 GA |Geronimo JEE5 2.0.2 |JOnAS 5.0 M1 |GlassFish V2 |
-+========================+========================+========================+========================+========================+
-|EJB3 | |ok| [#jba]_ | |ok| [#grc]_ | |ok| [#joa]_ | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- RemoteBinding | |ok| [#jbb]_ | |ok| [#grd]_ | |uok| | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- SSL | |ok| [#jbc]_ | |ok| [#gra]_ | |uok| | |ok| [#gfd]_ |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- SecurityDomain | |ok| [#jbd]_ | |uok| | |ok| [#joc]_ | |ok| [#gfe]_ |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- WebService | |ok| [#jbe]_ | |ok| [#gre]_ | |ok| [#job]_ | |ok| [#gfa]_ |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-| * Sécurisé | |ok| [#jbe]_ | |uok| [#gre]_ | |uok| | |ok| [#gff]_ |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-| * WebServiceContext | |ok| [#jbe]_ | |ok| [#gre]_ | |ok| [#job]_ | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- SessionContext | |uok| | |uok| | |uok| | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|JPA | |ok| [#jbf]_ | |ok| [#grf]_ | |ok| [#jof]_ | |ok| [#gfb]_ |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- XML datasource | |ok| [#jbg]_ | |ok| [#grj]_ | |ok| [#joe]_ | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- persistence.xml | |ok| [#jbh]_ | |ok| [#grg]_ | |ok| [#jog]_ | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- orm.xml | |uok| | |ok| [#grh]_ | |ok| [#joh]_ | |ok| [#gfc]_ |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|Servlet | |ok| [#jbi]_ | |ok| [#gri]_ | |uok| | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|- JAAS | |ok| [#jbj]_ | |ok| [#grb]_ | |ok| [#jod]_ | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-|Corba | |uok| | |uok| | |uok| | |uok| |
-+------------------------+------------------------+------------------------+------------------------+------------------------+
-
-.. |ok| image:: ok.png
-.. |nok| image:: nok.png
-.. |uok| image:: uok.png
-
-.. [#jba] http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/ind…
-.. [#jbb] http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html
-.. [#jbc] http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/tra…
-.. [#jbd] http://docs.jboss.org/ejb3/app-server/tutorial/security/security.html
-.. [#jbe] http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html
-.. [#jbf] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
-.. [#jbg] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
-.. [#jbh] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
-.. [#jbi] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Get…
-.. [#jbj] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
-
-.. [#grc] http://openejb.apache.org/
-.. [#grd] http://openejb.apache.org/jndi-names.html
-.. [#gra] http://www.ibm.com/developerworks/opensource/library/os-ag-corba1/
-.. [#gre] http://cwiki.apache.org/GMOxPMGT/geronimo-20-web-services-support.html
-.. [#grf] http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/docs/manual/jpa…
-.. [#grj] http://cwiki.apache.org/GMOxDOC11/geronimo-connector-11xsd.html#geronimo-co…
-.. [#grg] http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/docs/manual/jpa…
-.. [#grh] http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/docs/manual/jpa…
-.. [#gri] http://cwiki.apache.org/GMOxKB/jetty-or-tomcat.html
-.. [#grb] http://www.ibm.com/developerworks/opensource/library/os-ag-security/
-
-.. [#joa] http://www.easybeans.org/doc/userguide/en/chunk-integrated/ejb3_introductio…
-.. [#joc] http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guid…
-.. [#job] http://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
-
-.. [#jof] http://www.jpox.org/docs/jpa/index.html
-.. [#joe] http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guid…
-.. [#jog] http://www.jpox.org/docs/jpa/persistence_xml.html
-.. [#joh] http://www.jpox.org/docs/jpa/orm_xml.html
-
-.. [#jod] http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guid…
-
-.. [#gfd] http://blogs.sun.com/swchan/entry/enterprise_java_bean_over_ssl
-.. [#gfe] http://java.sun.com/developer/technicalArticles/J2EE/security_annotation/
-.. [#gfa] http://wiki.glassfish.java.net/Wiki.jsp?page=WebServicesTechnologies
-.. [#gff] https://glassfish.dev.java.net/javaee5/docs/AG/ablrk.html#ablry
-.. [#gfb] https://glassfish.dev.java.net/javaee5/persistence/
-.. [#gfc] https://glassfish.dev.java.net/javaee5/persistence/persistence_faq.html#5
-
-
-SGBD
-____
-
-Pour la base sur le serveur, les performances et la stabilité de PostgreSQL ont été retenues. CÎté client lourd, la base de donnée embarquée H2 est utilisée. Un export XML sera réalisé pour l'interopérabilité.
-
-
-Choix technologiques transverses
-________________________________
-
-Dans la perspective de réutilisation, les services publiés utiliseront des protocoles standardisés et inter opérables, afin de ne pas limiter le choix du langage.
-
-La technologie ... a été choisie pour son support de la sécurité et son utilisation courante dans différents langages et sur différents systÚmes d'exploitation.
-
-Solution aux contraintes d'ergonomie
-____________________________________
-
-L'application web respectera les standards W3C XHTML.
-
-L'application client lourd utilise le framework Swing, disponible sur un grand nombre de plateformes. Sur celles où Java Web Start est disponible, l'application pourra être installée par un simple clic sur le site du client léger.
-
-Dimensionnement
-_______________
-
-Une attention particuliÚre devra être faite à la taille des partitions lors de l'intégration en fonction de la volumétrie cible. De même, cÎté client, l'utilisateur doit être informé de l'espace utilisé par l'application par rapport à son espace disponible. La synchronisation doit vérifier au préalable la suffisance d'espace.
-
-En supposant que chaque simulation prend environ 100ko de paramÚtres, que 10 utilisateurs utilisent l'application en créant 5 simulations par jour, on obtient environ 10Go de paramÚtres de simulation sur 10 ans.
-
-Solution pour l'exploitation du systÚme
-_______________________________________
-
-
-Lors de la mise à jour de l'application, plusieurs aspects doivent être gérés. Tout d'abord la base de données doit être synchrone avec l'applicatif. Ceci devra se faire automatiquement avec une migration des données executée lors du déploiement d'une nouvelle version.
-
-Dans un environnement client/serveur, il est nécessaire de garantir la compatibilité entre les deux applications. Ainsi, le serveur mettra à disposition dans la mesure du possible les services avec une compatibilité ascendante. Si la version du client est obsolÚte, l'utilisateur est notifié et il ne peut plus utiliser l'application en mode connecté.
-
-
-ModÚle conceptuel
------------------
-
-Entités des données
-___________________
-
-.. image:: ../../../../xmi/images/data.png
-
-
-Entités des authorisations
-__________________________
-
-.. image:: ../../../../xmi/images/entities.png
-
-
-Services de stockage
-____________________
-
-.. image:: ../../../../xmi/images/storage.png
-
-
-Services d'authorisation
-________________________
-
-.. image:: ../../../../xmi/images/authorization.png
-
-
-Application web
-_______________
-
-.. image:: ../../../../xmi/images/applications.png
-
-
-Séquences d'utilisation
------------------------
-
-Gestion des authorisations
-__________________________
-
-.. image:: ./authorization.jpg
-
-Ãcrans de l'application
------------------------
-
-Liste des éléments
-__________________
-
-.. image:: ./screenshots/Screenshot.png
-
-Importer un élément
-___________________
-
-.. image:: ./screenshots/Screenshot-1.png
-
-Liste des utilisateurs
-______________________
-
-.. image:: ./screenshots/Screenshot-2.png
-
-Ajouter/éditer un utilisateur
-_____________________________
-
-.. image:: ./screenshots/Screenshot-3.png
-
-Liste des groupes
-_________________
-
-.. image:: ./screenshots/Screenshot-4.png
-
-Ajouter/éditer un groupe
-________________________
-
-.. image:: ./screenshots/Screenshot-5.png
Added: trunk/simexplorer-is/src/site/fr/rst/devel/architecture.txt
===================================================================
--- trunk/simexplorer-is/src/site/fr/rst/devel/architecture.txt (rev 0)
+++ trunk/simexplorer-is/src/site/fr/rst/devel/architecture.txt 2008-01-23 10:58:08 UTC (rev 427)
@@ -0,0 +1,390 @@
+=======================================
+SimExplorer SI - Dossier d'architecture
+=======================================
+
+.. contents:: :depth: 3
+.. sectnum::
+
+Introduction
+============
+
+Ce document détaille la solution proposée en réponse à la demande d'un outil d'exploration de simulation.
+
+Architecture conceptuelle
+=========================
+
+Rappel des fonctions de l'application
+-------------------------------------
+
+L'application permet l'utilisation d'outils de simulation dans un environnement multi-utilisateurs. Un mode client léger met à disposition la gestion des utilisateurs et la consultation des paramÚtres des simulations. Ce mode est accessible avec un simple navigateur. Avec un logiciel fourni (nommé aussi client lourd), l'utilisateur peut de même gérer les utilisateurs, mais aussi les simulations afin de les lancer. Une fonction de synchronisation met à jour les données locales par rapport aux données centralisées.
+
+Chaque fonction est limitée en fonction des droits de l'utilisateur connecté. Cet utilisateur, en fonction des groupes auxquels il appartient, obtient des droits sur les simulations et les utilisateurs (création, modification, suppression).
+
+Les modifications des paramÚtres des simulations sont sauvegardé afin de conserver un historique. Cet historique se synchronise avec les données centralisées et les données de l'utilisateur.
+
+Décomposition de l'application en modules
+-----------------------------------------
+
+L'authentification s'appuie sur un module unique. Celui ci permet d'authentifier les utilisateurs se connectant via le client léger ou le client lourd. Un premier niveau impératif nécessite l'appartenance de l'utilisateur à un groupe destiné à contenir les accrédités à utiliser l'application. Ce module fourni aussi les groupes d'appartenance d'un utilisateur, afin de déterminer ses droits. Enfin, ce module permet l'édition des utilisateurs et des groupes par les utilisateurs avec pouvoir.
+
+Les autorisations sont gérées conjointement avec l'authentification. Une simulation a des droits associés en fonction de son propriétaire et son groupe d'appartenance. Ses droits sont décorélés des données métier, seul un identifiant technique permet aux services d'interroger le module d'autorisation afin de valider l'accÚs à une simulation. Le niveau de granularité des droits est similaire à la gestion des modes sur les fichiers. Les droits sur les actions création/modification/exécution sont alloués en fonction de l'utilisateur/groupe/autre.
+
+Le stockage est un module dupliqué à la fois sur le serveur gérant les données centralisées et sur chaque client lourd. Celui-ci a la charge de conserver les données dans une base, et de stocker les données volumineuses dans le systÚme de fichier. Il est capable de persister les objets utilisés par l'application. Un mécanisme de synchronisation permet de mettre à jour les données locales et les données centralisées en fonction de rÚgles de gestion de versionnement.
+
+La logique métier de l'application est contenue dans des services. Ceux ci peuvent être exécutés localement, lors de l'exécution d'une simulation sur le client lourd par exemple. Certains services sont présents uniquement sur le serveur, parce qu'ils nécessitent les modules d'autorisation et les données centralisées. Le client lourd fait alors appel à ces services dans un mode appel distant.
+
+Le module d'interface est composé de deux parties. CÎté serveur, l'utilisateur accÚde avec un navigateur Internet standard à l'application. Les pages sont servies par un serveur web utilisant un contrÎleur. Celui ci interagit avec les services afin de présenter les données à l'utilisateur. CÎté client, l'interface graphique s'appuie aussi sur un contrÎleur utilisant les services.
+
+
+Exigences et contraintes
+------------------------
+
+Contraintes d'urbanisme
+_______________________
+
+Le client lourd doit s'intégrer dans SimExplorer RCP.
+
+Les services déployés sur le serveur et mis à disposition du client lourd doivent pouvoir être réutilisés par des applications tierces.
+
+Le serveur doit être en mesure de lancer des simulations et de récupérer les résultats.
+
+Exigences et contraintes liées à des fonctionnalités particuliÚres
+__________________________________________________________________
+
+Un serveur d'authentification.existant pourra être réutilisé dans la mesure où il est accessible via des protocoles standards. Une note précisant le fonctionnement de ce serveur devra être fourni afin de rendre possible son utilisation. ex : LDAP
+
+Les appels de lancement des simulations devra être formalisés dans une note. Ceux ci pourront alors être intégrés dans les services.
+
+L'authentification implique l'établissement d'une connexion sécurisée entre le client et le serveur, afin de ne pas faire passer en clair les mots de passe sur le réseau. Le serveur disposera d'un certificat afin de crypter les flux.
+
+Contraintes d'ergonomie
+_______________________
+
+L'application web se doit d'être compatible avec les navigateurs récents : Firefox2+ et IE6+.
+
+L'application client lourd est un application standard type bureautique, et doit être compatible avec le maximum de plateformes. Le lancement de l'application doit se faire simplement par un raccourci.
+
+Volumétrie
+__________
+
+Les données associées aux simulations sont parfois trÚs volumineuses (>100Mo). Ces données doivent être stockées en local mais aussi sur le serveur, avec des transferts entre le client et le serveur.
+
+Contraintes et exigences liées à l'exploitation
+_______________________________________________
+
+Lors de la mise à jour de l'application, la base de données doit être synchrone avec l'applicatif. De même, le client lourd doit être à jour par rapport à la version déployée sur le serveur.
+
+Les données doivent pouvoir être simplement sauvegardées et restaurées.
+
+Architecture logique
+====================
+
+Schéma d'architecture logique
+-----------------------------
+
+.. image:: diagramme1.png
+
+Description des flux
+--------------------
+
+ #. Serveur web
+
+ L'interface client léger passe par ce flux. L'authentification se fera en HTTPS, le reste de l'application pourra être au choix en HTTP ou en HTTPS. Le contenu sera constitué de pages XHTML compatibles avec les navigateurs récents.
+
+ #. Interface client lourd
+
+ C'est à travers ce canal que l'utilisateur interagit avec l'application.
+
+ #. Serveur d'authentification
+
+ Le framework d'authentification utilise un serveur externe afin d'authentifier les utilisateurs. Ce flux dépend du serveur.
+
+ #. Autorisations
+
+ Toutes les informations relatives à la protection des accÚs aux simulations sont retrouvées via ce lien vers une base de données.
+
+ #. Persistance cÎté serveur
+
+ Les objets sont stockés dans une base de donnée à travers ce flux.
+
+ #. Persistance cÎté client
+
+ De même, les objets sont stockés dans une base de données. Nous sommes ici en présence d'une base de données embarquée, afin de rendre le client lourd autonome.
+
+ #. SystÚme de fichiers serveur
+
+ Les données volumineuses sont stockées dans le systÚme de fichier plutÎt que dans la base.
+
+ #. SystÚme de fichiers client
+
+ De la même façon que sur le serveur, les données sont stockées sous forme de fichiers dans le systÚme de fichier de l'utilisateur.
+
+ #. Services distants
+
+ La communication entre le client lourd et le serveur passe par ce flux. Celui ci est crypté et intégré à haut niveau dans l'application. Les appels de service se font de façon transparente, de façon similaire à un appel local.
+
+
+Initialisation des entrepÎts de données
+---------------------------------------
+
+Pour l'authentification, un groupe d'utilisateur doit être créé afin d'accueillir les personnes accréditées. De plus, un groupe d'administrateur avec un utilisateur doit exister afin de permettre l'administration des utilisateurs. Ces deux groupes seront à spécifier lors de l'installation.
+
+Si l'application doit utiliser un serveur d'authentification existant, le groupe des administrateurs doit avoir les droits de lister les utilisateurs amenés à être ajouté aux personnes accréditées.
+
+Les bases de données d'autorisation et de stockage peuvent être initialisés lors du lancement de l'application de façon automatique. Si les droits de création de table et de champs n'est pas autorisé pour l'application, un script doit être exécuté avant le déploiement d'une nouvelle version afin de mettre à jour la base et migrer les données.
+
+CÎté client, le problÚme ne se pose pas, la base de données est embarquée dans l'application.
+
+Les modules de l'application
+----------------------------
+
+Le module authentification
+__________________________
+
+La technologie JAAS (Java Authentication and Authorization Service) a été retenue. La partie autorisation est utilisée uniquement pour valider l'accÚs de l'utilisateur authentifié à l'application.
+
+Plusieurs méthodes d'authentification sont déjà implantées (login/mot de passe/groupes dans une base de données avec JDBC, LDAP, ...).
+
+Les modules services
+____________________
+
+Les services sont contenus dans des EJB (Entreprise Java Bean). Chaque service est un composant disposant d'outils facilitant la mise en oeuvre des transactions et la distribution.
+
+Ces services sont destinés à contenir toute la logique métier.
+
+Les services contiennent aussi le contexte d'authentification de l'appelant.
+
+Le module autorisation
+______________________
+
+Grâce au contexte d'authentification des EJB, les appels au module d'autorisation vont sécurisés les accÚs aux données.
+
+Le module stockage
+__________________
+
+Ce module repose en grande partie sur la technologie JPA (Java Persistence API). Elle permet un mapping entre les objets et la base de données de façon transparente et interropérable. Le choix de la base de données n'est alors plus vérouillé, de nombreux systÚmes étant compatibles. Afin de gérer les volumétries associées aux simulations, certaines propriétés seront stockées sur le disque dur.
+
+Lors de l'accÚs à une donnée, le module gérant les autorisations est appelé afin de vérifier les droits. De même, lorsque l'utilisateur crée une nouvelle entité, les droits lui sont associés via ce service.
+
+Le module interface
+___________________
+
+CÎté client léger, le site est réalisé avec Tapestry 5. Ce framework apporte le développement orienté objet au applications web. De nombreuses fonctionnalités sont incluses et facilitent le développement.
+
+CÎté client lourd, le framework JAXX est utilisé. Ce framework transforme des XML décrivant l'interface en classes Java.
+
+Développement de l'application
+------------------------------
+
+Lors de la construction de Simexplorer SI, nous utilisons le framework ToPIA ainsi que différents outils développés par Code Lutin. Ceux ci sont tous sous licence LGPL.
+
+A partir du modÚle conceptuel, le process de développement génÚre une partie de l'application, entre autre sous la forme d'interfaces à implémenter. Nous obtenons alors :
+ - les entités persistées
+ - les interfaces des services
+ - les interfaces des composants des pages web
+
+
+Architecture physique
+=====================
+
+Architecture logicielle
+-----------------------
+
+L'ensemble de l'application est développée avec le langage Java. La version de référence lors du développement de l'application est JRE 6 Update 3.
+
+Serveur Web
+___________
+
+Le serveur web est constitué d'un Apache 2.2. Le module mod_proxy_ajp permet de ne pas lancer le serveur d'application en root et d'avoir accÚs au port HTTP et HTTPS.
+
+Serveur Applicatif
+__________________
+
++------------------------+------------------------+------------------------+------------------------+------------------------+
+| |JBoss 4.2.2 GA |Geronimo JEE5 2.0.2 |JOnAS 5.0 M1 |GlassFish V2 |
++========================+========================+========================+========================+========================+
+|EJB3 | |ok| [#jba]_ | |ok| [#grc]_ | |ok| [#joa]_ | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- RemoteBinding | |ok| [#jbb]_ | |ok| [#grd]_ | |uok| | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- SSL | |ok| [#jbc]_ | |ok| [#gra]_ | |uok| | |ok| [#gfd]_ |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- SecurityDomain | |ok| [#jbd]_ | |uok| | |ok| [#joc]_ | |ok| [#gfe]_ |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- WebService | |ok| [#jbe]_ | |ok| [#gre]_ | |ok| [#job]_ | |ok| [#gfa]_ |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+| * Sécurisé | |ok| [#jbe]_ | |uok| [#gre]_ | |uok| | |ok| [#gff]_ |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+| * WebServiceContext | |ok| [#jbe]_ | |ok| [#gre]_ | |ok| [#job]_ | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- SessionContext | |uok| | |uok| | |uok| | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|JPA | |ok| [#jbf]_ | |ok| [#grf]_ | |ok| [#jof]_ | |ok| [#gfb]_ |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- XML datasource | |ok| [#jbg]_ | |ok| [#grj]_ | |ok| [#joe]_ | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- persistence.xml | |ok| [#jbh]_ | |ok| [#grg]_ | |ok| [#jog]_ | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- orm.xml | |uok| | |ok| [#grh]_ | |ok| [#joh]_ | |ok| [#gfc]_ |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|Servlet | |ok| [#jbi]_ | |ok| [#gri]_ | |uok| | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|- JAAS | |ok| [#jbj]_ | |ok| [#grb]_ | |ok| [#jod]_ | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+|Corba | |uok| | |uok| | |uok| | |uok| |
++------------------------+------------------------+------------------------+------------------------+------------------------+
+
+.. |ok| image:: ok.png
+.. |nok| image:: nok.png
+.. |uok| image:: uok.png
+
+.. [#jba] http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/ind…
+.. [#jbb] http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html
+.. [#jbc] http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/tra…
+.. [#jbd] http://docs.jboss.org/ejb3/app-server/tutorial/security/security.html
+.. [#jbe] http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html
+.. [#jbf] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
+.. [#jbg] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
+.. [#jbh] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
+.. [#jbi] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Get…
+.. [#jbj] http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Ser…
+
+.. [#grc] http://openejb.apache.org/
+.. [#grd] http://openejb.apache.org/jndi-names.html
+.. [#gra] http://www.ibm.com/developerworks/opensource/library/os-ag-corba1/
+.. [#gre] http://cwiki.apache.org/GMOxPMGT/geronimo-20-web-services-support.html
+.. [#grf] http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/docs/manual/jpa…
+.. [#grj] http://cwiki.apache.org/GMOxDOC11/geronimo-connector-11xsd.html#geronimo-co…
+.. [#grg] http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/docs/manual/jpa…
+.. [#grh] http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/docs/manual/jpa…
+.. [#gri] http://cwiki.apache.org/GMOxKB/jetty-or-tomcat.html
+.. [#grb] http://www.ibm.com/developerworks/opensource/library/os-ag-security/
+
+.. [#joa] http://www.easybeans.org/doc/userguide/en/chunk-integrated/ejb3_introductio…
+.. [#joc] http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guid…
+.. [#job] http://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
+
+.. [#jof] http://www.jpox.org/docs/jpa/index.html
+.. [#joe] http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guid…
+.. [#jog] http://www.jpox.org/docs/jpa/persistence_xml.html
+.. [#joh] http://www.jpox.org/docs/jpa/orm_xml.html
+
+.. [#jod] http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guid…
+
+.. [#gfd] http://blogs.sun.com/swchan/entry/enterprise_java_bean_over_ssl
+.. [#gfe] http://java.sun.com/developer/technicalArticles/J2EE/security_annotation/
+.. [#gfa] http://wiki.glassfish.java.net/Wiki.jsp?page=WebServicesTechnologies
+.. [#gff] https://glassfish.dev.java.net/javaee5/docs/AG/ablrk.html#ablry
+.. [#gfb] https://glassfish.dev.java.net/javaee5/persistence/
+.. [#gfc] https://glassfish.dev.java.net/javaee5/persistence/persistence_faq.html#5
+
+
+SGBD
+____
+
+Pour la base sur le serveur, les performances et la stabilité de PostgreSQL ont été retenues. CÎté client lourd, la base de donnée embarquée H2 est utilisée. Un export XML sera réalisé pour l'interopérabilité.
+
+
+Choix technologiques transverses
+________________________________
+
+Dans la perspective de réutilisation, les services publiés utiliseront des protocoles standardisés et inter opérables, afin de ne pas limiter le choix du langage.
+
+La technologie ... a été choisie pour son support de la sécurité et son utilisation courante dans différents langages et sur différents systÚmes d'exploitation.
+
+Solution aux contraintes d'ergonomie
+____________________________________
+
+L'application web respectera les standards W3C XHTML.
+
+L'application client lourd utilise le framework Swing, disponible sur un grand nombre de plateformes. Sur celles où Java Web Start est disponible, l'application pourra être installée par un simple clic sur le site du client léger.
+
+Dimensionnement
+_______________
+
+Une attention particuliÚre devra être faite à la taille des partitions lors de l'intégration en fonction de la volumétrie cible. De même, cÎté client, l'utilisateur doit être informé de l'espace utilisé par l'application par rapport à son espace disponible. La synchronisation doit vérifier au préalable la suffisance d'espace.
+
+En supposant que chaque simulation prend environ 100ko de paramÚtres, que 10 utilisateurs utilisent l'application en créant 5 simulations par jour, on obtient environ 10Go de paramÚtres de simulation sur 10 ans.
+
+Solution pour l'exploitation du systÚme
+_______________________________________
+
+
+Lors de la mise à jour de l'application, plusieurs aspects doivent être gérés. Tout d'abord la base de données doit être synchrone avec l'applicatif. Ceci devra se faire automatiquement avec une migration des données executée lors du déploiement d'une nouvelle version.
+
+Dans un environnement client/serveur, il est nécessaire de garantir la compatibilité entre les deux applications. Ainsi, le serveur mettra à disposition dans la mesure du possible les services avec une compatibilité ascendante. Si la version du client est obsolÚte, l'utilisateur est notifié et il ne peut plus utiliser l'application en mode connecté.
+
+
+ModÚle conceptuel
+-----------------
+
+Entités des données
+___________________
+
+.. image:: ../../../../xmi/images/data.png
+
+
+Entités des authorisations
+__________________________
+
+.. image:: ../../../../xmi/images/entities.png
+
+
+Services de stockage
+____________________
+
+.. image:: ../../../../xmi/images/storage.png
+
+
+Services d'authorisation
+________________________
+
+.. image:: ../../../../xmi/images/authorization.png
+
+
+Application web
+_______________
+
+.. image:: ../../../../xmi/images/applications.png
+
+
+Séquences d'utilisation
+-----------------------
+
+Gestion des authorisations
+__________________________
+
+.. image:: ./authorization.jpg
+
+Ãcrans de l'application
+-----------------------
+
+Liste des éléments
+__________________
+
+.. image:: ./screenshots/Screenshot.png
+
+Importer un élément
+___________________
+
+.. image:: ./screenshots/Screenshot-1.png
+
+Liste des utilisateurs
+______________________
+
+.. image:: ./screenshots/Screenshot-2.png
+
+Ajouter/éditer un utilisateur
+_____________________________
+
+.. image:: ./screenshots/Screenshot-3.png
+
+Liste des groupes
+_________________
+
+.. image:: ./screenshots/Screenshot-4.png
+
+Ajouter/éditer un groupe
+________________________
+
+.. image:: ./screenshots/Screenshot-5.png
Property changes on: trunk/simexplorer-is/src/site/fr/rst/devel/architecture.txt
___________________________________________________________________
Name: svn:executable
+ *
Deleted: trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.rst
===================================================================
--- trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.rst 2008-01-23 10:54:50 UTC (rev 426)
+++ trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.rst 2008-01-23 10:58:08 UTC (rev 427)
@@ -1,17 +0,0 @@
-GlassFish
-=========
-
-**GlassFish** est un serveur d'applications compatible J2EE ; la licence est CDDL et GPLv2.
-
-Fonctions
----------
-
-Au niveau des standards, GlassFish est une implémentation complète de la norme Java EE 5 qui recouvre:
-
- * EJB 3 (approche POJO, configuration par exception, injection de dépendance). L'occasion de se refaire une idée sur les EJB.
- * JPA (Java Persistence API): standard implémenté par TopLink (par défaut dans GlassFish), Hibernate ou OpenJPA
- * JAX-WS 2.x: nouvelle pile pour les services web
- * JAXB 2.0: mise en corresponsance (mapping) XML/Java utilisée par JAX-WS 2.0
- * JSF (Java Server Faces) - Framework MVC dont Apache MyFaces et JSF RI sont des implémentations libres
- * StAX - parseur de streaming XML
- * JSP 2.1 & Servlet 2.5: pour faire de l'injection de dépendance dans le conteneur web
Added: trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.txt
===================================================================
--- trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.txt (rev 0)
+++ trunk/simexplorer-is/src/site/fr/rst/devel/glassfish.txt 2008-01-23 10:58:08 UTC (rev 427)
@@ -0,0 +1,17 @@
+GlassFish
+=========
+
+**GlassFish** est un serveur d'applications compatible J2EE ; la licence est CDDL et GPLv2.
+
+Fonctions
+---------
+
+Au niveau des standards, GlassFish est une implémentation complète de la norme Java EE 5 qui recouvre:
+
+ * EJB 3 (approche POJO, configuration par exception, injection de dépendance). L'occasion de se refaire une idée sur les EJB.
+ * JPA (Java Persistence API): standard implémenté par TopLink (par défaut dans GlassFish), Hibernate ou OpenJPA
+ * JAX-WS 2.x: nouvelle pile pour les services web
+ * JAXB 2.0: mise en corresponsance (mapping) XML/Java utilisée par JAX-WS 2.0
+ * JSF (Java Server Faces) - Framework MVC dont Apache MyFaces et JSF RI sont des implémentations libres
+ * StAX - parseur de streaming XML
+ * JSP 2.1 & Servlet 2.5: pour faire de l'injection de dépendance dans le conteneur web
Deleted: trunk/simexplorer-is/src/site/fr/rst/devel/migration.rst
===================================================================
--- trunk/simexplorer-is/src/site/fr/rst/devel/migration.rst 2008-01-23 10:54:50 UTC (rev 426)
+++ trunk/simexplorer-is/src/site/fr/rst/devel/migration.rst 2008-01-23 10:58:08 UTC (rev 427)
@@ -1,190 +0,0 @@
-ToPIA Migration Service
-=======================
-
-ToPIA Migration Service est un module ToPIA chargᅵ d'effectuer la migration
-d'une base de donnᅵes existante sans perte de donnᅵes.
-
-Configuration
--------------
-Ce service doit disposer de quelques proprietᅵs de configuration pour effectuer
-la migration d'une base de donnᅵes.
-
-Ces propriᅵtᅵs sont fournies au service via un TopiaContext et font donc partie
-de la configuration de l'application.
-
-
-Configuration de la base de donnᅵes
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-::
-
- hibernate.dialect=org.hibernate.dialect.H2Dialect
- hibernate.connection.username=sa
- hibernate.connection.password=
- hibernate.connection.driver_class=org.h2.Driver
-
- topia.persistence.directories=directory1,directory2
- topia.persistence.classes=classImpl1,classImpl2
- topia.persistence.properties.file=???
-
-Ces informations servent ᅵ crᅵer une configuration hibernate (qui contient les
-informations de connexion et les mappings de l'application).
-
-Les lignes commencant par "hibernate" sont spᅵcifiques ᅵ hibernate et au type de
-base de donnᅵes utilisᅵ. Les lignes suivantes sont spᅵcifiques ᅵ ToPIA mais
-contiennent les mappings indispensable pour crᅵer le schᅵma de la base de
-donnᅵes aprᅵs migration.
-
-
-Configuration des mappings
-~~~~~~~~~~~~~~~~~~~~~~~~~~
-La configuration doit contenir ces propriᅵtᅵs :
-
-::
-
- topia.service.migration.mappingsdir=oldmappings
- topia.service.migration.modelnames=model1,model2,model3
-
-qui spᅵcifie le rᅵpertoire de recherche des anciens mappings pour les diffᅵrents
-modᅵles.
-
-Ce dossier contient ensuite un sous-dossier par modᅵle comportant chacun un
-sous-dossier par version par version (nommᅵ X, *X* ᅵtant la version), avec pour
-chaque dossier, l'ensemble des mappings hibernate de cette version.
-
-Exemple :
-
-::
-
- oldmappings/
- model1/
- 1/
- Class1.hbm.xml
- Class2.hbm.xml
- Class3.hbm.xml
- 2/
- Class1.hbm.xml
- Class2New.hbm.xml
- Class3.hbm.xml
- 2.2/
- Class2.hbm.xml
- Class3.hbm.xml
- Class4New.hbm.xml
-
-
-Configuration de la version
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
-La configuration doit contenir une propriᅵtᅵ :
-
-::
-
- topia.service.migration.version=3.5.1 (exemple)
-
-Cette propriᅵtᅵs renseigne la version *courante* de l'application.
-
-
-Configuration du callback
-~~~~~~~~~~~~~~~~~~~~~~~~~
-Il est possible de dᅵfinir une classe de type MigrationCallbackHandler, pour
-interagir, par exemple, avec l'utilisateur et lui demander s'il faut migrer la
-base de donnᅵes.
-
-Ces //callback// doivent implᅵmenter MigrationCallbackHandler et se trouver dans
-la configuration:
-
-::
-
- topia.service.migration.callbackhandlers=org.codelutin.test.SwingCallbackHandler
-
-
-Configuration du service
-~~~~~~~~~~~~~~~~~~~~~~~~
-Enfin pour utiliser le service, il faut l'activer. La configuration doit
-contenir la propriᅵtᅵs suivante :
-
-::
-
- topia.service.migration=org.codelutin.topia.security.TopiaSecurityServiceImpl
-
-
-Utilisation
------------
-Ce module ᅵtant un service ToPIA, il doit ᅵtre activᅵ pour pouvoir s'exᅵcuter.
-
-Il commence par se connecter au SGBD, vᅵrifie si les versions diffᅵrent, et
-effectue la migration si besoin.
-
-Classes de migration
-~~~~~~~~~~~~~~~~~~~~
-Pour savoir comment migrer les donnᅵes, le dᅵveloppeur utilisant le module de
-migration doit produire des classes Java de migration (une par classe
-nᅵcᅵssitant une modification et par version).
-
-Ces classes doivent :
-
-- hᅵriter de la classe ``AbstractMigration`` ou de l'interface ``Migration``
-- se trouver dans un sous package des classes d'implᅵmentation rᅵfᅵrencᅵes
- par les mappings. Ce package doit se nommer VnVm oᅵ:
-
- - *n* est la version de dᅵpart de migration
- - *m* la version d'arrivᅵe
-
-- respecter une convention de nommage de la forme
- MigrationClass oᅵ:
-
- - *Class* est le nom de l'entitᅵ devant ᅵtre migrᅵe
-
- Exemple, pour migrer une Personne d'une version 2 ᅵ 2.1:
- ``V2V2_1.MigratePersonne.java``
-
- Note: les "." ᅵtant interdits dans le nom de fichier, ils sont remplacᅵs par
- le caractᅵre "_".
-
-Ensuite, chaque classe doit :
-
-- implᅵmenter au moins la mᅵthode ``migrate(MapAdapter, MapHelper)``
- cette mᅵthode prend une MapAdapter en paramᅵtre, pour modifier un tuple et un
- MapHelper pouvant servir ᅵ retrouver des informations sur le reste des tuples
- de la base
-- surcharger (si besoin) la mᅵthode ``public ProxyClass migrateFrom()`` dans le
- cas oᅵ les tuples ᅵ modifier proviennent d'une classe diffᅵrente de la classe
- courante.
-
-Exemple :
-
-Ici, la modification porte sur la transformation de l'attribut ``timestampNaissance``
-de la classe ``domaine.Personne`` en une nouvelle table ``domaine.Naissance``, effectᅵe
-dans le changement de la version 1 ᅵ la version 2 :
-
-::
-
- // migrateFrom()
- public ProxyClass migrateFrom() {
- return new SimpleProxyClass("domaine.Personne");
- }
-
- // migrate(MapAdapter, MapHelper)
- public void migrate(MapAdapter map, MapHelper helper) {
-
- // map d'entree vide, conversion du timestamp
- // en jour, mois, annee
- try {
- Long timestamp = (Long) map.getOldValue("timestampNaissance");
- Calendar c = Calendar.getInstance();
- c.setTimeInMillis(timestamp);
- map.setValue("jour", c.get(Calendar.DAY_OF_MONTH));
- map.setValue("mois", c.get(Calendar.MONTH));
- map.setValue("annee", c.get(Calendar.YEAR));
- } catch (ExceptionAttributeUndefined e) {
- e.printStackTrace();
- }
- }
-
-Donc cette classe :
-
-- doit se nommer ``MigrateNaissance.java`` et se trouver dans le package
- ``domaine.V1V2``
-- redᅵfinit la methode migrateFrom() pour indiquer que les donnees proviennent de
- ``domaine.Personne``
-- implᅵmente ``migrate()`` pour produire des tuples de type ``domaine.Naissance``
- ᅵ partir de tuples ``domaine.Personne``
Added: trunk/simexplorer-is/src/site/fr/rst/devel/migration.txt
===================================================================
--- trunk/simexplorer-is/src/site/fr/rst/devel/migration.txt (rev 0)
+++ trunk/simexplorer-is/src/site/fr/rst/devel/migration.txt 2008-01-23 10:58:08 UTC (rev 427)
@@ -0,0 +1,190 @@
+ToPIA Migration Service
+=======================
+
+ToPIA Migration Service est un module ToPIA chargᅵ d'effectuer la migration
+d'une base de donnᅵes existante sans perte de donnᅵes.
+
+Configuration
+-------------
+Ce service doit disposer de quelques proprietᅵs de configuration pour effectuer
+la migration d'une base de donnᅵes.
+
+Ces propriᅵtᅵs sont fournies au service via un TopiaContext et font donc partie
+de la configuration de l'application.
+
+
+Configuration de la base de donnᅵes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+::
+
+ hibernate.dialect=org.hibernate.dialect.H2Dialect
+ hibernate.connection.username=sa
+ hibernate.connection.password=
+ hibernate.connection.driver_class=org.h2.Driver
+
+ topia.persistence.directories=directory1,directory2
+ topia.persistence.classes=classImpl1,classImpl2
+ topia.persistence.properties.file=???
+
+Ces informations servent ᅵ crᅵer une configuration hibernate (qui contient les
+informations de connexion et les mappings de l'application).
+
+Les lignes commencant par "hibernate" sont spᅵcifiques ᅵ hibernate et au type de
+base de donnᅵes utilisᅵ. Les lignes suivantes sont spᅵcifiques ᅵ ToPIA mais
+contiennent les mappings indispensable pour crᅵer le schᅵma de la base de
+donnᅵes aprᅵs migration.
+
+
+Configuration des mappings
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+La configuration doit contenir ces propriᅵtᅵs :
+
+::
+
+ topia.service.migration.mappingsdir=oldmappings
+ topia.service.migration.modelnames=model1,model2,model3
+
+qui spᅵcifie le rᅵpertoire de recherche des anciens mappings pour les diffᅵrents
+modᅵles.
+
+Ce dossier contient ensuite un sous-dossier par modᅵle comportant chacun un
+sous-dossier par version par version (nommᅵ X, *X* ᅵtant la version), avec pour
+chaque dossier, l'ensemble des mappings hibernate de cette version.
+
+Exemple :
+
+::
+
+ oldmappings/
+ model1/
+ 1/
+ Class1.hbm.xml
+ Class2.hbm.xml
+ Class3.hbm.xml
+ 2/
+ Class1.hbm.xml
+ Class2New.hbm.xml
+ Class3.hbm.xml
+ 2.2/
+ Class2.hbm.xml
+ Class3.hbm.xml
+ Class4New.hbm.xml
+
+
+Configuration de la version
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+La configuration doit contenir une propriᅵtᅵ :
+
+::
+
+ topia.service.migration.version=3.5.1 (exemple)
+
+Cette propriᅵtᅵs renseigne la version *courante* de l'application.
+
+
+Configuration du callback
+~~~~~~~~~~~~~~~~~~~~~~~~~
+Il est possible de dᅵfinir une classe de type MigrationCallbackHandler, pour
+interagir, par exemple, avec l'utilisateur et lui demander s'il faut migrer la
+base de donnᅵes.
+
+Ces //callback// doivent implᅵmenter MigrationCallbackHandler et se trouver dans
+la configuration:
+
+::
+
+ topia.service.migration.callbackhandlers=org.codelutin.test.SwingCallbackHandler
+
+
+Configuration du service
+~~~~~~~~~~~~~~~~~~~~~~~~
+Enfin pour utiliser le service, il faut l'activer. La configuration doit
+contenir la propriᅵtᅵs suivante :
+
+::
+
+ topia.service.migration=org.codelutin.topia.security.TopiaSecurityServiceImpl
+
+
+Utilisation
+-----------
+Ce module ᅵtant un service ToPIA, il doit ᅵtre activᅵ pour pouvoir s'exᅵcuter.
+
+Il commence par se connecter au SGBD, vᅵrifie si les versions diffᅵrent, et
+effectue la migration si besoin.
+
+Classes de migration
+~~~~~~~~~~~~~~~~~~~~
+Pour savoir comment migrer les donnᅵes, le dᅵveloppeur utilisant le module de
+migration doit produire des classes Java de migration (une par classe
+nᅵcᅵssitant une modification et par version).
+
+Ces classes doivent :
+
+- hᅵriter de la classe ``AbstractMigration`` ou de l'interface ``Migration``
+- se trouver dans un sous package des classes d'implᅵmentation rᅵfᅵrencᅵes
+ par les mappings. Ce package doit se nommer VnVm oᅵ:
+
+ - *n* est la version de dᅵpart de migration
+ - *m* la version d'arrivᅵe
+
+- respecter une convention de nommage de la forme
+ MigrationClass oᅵ:
+
+ - *Class* est le nom de l'entitᅵ devant ᅵtre migrᅵe
+
+ Exemple, pour migrer une Personne d'une version 2 ᅵ 2.1:
+ ``V2V2_1.MigratePersonne.java``
+
+ Note: les "." ᅵtant interdits dans le nom de fichier, ils sont remplacᅵs par
+ le caractᅵre "_".
+
+Ensuite, chaque classe doit :
+
+- implᅵmenter au moins la mᅵthode ``migrate(MapAdapter, MapHelper)``
+ cette mᅵthode prend une MapAdapter en paramᅵtre, pour modifier un tuple et un
+ MapHelper pouvant servir ᅵ retrouver des informations sur le reste des tuples
+ de la base
+- surcharger (si besoin) la mᅵthode ``public ProxyClass migrateFrom()`` dans le
+ cas oᅵ les tuples ᅵ modifier proviennent d'une classe diffᅵrente de la classe
+ courante.
+
+Exemple :
+
+Ici, la modification porte sur la transformation de l'attribut ``timestampNaissance``
+de la classe ``domaine.Personne`` en une nouvelle table ``domaine.Naissance``, effectᅵe
+dans le changement de la version 1 ᅵ la version 2 :
+
+::
+
+ // migrateFrom()
+ public ProxyClass migrateFrom() {
+ return new SimpleProxyClass("domaine.Personne");
+ }
+
+ // migrate(MapAdapter, MapHelper)
+ public void migrate(MapAdapter map, MapHelper helper) {
+
+ // map d'entree vide, conversion du timestamp
+ // en jour, mois, annee
+ try {
+ Long timestamp = (Long) map.getOldValue("timestampNaissance");
+ Calendar c = Calendar.getInstance();
+ c.setTimeInMillis(timestamp);
+ map.setValue("jour", c.get(Calendar.DAY_OF_MONTH));
+ map.setValue("mois", c.get(Calendar.MONTH));
+ map.setValue("annee", c.get(Calendar.YEAR));
+ } catch (ExceptionAttributeUndefined e) {
+ e.printStackTrace();
+ }
+ }
+
+Donc cette classe :
+
+- doit se nommer ``MigrateNaissance.java`` et se trouver dans le package
+ ``domaine.V1V2``
+- redᅵfinit la methode migrateFrom() pour indiquer que les donnees proviennent de
+ ``domaine.Personne``
+- implᅵmente ``migrate()`` pour produire des tuples de type ``domaine.Naissance``
+ ᅵ partir de tuples ``domaine.Personne``
Property changes on: trunk/simexplorer-is/src/site/fr/rst/devel/migration.txt
___________________________________________________________________
Name: svn:executable
+ *
1
0
r426 - in trunk/simexplorer-is-swing/src/resources: . i18n
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
by tchemit@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: tchemit
Date: 2008-01-23 10:54:50 +0000 (Wed, 23 Jan 2008)
New Revision: 426
Added:
trunk/simexplorer-is-swing/src/resources/i18n/
trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties
trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties
Removed:
trunk/simexplorer-is-swing/src/resources/i18n/language-en_GB.properties
trunk/simexplorer-is-swing/src/resources/i18n/language-fr_FR.properties
Log:
update plugin i18n
Copied: trunk/simexplorer-is-swing/src/resources/i18n (from rev 420, trunk/simexplorer-is-swing/src/i18n)
Deleted: trunk/simexplorer-is-swing/src/resources/i18n/language-en_GB.properties
===================================================================
--- trunk/simexplorer-is-swing/src/i18n/language-en_GB.properties 2008-01-22 18:53:44 UTC (rev 420)
+++ trunk/simexplorer-is-swing/src/resources/i18n/language-en_GB.properties 2008-01-23 10:54:50 UTC (rev 426)
@@ -1,155 +0,0 @@
-#Tue Jan 22 12:48:42 GMT 2008
-simexplorer.action.about=About
-simexplorer.action.about.help=
-simexplorer.action.about.tooltip=Show About dialog
-simexplorer.action.application.advancedSearch=Advanced search
-simexplorer.action.application.advancedSearch.help=
-simexplorer.action.application.advancedSearch.tooltip=Show advanced search dialog
-simexplorer.action.application.collapseAll=collapseAll
-simexplorer.action.application.collapseAll.help=
-simexplorer.action.application.collapseAll.tooltip=Collapse all nodes
-simexplorer.action.application.expandAll=expandAll
-simexplorer.action.application.expandAll.help=Expand all nodes
-simexplorer.action.application.expandAll.tooltip=
-simexplorer.action.application.export=export
-simexplorer.action.application.export.help=
-simexplorer.action.application.export.tooltip=Export application
-simexplorer.action.application.import=import
-simexplorer.action.application.import.help=
-simexplorer.action.application.import.tooltip=import application
-simexplorer.action.application.resetSearch=reset
-simexplorer.action.application.resetSearch.help=
-simexplorer.action.application.resetSearch.tooltip=reset search
-simexplorer.action.application.search=search
-simexplorer.action.application.search.help=
-simexplorer.action.application.search.tooltip=Launch search
-simexplorer.action.application.searchText=search text \:
-simexplorer.action.application.searchText.tooltip=Text to search in applications
-simexplorer.action.closeTab=close
-simexplorer.action.closeTab.help=
-simexplorer.action.closeTab.tooltip=close the tab
-simexplorer.action.config=Preferences
-simexplorer.action.config.help=
-simexplorer.action.config.tooltip=Display the configuration modifier UI
-simexplorer.action.connect=Connect
-simexplorer.action.connect.help=
-simexplorer.action.connect.tooltip=Connect to remote server
-simexplorer.action.groups=Groups
-simexplorer.action.groups.help=
-simexplorer.action.groups.tooltip=Show Groups admin screen
-simexplorer.action.help=Help
-simexplorer.action.help.help=
-simexplorer.action.help.tooltip=Show help dialog
-simexplorer.action.hide.local=hide local applications
-simexplorer.action.hide.local.help=
-simexplorer.action.hide.local.tooltip=hide local applications
-simexplorer.action.hide.remote=hide remote applications
-simexplorer.action.hide.remote.help=
-simexplorer.action.hide.remote.tooltip=Hide the list of remote applications
-simexplorer.action.hide.synchronize=hide Synchronize
-simexplorer.action.hide.synchronize.help=
-simexplorer.action.hide.synchronize.tooltip=Hide Synchronize screen
-simexplorer.action.i18n.en=English
-simexplorer.action.i18n.en.help=
-simexplorer.action.i18n.en.tooltip=Change to english language
-simexplorer.action.i18n.fr=French
-simexplorer.action.i18n.fr.help=
-simexplorer.action.i18n.fr.tooltip=Change to french language
-simexplorer.action.pagination.changeSizor=Change Page size
-simexplorer.action.pagination.changeSizor.help=
-simexplorer.action.pagination.changeSizor.tooltip=Select the number of results to display in a page
-simexplorer.action.pagination.currentPage=page
-simexplorer.action.pagination.goFirstPage=First page
-simexplorer.action.pagination.goFirstPage.help=
-simexplorer.action.pagination.goFirstPage.tooltip=Access to first page in the list of results
-simexplorer.action.pagination.goLastPage=Last page
-simexplorer.action.pagination.goLastPage.help=
-simexplorer.action.pagination.goLastPage.tooltip=Access to last page in the list of results
-simexplorer.action.pagination.goNextPage=Next page
-simexplorer.action.pagination.goNextPage.help=
-simexplorer.action.pagination.goNextPage.tooltip=Access to next page in the list of results
-simexplorer.action.pagination.goPage=Page
-simexplorer.action.pagination.goPage.help=
-simexplorer.action.pagination.goPage.tooltip=Select page to display in the list of results
-simexplorer.action.pagination.goPreviousPage=Previous page
-simexplorer.action.pagination.goPreviousPage.help=
-simexplorer.action.pagination.goPreviousPage.tooltip=Access to previous page in the list of results
-simexplorer.action.quit=Quit
-simexplorer.action.quit.help=
-simexplorer.action.quit.tooltip=Quit SimExplorer SI
-simexplorer.action.show.detail=Application detail
-simexplorer.action.show.detail.help=
-simexplorer.action.show.detail.tooltip=show Detail of Application
-simexplorer.action.show.local=Applications (local)
-simexplorer.action.show.local.help=
-simexplorer.action.show.local.tooltip=Show the list of local applications
-simexplorer.action.show.remote=Applications (remote)
-simexplorer.action.show.remote.help=
-simexplorer.action.show.remote.tooltip=Show the list of remote applications
-simexplorer.action.show.synchronize=Synchronize
-simexplorer.action.show.synchronize.help=
-simexplorer.action.show.synchronize.tooltip=Show synchronize screen
-simexplorer.action.site=Site
-simexplorer.action.site.help=
-simexplorer.action.site.tooltip=Go to SimExplorer SI site
-simexplorer.action.synchronize=Synchronize
-simexplorer.action.synchronize.help=
-simexplorer.action.synchronize.tooltip=Launch synchronization
-simexplorer.action.unconnect=Unconnect
-simexplorer.action.unconnect.help=
-simexplorer.action.unconnect.tooltip=Disconnect from remote server
-simexplorer.action.users=Users
-simexplorer.action.users.help=
-simexplorer.action.users.tooltip=Show Users admin screen
-simexplorer.admin.menu=Admin
-simexplorer.change.config.property=
-simexplorer.common.cancel=cancel
-simexplorer.common.creationDate=create date
-simexplorer.common.description=description
-simexplorer.common.name=name
-simexplorer.common.ok=ok
-simexplorer.common.reset=reset
-simexplorer.common.type=type
-simexplorer.common.version=version
-simexplorer.config.i18n.menu=Language
-simexplorer.config.main.backupDirectory.description=Directory to put all SimExplorer backup files
-simexplorer.config.main.baseDirectory.description=Directory of the local databse of SimExplorer
-simexplorer.config.main.configFileName.description=The path of the configuration file
-simexplorer.config.main.country.description=Country of the user's locale
-simexplorer.config.main.description=Configuration de l'application SimExplorer SI
-simexplorer.config.main.firstName.description=User first name
-simexplorer.config.main.language.description=Language of user's locale
-simexplorer.config.main.lastName.description=User last name
-simexplorer.config.main.login.description=User login to remote server
-simexplorer.config.main.serverURL.description=URL of the remote server
-simexplorer.config.main.showLocalTab.description=Show at launch time, the local tab
-simexplorer.config.main.showRemoteTab.description=Show at launch time, the remote tab
-simexplorer.config.main.showSynchTab.description=Show at launch time, the synchronize tab
-simexplorer.config.main.sizor.description=number of result to display by page in ui
-simexplorer.config.main.userMail.description=User email adress
-simexplorer.config.main.version.description=Version of application
-simexplorer.config.menu=Configuration
-simexplorer.config.title=SimExplorer SI configuration modifier
-simexplorer.error.load.actions.class=could not found for action key {0} class {1}
-simexplorer.error.load.actions.file=could not load actions.properties file for reason {0}
-simexplorer.error.unfound.config.property=
-simexplorer.help.menu=Help
-simexplorer.main.menu=Main
-simexplorer.main.ui.title=SimExplorer SI v 0.0.1
-simexplorer.message.reset.user.configuration=
-simexplorer.option.description.config=change value of configuration property (with **key**) by value **value**.
-simexplorer.option.description.configFile=configuration's file
-simexplorer.option.description.editConfig=to launch UI of configuration modifier
-simexplorer.option.description.help=Show this help
-simexplorer.option.description.resetConfig=Reset user configuration.
-simexplorer.option.description.showConfig=See configuration details
-simexplorer.option.description.ui=launch or not user interface (value)
-simexplorer.tab.detail=Application detail
-simexplorer.tab.detail.tooltip=Screen of details of an Application
-simexplorer.tab.local=Local applications
-simexplorer.tab.local.tooltip=List of all applications existing on local database
-simexplorer.tab.remote=Remote applications
-simexplorer.tab.remote.tooltip=List of all applications existing on remote server
-simexplorer.tab.synchronize=Synchronize
-simexplorer.tab.synchronize.tooltip=Screen to synchronize applications
-{0}\ should\ have\ a\ name\ like\ this\ {1},\ but\ was\ {2}=
Deleted: trunk/simexplorer-is-swing/src/resources/i18n/language-fr_FR.properties
===================================================================
--- trunk/simexplorer-is-swing/src/i18n/language-fr_FR.properties 2008-01-22 18:53:44 UTC (rev 420)
+++ trunk/simexplorer-is-swing/src/resources/i18n/language-fr_FR.properties 2008-01-23 10:54:50 UTC (rev 426)
@@ -1,155 +0,0 @@
-#Tue Jan 22 12:48:42 GMT 2008
-simexplorer.action.about=A propos
-simexplorer.action.about.help=
-simexplorer.action.about.tooltip=Afficher les cr\u00E9dits
-simexplorer.action.application.advancedSearch=Recherche avanc\u00E9e
-simexplorer.action.application.advancedSearch.help=
-simexplorer.action.application.advancedSearch.tooltip=Cliquer pour afficher le recherche avanc\u00E9e
-simexplorer.action.application.collapseAll=tout r\u00E9duire
-simexplorer.action.application.collapseAll.help=
-simexplorer.action.application.collapseAll.tooltip=R\u00E9duire tous les noeuds
-simexplorer.action.application.expandAll=tout d\u00E9rouler
-simexplorer.action.application.expandAll.help=
-simexplorer.action.application.expandAll.tooltip=\u00E9taler tous les noeuds
-simexplorer.action.application.export=exporter
-simexplorer.action.application.export.help=
-simexplorer.action.application.export.tooltip=Exporter une application
-simexplorer.action.application.import=importer
-simexplorer.action.application.import.help=
-simexplorer.action.application.import.tooltip=Importer une application
-simexplorer.action.application.resetSearch=r\u00E9initialiser
-simexplorer.action.application.resetSearch.help=
-simexplorer.action.application.resetSearch.tooltip=R\u00E9initialiser la recherche
-simexplorer.action.application.search=chercher
-simexplorer.action.application.search.help=
-simexplorer.action.application.search.tooltip=Lancer la recherche
-simexplorer.action.application.searchText=recherche \:
-simexplorer.action.application.searchText.tooltip=Le texte de recherche
-simexplorer.action.closeTab=Fermer
-simexplorer.action.closeTab.help=
-simexplorer.action.closeTab.tooltip=Fermer l'onglet
-simexplorer.action.config=Pr\u00E9f\u00E9rences
-simexplorer.action.config.help=
-simexplorer.action.config.tooltip=Afficher le dialogue de modification de configuration
-simexplorer.action.connect=Connexion
-simexplorer.action.connect.help=
-simexplorer.action.connect.tooltip=Se connecter au serveur distant
-simexplorer.action.groups=Groupes
-simexplorer.action.groups.help=
-simexplorer.action.groups.tooltip=Afficher le gestionnaire des groupes
-simexplorer.action.help=Aide
-simexplorer.action.help.help=
-simexplorer.action.help.tooltip=Acc\u00E9der \u00E0 l'aide
-simexplorer.action.hide.local=cacher Applications locales
-simexplorer.action.hide.local.help=
-simexplorer.action.hide.local.tooltip=Cacher la liste des applications locales
-simexplorer.action.hide.remote=cacher Applications distantes
-simexplorer.action.hide.remote.help=
-simexplorer.action.hide.remote.tooltip=Cacher la liste des applications distantes
-simexplorer.action.hide.synchronize=cacher Synchronisation
-simexplorer.action.hide.synchronize.help=
-simexplorer.action.hide.synchronize.tooltip=Cacher l'\u00E9cran de synchronisation
-simexplorer.action.i18n.en=Anglais
-simexplorer.action.i18n.en.help=
-simexplorer.action.i18n.en.tooltip=Traduire l'application en anglais
-simexplorer.action.i18n.fr=Fran\u00E7ais
-simexplorer.action.i18n.fr.help=
-simexplorer.action.i18n.fr.tooltip=Traduire l'application en fran\u00E7ais
-simexplorer.action.pagination.changeSizor=Change fen\u00EAtre
-simexplorer.action.pagination.changeSizor.help=
-simexplorer.action.pagination.changeSizor.tooltip=Choisir le nombre de r\u00E9sultats par page
-simexplorer.action.pagination.currentPage=page
-simexplorer.action.pagination.goFirstPage=Premi\u00E8re page
-simexplorer.action.pagination.goFirstPage.help=
-simexplorer.action.pagination.goFirstPage.tooltip=Acc\u00E9der \u00E0 la premi\u00E8re page de la liste des r\u00E9sultats
-simexplorer.action.pagination.goLastPage=Derni\u00E8re Page
-simexplorer.action.pagination.goLastPage.help=
-simexplorer.action.pagination.goLastPage.tooltip=Acc\u00E9der \u00E0 la derni\u00E8re page de la liste des r\u00E9sultats
-simexplorer.action.pagination.goNextPage=Prochaine page
-simexplorer.action.pagination.goNextPage.help=
-simexplorer.action.pagination.goNextPage.tooltip=Acc\u00E9der \u00E0 la prochaine page de la liste des r\u00E9sultats
-simexplorer.action.pagination.goPage=Page
-simexplorer.action.pagination.goPage.help=
-simexplorer.action.pagination.goPage.tooltip=Choisir la page \u00E0 acc\u00E9der dans la liste des r\u00E9sultats
-simexplorer.action.pagination.goPreviousPage=Pr\u00E9c\u00E9dente page
-simexplorer.action.pagination.goPreviousPage.help=
-simexplorer.action.pagination.goPreviousPage.tooltip=Acc\u00E9der \u00E0 la page pr\u00E9c\u00E9dente de la liste des r\u00E9sultats
-simexplorer.action.quit=Quitter
-simexplorer.action.quit.help=
-simexplorer.action.quit.tooltip=Pour quitter l'application
-simexplorer.action.show.detail=D\u00E9tail
-simexplorer.action.show.detail.help=
-simexplorer.action.show.detail.tooltip=Affcihier les d\u00E9tail de l'application
-simexplorer.action.show.local=Applications locales
-simexplorer.action.show.local.help=
-simexplorer.action.show.local.tooltip=Afficher la liste des applications locales
-simexplorer.action.show.remote=Applications distantes
-simexplorer.action.show.remote.help=
-simexplorer.action.show.remote.tooltip=Afficher la liste des applications distantes
-simexplorer.action.show.synchronize=Synchroniser
-simexplorer.action.show.synchronize.help=
-simexplorer.action.show.synchronize.tooltip=Afficher l'\u00E9cran de synchronisation des applications
-simexplorer.action.site=Site
-simexplorer.action.site.help=
-simexplorer.action.site.tooltip=Acc\u00E9der \u00E0 l'aide
-simexplorer.action.synchronize=Synchroniser
-simexplorer.action.synchronize.help=
-simexplorer.action.synchronize.tooltip=Lancer une nouvelle synchronisation
-simexplorer.action.unconnect=D\u00E9connexion
-simexplorer.action.unconnect.help=
-simexplorer.action.unconnect.tooltip=Se d\u00E9connecter du serveur distant
-simexplorer.action.users=Utilisateurs
-simexplorer.action.users.help=
-simexplorer.action.users.tooltip=Afficher le gestionnaire des utilisateurs
-simexplorer.admin.menu=Administration
-simexplorer.change.config.property=
-simexplorer.common.cancel=annuler
-simexplorer.common.creationDate=date de cr\u00E9ation
-simexplorer.common.description=description
-simexplorer.common.name=nom
-simexplorer.common.ok=appliquer
-simexplorer.common.reset=r\u00E9initialiser
-simexplorer.common.type=type
-simexplorer.common.version=version
-simexplorer.config.i18n.menu=Langue
-simexplorer.config.main.backupDirectory.description=le r\u00E9pertoire des sauvegardes
-simexplorer.config.main.baseDirectory.description=le r\u00E9pertoire de la base locale
-simexplorer.config.main.configFileName.description=Le chemin du fichier de configuration
-simexplorer.config.main.country.description=Le pays de la locale utilisateur
-simexplorer.config.main.description=La configuration de l'application
-simexplorer.config.main.firstName.description=Le pr\u00E9nom de l'utilisateur
-simexplorer.config.main.language.description=La langue de la locale utilisateur
-simexplorer.config.main.lastName.description=Le nom de l'utilisateur
-simexplorer.config.main.login.description=Le login de l'utilisateur
-simexplorer.config.main.serverURL.description=l'url du serveur distant
-simexplorer.config.main.showLocalTab.description=Voir au d\u00E9marrage l'onglet Local
-simexplorer.config.main.showRemoteTab.description=Voir au d\u00E9mrrage l'onglet Distant
-simexplorer.config.main.showSynchTab.description=Voir au d\u00E9marrage l'onglet Synchro
-simexplorer.config.main.sizor.description=Nombre de r\u00E9sultats par page dans l'ui
-simexplorer.config.main.userMail.description=Le courriel de l'utilisateur
-simexplorer.config.main.version.description=La version du logiciel
-simexplorer.config.menu=Configuration
-simexplorer.config.title=SimExplorer SI Pr\u00E9f\u00E9rences
-simexplorer.error.load.actions.class=could not found for action key {0} class {1}
-simexplorer.error.load.actions.file=could not load actions.properties file for reason {0}
-simexplorer.error.unfound.config.property=
-simexplorer.help.menu=Aide
-simexplorer.main.menu=Menu principal
-simexplorer.main.ui.title=SimExplorer SI v 0.0.1
-simexplorer.message.reset.user.configuration=
-simexplorer.option.description.config=remplace la valeur d'une propri\u00E9t\u00E9 de clef **key** de la configuration par la valeur **value**.
-simexplorer.option.description.configFile=le fichier de configuration utilis\u00E9
-simexplorer.option.description.editConfig=pour lancer l'UI d'\u00E9dition de la configuration
-simexplorer.option.description.help=Show this help
-simexplorer.option.description.resetConfig=R\u00E9initialisation de la configuration.
-simexplorer.option.description.showConfig=Voir les d\u00E9tails d'une configuration
-simexplorer.option.description.ui=launch or not user interface (value)
-simexplorer.tab.detail=D\u00E9tail Application
-simexplorer.tab.detail.tooltip=L'\u00E9cran affichant les d\u00E9tails d'une application
-simexplorer.tab.local=Applications locales
-simexplorer.tab.local.tooltip=La liste des applications pr\u00E9sentes localement
-simexplorer.tab.remote=Applications distantes
-simexplorer.tab.remote.tooltip=La liste des applications pr\u00E9sentes sur le serveur distant
-simexplorer.tab.synchronize=Synchronisation
-simexplorer.tab.synchronize.tooltip=L'\u00E9cran de synchronisation des applications
-{0}\ should\ have\ a\ name\ like\ this\ {1},\ but\ was\ {2}=
Added: trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties
===================================================================
--- trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties (rev 0)
+++ trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-en_GB.properties 2008-01-23 10:54:50 UTC (rev 426)
@@ -0,0 +1,155 @@
+#Wed Jan 23 08:20:58 GMT 2008
+simexplorer.action.about=About
+simexplorer.action.about.help=
+simexplorer.action.about.tooltip=Show About dialog
+simexplorer.action.application.advancedSearch=Advanced search
+simexplorer.action.application.advancedSearch.help=
+simexplorer.action.application.advancedSearch.tooltip=Show advanced search dialog
+simexplorer.action.application.collapseAll=collapseAll
+simexplorer.action.application.collapseAll.help=
+simexplorer.action.application.collapseAll.tooltip=Collapse all nodes
+simexplorer.action.application.expandAll=expandAll
+simexplorer.action.application.expandAll.help=Expand all nodes
+simexplorer.action.application.expandAll.tooltip=
+simexplorer.action.application.export=export
+simexplorer.action.application.export.help=
+simexplorer.action.application.export.tooltip=Export application
+simexplorer.action.application.import=import
+simexplorer.action.application.import.help=
+simexplorer.action.application.import.tooltip=import application
+simexplorer.action.application.resetSearch=reset
+simexplorer.action.application.resetSearch.help=
+simexplorer.action.application.resetSearch.tooltip=reset search
+simexplorer.action.application.search=search
+simexplorer.action.application.search.help=
+simexplorer.action.application.search.tooltip=Launch search
+simexplorer.action.application.searchText=search text \:
+simexplorer.action.application.searchText.tooltip=Text to search in applications
+simexplorer.action.closeTab=close
+simexplorer.action.closeTab.help=
+simexplorer.action.closeTab.tooltip=close the tab
+simexplorer.action.config=Preferences
+simexplorer.action.config.help=
+simexplorer.action.config.tooltip=Display the configuration modifier UI
+simexplorer.action.connect=Connect
+simexplorer.action.connect.help=
+simexplorer.action.connect.tooltip=Connect to remote server
+simexplorer.action.groups=Groups
+simexplorer.action.groups.help=
+simexplorer.action.groups.tooltip=Show Groups admin screen
+simexplorer.action.help=Help
+simexplorer.action.help.help=
+simexplorer.action.help.tooltip=Show help dialog
+simexplorer.action.hide.local=hide local applications
+simexplorer.action.hide.local.help=
+simexplorer.action.hide.local.tooltip=hide local applications
+simexplorer.action.hide.remote=hide remote applications
+simexplorer.action.hide.remote.help=
+simexplorer.action.hide.remote.tooltip=Hide the list of remote applications
+simexplorer.action.hide.synchronize=hide Synchronize
+simexplorer.action.hide.synchronize.help=
+simexplorer.action.hide.synchronize.tooltip=Hide Synchronize screen
+simexplorer.action.i18n.en=English
+simexplorer.action.i18n.en.help=
+simexplorer.action.i18n.en.tooltip=Change to english language
+simexplorer.action.i18n.fr=French
+simexplorer.action.i18n.fr.help=
+simexplorer.action.i18n.fr.tooltip=Change to french language
+simexplorer.action.pagination.changeSizor=Change Page size
+simexplorer.action.pagination.changeSizor.help=
+simexplorer.action.pagination.changeSizor.tooltip=Select the number of results to display in a page
+simexplorer.action.pagination.currentPage=page
+simexplorer.action.pagination.goFirstPage=First page
+simexplorer.action.pagination.goFirstPage.help=
+simexplorer.action.pagination.goFirstPage.tooltip=Access to first page in the list of results
+simexplorer.action.pagination.goLastPage=Last page
+simexplorer.action.pagination.goLastPage.help=
+simexplorer.action.pagination.goLastPage.tooltip=Access to last page in the list of results
+simexplorer.action.pagination.goNextPage=Next page
+simexplorer.action.pagination.goNextPage.help=
+simexplorer.action.pagination.goNextPage.tooltip=Access to next page in the list of results
+simexplorer.action.pagination.goPage=Page
+simexplorer.action.pagination.goPage.help=
+simexplorer.action.pagination.goPage.tooltip=Select page to display in the list of results
+simexplorer.action.pagination.goPreviousPage=Previous page
+simexplorer.action.pagination.goPreviousPage.help=
+simexplorer.action.pagination.goPreviousPage.tooltip=Access to previous page in the list of results
+simexplorer.action.quit=Quit
+simexplorer.action.quit.help=
+simexplorer.action.quit.tooltip=Quit SimExplorer SI
+simexplorer.action.show.detail=Application detail
+simexplorer.action.show.detail.help=
+simexplorer.action.show.detail.tooltip=show Detail of Application
+simexplorer.action.show.local=Applications (local)
+simexplorer.action.show.local.help=
+simexplorer.action.show.local.tooltip=Show the list of local applications
+simexplorer.action.show.remote=Applications (remote)
+simexplorer.action.show.remote.help=
+simexplorer.action.show.remote.tooltip=Show the list of remote applications
+simexplorer.action.show.synchronize=Synchronize
+simexplorer.action.show.synchronize.help=
+simexplorer.action.show.synchronize.tooltip=Show synchronize screen
+simexplorer.action.site=Site
+simexplorer.action.site.help=
+simexplorer.action.site.tooltip=Go to SimExplorer SI site
+simexplorer.action.synchronize=Synchronize
+simexplorer.action.synchronize.help=
+simexplorer.action.synchronize.tooltip=Launch synchronization
+simexplorer.action.unconnect=Unconnect
+simexplorer.action.unconnect.help=
+simexplorer.action.unconnect.tooltip=Disconnect from remote server
+simexplorer.action.users=Users
+simexplorer.action.users.help=
+simexplorer.action.users.tooltip=Show Users admin screen
+simexplorer.admin.menu=Admin
+simexplorer.change.config.property=
+simexplorer.common.cancel=cancel
+simexplorer.common.creationDate=create date
+simexplorer.common.description=description
+simexplorer.common.name=name
+simexplorer.common.ok=ok
+simexplorer.common.reset=reset
+simexplorer.common.type=type
+simexplorer.common.version=version
+simexplorer.config.i18n.menu=Language
+simexplorer.config.main.backupDirectory.description=Directory to put all SimExplorer backup files
+simexplorer.config.main.baseDirectory.description=Directory of the local databse of SimExplorer
+simexplorer.config.main.configFileName.description=The path of the configuration file
+simexplorer.config.main.country.description=Country of the user's locale
+simexplorer.config.main.description=Configuration de l'application SimExplorer SI
+simexplorer.config.main.firstName.description=User first name
+simexplorer.config.main.language.description=Language of user's locale
+simexplorer.config.main.lastName.description=User last name
+simexplorer.config.main.login.description=User login to remote server
+simexplorer.config.main.serverURL.description=URL of the remote server
+simexplorer.config.main.showLocalTab.description=Show at launch time, the local tab
+simexplorer.config.main.showRemoteTab.description=Show at launch time, the remote tab
+simexplorer.config.main.showSynchTab.description=Show at launch time, the synchronize tab
+simexplorer.config.main.sizor.description=number of result to display by page in ui
+simexplorer.config.main.userMail.description=User email adress
+simexplorer.config.main.version.description=Version of application
+simexplorer.config.menu=Configuration
+simexplorer.config.title=SimExplorer SI configuration modifier
+simexplorer.error.load.actions.class=could not found for action key {0} class {1}
+simexplorer.error.load.actions.file=could not load actions.properties file for reason {0}
+simexplorer.error.unfound.config.property=
+simexplorer.help.menu=Help
+simexplorer.main.menu=Main
+simexplorer.main.ui.title=SimExplorer SI v 0.0.1
+simexplorer.message.reset.user.configuration=
+simexplorer.option.description.config=change value of configuration property (with **key**) by value **value**.
+simexplorer.option.description.configFile=configuration's file
+simexplorer.option.description.editConfig=to launch UI of configuration modifier
+simexplorer.option.description.help=Show this help
+simexplorer.option.description.resetConfig=Reset user configuration.
+simexplorer.option.description.showConfig=See configuration details
+simexplorer.option.description.ui=launch or not user interface (value)
+simexplorer.tab.detail=Application detail
+simexplorer.tab.detail.tooltip=Screen of details of an Application
+simexplorer.tab.local=Local applications
+simexplorer.tab.local.tooltip=List of all applications existing on local database
+simexplorer.tab.remote=Remote applications
+simexplorer.tab.remote.tooltip=List of all applications existing on remote server
+simexplorer.tab.synchronize=Synchronize
+simexplorer.tab.synchronize.tooltip=Screen to synchronize applications
+{0}\ should\ have\ a\ name\ like\ this\ {1},\ but\ was\ {2}=
Added: trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties
===================================================================
--- trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties (rev 0)
+++ trunk/simexplorer-is-swing/src/resources/i18n/simexplorer-is-swing-fr_FR.properties 2008-01-23 10:54:50 UTC (rev 426)
@@ -0,0 +1,155 @@
+#Wed Jan 23 08:20:58 GMT 2008
+simexplorer.action.about=A propos
+simexplorer.action.about.help=
+simexplorer.action.about.tooltip=Afficher les cr\u00E9dits
+simexplorer.action.application.advancedSearch=Recherche avanc\u00E9e
+simexplorer.action.application.advancedSearch.help=
+simexplorer.action.application.advancedSearch.tooltip=Cliquer pour afficher le recherche avanc\u00E9e
+simexplorer.action.application.collapseAll=tout r\u00E9duire
+simexplorer.action.application.collapseAll.help=
+simexplorer.action.application.collapseAll.tooltip=R\u00E9duire tous les noeuds
+simexplorer.action.application.expandAll=tout d\u00E9rouler
+simexplorer.action.application.expandAll.help=
+simexplorer.action.application.expandAll.tooltip=\u00E9taler tous les noeuds
+simexplorer.action.application.export=exporter
+simexplorer.action.application.export.help=
+simexplorer.action.application.export.tooltip=Exporter une application
+simexplorer.action.application.import=importer
+simexplorer.action.application.import.help=
+simexplorer.action.application.import.tooltip=Importer une application
+simexplorer.action.application.resetSearch=r\u00E9initialiser
+simexplorer.action.application.resetSearch.help=
+simexplorer.action.application.resetSearch.tooltip=R\u00E9initialiser la recherche
+simexplorer.action.application.search=chercher
+simexplorer.action.application.search.help=
+simexplorer.action.application.search.tooltip=Lancer la recherche
+simexplorer.action.application.searchText=recherche \:
+simexplorer.action.application.searchText.tooltip=Le texte de recherche
+simexplorer.action.closeTab=Fermer
+simexplorer.action.closeTab.help=
+simexplorer.action.closeTab.tooltip=Fermer l'onglet
+simexplorer.action.config=Pr\u00E9f\u00E9rences
+simexplorer.action.config.help=
+simexplorer.action.config.tooltip=Afficher le dialogue de modification de configuration
+simexplorer.action.connect=Connexion
+simexplorer.action.connect.help=
+simexplorer.action.connect.tooltip=Se connecter au serveur distant
+simexplorer.action.groups=Groupes
+simexplorer.action.groups.help=
+simexplorer.action.groups.tooltip=Afficher le gestionnaire des groupes
+simexplorer.action.help=Aide
+simexplorer.action.help.help=
+simexplorer.action.help.tooltip=Acc\u00E9der \u00E0 l'aide
+simexplorer.action.hide.local=cacher Applications locales
+simexplorer.action.hide.local.help=
+simexplorer.action.hide.local.tooltip=Cacher la liste des applications locales
+simexplorer.action.hide.remote=cacher Applications distantes
+simexplorer.action.hide.remote.help=
+simexplorer.action.hide.remote.tooltip=Cacher la liste des applications distantes
+simexplorer.action.hide.synchronize=cacher Synchronisation
+simexplorer.action.hide.synchronize.help=
+simexplorer.action.hide.synchronize.tooltip=Cacher l'\u00E9cran de synchronisation
+simexplorer.action.i18n.en=Anglais
+simexplorer.action.i18n.en.help=
+simexplorer.action.i18n.en.tooltip=Traduire l'application en anglais
+simexplorer.action.i18n.fr=Fran\u00E7ais
+simexplorer.action.i18n.fr.help=
+simexplorer.action.i18n.fr.tooltip=Traduire l'application en fran\u00E7ais
+simexplorer.action.pagination.changeSizor=Change fen\u00EAtre
+simexplorer.action.pagination.changeSizor.help=
+simexplorer.action.pagination.changeSizor.tooltip=Choisir le nombre de r\u00E9sultats par page
+simexplorer.action.pagination.currentPage=page
+simexplorer.action.pagination.goFirstPage=Premi\u00E8re page
+simexplorer.action.pagination.goFirstPage.help=
+simexplorer.action.pagination.goFirstPage.tooltip=Acc\u00E9der \u00E0 la premi\u00E8re page de la liste des r\u00E9sultats
+simexplorer.action.pagination.goLastPage=Derni\u00E8re Page
+simexplorer.action.pagination.goLastPage.help=
+simexplorer.action.pagination.goLastPage.tooltip=Acc\u00E9der \u00E0 la derni\u00E8re page de la liste des r\u00E9sultats
+simexplorer.action.pagination.goNextPage=Prochaine page
+simexplorer.action.pagination.goNextPage.help=
+simexplorer.action.pagination.goNextPage.tooltip=Acc\u00E9der \u00E0 la prochaine page de la liste des r\u00E9sultats
+simexplorer.action.pagination.goPage=Page
+simexplorer.action.pagination.goPage.help=
+simexplorer.action.pagination.goPage.tooltip=Choisir la page \u00E0 acc\u00E9der dans la liste des r\u00E9sultats
+simexplorer.action.pagination.goPreviousPage=Pr\u00E9c\u00E9dente page
+simexplorer.action.pagination.goPreviousPage.help=
+simexplorer.action.pagination.goPreviousPage.tooltip=Acc\u00E9der \u00E0 la page pr\u00E9c\u00E9dente de la liste des r\u00E9sultats
+simexplorer.action.quit=Quitter
+simexplorer.action.quit.help=
+simexplorer.action.quit.tooltip=Pour quitter l'application
+simexplorer.action.show.detail=D\u00E9tail
+simexplorer.action.show.detail.help=
+simexplorer.action.show.detail.tooltip=Affcihier les d\u00E9tail de l'application
+simexplorer.action.show.local=Applications locales
+simexplorer.action.show.local.help=
+simexplorer.action.show.local.tooltip=Afficher la liste des applications locales
+simexplorer.action.show.remote=Applications distantes
+simexplorer.action.show.remote.help=
+simexplorer.action.show.remote.tooltip=Afficher la liste des applications distantes
+simexplorer.action.show.synchronize=Synchroniser
+simexplorer.action.show.synchronize.help=
+simexplorer.action.show.synchronize.tooltip=Afficher l'\u00E9cran de synchronisation des applications
+simexplorer.action.site=Site
+simexplorer.action.site.help=
+simexplorer.action.site.tooltip=Acc\u00E9der \u00E0 l'aide
+simexplorer.action.synchronize=Synchroniser
+simexplorer.action.synchronize.help=
+simexplorer.action.synchronize.tooltip=Lancer une nouvelle synchronisation
+simexplorer.action.unconnect=D\u00E9connexion
+simexplorer.action.unconnect.help=
+simexplorer.action.unconnect.tooltip=Se d\u00E9connecter du serveur distant
+simexplorer.action.users=Utilisateurs
+simexplorer.action.users.help=
+simexplorer.action.users.tooltip=Afficher le gestionnaire des utilisateurs
+simexplorer.admin.menu=Administration
+simexplorer.change.config.property=
+simexplorer.common.cancel=annuler
+simexplorer.common.creationDate=date de cr\u00E9ation
+simexplorer.common.description=description
+simexplorer.common.name=nom
+simexplorer.common.ok=appliquer
+simexplorer.common.reset=r\u00E9initialiser
+simexplorer.common.type=type
+simexplorer.common.version=version
+simexplorer.config.i18n.menu=Langue
+simexplorer.config.main.backupDirectory.description=le r\u00E9pertoire des sauvegardes
+simexplorer.config.main.baseDirectory.description=le r\u00E9pertoire de la base locale
+simexplorer.config.main.configFileName.description=Le chemin du fichier de configuration
+simexplorer.config.main.country.description=Le pays de la locale utilisateur
+simexplorer.config.main.description=La configuration de l'application
+simexplorer.config.main.firstName.description=Le pr\u00E9nom de l'utilisateur
+simexplorer.config.main.language.description=La langue de la locale utilisateur
+simexplorer.config.main.lastName.description=Le nom de l'utilisateur
+simexplorer.config.main.login.description=Le login de l'utilisateur
+simexplorer.config.main.serverURL.description=l'url du serveur distant
+simexplorer.config.main.showLocalTab.description=Voir au d\u00E9marrage l'onglet Local
+simexplorer.config.main.showRemoteTab.description=Voir au d\u00E9mrrage l'onglet Distant
+simexplorer.config.main.showSynchTab.description=Voir au d\u00E9marrage l'onglet Synchro
+simexplorer.config.main.sizor.description=Nombre de r\u00E9sultats par page dans l'ui
+simexplorer.config.main.userMail.description=Le courriel de l'utilisateur
+simexplorer.config.main.version.description=La version du logiciel
+simexplorer.config.menu=Configuration
+simexplorer.config.title=SimExplorer SI Pr\u00E9f\u00E9rences
+simexplorer.error.load.actions.class=could not found for action key {0} class {1}
+simexplorer.error.load.actions.file=could not load actions.properties file for reason {0}
+simexplorer.error.unfound.config.property=
+simexplorer.help.menu=Aide
+simexplorer.main.menu=Menu principal
+simexplorer.main.ui.title=SimExplorer SI v 0.0.1
+simexplorer.message.reset.user.configuration=
+simexplorer.option.description.config=remplace la valeur d'une propri\u00E9t\u00E9 de clef **key** de la configuration par la valeur **value**.
+simexplorer.option.description.configFile=le fichier de configuration utilis\u00E9
+simexplorer.option.description.editConfig=pour lancer l'UI d'\u00E9dition de la configuration
+simexplorer.option.description.help=Show this help
+simexplorer.option.description.resetConfig=R\u00E9initialisation de la configuration.
+simexplorer.option.description.showConfig=Voir les d\u00E9tails d'une configuration
+simexplorer.option.description.ui=launch or not user interface (value)
+simexplorer.tab.detail=D\u00E9tail Application
+simexplorer.tab.detail.tooltip=L'\u00E9cran affichant les d\u00E9tails d'une application
+simexplorer.tab.local=Applications locales
+simexplorer.tab.local.tooltip=La liste des applications pr\u00E9sentes localement
+simexplorer.tab.remote=Applications distantes
+simexplorer.tab.remote.tooltip=La liste des applications pr\u00E9sentes sur le serveur distant
+simexplorer.tab.synchronize=Synchronisation
+simexplorer.tab.synchronize.tooltip=L'\u00E9cran de synchronisation des applications
+{0}\ should\ have\ a\ name\ like\ this\ {1},\ but\ was\ {2}=
1
0
r425 - in trunk: simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security
by glandais@users.labs.libre-entreprise.org 23 Jan '08
by glandais@users.labs.libre-entreprise.org 23 Jan '08
23 Jan '08
Author: glandais
Date: 2008-01-23 10:48:28 +0000 (Wed, 23 Jan 2008)
New Revision: 425
Modified:
trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java
trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java
trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java
trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java
trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java
Log:
Javadoc (@Override)
Modified: trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java
===================================================================
--- trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityEqualsTestCase.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -13,6 +13,7 @@
AuthenticationService authenticationService = null;
+ @Override
protected void setUp() throws Exception {
super.setUp();
Properties properties = (Properties) System.getProperties().clone();
Modified: trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java
===================================================================
--- trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-security/src/test/fr/cemagref/simexplorer/is/security/test/SecurityTestCase.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -14,6 +14,7 @@
AuthenticationService authenticationService = null;
+ @Override
protected void setUp() throws Exception {
super.setUp();
Properties properties = (Properties) System.getProperties().clone();
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceMassInsert.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -16,6 +16,7 @@
private StorageServiceCommon storageService;
private ElementGenerator elementGenerator;
+ @Override
protected void setUp() throws Exception {
super.setUp();
elementGenerator = new ElementGenerator();
@@ -24,6 +25,7 @@
storageService.open();
}
+ @Override
protected void tearDown() throws Exception {
super.tearDown();
storageService.close();
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceServerTest.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -12,6 +12,7 @@
private StorageService storageService;
+ @Override
protected void setUp() throws Exception {
super.setUp();
Modified: trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java
===================================================================
--- trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-service/src/test/fr/cemagref/simexplorer/is/service/test/StorageServiceTest.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -23,12 +23,14 @@
private StorageService storageService;
private Random r = new Random();
+ @Override
protected void setUp() throws Exception {
super.setUp();
storageService = new StorageServiceClient();
}
+ @Override
protected void tearDown() throws Exception {
super.tearDown();
}
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseLoadTestCase.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -60,6 +60,7 @@
initializeStrings();
}
+ @Override
protected void setUp() throws Exception {
super.setUp();
@@ -67,6 +68,7 @@
// database.open();
}
+ @Override
protected void tearDown() throws Exception {
super.tearDown();
database.close();
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseTestCase.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -22,6 +22,7 @@
private MetaDataGenerator mdg = new MetaDataGenerator();
private Random r = new Random();
+ @Override
protected void setUp() throws Exception {
super.setUp();
@@ -30,6 +31,7 @@
// elementGenerator = new ElementGenerator();
}
+ @Override
protected void tearDown() throws Exception {
super.tearDown();
database.close();
Modified: trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java
===================================================================
--- trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-storage/src/test/fr/cemagref/simexplorer/is/storage/test/LuceneDatabaseThreadsTestCase.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -8,12 +8,14 @@
private Database database;
+ @Override
protected void setUp() throws Exception {
super.setUp();
database = new LuceneDatabase();
database.open(true);
}
+ @Override
protected void tearDown() throws Exception {
super.tearDown();
database.close();
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/AdminPage.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -2,6 +2,7 @@
public abstract class AdminPage extends ProtectedPage {
+ @Override
public boolean hasAccessToPage() {
return isUserAdmin();
}
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/SuperAdminPage.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -2,6 +2,7 @@
public abstract class SuperAdminPage extends ProtectedPage {
+ @Override
public boolean hasAccessToPage() {
return isUserSuperAdmin();
}
Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java
===================================================================
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java 2008-01-23 10:47:25 UTC (rev 424)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/security/UserPage.java 2008-01-23 10:48:28 UTC (rev 425)
@@ -2,6 +2,7 @@
public abstract class UserPage extends ProtectedPage {
+ @Override
public boolean hasAccessToPage() {
return isUserLogged();
}
1
0