Removed SystemLanguage method and repaired copyright year
authorMartin Taal <martin.taal@openbravo.com>
Thu, 07 Jan 2010 23:30:14 +0100
changeset 6167 3ff76def2ddc
parent 6166 bb4375de28a8
child 6168 408e71ea62d1
Removed SystemLanguage method and repaired copyright year
.classpath.template
.settings/org.eclipse.wst.common.component.template
src-wad/.classpath
src-wad/.project
src/build.xml
src/org/openbravo/base/model/Column.hbm.xml
src/org/openbravo/base/model/Column.java
src/org/openbravo/base/model/ModelObject.java
src/org/openbravo/base/model/ModelProvider.java
src/org/openbravo/base/model/ModelSessionFactoryController.java
src/org/openbravo/base/model/Property.java
src/org/openbravo/base/model/RefList.hbm.xml
src/org/openbravo/base/model/RefList.java
src/org/openbravo/base/model/RefSearch.hbm.xml
src/org/openbravo/base/model/RefSearch.java
src/org/openbravo/base/model/RefTable.hbm.xml
src/org/openbravo/base/model/RefTable.java
src/org/openbravo/base/model/Reference.hbm.xml
src/org/openbravo/base/model/Reference.java
src/org/openbravo/base/model/Table.java
src/org/openbravo/base/validation/StringPropertyValidator.java
src/org/openbravo/dal/core/DalMappingGenerator.java
src/org/openbravo/dal/core/OBContext.java
--- a/.classpath.template	Thu Jan 07 12:11:36 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry exported="true" kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v6.0"/>
-	<classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
-	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/OpenbravoTrl"/>
-	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/OpenbravoWAD"/>
-	<classpathentry including="**/*.ext|**/*.java|**/*.oaw|**/*.properties|**/*.xml|**/*.xpt|**/*.xslt" kind="src" path="src"/>
-	<classpathentry kind="src" path="src-test"/>
-	<classpathentry including="quartz.properties" kind="src" path="config"/>
-	<classpathentry kind="src" path="src-gen"/>
-	<classpathentry including="**/*.java" kind="src" path="srcAD"/>
-	<classpathentry including="**/*.java" kind="src" path="build/javasqlc/srcAD"/>
-	<classpathentry including="**/*.java" kind="src" path="build/javasqlc/src"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-	<classpathentry kind="lib" path="lib/runtime/org.openarchitectureware.core.workflow_4.3.1.20080910-1400PRD.jar"/>
-	<classpathentry kind="lib" path="lib/build/junit.jar"/>
-	<classpathentry kind="lib" path="lib/build/js.jar"/>
-	<classpathentry kind="output" path="build/classes"/>
-</classpath>
--- a/.settings/org.eclipse.wst.common.component.template	Thu Jan 07 12:11:36 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-modules id="moduleCoreId" project-version="1.5.0">
-<wb-module deploy-name="openbravo">
-<wb-resource deploy-path="/" source-path="/WebContent"/>
-<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
-<wb-resource deploy-path="/WEB-INF/classes" source-path="/srcAD"/>
-<wb-resource deploy-path="/WEB-INF/classes" source-path="/build/javasqlc/srcAD"/>
-<wb-resource deploy-path="/WEB-INF/classes" source-path="/build/javasqlc/src"/>
-<wb-resource deploy-path="/WEB-INF/classes" source-path="/src-gen"/>
-<wb-resource deploy-path="/WEB-INF/classes" source-path="/src-test"/>
-<dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/OpenbravoCore/OpenbravoCore">
-<dependency-type>uses</dependency-type>
-</dependent-module>
-<property name="java-output-path" value="build/classes"/>
-<property name="context-root" value="openbravo"/>
-</wb-module>
-</project-modules>
--- a/src-wad/.classpath	Thu Jan 07 12:11:36 2010 +0100
+++ b/src-wad/.classpath	Thu Jan 07 23:30:14 2010 +0100
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="src" path="selector-src-wad"/>
 	<classpathentry kind="src" path="build/javasqlc/src"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/OpenbravoCore"/>
--- a/src-wad/.project	Thu Jan 07 12:11:36 2010 +0100
+++ b/src-wad/.project	Thu Jan 07 23:30:14 2010 +0100
@@ -14,4 +14,11 @@
 	<natures>
 		<nature>org.eclipse.jdt.core.javanature</nature>
 	</natures>
+	<linkedResources>
+		<link>
+			<name>selector-src-wad</name>
+			<type>2</type>
+			<location>/home/mtaal/mydata/dev/openbravo/workspaces/obpireference/openbravo/modules/org.openbravo.userinterface.selector/src-wad</location>
+		</link>
+	</linkedResources>
 </projectDescription>
--- a/src/build.xml	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/build.xml	Thu Jan 07 23:30:14 2010 +0100
@@ -13,7 +13,7 @@
  * and  limitations under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2005-2009 Openbravo SL 
+ * All portions are Copyright (C) 2005-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s): Openbravo S.L.
  ************************************************************************
--- a/src/org/openbravo/base/model/Column.hbm.xml	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/Column.hbm.xml	Thu Jan 07 23:30:14 2010 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/Column.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/Column.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/ModelObject.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/ModelObject.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/ModelProvider.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/ModelProvider.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/ModelSessionFactoryController.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/ModelSessionFactoryController.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/Property.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/Property.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008-2009 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/RefList.hbm.xml	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/RefList.hbm.xml	Thu Jan 07 23:30:14 2010 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/RefList.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/RefList.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/RefSearch.hbm.xml	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/RefSearch.hbm.xml	Thu Jan 07 23:30:14 2010 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/RefSearch.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/RefSearch.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/RefTable.hbm.xml	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/RefTable.hbm.xml	Thu Jan 07 23:30:14 2010 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/RefTable.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/RefTable.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/Reference.hbm.xml	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/Reference.hbm.xml	Thu Jan 07 23:30:14 2010 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/Reference.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/Reference.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008-2009 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/model/Table.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/model/Table.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/base/validation/StringPropertyValidator.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/base/validation/StringPropertyValidator.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/dal/core/DalMappingGenerator.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/dal/core/DalMappingGenerator.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/dal/core/OBContext.java	Thu Jan 07 12:11:36 2010 +0100
+++ b/src/org/openbravo/dal/core/OBContext.java	Thu Jan 07 23:30:14 2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -286,8 +286,6 @@
   private String serializedUserId;
   private boolean serialized = false;
 
-  private Language systemLanguage;
-
   public String getUserLevel() {
     return userLevel;
   }
@@ -631,10 +629,6 @@
 
       setReadableClients(role);
 
-      systemLanguage = getOne(Language.class, "select l from " + Language.class.getName()
-          + " l where l." + Language.PROPERTY_ACTIVE + "='Y' and "
-          + Language.PROPERTY_SYSTEMLANGUAGE + "='Y'");
-
       // initialize some proxys
       Hibernate.initialize(getCurrentOrganization().getClient());
       Hibernate.initialize(getCurrentClient().getOrganization());
@@ -805,12 +799,4 @@
   public boolean isSerialized() {
     return serialized;
   }
-
-  public Language getSystemLanguage() {
-    return systemLanguage;
-  }
-
-  public void setSystemLanguage(Language systemLanguage) {
-    this.systemLanguage = systemLanguage;
-  }
 }
\ No newline at end of file