2
0
Fork 0

renamed better

This commit is contained in:
Willem Cazander 2011-12-31 00:07:21 +01:00
parent cc6331b7fe
commit a523cc9122
289 changed files with 2546 additions and 1608 deletions

View file

@ -2,10 +2,10 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>demo-petstore</artifactId> <artifactId>demo-petstore</artifactId>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</parent> </parent>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>demo-petstore-ear</artifactId> <artifactId>demo-petstore-ear</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</project> </project>

View file

@ -2,10 +2,10 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>demo-petstore</artifactId> <artifactId>demo-petstore</artifactId>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</parent> </parent>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>demo-petstore-ejb</artifactId> <artifactId>demo-petstore-ejb</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
<packaging>ejb</packaging> <packaging>ejb</packaging>
@ -25,7 +25,7 @@
</build> </build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId> <artifactId>vasc-core</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
@ -59,29 +59,29 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId> <artifactId>vasc-core</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-backend-jpa</artifactId> <artifactId>vasc-backend-jpa</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-xpql</artifactId> <artifactId>vasc-xpql</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-xpql-ejb3</artifactId> <artifactId>vasc-xpql-ejb3</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-ejb3</artifactId> <artifactId>vasc-ejb3</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>

View file

@ -2,17 +2,18 @@ package demo.petstore.models;
import java.util.Date; import java.util.Date;
import org.x4o.vasc.annotations.VascDefaultValue; import net.forwardfire.vasc.annotations.VascDefaultValue;
import org.x4o.vasc.annotations.VascDisplayName; import net.forwardfire.vasc.annotations.VascDisplayName;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldOrder; import net.forwardfire.vasc.annotations.VascFieldOrder;
import org.x4o.vasc.annotations.VascFieldType; import net.forwardfire.vasc.annotations.VascFieldType;
import org.x4o.vasc.annotations.VascI18n; import net.forwardfire.vasc.annotations.VascI18n;
import org.x4o.vasc.annotations.VascPrimaryKey; import net.forwardfire.vasc.annotations.VascPrimaryKey;
import org.x4o.vasc.annotations.VascRoles; import net.forwardfire.vasc.annotations.VascRoles;
import org.x4o.vasc.annotations.VascStyle; import net.forwardfire.vasc.annotations.VascStyle;
import org.x4o.vasc.validators.VascObjectNotNull; import net.forwardfire.vasc.validators.VascObjectNotNull;
import org.x4o.vasc.validators.VascStringLength; import net.forwardfire.vasc.validators.VascStringLength;
abstract public class AbstractPetStoreFieldTemplates { abstract public class AbstractPetStoreFieldTemplates {

View file

@ -4,8 +4,8 @@ import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Id; import javax.persistence.Id;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
@Entity @Entity
public class Category extends AbstractPetStoreEntity{ public class Category extends AbstractPetStoreEntity{

View file

@ -7,9 +7,9 @@ import javax.persistence.Id;
import javax.persistence.JoinColumn; import javax.persistence.JoinColumn;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
import org.x4o.vasc.annotations.VascModelReference; import net.forwardfire.vasc.annotations.VascModelReference;
@Entity @Entity
public class CategoryProduct extends AbstractPetStoreEntity { public class CategoryProduct extends AbstractPetStoreEntity {

View file

@ -7,8 +7,8 @@ import javax.persistence.Id;
import javax.persistence.JoinColumn; import javax.persistence.JoinColumn;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
import org.x4o.vasc.annotations.VascModelReference; import net.forwardfire.vasc.annotations.VascModelReference;
@Entity @Entity
public class Item extends AbstractPetStoreEntity { public class Item extends AbstractPetStoreEntity {

View file

@ -7,8 +7,8 @@ import javax.persistence.Id;
import javax.persistence.JoinColumn; import javax.persistence.JoinColumn;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
import org.x4o.vasc.annotations.VascModelReference; import net.forwardfire.vasc.annotations.VascModelReference;
@Entity @Entity
public class ItemInventory extends AbstractPetStoreEntity { public class ItemInventory extends AbstractPetStoreEntity {

View file

@ -4,8 +4,8 @@ import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Id; import javax.persistence.Id;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
@Entity @Entity
public class ItemSupplier extends AbstractPetStoreEntity { public class ItemSupplier extends AbstractPetStoreEntity {

View file

@ -9,9 +9,9 @@ import javax.persistence.Id;
import javax.persistence.JoinColumn; import javax.persistence.JoinColumn;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
import org.x4o.vasc.annotations.VascModelReference; import net.forwardfire.vasc.annotations.VascModelReference;
@Entity @Entity
public class Order extends AbstractPetStoreEntity { public class Order extends AbstractPetStoreEntity {

View file

@ -7,9 +7,9 @@ import javax.persistence.Id;
import javax.persistence.JoinColumn; import javax.persistence.JoinColumn;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
import org.x4o.vasc.annotations.VascModelReference; import net.forwardfire.vasc.annotations.VascModelReference;
@Entity @Entity
public class OrderLine extends AbstractPetStoreEntity { public class OrderLine extends AbstractPetStoreEntity {

View file

@ -4,8 +4,8 @@ import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Id; import javax.persistence.Id;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
@Entity @Entity
public class OrderStatus extends AbstractPetStoreEntity { public class OrderStatus extends AbstractPetStoreEntity {

View file

@ -4,8 +4,8 @@ import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Id; import javax.persistence.Id;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
@Entity @Entity
public class UserAccount extends AbstractPetStoreEntity { public class UserAccount extends AbstractPetStoreEntity {

View file

@ -7,9 +7,9 @@ import javax.persistence.Id;
import javax.persistence.JoinColumn; import javax.persistence.JoinColumn;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
import org.x4o.vasc.annotations.VascModelReference; import net.forwardfire.vasc.annotations.VascModelReference;
@Entity @Entity
public class UserCredential extends AbstractPetStoreEntity { public class UserCredential extends AbstractPetStoreEntity {

View file

@ -7,10 +7,10 @@ import javax.persistence.Id;
import javax.persistence.JoinColumn; import javax.persistence.JoinColumn;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import org.x4o.vasc.annotations.VascDefaultValue; import net.forwardfire.vasc.annotations.VascDefaultValue;
import org.x4o.vasc.annotations.VascField; import net.forwardfire.vasc.annotations.VascField;
import org.x4o.vasc.annotations.VascFieldTemplate; import net.forwardfire.vasc.annotations.VascFieldTemplate;
import org.x4o.vasc.annotations.VascModelReference; import net.forwardfire.vasc.annotations.VascModelReference;
@Entity @Entity
public class UserProfile extends AbstractPetStoreEntity { public class UserProfile extends AbstractPetStoreEntity {

View file

@ -2,10 +2,10 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>demo-petstore</artifactId> <artifactId>demo-petstore</artifactId>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</parent> </parent>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>demo-petstore-war</artifactId> <artifactId>demo-petstore-war</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</project> </project>

View file

@ -2,10 +2,10 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>vasc</artifactId> <artifactId>vasc</artifactId>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</parent> </parent>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>demo-petstore</artifactId> <artifactId>demo-petstore</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>

View file

@ -1,17 +1,17 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc</artifactId> <artifactId>vasc</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>vasc</name> <name>vasc</name>
<description>Very Amazing/Advanced/Amplified Simple CRUD'ing for all.</description> <description>Very Amazing/Advanced/Amplified Simple CRUD'ing for all.</description>
<url>http://www.x4o.org/vasc</url> <url>http://www.forwardfire.net/vasc</url>
<inceptionYear>2007</inceptionYear> <inceptionYear>2007</inceptionYear>
<organization> <organization>
<name>X4O.oth</name> <name>ForwardFire.net</name>
<url>http://www.x4o.org</url> <url>http://www.forwardfire.net</url>
</organization> </organization>
<licenses> <licenses>
<license> <license>
@ -35,6 +35,7 @@
<module>vasc-xpql</module> <module>vasc-xpql</module>
<module>vasc-xpql-ejb3</module> <module>vasc-xpql-ejb3</module>
<module>demo-petstore</module> <module>demo-petstore</module>
<module>vasc-backend-mongodb</module>
</modules> </modules>
<properties> <properties>
<hg.repo.url>https://...vasc/</hg.repo.url> <hg.repo.url>https://...vasc/</hg.repo.url>

View file

@ -4,7 +4,7 @@ Downloading
+-- +--
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId> <artifactId>vasc-core</artifactId>
<version>0.5-SNAPSHOT</version> <version>0.5-SNAPSHOT</version>
</dependency> </dependency>

View file

@ -2,17 +2,17 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>vasc</artifactId> <artifactId>vasc</artifactId>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</parent> </parent>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-backend-jpa</artifactId> <artifactId>vasc-backend-jpa</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
<name>vasc-backend-jpa</name> <name>vasc-backend-jpa</name>
<description>vasc-backend-jpa</description> <description>vasc-backend-jpa</description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId> <artifactId>vasc-core</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>

View file

@ -24,11 +24,12 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jpa; package net.forwardfire.vasc.backends.jpa;
import net.forwardfire.vasc.core.AbstractVascBackend;
import net.forwardfire.vasc.core.VascException;
import org.hibernate.Session; import org.hibernate.Session;
import org.x4o.vasc.core.AbstractVascBackend;
import org.x4o.vasc.core.VascException;
/** /**

View file

@ -24,14 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jpa; package net.forwardfire.vasc.backends.jpa;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import javax.persistence.EntityManager; import javax.persistence.EntityManager;
import org.x4o.vasc.core.AbstractVascBackend; import net.forwardfire.vasc.core.AbstractVascBackend;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jpa; package net.forwardfire.vasc.backends.jpa;
import javax.persistence.EntityManager; import javax.persistence.EntityManager;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jpa; package net.forwardfire.vasc.backends.jpa;
import org.hibernate.Session; import org.hibernate.Session;

View file

@ -24,22 +24,23 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jpa; package net.forwardfire.vasc.backends.jpa;
import java.util.List; import java.util.List;
import net.forwardfire.vasc.backends.BeanVascEntryFieldValue;
import net.forwardfire.vasc.backends.BeanVascEntryRecordCreator;
import net.forwardfire.vasc.core.VascBackendState;
import net.forwardfire.vasc.core.VascEntry;
import net.forwardfire.vasc.core.VascEntryField;
import net.forwardfire.vasc.core.VascException;
import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
import net.forwardfire.vasc.xpql.query.QueryParameterValue;
import org.hibernate.Hibernate; import org.hibernate.Hibernate;
import org.hibernate.Query; import org.hibernate.Query;
import org.hibernate.Session; import org.hibernate.Session;
import org.x4o.vasc.backends.BeanVascEntryFieldValue;
import org.x4o.vasc.backends.BeanVascEntryRecordCreator;
import org.x4o.vasc.core.VascBackendState;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.core.entry.VascEntryRecordCreator;
import org.x4o.vasc.xpql.query.QueryParameterValue;
/** /**
@ -52,17 +53,17 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
private HibernateSessionProvider hibernateSessionProvider = null; private HibernateSessionProvider hibernateSessionProvider = null;
private org.x4o.vasc.xpql.query.Query query = null; private net.forwardfire.vasc.xpql.query.Query query = null;
private org.x4o.vasc.xpql.query.Query queryTotal = null; private net.forwardfire.vasc.xpql.query.Query queryTotal = null;
private org.x4o.vasc.xpql.query.Query queryMoveUp = null; private net.forwardfire.vasc.xpql.query.Query queryMoveUp = null;
private org.x4o.vasc.xpql.query.Query queryMoveUpDown = null; private net.forwardfire.vasc.xpql.query.Query queryMoveUpDown = null;
private org.x4o.vasc.xpql.query.Query queryMoveDown = null; private net.forwardfire.vasc.xpql.query.Query queryMoveDown = null;
private org.x4o.vasc.xpql.query.Query queryMoveDownUp = null; private net.forwardfire.vasc.xpql.query.Query queryMoveDownUp = null;
private Class<?> resultClass = null; private Class<?> resultClass = null;
@ -70,7 +71,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.backends.jpa.AbstractPersistenceVascBackend#getEntityManager() * @see net.forwardfire.vasc.backends.jpa.AbstractPersistenceVascBackend#getEntityManager()
*/ */
@Override @Override
Session getHibernateSession() { Session getHibernateSession() {
@ -119,7 +120,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryFieldValue(org.x4o.vasc.core.VascEntryField) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField)
*/ */
public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) { public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) {
BeanVascEntryFieldValue result = new BeanVascEntryFieldValue(); BeanVascEntryFieldValue result = new BeanVascEntryFieldValue();
@ -127,7 +128,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryRecordCreator(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry)
*/ */
public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) { public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) {
return new BeanVascEntryRecordCreator(resultClass); return new BeanVascEntryRecordCreator(resultClass);
@ -136,28 +137,28 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
/** /**
* @return the query * @return the query
*/ */
public org.x4o.vasc.xpql.query.Query getQuery() { public net.forwardfire.vasc.xpql.query.Query getQuery() {
return query; return query;
} }
/** /**
* @param query the query to set * @param query the query to set
*/ */
public void setQuery(org.x4o.vasc.xpql.query.Query query) { public void setQuery(net.forwardfire.vasc.xpql.query.Query query) {
this.query = query; this.query = query;
} }
/** /**
* @return the queryTotal * @return the queryTotal
*/ */
public org.x4o.vasc.xpql.query.Query getQueryTotal() { public net.forwardfire.vasc.xpql.query.Query getQueryTotal() {
return queryTotal; return queryTotal;
} }
/** /**
* @param queryTotal the queryTotal to set * @param queryTotal the queryTotal to set
*/ */
public void setQueryTotal(org.x4o.vasc.xpql.query.Query queryTotal) { public void setQueryTotal(net.forwardfire.vasc.xpql.query.Query queryTotal) {
this.queryTotal = queryTotal; this.queryTotal = queryTotal;
} }
@ -190,7 +191,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#isPageable() * @see net.forwardfire.vasc.core.AbstractVascBackend#isPageable()
*/ */
@Override @Override
public boolean isPageable() { public boolean isPageable() {
@ -201,7 +202,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
Session s = getHibernateSession(); Session s = getHibernateSession();
@ -230,7 +231,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#doRecordMoveDownById(java.lang.Object) * @see net.forwardfire.vasc.core.AbstractVascBackend#doRecordMoveDownById(java.lang.Object)
*/ */
@Override @Override
public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException {
@ -299,7 +300,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#doRecordMoveUpById(java.lang.Object) * @see net.forwardfire.vasc.core.AbstractVascBackend#doRecordMoveUpById(java.lang.Object)
*/ */
@Override @Override
public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException {
@ -368,7 +369,7 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#isRecordMoveable() * @see net.forwardfire.vasc.core.AbstractVascBackend#isRecordMoveable()
*/ */
@Override @Override
public boolean isRecordMoveable() { public boolean isRecordMoveable() {
@ -378,56 +379,56 @@ public class XpqlHibernateVascBackend extends AbstractHibernateVascBackend {
/** /**
* @return the queryMoveUp * @return the queryMoveUp
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveUp() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveUp() {
return queryMoveUp; return queryMoveUp;
} }
/** /**
* @param queryMoveUp the queryMoveUp to set * @param queryMoveUp the queryMoveUp to set
*/ */
public void setQueryMoveUp(org.x4o.vasc.xpql.query.Query queryMoveUp) { public void setQueryMoveUp(net.forwardfire.vasc.xpql.query.Query queryMoveUp) {
this.queryMoveUp = queryMoveUp; this.queryMoveUp = queryMoveUp;
} }
/** /**
* @return the queryMoveDown * @return the queryMoveDown
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveDown() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveDown() {
return queryMoveDown; return queryMoveDown;
} }
/** /**
* @param queryMoveDown the queryMoveDown to set * @param queryMoveDown the queryMoveDown to set
*/ */
public void setQueryMoveDown(org.x4o.vasc.xpql.query.Query queryMoveDown) { public void setQueryMoveDown(net.forwardfire.vasc.xpql.query.Query queryMoveDown) {
this.queryMoveDown = queryMoveDown; this.queryMoveDown = queryMoveDown;
} }
/** /**
* @return the queryMoveUpDown * @return the queryMoveUpDown
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveUpDown() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveUpDown() {
return queryMoveUpDown; return queryMoveUpDown;
} }
/** /**
* @param queryMoveUpDown the queryMoveUpDown to set * @param queryMoveUpDown the queryMoveUpDown to set
*/ */
public void setQueryMoveUpDown(org.x4o.vasc.xpql.query.Query queryMoveUpDown) { public void setQueryMoveUpDown(net.forwardfire.vasc.xpql.query.Query queryMoveUpDown) {
this.queryMoveUpDown = queryMoveUpDown; this.queryMoveUpDown = queryMoveUpDown;
} }
/** /**
* @return the queryMoveDownUp * @return the queryMoveDownUp
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveDownUp() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveDownUp() {
return queryMoveDownUp; return queryMoveDownUp;
} }
/** /**
* @param queryMoveDownUp the queryMoveDownUp to set * @param queryMoveDownUp the queryMoveDownUp to set
*/ */
public void setQueryMoveDownUp(org.x4o.vasc.xpql.query.Query queryMoveDownUp) { public void setQueryMoveDownUp(net.forwardfire.vasc.xpql.query.Query queryMoveDownUp) {
this.queryMoveDownUp = queryMoveDownUp; this.queryMoveDownUp = queryMoveDownUp;
} }
} }

View file

@ -24,22 +24,23 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jpa; package net.forwardfire.vasc.backends.jpa;
import java.util.List; import java.util.List;
import javax.persistence.EntityManager; import javax.persistence.EntityManager;
import javax.persistence.Query; import javax.persistence.Query;
import org.x4o.vasc.backends.BeanVascEntryFieldValue; import net.forwardfire.vasc.backends.BeanVascEntryFieldValue;
import org.x4o.vasc.backends.BeanVascEntryRecordCreator; import net.forwardfire.vasc.backends.BeanVascEntryRecordCreator;
import org.x4o.vasc.core.VascBackendState; import net.forwardfire.vasc.core.VascBackendState;
import org.x4o.vasc.core.VascEntry; import net.forwardfire.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField; import net.forwardfire.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.core.entry.VascEntryRecordCreator; import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
import org.x4o.vasc.xpql.query.QueryParameterValue; import net.forwardfire.vasc.xpql.query.QueryParameterValue;
/** /**
@ -52,17 +53,17 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
private EntityManagerProvider entityManagerProvider = null; private EntityManagerProvider entityManagerProvider = null;
private org.x4o.vasc.xpql.query.Query query = null; private net.forwardfire.vasc.xpql.query.Query query = null;
private org.x4o.vasc.xpql.query.Query queryTotal = null; private net.forwardfire.vasc.xpql.query.Query queryTotal = null;
private org.x4o.vasc.xpql.query.Query queryMoveUp = null; private net.forwardfire.vasc.xpql.query.Query queryMoveUp = null;
private org.x4o.vasc.xpql.query.Query queryMoveUpDown = null; private net.forwardfire.vasc.xpql.query.Query queryMoveUpDown = null;
private org.x4o.vasc.xpql.query.Query queryMoveDown = null; private net.forwardfire.vasc.xpql.query.Query queryMoveDown = null;
private org.x4o.vasc.xpql.query.Query queryMoveDownUp = null; private net.forwardfire.vasc.xpql.query.Query queryMoveDownUp = null;
private Class<?> resultClass = null; private Class<?> resultClass = null;
@ -70,7 +71,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
} }
/** /**
* @see org.x4o.vasc.backends.jpa.AbstractPersistenceVascBackend#getEntityManager() * @see net.forwardfire.vasc.backends.jpa.AbstractPersistenceVascBackend#getEntityManager()
*/ */
@Override @Override
EntityManager getEntityManager() { EntityManager getEntityManager() {
@ -124,7 +125,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryFieldValue(org.x4o.vasc.core.VascEntryField) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField)
*/ */
public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) { public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) {
VascEntryFieldValue result = new BeanVascEntryFieldValue(); VascEntryFieldValue result = new BeanVascEntryFieldValue();
@ -132,7 +133,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryRecordCreator(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry)
*/ */
public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) { public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) {
VascEntryRecordCreator result = new BeanVascEntryRecordCreator(resultClass); VascEntryRecordCreator result = new BeanVascEntryRecordCreator(resultClass);
@ -142,28 +143,28 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
/** /**
* @return the query * @return the query
*/ */
public org.x4o.vasc.xpql.query.Query getQuery() { public net.forwardfire.vasc.xpql.query.Query getQuery() {
return query; return query;
} }
/** /**
* @param query the query to set * @param query the query to set
*/ */
public void setQuery(org.x4o.vasc.xpql.query.Query query) { public void setQuery(net.forwardfire.vasc.xpql.query.Query query) {
this.query = query; this.query = query;
} }
/** /**
* @return the queryTotal * @return the queryTotal
*/ */
public org.x4o.vasc.xpql.query.Query getQueryTotal() { public net.forwardfire.vasc.xpql.query.Query getQueryTotal() {
return queryTotal; return queryTotal;
} }
/** /**
* @param queryTotal the queryTotal to set * @param queryTotal the queryTotal to set
*/ */
public void setQueryTotal(org.x4o.vasc.xpql.query.Query queryTotal) { public void setQueryTotal(net.forwardfire.vasc.xpql.query.Query queryTotal) {
this.queryTotal = queryTotal; this.queryTotal = queryTotal;
} }
@ -196,7 +197,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
} }
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#isPageable() * @see net.forwardfire.vasc.core.AbstractVascBackend#isPageable()
*/ */
@Override @Override
public boolean isPageable() { public boolean isPageable() {
@ -207,7 +208,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
EntityManager em = getEntityManager(); EntityManager em = getEntityManager();
@ -236,7 +237,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#doRecordMoveDownById(VascBackendState state,java.lang.Object) * @see net.forwardfire.vasc.core.AbstractVascBackend#doRecordMoveDownById(VascBackendState state,java.lang.Object)
*/ */
@Override @Override
public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException {
@ -299,7 +300,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
} }
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#doRecordMoveUpById(VascBackendState state,java.lang.Object) * @see net.forwardfire.vasc.core.AbstractVascBackend#doRecordMoveUpById(VascBackendState state,java.lang.Object)
*/ */
@Override @Override
public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException {
@ -362,7 +363,7 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
} }
/** /**
* @see org.x4o.vasc.core.AbstractVascBackend#isRecordMoveable() * @see net.forwardfire.vasc.core.AbstractVascBackend#isRecordMoveable()
*/ */
@Override @Override
public boolean isRecordMoveable() { public boolean isRecordMoveable() {
@ -372,61 +373,61 @@ public class XpqlPersistanceVascBackend extends AbstractPersistenceVascBackend
/** /**
* @return the queryMoveUp * @return the queryMoveUp
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveUp() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveUp() {
return queryMoveUp; return queryMoveUp;
} }
/** /**
* @param queryMoveUp the queryMoveUp to set * @param queryMoveUp the queryMoveUp to set
*/ */
public void setQueryMoveUp(org.x4o.vasc.xpql.query.Query queryMoveUp) { public void setQueryMoveUp(net.forwardfire.vasc.xpql.query.Query queryMoveUp) {
this.queryMoveUp = queryMoveUp; this.queryMoveUp = queryMoveUp;
} }
/** /**
* @return the queryMoveDown * @return the queryMoveDown
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveDown() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveDown() {
return queryMoveDown; return queryMoveDown;
} }
/** /**
* @param queryMoveDown the queryMoveDown to set * @param queryMoveDown the queryMoveDown to set
*/ */
public void setQueryMoveDown(org.x4o.vasc.xpql.query.Query queryMoveDown) { public void setQueryMoveDown(net.forwardfire.vasc.xpql.query.Query queryMoveDown) {
this.queryMoveDown = queryMoveDown; this.queryMoveDown = queryMoveDown;
} }
/** /**
* @return the queryMoveUpDown * @return the queryMoveUpDown
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveUpDown() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveUpDown() {
return queryMoveUpDown; return queryMoveUpDown;
} }
/** /**
* @param queryMoveUpDown the queryMoveUpDown to set * @param queryMoveUpDown the queryMoveUpDown to set
*/ */
public void setQueryMoveUpDown(org.x4o.vasc.xpql.query.Query queryMoveUpDown) { public void setQueryMoveUpDown(net.forwardfire.vasc.xpql.query.Query queryMoveUpDown) {
this.queryMoveUpDown = queryMoveUpDown; this.queryMoveUpDown = queryMoveUpDown;
} }
/** /**
* @return the queryMoveDownUp * @return the queryMoveDownUp
*/ */
public org.x4o.vasc.xpql.query.Query getQueryMoveDownUp() { public net.forwardfire.vasc.xpql.query.Query getQueryMoveDownUp() {
return queryMoveDownUp; return queryMoveDownUp;
} }
/** /**
* @param queryMoveDownUp the queryMoveDownUp to set * @param queryMoveDownUp the queryMoveDownUp to set
*/ */
public void setQueryMoveDownUp(org.x4o.vasc.xpql.query.Query queryMoveDownUp) { public void setQueryMoveDownUp(net.forwardfire.vasc.xpql.query.Query queryMoveDownUp) {
this.queryMoveDownUp = queryMoveDownUp; this.queryMoveDownUp = queryMoveDownUp;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isSearchable() * @see net.forwardfire.vasc.core.VascBackend#isSearchable()
*/ */
public boolean isSearchable() { public boolean isSearchable() {
if (query.getQueryParameterValue("text_search")==null) { if (query.getQueryParameterValue("text_search")==null) {

View file

@ -2,17 +2,17 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>vasc</artifactId> <artifactId>vasc</artifactId>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</parent> </parent>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-backend-ldap</artifactId> <artifactId>vasc-backend-ldap</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
<name>vasc-backend-ldap</name> <name>vasc-backend-ldap</name>
<description>vasc-backend-ldap</description> <description>vasc-backend-ldap</description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId> <artifactId>vasc-core</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.ldap; package net.forwardfire.vasc.backends.ldap;
import com.novell.ldap.LDAPConnection; import com.novell.ldap.LDAPConnection;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.ldap; package net.forwardfire.vasc.backends.ldap;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
@ -32,15 +32,16 @@ import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.backends.MapVascEntryFieldValue; import net.forwardfire.vasc.backends.MapVascEntryFieldValue;
import org.x4o.vasc.backends.MapVascEntryRecordCreator; import net.forwardfire.vasc.backends.MapVascEntryRecordCreator;
import org.x4o.vasc.core.AbstractVascBackend; import net.forwardfire.vasc.core.AbstractVascBackend;
import org.x4o.vasc.core.VascBackendState; import net.forwardfire.vasc.core.VascBackendState;
import org.x4o.vasc.core.VascEntry; import net.forwardfire.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField; import net.forwardfire.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.core.entry.VascEntryRecordCreator; import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
import com.novell.ldap.LDAPAttribute; import com.novell.ldap.LDAPAttribute;
import com.novell.ldap.LDAPAttributeSet; import com.novell.ldap.LDAPAttributeSet;
@ -51,6 +52,7 @@ import com.novell.ldap.LDAPSearchConstraints;
import com.novell.ldap.LDAPSearchResults; import com.novell.ldap.LDAPSearchResults;
/** /**
* Provides backend for ldap.
* *
* @author Willem Cazander * @author Willem Cazander
* @version 1.0 Sep 4, 2008 * @version 1.0 Sep 4, 2008
@ -82,7 +84,7 @@ public class LdapVascBackend extends AbstractVascBackend {
/** /**
* @see org.x4o.vasc.core.VascBackend#execute() * @see net.forwardfire.vasc.core.VascBackend#execute()
*/ */
public List<Object> execute(VascBackendState state) throws VascException { public List<Object> execute(VascBackendState state) throws VascException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
@ -141,7 +143,7 @@ public class LdapVascBackend extends AbstractVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#merge(java.lang.Object)
*/ */
public Object merge(Object object) throws VascException { public Object merge(Object object) throws VascException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
@ -221,7 +223,7 @@ public class LdapVascBackend extends AbstractVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#persist(java.lang.Object)
*/ */
public void persist(Object object) throws VascException { public void persist(Object object) throws VascException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
@ -241,7 +243,7 @@ public class LdapVascBackend extends AbstractVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#delete(java.lang.Object)
*/ */
public void delete(Object object) throws VascException { public void delete(Object object) throws VascException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
@ -275,14 +277,14 @@ public class LdapVascBackend extends AbstractVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryRecordCreator(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry)
*/ */
public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) { public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) {
return new MapVascEntryRecordCreator(); return new MapVascEntryRecordCreator();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryFieldValue(org.x4o.vasc.core.VascEntryField) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField)
*/ */
public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) { public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) {
return new MapVascEntryFieldValue(); return new MapVascEntryFieldValue();

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.ldap; package net.forwardfire.vasc.backends.ldap;
import com.novell.ldap.LDAPConnection; import com.novell.ldap.LDAPConnection;
@ -42,7 +42,7 @@ public class SimpleLdapConnectionProvider implements LdapConnectionProvider {
private String bindPass = null; private String bindPass = null;
/** /**
* @see org.x4o.vasc.backends.ldap.LdapConnectionProvider#getLdapConnection() * @see net.forwardfire.vasc.backends.ldap.LdapConnectionProvider#getLdapConnection()
*/ */
public LDAPConnection getLdapConnection() { public LDAPConnection getLdapConnection() {
try { try {

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>vasc-backend-mongodb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

View file

@ -0,0 +1,7 @@
#Fri Dec 30 00:10:52 CET 2011
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
encoding/<project>=UTF-8

View file

@ -0,0 +1,6 @@
#Fri Dec 30 00:10:52 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

View file

@ -0,0 +1,5 @@
#Fri Dec 30 00:10:52 CET 2011
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

View file

@ -0,0 +1,24 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>vasc</artifactId>
<groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>vasc-backend-mongodb</artifactId>
<name>vasc-backend-mongodb</name>
<description>vasc-backend-mongodb</description>
<dependencies>
<dependency>
<groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>2.7.2</version>
</dependency>
</dependencies>
</project>

View file

@ -0,0 +1,146 @@
/*
* Copyright 2004-2007 IDCA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and
* the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
* and the following disclaimer in the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* The views and conclusions contained in the software and documentation are those of the authors and
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package net.forwardfire.vasc.backends.mongodb;
import java.net.UnknownHostException;
import com.mongodb.DB;
import com.mongodb.Mongo;
import com.mongodb.MongoOptions;
import com.mongodb.ServerAddress;
/**
* Provides an mongodb DB connection to the backend.
*
* @author Willem Cazander
* @version 1.0 Dec 30, 2011
*/
public class MongodbConnection implements MongodbConnectionProvider {
private String hostname = "localhost";
private int port = 27017;
private String database = null;
private String username = null;
private String password = null;
protected Mongo mongo = null;
protected DB db = null;
public DB getMongodbConnection() {
if (db!=null) {
return db;
}
synchronized (this) {
ServerAddress server;
try {
server = new ServerAddress(hostname,port);
} catch (UnknownHostException e) {
throw new RuntimeException(e);
}
MongoOptions options = new MongoOptions();
mongo = new Mongo(server,options);
db = mongo.getDB(database);
if (username!=null && password!=null) {
boolean auth = db.authenticate(username, password.toCharArray());
if (auth==false) {
throw new RuntimeException("Could not auth to db: "+database+" with username: "+username);
}
}
}
return db;
}
/**
* @return the hostname
*/
public String getHostname() {
return hostname;
}
/**
* @param hostname the hostname to set
*/
public void setHostname(String hostname) {
this.hostname = hostname;
}
/**
* @return the port
*/
public int getPort() {
return port;
}
/**
* @param port the port to set
*/
public void setPort(int port) {
this.port = port;
}
/**
* @return the database
*/
public String getDatabase() {
return database;
}
/**
* @param database the database to set
*/
public void setDatabase(String database) {
this.database = database;
}
/**
* @return the username
*/
public String getUsername() {
return username;
}
/**
* @param username the username to set
*/
public void setUsername(String username) {
this.username = username;
}
/**
* @return the password
*/
public String getPassword() {
return password;
}
/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}
}

View file

@ -0,0 +1,44 @@
/*
* Copyright 2004-2007 IDCA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and
* the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
* and the following disclaimer in the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* The views and conclusions contained in the software and documentation are those of the authors and
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package net.forwardfire.vasc.backends.mongodb;
import com.mongodb.DB;
/**
* Provides an mongodb DB connection to the backend.
*
* @author Willem Cazander
* @version 1.0 Dec 30, 2011
*/
public interface MongodbConnectionProvider {
/**
* Returns a DB connection.
* @return An DB connection to mongodb
*/
public DB getMongodbConnection();
}

View file

@ -0,0 +1,124 @@
/*
* Copyright 2004-2007 IDCA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and
* the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
* and the following disclaimer in the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* The views and conclusions contained in the software and documentation are those of the authors and
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package net.forwardfire.vasc.backends.mongodb;
import java.util.ArrayList;
import java.util.List;
import net.forwardfire.vasc.core.AbstractVascBackend;
import net.forwardfire.vasc.core.VascBackendState;
import net.forwardfire.vasc.core.VascEntry;
import net.forwardfire.vasc.core.VascEntryField;
import net.forwardfire.vasc.core.VascException;
import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
/**
* Provides backend for mongodb.
*
* @author Willem Cazander
* @version 1.0 Dec 30, 2011
*/
public class MongodbVascBackend extends AbstractVascBackend {
private MongodbConnectionProvider connectionProvider = null;
private String collection = null;
public List<Object> execute(VascBackendState state) throws VascException {
DBCollection coll = getDBCollection();
DBCursor cur = coll.find();
//cur.count();
List<Object> result = new ArrayList<Object>(cur.count());
while (cur.hasNext()) {
DBObject row = cur.next();
result.add(row);
}
return result;
}
public void persist(Object object) throws VascException {
DBCollection coll = getDBCollection();
coll.insert((DBObject)object);
}
public Object merge(Object object) throws VascException {
DBCollection coll = getDBCollection();
return coll.save((DBObject)object);
}
public void delete(Object object) throws VascException {
DBCollection coll = getDBCollection();
coll.remove((DBObject)object);
}
public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) {
return new MongodbVascEntryFieldValue();
}
public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) {
return new MongodbVascEntryRecordCreator();
}
private DBCollection getDBCollection() {
DB db = connectionProvider.getMongodbConnection();
return db.getCollection(collection);
}
/**
* @return the connectionProvider
*/
public MongodbConnectionProvider getConnectionProvider() {
return connectionProvider;
}
/**
* @param connectionProvider the connectionProvider to set
*/
public void setConnectionProvider(MongodbConnectionProvider connectionProvider) {
this.connectionProvider = connectionProvider;
}
/**
* @return the collection
*/
public String getCollection() {
return collection;
}
/**
* @param collection the collection to set
*/
public void setCollection(String collection) {
this.collection = collection;
}
}

View file

@ -0,0 +1,63 @@
/*
* Copyright 2004-2007 IDCA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and
* the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
* and the following disclaimer in the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* The views and conclusions contained in the software and documentation are those of the authors and
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package net.forwardfire.vasc.backends.mongodb;
import net.forwardfire.vasc.core.VascEntryField;
import net.forwardfire.vasc.core.VascException;
import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import com.mongodb.BasicDBObject;
/**
* Provides a mongodb field entry knowlege.
*
* @author Willem Cazander
* @version 1.0 Dec 30, 2011
*/
public class MongodbVascEntryFieldValue implements VascEntryFieldValue {
private static final long serialVersionUID = -7371273796529818557L;
public Object getValue(VascEntryField field, Object record) throws VascException {
BasicDBObject row = (BasicDBObject)record;
Object r = row.get(field.getBackendName());
if (r==null) {
return ""; // create new value, TODO
}
return r;
}
public String getDisplayValue(VascEntryField field, Object record) throws VascException {
return ""+getValue(field,record); // not supported TODO
}
public void setValue(VascEntryField field, Object record, Object value) throws VascException {
BasicDBObject row = (BasicDBObject)record;
row.put(field.getBackendName(), value);
}
}

View file

@ -0,0 +1,53 @@
/*
* Copyright 2004-2007 IDCA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and
* the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
* and the following disclaimer in the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* The views and conclusions contained in the software and documentation are those of the authors and
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package net.forwardfire.vasc.backends.mongodb;
import net.forwardfire.vasc.core.VascEntry;
import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
import com.mongodb.BasicDBObject;
/**
* Provides a mongodb object to create a new row.
*
* @author Willem Cazander
* @version 1.0 Dec 30, 2011
*/
public class MongodbVascEntryRecordCreator implements VascEntryRecordCreator {
private static final long serialVersionUID = -9213830731796787384L;
public Object newRecord(VascEntry entry) throws Exception {
return new BasicDBObject();
}
public Class<?> getObjectClass() {
return BasicDBObject.class;
}
}

View file

@ -2,10 +2,10 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>vasc</artifactId> <artifactId>vasc</artifactId>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
</parent> </parent>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId> <artifactId>vasc-core</artifactId>
<version>0.3.5-SNAPSHOT</version> <version>0.3.5-SNAPSHOT</version>
<name>vasc-core</name> <name>vasc-core</name>
@ -17,7 +17,7 @@
<version>${x4o-core.version}</version> <version>${x4o-core.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.x4o.vasc</groupId> <groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-xpql</artifactId> <artifactId>vasc-xpql</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;
import java.lang.reflect.Method; import java.lang.reflect.Method;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -1,15 +1,16 @@
/** /**
* *
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
import org.x4o.vasc.core.ui.VascSelectItem; import net.forwardfire.vasc.core.ui.VascSelectItem;
import org.x4o.vasc.core.ui.VascSelectItemModel; import net.forwardfire.vasc.core.ui.VascSelectItemModel;
/** /**
@ -31,9 +32,9 @@ public class VascChoicesSelectItemModel implements VascSelectItemModel,Serializa
} }
/** /**
* @see org.x4o.vasc.core.ui.VascSelectItemModel#getVascSelectItems(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.ui.VascSelectItemModel#getVascSelectItems(net.forwardfire.vasc.core.VascEntry)
*/ */
public List<VascSelectItem> getVascSelectItems(org.x4o.vasc.core.VascEntry entry) throws VascException { public List<VascSelectItem> getVascSelectItems(net.forwardfire.vasc.core.VascEntry entry) throws VascException {
List<VascSelectItem> result = new ArrayList<VascSelectItem>(10); List<VascSelectItem> result = new ArrayList<VascSelectItem>(10);
if ("null".equals(vascChoices.nullLabel())==false) { if ("null".equals(vascChoices.nullLabel())==false) {
nullLabel = vascChoices.nullLabel(); nullLabel = vascChoices.nullLabel();

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.annotations; package net.forwardfire.vasc.annotations;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

View file

@ -24,12 +24,13 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends; package net.forwardfire.vasc.backends;
import org.x4o.vasc.core.VascEntryField; import net.forwardfire.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.xml.impl.DefaultElementObjectPropertyValue; import org.x4o.xml.impl.DefaultElementObjectPropertyValue;
/** /**
@ -43,7 +44,7 @@ public class BeanVascEntryFieldValue implements VascEntryFieldValue {
private DefaultElementObjectPropertyValue bean = new DefaultElementObjectPropertyValue(); private DefaultElementObjectPropertyValue bean = new DefaultElementObjectPropertyValue();
/** /**
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#getValue(org.x4o.vasc.core.VascEntryField, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object)
*/ */
public Object getValue(VascEntryField field, Object record) throws VascException { public Object getValue(VascEntryField field, Object record) throws VascException {
if (field==null) { if (field==null) {
@ -64,7 +65,7 @@ public class BeanVascEntryFieldValue implements VascEntryFieldValue {
} }
/** /**
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#getDisplayValue(org.x4o.vasc.core.VascEntryField, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getDisplayValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object)
*/ */
public String getDisplayValue(VascEntryField field, Object record) throws VascException { public String getDisplayValue(VascEntryField field, Object record) throws VascException {
Object value = getValue(field,record); Object value = getValue(field,record);
@ -89,7 +90,7 @@ public class BeanVascEntryFieldValue implements VascEntryFieldValue {
} }
/** /**
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#setValue(org.x4o.vasc.core.VascEntryField, java.lang.Object, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#setValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object, java.lang.Object)
*/ */
public void setValue(VascEntryField field, Object record,Object value) throws VascException { public void setValue(VascEntryField field, Object record,Object value) throws VascException {
if (field==null) { if (field==null) {

View file

@ -1,10 +1,11 @@
/** /**
* *
*/ */
package org.x4o.vasc.backends; package net.forwardfire.vasc.backends;
import net.forwardfire.vasc.core.VascEntry;
import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.entry.VascEntryRecordCreator;
/** /**

View file

@ -1,13 +1,14 @@
/** /**
* *
*/ */
package org.x4o.vasc.backends; package net.forwardfire.vasc.backends;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.core.VascEntryField; import net.forwardfire.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
/** /**
@ -19,7 +20,7 @@ public class MapVascEntryFieldValue implements VascEntryFieldValue {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#getValue(org.x4o.vasc.core.VascEntryField, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object)
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public Object getValue(VascEntryField field, Object record) throws VascException { public Object getValue(VascEntryField field, Object record) throws VascException {
@ -32,14 +33,14 @@ public class MapVascEntryFieldValue implements VascEntryFieldValue {
} }
/** /**
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#getDisplayValue(org.x4o.vasc.core.VascEntryField, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getDisplayValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object)
*/ */
public String getDisplayValue(VascEntryField field, Object record) throws VascException { public String getDisplayValue(VascEntryField field, Object record) throws VascException {
return ""+getValue(field,record); // not supported (this)ldap is already fully string based. return ""+getValue(field,record); // not supported (this)ldap is already fully string based.
} }
/** /**
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#setValue(org.x4o.vasc.core.VascEntryField, java.lang.Object, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#setValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object, java.lang.Object)
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public void setValue(VascEntryField field, Object record,Object value) throws VascException { public void setValue(VascEntryField field, Object record,Object value) throws VascException {

View file

@ -1,13 +1,14 @@
/** /**
* *
*/ */
package org.x4o.vasc.backends; package net.forwardfire.vasc.backends;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.core.VascEntry; import net.forwardfire.vasc.core.VascEntry;
import org.x4o.vasc.core.entry.VascEntryRecordCreator; import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jdbc; package net.forwardfire.vasc.backends.jdbc;
import java.sql.Connection; import java.sql.Connection;
import java.sql.SQLException; import java.sql.SQLException;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jdbc; package net.forwardfire.vasc.backends.jdbc;
import java.sql.Connection; import java.sql.Connection;
import java.sql.ResultSet; import java.sql.ResultSet;
@ -34,15 +34,16 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.backends.MapVascEntryFieldValue; import net.forwardfire.vasc.backends.MapVascEntryFieldValue;
import org.x4o.vasc.backends.MapVascEntryRecordCreator; import net.forwardfire.vasc.backends.MapVascEntryRecordCreator;
import org.x4o.vasc.core.AbstractVascBackend; import net.forwardfire.vasc.core.AbstractVascBackend;
import org.x4o.vasc.core.VascBackendState; import net.forwardfire.vasc.core.VascBackendState;
import org.x4o.vasc.core.VascEntry; import net.forwardfire.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField; import net.forwardfire.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.core.entry.VascEntryRecordCreator; import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
/** /**
@ -74,7 +75,7 @@ public class JdbcVascBackend extends AbstractVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#execute(VascBackendState state) * @see net.forwardfire.vasc.core.VascBackend#execute(VascBackendState state)
*/ */
public List<Object> execute(VascBackendState state) throws VascException { public List<Object> execute(VascBackendState state) throws VascException {
JdbcConnectionProvider prov = getJdbcConnectionProvider(); JdbcConnectionProvider prov = getJdbcConnectionProvider();
@ -109,33 +110,33 @@ public class JdbcVascBackend extends AbstractVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#merge(java.lang.Object)
*/ */
public Object merge(Object object) throws VascException { public Object merge(Object object) throws VascException {
return object; return object;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#persist(java.lang.Object)
*/ */
public void persist(Object object) throws VascException { public void persist(Object object) throws VascException {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#delete(java.lang.Object)
*/ */
public void delete(Object object) throws VascException { public void delete(Object object) throws VascException {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryFieldValue(org.x4o.vasc.core.VascEntryField) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField)
*/ */
public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) { public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) {
return new MapVascEntryFieldValue(); return new MapVascEntryFieldValue();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryRecordCreator(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry)
*/ */
public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) { public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) {
return new MapVascEntryRecordCreator(); return new MapVascEntryRecordCreator();

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jdbc; package net.forwardfire.vasc.backends.jdbc;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
@ -34,16 +34,17 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.backends.MapVascEntryFieldValue; import net.forwardfire.vasc.backends.MapVascEntryFieldValue;
import org.x4o.vasc.backends.MapVascEntryRecordCreator; import net.forwardfire.vasc.backends.MapVascEntryRecordCreator;
import org.x4o.vasc.core.AbstractVascBackend; import net.forwardfire.vasc.core.AbstractVascBackend;
import org.x4o.vasc.core.VascBackendState; import net.forwardfire.vasc.core.VascBackendState;
import org.x4o.vasc.core.VascEntry; import net.forwardfire.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField; import net.forwardfire.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException; import net.forwardfire.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.core.entry.VascEntryRecordCreator; import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
import org.x4o.vasc.xpql.query.QueryParameterValue; import net.forwardfire.vasc.xpql.query.QueryParameterValue;
/** /**
@ -55,7 +56,7 @@ public class JdbcXpqlVascBackend extends AbstractVascBackend {
private JdbcConnectionProvider jdbcConnectionProvider = null; private JdbcConnectionProvider jdbcConnectionProvider = null;
private org.x4o.vasc.xpql.query.Query query = null; private net.forwardfire.vasc.xpql.query.Query query = null;
/** /**
* @return the JdbcConnectionProvider * @return the JdbcConnectionProvider
@ -74,19 +75,19 @@ public class JdbcXpqlVascBackend extends AbstractVascBackend {
/** /**
* @return the query * @return the query
*/ */
public org.x4o.vasc.xpql.query.Query getQuery() { public net.forwardfire.vasc.xpql.query.Query getQuery() {
return query; return query;
} }
/** /**
* @param query the query to set * @param query the query to set
*/ */
public void setQuery(org.x4o.vasc.xpql.query.Query query) { public void setQuery(net.forwardfire.vasc.xpql.query.Query query) {
this.query = query; this.query = query;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#execute(VascBackendState state) * @see net.forwardfire.vasc.core.VascBackend#execute(VascBackendState state)
*/ */
public List<Object> execute(VascBackendState state) throws VascException { public List<Object> execute(VascBackendState state) throws VascException {
// Copy parameters // Copy parameters
@ -132,33 +133,33 @@ public class JdbcXpqlVascBackend extends AbstractVascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#merge(java.lang.Object)
*/ */
public Object merge(Object object) throws VascException { public Object merge(Object object) throws VascException {
return object; return object;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#persist(java.lang.Object)
*/ */
public void persist(Object object) throws VascException { public void persist(Object object) throws VascException {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#delete(java.lang.Object)
*/ */
public void delete(Object object) throws VascException { public void delete(Object object) throws VascException {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryFieldValue(org.x4o.vasc.core.VascEntryField) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField)
*/ */
public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) { public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) {
return new MapVascEntryFieldValue(); return new MapVascEntryFieldValue();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryRecordCreator(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry)
*/ */
public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) { public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) {
return new MapVascEntryRecordCreator(); return new MapVascEntryRecordCreator();

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jdbc; package net.forwardfire.vasc.backends.jdbc;
import java.sql.Connection; import java.sql.Connection;
import java.sql.SQLException; import java.sql.SQLException;
@ -47,7 +47,7 @@ public class JdniDataSourceJdbcConnectionProvider implements JdbcConnectionProvi
private String dataSourceName = null; private String dataSourceName = null;
/** /**
* @see org.x4o.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection() * @see net.forwardfire.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection()
*/ */
public Connection getJdbcConnection() throws SQLException { public Connection getJdbcConnection() throws SQLException {
Connection connection = getDataSource(dataSourceName).getConnection(); Connection connection = getDataSource(dataSourceName).getConnection();

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.backends.jdbc; package net.forwardfire.vasc.backends.jdbc;
import java.sql.Connection; import java.sql.Connection;
import java.sql.DriverManager; import java.sql.DriverManager;
@ -45,7 +45,7 @@ public class SimpleJdbcConnectionProvider implements JdbcConnectionProvider {
private boolean loadedDriver = false; private boolean loadedDriver = false;
/** /**
* @see org.x4o.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection() * @see net.forwardfire.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection()
*/ */
public Connection getJdbcConnection() throws SQLException { public Connection getJdbcConnection() throws SQLException {
if (loadedDriver==false) { if (loadedDriver==false) {

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.Map; import java.util.Map;
@ -39,14 +39,14 @@ abstract public class AbstractVascBackend implements VascBackend {
private String id = null; private String id = null;
/** /**
* @see org.x4o.vasc.core.VascBackend#getId() * @see net.forwardfire.vasc.core.VascBackend#getId()
*/ */
public String getId() { public String getId() {
return id; return id;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#setId(java.lang.String) * @see net.forwardfire.vasc.core.VascBackend#setId(java.lang.String)
*/ */
public void setId(String id) { public void setId(String id) {
if (id==null) { if (id==null) {
@ -56,77 +56,77 @@ abstract public class AbstractVascBackend implements VascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isPageable() * @see net.forwardfire.vasc.core.VascBackend#isPageable()
*/ */
public boolean isPageable() { public boolean isPageable() {
return false; return false;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
return 0; return 0;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isSearchable() * @see net.forwardfire.vasc.core.VascBackend#isSearchable()
*/ */
public boolean isSearchable() { public boolean isSearchable() {
return false; return false;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isSortable() * @see net.forwardfire.vasc.core.VascBackend#isSortable()
*/ */
public boolean isSortable() { public boolean isSortable() {
return false; return false;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isRecordMoveable() * @see net.forwardfire.vasc.core.VascBackend#isRecordMoveable()
*/ */
public boolean isRecordMoveable() { public boolean isRecordMoveable() {
return false; return false;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#doRecordMoveDownById(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#doRecordMoveDownById(java.lang.Object)
*/ */
public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException {
return 0l; return 0l;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#doRecordMoveUpById(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#doRecordMoveUpById(java.lang.Object)
*/ */
public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException {
return 0l; return 0l;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#executePageSummary() * @see net.forwardfire.vasc.core.VascBackend#executePageSummary()
*/ */
public Map<String, Object> executePageSummary() { public Map<String, Object> executePageSummary() {
return null; return null;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#executeTotalSummary() * @see net.forwardfire.vasc.core.VascBackend#executeTotalSummary()
*/ */
public Map<String, Object> executeTotalSummary() { public Map<String, Object> executeTotalSummary() {
return null; return null;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isPageSummary() * @see net.forwardfire.vasc.core.VascBackend#isPageSummary()
*/ */
public boolean isPageSummary() { public boolean isPageSummary() {
return false; return false;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isTotalSummary() * @see net.forwardfire.vasc.core.VascBackend#isTotalSummary()
*/ */
public boolean isTotalSummary() { public boolean isTotalSummary() {
return false; return false;

View file

@ -24,13 +24,13 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.core.entry.VascEntryRecordCreator; import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
/** /**
@ -50,14 +50,14 @@ abstract public class AbstractVascBackendProxy implements VascBackend {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.core.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
return backend.fetchTotalExecuteSize(state); return backend.fetchTotalExecuteSize(state);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isSortable() * @see net.forwardfire.vasc.core.VascBackend#isSortable()
*/ */
public boolean isSortable() { public boolean isSortable() {
return backend.isSortable(); return backend.isSortable();
@ -65,119 +65,119 @@ abstract public class AbstractVascBackendProxy implements VascBackend {
/** /**
* @throws Exception * @throws Exception
* @see org.x4o.vasc.core.VascBackend#execute(VascBackendState state) * @see net.forwardfire.vasc.core.VascBackend#execute(VascBackendState state)
*/ */
public List<Object> execute(VascBackendState state) throws VascException { public List<Object> execute(VascBackendState state) throws VascException {
return backend.execute(state); return backend.execute(state);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#delete(java.lang.Object)
*/ */
public void delete(Object object) throws VascException { public void delete(Object object) throws VascException {
backend.delete(object); backend.delete(object);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isPageable() * @see net.forwardfire.vasc.core.VascBackend#isPageable()
*/ */
public boolean isPageable() { public boolean isPageable() {
return backend.isPageable(); return backend.isPageable();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isSearchable() * @see net.forwardfire.vasc.core.VascBackend#isSearchable()
*/ */
public boolean isSearchable() { public boolean isSearchable() {
return backend.isSearchable(); return backend.isSearchable();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#merge(java.lang.Object)
*/ */
public Object merge(Object object) throws VascException { public Object merge(Object object) throws VascException {
return backend.merge(object); return backend.merge(object);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#persist(java.lang.Object)
*/ */
public void persist(Object object) throws VascException { public void persist(Object object) throws VascException {
backend.persist(object); backend.persist(object);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryFieldValue(org.x4o.vasc.core.VascEntryField) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField)
*/ */
public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) { public VascEntryFieldValue provideVascEntryFieldValue(VascEntryField field) {
return backend.provideVascEntryFieldValue(field); return backend.provideVascEntryFieldValue(field);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#provideVascEntryRecordCreator(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry)
*/ */
public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) { public VascEntryRecordCreator provideVascEntryRecordCreator(VascEntry vascEntry) {
return backend.provideVascEntryRecordCreator(vascEntry); return backend.provideVascEntryRecordCreator(vascEntry);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#getId() * @see net.forwardfire.vasc.core.VascBackend#getId()
*/ */
public String getId() { public String getId() {
return backend.getId(); return backend.getId();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#setId(java.lang.String) * @see net.forwardfire.vasc.core.VascBackend#setId(java.lang.String)
*/ */
public void setId(String id) { public void setId(String id) {
backend.setId(id); backend.setId(id);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#doRecordMoveDownById(VascBackendState state,java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#doRecordMoveDownById(VascBackendState state,java.lang.Object)
*/ */
public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascException {
return backend.doRecordMoveDownById(state,primaryId); return backend.doRecordMoveDownById(state,primaryId);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#doRecordMoveUpById(VascBackendState state,java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#doRecordMoveUpById(VascBackendState state,java.lang.Object)
*/ */
public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException { public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascException {
return backend.doRecordMoveUpById(state,primaryId); return backend.doRecordMoveUpById(state,primaryId);
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isRecordMoveable() * @see net.forwardfire.vasc.core.VascBackend#isRecordMoveable()
*/ */
public boolean isRecordMoveable() { public boolean isRecordMoveable() {
return backend.isRecordMoveable(); return backend.isRecordMoveable();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#executePageSummary() * @see net.forwardfire.vasc.core.VascBackend#executePageSummary()
*/ */
public Map<String, Object> executePageSummary() { public Map<String, Object> executePageSummary() {
return backend.executePageSummary(); return backend.executePageSummary();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#executeTotalSummary() * @see net.forwardfire.vasc.core.VascBackend#executeTotalSummary()
*/ */
public Map<String, Object> executeTotalSummary() { public Map<String, Object> executeTotalSummary() {
return backend.executeTotalSummary(); return backend.executeTotalSummary();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isPageSummary() * @see net.forwardfire.vasc.core.VascBackend#isPageSummary()
*/ */
public boolean isPageSummary() { public boolean isPageSummary() {
return backend.isPageSummary(); return backend.isPageSummary();
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isTotalSummary() * @see net.forwardfire.vasc.core.VascBackend#isTotalSummary()
*/ */
public boolean isTotalSummary() { public boolean isTotalSummary() {
return backend.isTotalSummary(); return backend.isTotalSummary();

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -64,70 +64,70 @@ abstract public class AbstractVascBackendState implements VascBackendState {
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#getPageIndex() * @see net.forwardfire.vasc.core.VascBackend#getPageIndex()
*/ */
public int getPageIndex() { public int getPageIndex() {
return pageIndex; return pageIndex;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#setPageIndex(int) * @see net.forwardfire.vasc.core.VascBackend#setPageIndex(int)
*/ */
public void setPageIndex(int pageIndex) { public void setPageIndex(int pageIndex) {
this.pageIndex=pageIndex; this.pageIndex=pageIndex;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#getPageSize() * @see net.forwardfire.vasc.core.VascBackend#getPageSize()
*/ */
public int getPageSize() { public int getPageSize() {
return pageSize; return pageSize;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#setPageSize(int) * @see net.forwardfire.vasc.core.VascBackend#setPageSize(int)
*/ */
public void setPageSize(int pageSize) { public void setPageSize(int pageSize) {
this.pageSize=pageSize; this.pageSize=pageSize;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#getSearchString() * @see net.forwardfire.vasc.core.VascBackend#getSearchString()
*/ */
public String getSearchString() { public String getSearchString() {
return searchString; return searchString;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#setSearchString(java.lang.String) * @see net.forwardfire.vasc.core.VascBackend#setSearchString(java.lang.String)
*/ */
public void setSearchString(String searchString) { public void setSearchString(String searchString) {
this.searchString=searchString; this.searchString=searchString;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#isSortAscending() * @see net.forwardfire.vasc.core.VascBackend#isSortAscending()
*/ */
public boolean isSortAscending() { public boolean isSortAscending() {
return ascending; return ascending;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#setSortAscending(boolean) * @see net.forwardfire.vasc.core.VascBackend#setSortAscending(boolean)
*/ */
public void setSortAscending(boolean ascending) { public void setSortAscending(boolean ascending) {
this.ascending=ascending; this.ascending=ascending;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#getSortField() * @see net.forwardfire.vasc.core.VascBackend#getSortField()
*/ */
public String getSortField() { public String getSortField() {
return sortField; return sortField;
} }
/** /**
* @see org.x4o.vasc.core.VascBackend#setSortField(java.lang.String) * @see net.forwardfire.vasc.core.VascBackend#setSortField(java.lang.String)
*/ */
public void setSortField(String sortField) { public void setSortField(String sortField) {
this.sortField=sortField; this.sortField=sortField;

View file

@ -24,16 +24,17 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.core.ui.VascUIComponent; import net.forwardfire.vasc.core.ui.VascUIComponent;
import org.x4o.vasc.core.ui.VascValueModel; import net.forwardfire.vasc.core.ui.VascValueModel;
import org.x4o.vasc.validators.VascValidator; import net.forwardfire.vasc.validators.VascValidator;
/** /**
@ -65,35 +66,35 @@ abstract public class AbstractVascEntryFieldType implements VascEntryFieldType {
abstract public VascEntryFieldType clone() throws CloneNotSupportedException; abstract public VascEntryFieldType clone() throws CloneNotSupportedException;
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getId() * @see net.forwardfire.vasc.core.VascEntryFieldType#getId()
*/ */
public String getId() { public String getId() {
return id; return id;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#setId(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#setId(java.lang.String)
*/ */
public void setId(String id) { public void setId(String id) {
this.id=id; this.id=id;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getProperty(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#getProperty(java.lang.String)
*/ */
public String getProperty(String name) { public String getProperty(String name) {
return properties.get(name); return properties.get(name);
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#setProperty(java.lang.String, java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#setProperty(java.lang.String, java.lang.String)
*/ */
public void setProperty(String name, String value) { public void setProperty(String name, String value) {
properties.put(name, value); properties.put(name, value);
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getPropertyNames() * @see net.forwardfire.vasc.core.VascEntryFieldType#getPropertyNames()
*/ */
public List<String> getPropertyNames() { public List<String> getPropertyNames() {
return new ArrayList<String>(properties.keySet()); return new ArrayList<String>(properties.keySet());
@ -114,77 +115,77 @@ abstract public class AbstractVascEntryFieldType implements VascEntryFieldType {
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getVascValidators() * @see net.forwardfire.vasc.core.VascEntryFieldType#getVascValidators()
*/ */
public List<VascValidator> getVascValidators() { public List<VascValidator> getVascValidators() {
return vascValidators; return vascValidators;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#addVascValidator(org.x4o.vasc.validators.VascValidator) * @see net.forwardfire.vasc.core.VascEntryFieldType#addVascValidator(net.forwardfire.vasc.validators.VascValidator)
*/ */
public void addVascValidator(VascValidator vascValidator) { public void addVascValidator(VascValidator vascValidator) {
vascValidators.add(vascValidator); vascValidators.add(vascValidator);
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#removeVascValidator(org.x4o.vasc.validators.VascValidator) * @see net.forwardfire.vasc.core.VascEntryFieldType#removeVascValidator(net.forwardfire.vasc.validators.VascValidator)
*/ */
public void removeVascValidator(VascValidator vascValidator) { public void removeVascValidator(VascValidator vascValidator) {
vascValidators.remove(vascValidator); vascValidators.remove(vascValidator);
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getAutoDetectClass() * @see net.forwardfire.vasc.core.VascEntryFieldType#getAutoDetectClass()
*/ */
public Class<?> getAutoDetectClass() { public Class<?> getAutoDetectClass() {
return autoDetectClass; return autoDetectClass;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#setAutoDetectClass(java.lang.Class) * @see net.forwardfire.vasc.core.VascEntryFieldType#setAutoDetectClass(java.lang.Class)
*/ */
public void setAutoDetectClass(Class<?> autoDetectClass) { public void setAutoDetectClass(Class<?> autoDetectClass) {
this.autoDetectClass=autoDetectClass; this.autoDetectClass=autoDetectClass;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getInputMask() * @see net.forwardfire.vasc.core.VascEntryFieldType#getInputMask()
*/ */
public String getInputMask() { public String getInputMask() {
return inputMask; return inputMask;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#setInputMask(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#setInputMask(java.lang.String)
*/ */
public void setInputMask(String inputMask) { public void setInputMask(String inputMask) {
this.inputMask=inputMask; this.inputMask=inputMask;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getUIComponentId() * @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentId()
*/ */
public String getUIComponentId() { public String getUIComponentId() {
return uiComponentId; return uiComponentId;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#setUIComponentId(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#setUIComponentId(java.lang.String)
*/ */
public void setUIComponentId(String uiComponentId) { public void setUIComponentId(String uiComponentId) {
this.uiComponentId=uiComponentId; this.uiComponentId=uiComponentId;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#getUIComponentCount() * @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentCount()
*/ */
public int getUIComponentCount(VascEntryField entryField) throws VascException { public int getUIComponentCount(VascEntryField entryField) throws VascException {
return 1; return 1;
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#provideEditorUIComponent(int) * @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorUIComponent(int)
*/ */
public VascUIComponent provideEditorUIComponent(int index,VascEntryField entryField) throws VascException { public VascUIComponent provideEditorUIComponent(int index,VascEntryField entryField) throws VascException {
ClassLoader cl = Thread.currentThread().getContextClassLoader(); ClassLoader cl = Thread.currentThread().getContextClassLoader();
@ -199,14 +200,14 @@ abstract public class AbstractVascEntryFieldType implements VascEntryFieldType {
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#provideLabelUIComponent(int) * @see net.forwardfire.vasc.core.VascEntryFieldType#provideLabelUIComponent(int)
*/ */
public VascUIComponent provideLabelUIComponent(int index,VascEntryField entryField) throws VascException { public VascUIComponent provideLabelUIComponent(int index,VascEntryField entryField) throws VascException {
return entryField.getVascEntry().getVascFrontendData().getVascUIComponent(VascUIComponent.VASC_LABEL); return entryField.getVascEntry().getVascFrontendData().getVascUIComponent(VascUIComponent.VASC_LABEL);
} }
/** /**
* @see org.x4o.vasc.core.VascEntryFieldType#provideEditorVascValueModel() * @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorVascValueModel()
*/ */
public VascValueModel provideEditorVascValueModel(int index,VascEntryField entryField) throws VascException { public VascValueModel provideEditorVascValueModel(int index,VascEntryField entryField) throws VascException {
if (index>0) { if (index>0) {

View file

@ -1,7 +1,7 @@
/** /**
* *
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.logging.Logger; import java.util.logging.Logger;
@ -55,7 +55,7 @@ abstract public class AbstractVascFrontend implements VascFrontend {
abstract protected void addUiComponents(); abstract protected void addUiComponents();
/** /**
* @see org.x4o.vasc.core.VascFrontend#initEntry(org.x4o.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascFrontend#initEntry(net.forwardfire.vasc.core.VascEntry)
*/ */
public void initEntry(VascEntry entry) throws Exception { public void initEntry(VascEntry entry) throws Exception {
if (entry.getVascFrontendData().getVascFrontend()==null) { if (entry.getVascFrontendData().getVascFrontend()==null) {
@ -71,14 +71,14 @@ abstract public class AbstractVascFrontend implements VascFrontend {
} }
/** /**
* @see org.x4o.vasc.core.VascFrontend#getId() * @see net.forwardfire.vasc.core.VascFrontend#getId()
*/ */
public String getId() { public String getId() {
return id; return id;
} }
/** /**
* @see org.x4o.vasc.core.VascFrontend#setId(java.lang.String) * @see net.forwardfire.vasc.core.VascFrontend#setId(java.lang.String)
*/ */
public void setId(String id) { public void setId(String id) {
this.id=id; this.id=id;

View file

@ -24,13 +24,13 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.core.entry.VascEntryRecordCreator; import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;
import java.util.Set; import java.util.Set;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,15 +24,16 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
import org.x4o.vasc.core.actions.ColumnVascAction; import net.forwardfire.vasc.core.actions.ColumnVascAction;
import org.x4o.vasc.core.actions.GlobalVascAction; import net.forwardfire.vasc.core.actions.GlobalVascAction;
import org.x4o.vasc.core.actions.RowVascAction; import net.forwardfire.vasc.core.actions.RowVascAction;
import org.x4o.vasc.core.entry.VascEntryFieldEventChannel; import net.forwardfire.vasc.core.entry.VascEntryFieldEventChannel;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.List; import java.util.List;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,13 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
import org.x4o.vasc.core.entry.VascEntryFieldValue; import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.validators.VascValidator; import net.forwardfire.vasc.validators.VascValidator;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.List; import java.util.List;

View file

@ -24,14 +24,15 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
import org.x4o.vasc.core.ui.VascUIComponent; import net.forwardfire.vasc.core.ui.VascUIComponent;
import org.x4o.vasc.core.ui.VascValueModel; import net.forwardfire.vasc.core.ui.VascValueModel;
import org.x4o.vasc.validators.VascValidator; import net.forwardfire.vasc.validators.VascValidator;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.List; import java.util.List;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
/** /**

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;

View file

@ -24,9 +24,9 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import org.x4o.vasc.core.entry.VascEntryExporter; import net.forwardfire.vasc.core.entry.VascEntryExporter;
/** /**

View file

@ -24,15 +24,16 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.List; import java.util.List;
import org.x4o.vasc.core.entry.VascEntryFieldValidatorService; import net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService;
import org.x4o.vasc.core.entry.VascEntryFrontendEventListener; import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener;
import org.x4o.vasc.core.entry.VascEntryResourceImageResolver; import net.forwardfire.vasc.core.entry.VascEntryResourceImageResolver;
import org.x4o.vasc.core.entry.VascEntryResourceResolver; import net.forwardfire.vasc.core.entry.VascEntryResourceResolver;
import org.x4o.vasc.core.ui.VascUIComponent; import net.forwardfire.vasc.core.ui.VascUIComponent;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.EventListener; import java.util.EventListener;

View file

@ -24,13 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.util.List; import java.util.List;
import org.x4o.vasc.core.actions.GlobalVascAction; import net.forwardfire.vasc.core.actions.GlobalVascAction;
import org.x4o.vasc.core.actions.RowVascAction; import net.forwardfire.vasc.core.actions.RowVascAction;
import org.x4o.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType; import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA. * should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/ */
package org.x4o.vasc.core; package net.forwardfire.vasc.core;
import java.io.Serializable; import java.io.Serializable;

Some files were not shown because too many files have changed in this diff Show more