diff --git a/pom.xml b/pom.xml
index 96a44f0..79c6171 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,75 +4,50 @@
4.0.0
com.idcanet.vasc
vasc-base
-0.3-SNAPSHOT
+0.3.1-SNAPSHOT
pom
vasc
-Simple crud'ing for all.
+Very Amazing/Advanced/Amplified Simple CRUD'ing for all.
http://www.x4o.org/vasc
+2007
IDCA
http://www.idca.nl
-
Trac
https://decaid.idca.nl/trac/oss/
+
+
+ BSD
+ http://repository.idcanet.com/licenses/bsd.txt
+
+
- scm:svn:https://decaid.idca.nl/svn/oss/com.idcanet.vasc/
- scm:svn:https://decaid.idca.nl/svn/oss/com.idcanet.vasc/
- https://decaid.idca.nl/svn/oss/com.idcanet.vasc/
+ https://decaid.idca.nl/hg/com.idcanet.vasc/
+ scm:hg:${hg.repo.url}
+ https://decaid.idca.nl/hg/com.idcanet.vasc/file/
-
-
-
- willem.cazander
- Willem Cazander
- w.cazander@gmail.com
- IDCA
- +2
-
- Project Manager
- Architect
-
-
-
- sqrbass
- Bas van Oostveen
-
- IDCA
- +2
-
- Architect Reviewer
-
-
-
-
-
-
- jboss
- JBoss Repository Switchboard
- default
- http://repository.jboss.com/maven2/
- true
- false
-
-
- ops4j-microba
- ops4j.org
- default
- http://repository.ops4j.org/maven2/
- false
-
-
-
+
+ vasc-backend-jpa
+ vasc-backend-ldap
+ vasc-frontend-swing
+ vasc-frontend-swt
+ vasc-frontend-web-jsf
+ vasc-core
+ vasc-ejb3
+ vasc-xpql
+ vasc-xpql-ejb3
+
+ https://decaid.idca.nl/hg/com.idcanet.vasc/
+ file://${project.build.directory}/target-maven-repo
UTF-8
2.1.0
5.8
- 0.8-SNAPSHOT
+ 0.8.1
4.3
- 0.6-SNAPSHOT
@@ -196,36 +171,29 @@
-
+
+
+ org.apache.maven.plugins
+ maven-release-plugin
+ 2.1
+
+ clean install verify
+
+ clean install javadoc:javadoc deploy
+ -Prelease -DaltDeploymentRepository="${altDeploymentRepository}"
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-release-plugin
+ 2.1
+
+
+
@@ -285,15 +253,205 @@
-
- vasc-backend-jpa
- vasc-backend-ldap
- vasc-frontend-swing
- vasc-frontend-swt
- vasc-frontend-web-jsf
- vasc-core
- vasc-ejb3
-
+
+
+
+ jboss
+ JBoss Repository Switchboard
+ default
+ http://repository.jboss.com/maven2/
+ true
+ false
+
+
+ ops4j-microba
+ ops4j.org
+ default
+ http://repository.ops4j.org/maven2/
+ false
+
+
+
+
+
+
+ releases
+ Internal Releases
+ http://localhost:8081/nexus/content/repositories/releases
+
+
+ snapshots
+ Internal Snapshots
+ http://localhost:8081/nexus/content/repositories/snapshots
+
+
+
+
+
+ willem.cazander
+ Willem Cazander
+ w.cazander@gmail.com
+ IDCA
+ +2
+
+ Project Manager
+ Architect
+
+
+
+ sqrbass
+ Bas van Oostveen
+
+ IDCA
+ +2
+
+ Architect Reviewer
+
+
+
+
+
+
+
+ release
+
+ file://${project.build.directory}/dummy-hg-repo
+ release-repo-hudson::default::${staging.mvn.repo.url}
+
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+
+
+ clean-release-dirs
+ initialize
+
+ exec
+
+ false
+
+ rm
+
+ -rf
+ ${project.build.directory}/dummy-hg-repo
+ ${project.build.directory}/target-maven-repo
+
+
+
+
+ create-release-dirs
+ initialize
+
+ exec
+
+ false
+
+ mkdir
+
+ -p
+ ${project.build.directory}/dummy-hg-repo
+ ${project.build.directory}/target-maven-repo
+
+
+
+
+ init-dummy-hg-repo
+ initialize
+
+ exec
+
+ false
+
+ hg
+ ${project.build.directory}/dummy-hg-repo
+
+ init
+
+
+
+
+
+
+
+
+
+ release-commit
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+
+
+ push-hg
+ initialize
+
+ exec
+
+ false
+
+ hg
+
+ push
+
+
+
+
+
+
+ org.codehaus.mojo
+ wagon-maven-plugin
+
+
+ ${project.distributionManagement.repository.url}
+ ${project.distributionManagement.repository.id}
+
+
+
+ merge-repo
+ initialize
+
+ merge-maven-repos
+
+ false
+
+
+
+
+
+
+
+ release-cancel
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+
+
+ strip-hg
+ initialize
+
+ exec
+
+ false
+
+
+ rm
+
+ -rf
+ .hg
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vasc-backend-jpa/pom.xml b/vasc-backend-jpa/pom.xml
index e8952e5..45ba1f3 100644
--- a/vasc-backend-jpa/pom.xml
+++ b/vasc-backend-jpa/pom.xml
@@ -3,11 +3,11 @@
vasc-base
com.idcanet.vasc
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
vasc-backend-jpa
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
diff --git a/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlHibernateVascBackend.java b/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlHibernateVascBackend.java
index f241dac..0c81b86 100644
--- a/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlHibernateVascBackend.java
+++ b/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlHibernateVascBackend.java
@@ -40,7 +40,7 @@ import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.entry.VascEntryFieldValue;
import com.idcanet.vasc.core.entry.VascEntryRecordCreator;
-import com.idcanet.xtes.xpql.query.QueryParameterValue;
+import com.idcanet.vasc.xpql.query.QueryParameterValue;
/**
* Manages persistance with xpql queries
@@ -52,17 +52,17 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
private HibernateSessionProvider hibernateSessionProvider = null;
- private com.idcanet.xtes.xpql.query.Query query = null;
+ private com.idcanet.vasc.xpql.query.Query query = null;
- private com.idcanet.xtes.xpql.query.Query queryTotal = null;
+ private com.idcanet.vasc.xpql.query.Query queryTotal = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveUp = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveUp = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveUpDown = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveUpDown = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveDown = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveDown = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveDownUp = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveDownUp = null;
private Class> resultClass = null;
@@ -136,28 +136,28 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
/**
* @return the query
*/
- public com.idcanet.xtes.xpql.query.Query getQuery() {
+ public com.idcanet.vasc.xpql.query.Query getQuery() {
return query;
}
/**
* @param query the query to set
*/
- public void setQuery(com.idcanet.xtes.xpql.query.Query query) {
+ public void setQuery(com.idcanet.vasc.xpql.query.Query query) {
this.query = query;
}
/**
* @return the queryTotal
*/
- public com.idcanet.xtes.xpql.query.Query getQueryTotal() {
+ public com.idcanet.vasc.xpql.query.Query getQueryTotal() {
return queryTotal;
}
/**
* @param queryTotal the queryTotal to set
*/
- public void setQueryTotal(com.idcanet.xtes.xpql.query.Query queryTotal) {
+ public void setQueryTotal(com.idcanet.vasc.xpql.query.Query queryTotal) {
this.queryTotal = queryTotal;
}
@@ -378,56 +378,56 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
/**
* @return the queryMoveUp
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveUp() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveUp() {
return queryMoveUp;
}
/**
* @param queryMoveUp the queryMoveUp to set
*/
- public void setQueryMoveUp(com.idcanet.xtes.xpql.query.Query queryMoveUp) {
+ public void setQueryMoveUp(com.idcanet.vasc.xpql.query.Query queryMoveUp) {
this.queryMoveUp = queryMoveUp;
}
/**
* @return the queryMoveDown
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveDown() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveDown() {
return queryMoveDown;
}
/**
* @param queryMoveDown the queryMoveDown to set
*/
- public void setQueryMoveDown(com.idcanet.xtes.xpql.query.Query queryMoveDown) {
+ public void setQueryMoveDown(com.idcanet.vasc.xpql.query.Query queryMoveDown) {
this.queryMoveDown = queryMoveDown;
}
/**
* @return the queryMoveUpDown
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveUpDown() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveUpDown() {
return queryMoveUpDown;
}
/**
* @param queryMoveUpDown the queryMoveUpDown to set
*/
- public void setQueryMoveUpDown(com.idcanet.xtes.xpql.query.Query queryMoveUpDown) {
+ public void setQueryMoveUpDown(com.idcanet.vasc.xpql.query.Query queryMoveUpDown) {
this.queryMoveUpDown = queryMoveUpDown;
}
/**
* @return the queryMoveDownUp
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveDownUp() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveDownUp() {
return queryMoveDownUp;
}
/**
* @param queryMoveDownUp the queryMoveDownUp to set
*/
- public void setQueryMoveDownUp(com.idcanet.xtes.xpql.query.Query queryMoveDownUp) {
+ public void setQueryMoveDownUp(com.idcanet.vasc.xpql.query.Query queryMoveDownUp) {
this.queryMoveDownUp = queryMoveDownUp;
}
}
\ No newline at end of file
diff --git a/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlPersistanceVascBackend.java b/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlPersistanceVascBackend.java
index 94497c8..159b8d8 100644
--- a/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlPersistanceVascBackend.java
+++ b/vasc-backend-jpa/src/main/java/com/idcanet/vasc/backends/jpa/XpqlPersistanceVascBackend.java
@@ -39,7 +39,7 @@ import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.entry.VascEntryFieldValue;
import com.idcanet.vasc.core.entry.VascEntryRecordCreator;
-import com.idcanet.xtes.xpql.query.QueryParameterValue;
+import com.idcanet.vasc.xpql.query.QueryParameterValue;
/**
* Manages persistance with xpql queries
@@ -51,17 +51,17 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
private EntityManagerProvider entityManagerProvider = null;
- private com.idcanet.xtes.xpql.query.Query query = null;
+ private com.idcanet.vasc.xpql.query.Query query = null;
- private com.idcanet.xtes.xpql.query.Query queryTotal = null;
+ private com.idcanet.vasc.xpql.query.Query queryTotal = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveUp = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveUp = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveUpDown = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveUpDown = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveDown = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveDown = null;
- private com.idcanet.xtes.xpql.query.Query queryMoveDownUp = null;
+ private com.idcanet.vasc.xpql.query.Query queryMoveDownUp = null;
private Class> resultClass = null;
@@ -141,28 +141,28 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
/**
* @return the query
*/
- public com.idcanet.xtes.xpql.query.Query getQuery() {
+ public com.idcanet.vasc.xpql.query.Query getQuery() {
return query;
}
/**
* @param query the query to set
*/
- public void setQuery(com.idcanet.xtes.xpql.query.Query query) {
+ public void setQuery(com.idcanet.vasc.xpql.query.Query query) {
this.query = query;
}
/**
* @return the queryTotal
*/
- public com.idcanet.xtes.xpql.query.Query getQueryTotal() {
+ public com.idcanet.vasc.xpql.query.Query getQueryTotal() {
return queryTotal;
}
/**
* @param queryTotal the queryTotal to set
*/
- public void setQueryTotal(com.idcanet.xtes.xpql.query.Query queryTotal) {
+ public void setQueryTotal(com.idcanet.vasc.xpql.query.Query queryTotal) {
this.queryTotal = queryTotal;
}
@@ -371,56 +371,56 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
/**
* @return the queryMoveUp
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveUp() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveUp() {
return queryMoveUp;
}
/**
* @param queryMoveUp the queryMoveUp to set
*/
- public void setQueryMoveUp(com.idcanet.xtes.xpql.query.Query queryMoveUp) {
+ public void setQueryMoveUp(com.idcanet.vasc.xpql.query.Query queryMoveUp) {
this.queryMoveUp = queryMoveUp;
}
/**
* @return the queryMoveDown
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveDown() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveDown() {
return queryMoveDown;
}
/**
* @param queryMoveDown the queryMoveDown to set
*/
- public void setQueryMoveDown(com.idcanet.xtes.xpql.query.Query queryMoveDown) {
+ public void setQueryMoveDown(com.idcanet.vasc.xpql.query.Query queryMoveDown) {
this.queryMoveDown = queryMoveDown;
}
/**
* @return the queryMoveUpDown
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveUpDown() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveUpDown() {
return queryMoveUpDown;
}
/**
* @param queryMoveUpDown the queryMoveUpDown to set
*/
- public void setQueryMoveUpDown(com.idcanet.xtes.xpql.query.Query queryMoveUpDown) {
+ public void setQueryMoveUpDown(com.idcanet.vasc.xpql.query.Query queryMoveUpDown) {
this.queryMoveUpDown = queryMoveUpDown;
}
/**
* @return the queryMoveDownUp
*/
- public com.idcanet.xtes.xpql.query.Query getQueryMoveDownUp() {
+ public com.idcanet.vasc.xpql.query.Query getQueryMoveDownUp() {
return queryMoveDownUp;
}
/**
* @param queryMoveDownUp the queryMoveDownUp to set
*/
- public void setQueryMoveDownUp(com.idcanet.xtes.xpql.query.Query queryMoveDownUp) {
+ public void setQueryMoveDownUp(com.idcanet.vasc.xpql.query.Query queryMoveDownUp) {
this.queryMoveDownUp = queryMoveDownUp;
}
diff --git a/vasc-backend-ldap/pom.xml b/vasc-backend-ldap/pom.xml
index 9c963ae..324fbbb 100644
--- a/vasc-backend-ldap/pom.xml
+++ b/vasc-backend-ldap/pom.xml
@@ -3,11 +3,11 @@
vasc-base
com.idcanet.vasc
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
vasc-backend-ldap
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
diff --git a/vasc-core/pom.xml b/vasc-core/pom.xml
index 23913af..fc6aa27 100644
--- a/vasc-core/pom.xml
+++ b/vasc-core/pom.xml
@@ -3,21 +3,21 @@
vasc-base
com.idcanet.vasc
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
vasc-core
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.x4o
x4o-core
${x4o-core.version}
-
- com.idcanet.xtes
- xtes-xpql
- ${xtes-xpql.version}
+
+ com.idcanet.vasc
+ vasc-xpql
+ ${project.version}
javax.persistence
diff --git a/vasc-core/src/main/java/com/idcanet/vasc/backends/jdbc/JdbcXpqlVascBackend.java b/vasc-core/src/main/java/com/idcanet/vasc/backends/jdbc/JdbcXpqlVascBackend.java
index 4815af7..3aa0e53 100644
--- a/vasc-core/src/main/java/com/idcanet/vasc/backends/jdbc/JdbcXpqlVascBackend.java
+++ b/vasc-core/src/main/java/com/idcanet/vasc/backends/jdbc/JdbcXpqlVascBackend.java
@@ -43,7 +43,7 @@ import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.entry.VascEntryFieldValue;
import com.idcanet.vasc.core.entry.VascEntryRecordCreator;
-import com.idcanet.xtes.xpql.query.QueryParameterValue;
+import com.idcanet.vasc.xpql.query.QueryParameterValue;
/**
*
@@ -54,7 +54,7 @@ public class JdbcXpqlVascBackend extends AbstractVascBackend {
private JdbcConnectionProvider jdbcConnectionProvider = null;
- private com.idcanet.xtes.xpql.query.Query query = null;
+ private com.idcanet.vasc.xpql.query.Query query = null;
/**
* @return the JdbcConnectionProvider
@@ -73,14 +73,14 @@ public class JdbcXpqlVascBackend extends AbstractVascBackend {
/**
* @return the query
*/
- public com.idcanet.xtes.xpql.query.Query getQuery() {
+ public com.idcanet.vasc.xpql.query.Query getQuery() {
return query;
}
/**
* @param query the query to set
*/
- public void setQuery(com.idcanet.xtes.xpql.query.Query query) {
+ public void setQuery(com.idcanet.vasc.xpql.query.Query query) {
this.query = query;
}
diff --git a/vasc-core/src/main/java/com/idcanet/vasc/impl/DefaultVascFactory.java b/vasc-core/src/main/java/com/idcanet/vasc/impl/DefaultVascFactory.java
index 5d05d1a..78a451d 100644
--- a/vasc-core/src/main/java/com/idcanet/vasc/impl/DefaultVascFactory.java
+++ b/vasc-core/src/main/java/com/idcanet/vasc/impl/DefaultVascFactory.java
@@ -35,7 +35,6 @@ import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.VascFrontendData;
-import com.idcanet.vasc.core.entry.VascEntryFrontendEventListener;
import com.idcanet.vasc.impl.entry.DefaultVascEntryResourceResolver;
import com.idcanet.vasc.impl.entry.VascValidatorsValidatorService;
import com.idcanet.vasc.impl.type.DefaultVascEntryFieldTypeController;
diff --git a/vasc-ejb3/pom.xml b/vasc-ejb3/pom.xml
index 97742b6..3ea2d47 100644
--- a/vasc-ejb3/pom.xml
+++ b/vasc-ejb3/pom.xml
@@ -3,11 +3,11 @@
vasc-base
com.idcanet.vasc
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
vasc-ejb3
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
@@ -32,9 +32,9 @@
provided
- com.idcanet.xtes
- xtes-xpql-ejb3
- 0.6-SNAPSHOT
+ com.idcanet.vasc
+ vasc-xpql-ejb3
+ ${project.version}
provided
diff --git a/vasc-ejb3/src/main/java/com/idcanet/vasc/ejb3/VascServiceManagerImpl.java b/vasc-ejb3/src/main/java/com/idcanet/vasc/ejb3/VascServiceManagerImpl.java
index 3611a60..79f5251 100644
--- a/vasc-ejb3/src/main/java/com/idcanet/vasc/ejb3/VascServiceManagerImpl.java
+++ b/vasc-ejb3/src/main/java/com/idcanet/vasc/ejb3/VascServiceManagerImpl.java
@@ -52,6 +52,7 @@ import com.idcanet.vasc.core.VascBackend;
import com.idcanet.vasc.core.VascBackendControllerLocal;
import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntry;
+
import com.idcanet.vasc.impl.DefaultVascBackedEntryFinalizer;
import com.idcanet.vasc.impl.DefaultVascEntryController;
import com.idcanet.vasc.impl.DefaultVascFactory;
@@ -63,14 +64,16 @@ import com.idcanet.vasc.impl.actions.EditRowAction;
import com.idcanet.vasc.impl.actions.XMLExportGlobalAction;
import com.idcanet.vasc.impl.entry.DefaultVascEntryResourceResolver;
import com.idcanet.vasc.impl.x4o.VascParser;
+
+import com.idcanet.vasc.xpql.ejb3.XpqlQueryManager;
+import com.idcanet.vasc.xpql.query.Query;
+
import com.idcanet.x4o.core.AbstractX4OPhaseHandler;
import com.idcanet.x4o.core.X4OPhase;
import com.idcanet.x4o.core.X4OPhaseException;
import com.idcanet.x4o.core.X4OPhaseHandler;
import com.idcanet.x4o.element.Element;
import com.idcanet.x4o.element.ElementContext;
-import com.idcanet.xtes.xpql.ejb3.XpqlQueryManager;
-import com.idcanet.xtes.xpql.query.Query;
/**
*
diff --git a/vasc-frontend-swing/pom.xml b/vasc-frontend-swing/pom.xml
index 26fd8bd..3c193ef 100644
--- a/vasc-frontend-swing/pom.xml
+++ b/vasc-frontend-swing/pom.xml
@@ -3,11 +3,11 @@
vasc-base
com.idcanet.vasc
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
vasc-frontend-swing
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
diff --git a/vasc-frontend-swt/pom.xml b/vasc-frontend-swt/pom.xml
index 8be7d9c..c442aea 100644
--- a/vasc-frontend-swt/pom.xml
+++ b/vasc-frontend-swt/pom.xml
@@ -3,11 +3,11 @@
vasc-base
com.idcanet.vasc
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
vasc-frontend-swt
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
diff --git a/vasc-frontend-web-jsf/pom.xml b/vasc-frontend-web-jsf/pom.xml
index b8769b2..5d6d3de 100644
--- a/vasc-frontend-web-jsf/pom.xml
+++ b/vasc-frontend-web-jsf/pom.xml
@@ -3,11 +3,11 @@
vasc-base
com.idcanet.vasc
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
vasc-frontend-web-jsf
- 0.3-SNAPSHOT
+ 0.3.1-SNAPSHOT
com.idcanet.vasc
diff --git a/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/AbstractJSFVascFacesController.java b/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/AbstractJSFVascFacesController.java
index f252891..9124ef1 100644
--- a/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/AbstractJSFVascFacesController.java
+++ b/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/AbstractJSFVascFacesController.java
@@ -57,7 +57,6 @@ import com.idcanet.vasc.core.entry.VascEntryFrontendEventListener;
import com.idcanet.vasc.core.entry.VascEntryRecordCreator;
import com.idcanet.vasc.ejb3.VascServiceManager;
import com.idcanet.vasc.impl.DefaultVascBackedEntryFinalizer;
-import com.idcanet.vasc.impl.DefaultVascEntryState;
import com.idcanet.vasc.impl.DefaultVascFactory;
import com.idcanet.vasc.impl.VascBackendProxyEventExecutor;
import com.idcanet.vasc.impl.entry.DefaultVascEntryResourceResolver;
@@ -183,6 +182,24 @@ abstract public class AbstractJSFVascFacesController {
entry.getVascFrontendData().getVascEntryState().setVascBackend(backend);
entry.getVascFrontendData().getVascEntryState().setVascEntry(entry);
+ // set def para
+ VascBackendState state = entry.getVascFrontendData().getVascEntryState().getVascBackendState();
+ for (String key2:entry.getEntryParameterKeys()) {
+ Object value = entry.getEntryParameter(key2);
+ //System.out.println("Copy paras name: "+key2+" value: "+value+" class: "+value.getClass().getName());
+ state.setDataParameter(key2, value);
+ }
+
+ // set list para
+ for (VascEntryField vef:entry.getListOptions()) {
+ Object def = vef.getDefaultValue();
+ if (def==null) {
+ continue;
+ }
+ String backendName = vef.getBackendName();
+ state.setDataParameter(backendName, def);
+ }
+
// copy para
if (para!=null) {
for (String key:para.keySet()) {
@@ -409,7 +426,7 @@ abstract public class AbstractJSFVascFacesController {
SetParameterBackendListener listener = new SetParameterBackendListener(vui.userId,vui.username);
listener.setName(key);
listener.setType(type);
- // listener.setValue(paraTypeValue);
+ listener.setValue(paraTypeValue);
List listeners=new ArrayList(10);
listeners.add(listener);
diff --git a/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/JSFVascUIComponent.java b/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/JSFVascUIComponent.java
index cb08923..f054ca1 100644
--- a/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/JSFVascUIComponent.java
+++ b/vasc-frontend-web-jsf/src/main/java/com/idcanet/vasc/frontends/web/jsf/JSFVascUIComponent.java
@@ -53,7 +53,7 @@ import com.idcanet.vasc.impl.DefaultVascFactory;
/**
* Renders an JSF vasc entry views.
*
- * This is a bit hacky because I'm not a JSF guro.
+ * This is a already less hacky this is second incarnation of this bean
*
* @author Willem Cazander
* @version 1.0 Nov 16, 2008
diff --git a/vasc-xpql-ejb3/.classpath b/vasc-xpql-ejb3/.classpath
new file mode 100644
index 0000000..f42fb64
--- /dev/null
+++ b/vasc-xpql-ejb3/.classpath
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/vasc-xpql-ejb3/.project b/vasc-xpql-ejb3/.project
new file mode 100644
index 0000000..0a4e861
--- /dev/null
+++ b/vasc-xpql-ejb3/.project
@@ -0,0 +1,23 @@
+
+
+ vasc-xpql-ejb3
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.maven.ide.eclipse.maven2Builder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.maven.ide.eclipse.maven2Nature
+
+
diff --git a/vasc-xpql-ejb3/.settings/org.eclipse.jdt.core.prefs b/vasc-xpql-ejb3/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..1c947e9
--- /dev/null
+++ b/vasc-xpql-ejb3/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,6 @@
+#Mon Jan 10 02:21:44 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/vasc-xpql-ejb3/.settings/org.maven.ide.eclipse.prefs b/vasc-xpql-ejb3/.settings/org.maven.ide.eclipse.prefs
new file mode 100644
index 0000000..0e483ca
--- /dev/null
+++ b/vasc-xpql-ejb3/.settings/org.maven.ide.eclipse.prefs
@@ -0,0 +1,9 @@
+#Mon Jan 10 02:21:43 CET 2011
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
diff --git a/vasc-xpql-ejb3/pom.xml b/vasc-xpql-ejb3/pom.xml
new file mode 100644
index 0000000..c5ac947
--- /dev/null
+++ b/vasc-xpql-ejb3/pom.xml
@@ -0,0 +1,38 @@
+
+ 4.0.0
+
+ vasc-base
+ com.idcanet.vasc
+ 0.3.1-SNAPSHOT
+
+ com.idcanet.vasc
+ vasc-xpql-ejb3
+ 0.3.1-SNAPSHOT
+ vasc-xpql-ejb3
+ xpql parsing service for ejb3
+
+
+ com.idcanet.vasc
+ vasc-xpql
+ 0.3.1-SNAPSHOT
+
+
+ javax.ejb
+ ejb-api
+ 3.0
+ provided
+
+
+ javax.persistence
+ persistence-api
+ 1.0
+ provided
+
+
+ org.hibernate
+ hibernate-annotations
+ 3.4.0.GA
+ provided
+
+
+
\ No newline at end of file
diff --git a/vasc-xpql-ejb3/src/main/java/com/idcanet/vasc/xpql/ejb3/XpqlQueryManager.java b/vasc-xpql-ejb3/src/main/java/com/idcanet/vasc/xpql/ejb3/XpqlQueryManager.java
new file mode 100644
index 0000000..20cccab
--- /dev/null
+++ b/vasc-xpql-ejb3/src/main/java/com/idcanet/vasc/xpql/ejb3/XpqlQueryManager.java
@@ -0,0 +1,40 @@
+
+package com.idcanet.vasc.xpql.ejb3;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.ejb.Local;
+import javax.ejb.Remote;
+
+import com.idcanet.vasc.xpql.query.Query;
+
+/**
+ *
+ * @author Willem Cazander
+ * @version 1.0 17 Sep 2010
+ */
+public interface XpqlQueryManager {
+
+ public Query getQuery(String name);
+
+ public List