2
0
Fork 0

moved package to temparory org.x4o.vasc.etc

This commit is contained in:
Willem Cazander 2011-12-30 00:09:01 +01:00
parent 3d6ceff732
commit cc6331b7fe
322 changed files with 2032 additions and 1750 deletions

View file

@ -5,6 +5,7 @@
<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="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View file

@ -0,0 +1,7 @@
#Sun Dec 25 17:29:06 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,5 @@
#Sun Dec 25 17:29:03 CET 2011
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

View file

@ -1,23 +1,23 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>vasc-base</artifactId>
<groupId>com.idcanet.vasc</groupId>
<artifactId>vasc</artifactId>
<groupId>org.x4o.vasc</groupId>
<version>0.3.5-SNAPSHOT</version>
</parent>
<groupId>com.idcanet.vasc</groupId>
<groupId>org.x4o.vasc</groupId>
<artifactId>vasc-core</artifactId>
<version>0.3.5-SNAPSHOT</version>
<name>vasc-core</name>
<description>vasc-core</description>
<dependencies>
<dependency>
<groupId>com.idcanet.x4o</groupId>
<groupId>org.x4o</groupId>
<artifactId>x4o-core</artifactId>
<version>${x4o-core.version}</version>
</dependency>
<dependency>
<groupId>com.idcanet.vasc</groupId>
<groupId>org.x4o.vasc</groupId>
<artifactId>vasc-xpql</artifactId>
<version>${project.version}</version>
</dependency>

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.Annotation;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.reflect.Method;
import java.util.ArrayList;

View file

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

View file

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

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@ -44,7 +44,6 @@ public @interface VascI18n {
/**
* The key of the Label default to "null"
* @see com.idcanet.i18n.I18nAnnotationParser#getI18nLabelKey(Class, String)
* @return The key of the ToolTip
*/
String name() default "";

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.annotations;
package org.x4o.vasc.annotations;
import java.lang.annotation.ElementType;
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.
*/
package com.idcanet.vasc.backends;
package org.x4o.vasc.backends;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.entry.VascEntryFieldValue;
import com.idcanet.x4o.impl.DefaultElementObjectPropertyValue;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException;
import org.x4o.vasc.core.entry.VascEntryFieldValue;
import org.x4o.xml.impl.DefaultElementObjectPropertyValue;
/**
*
@ -42,7 +43,7 @@ public class BeanVascEntryFieldValue implements VascEntryFieldValue {
private DefaultElementObjectPropertyValue bean = new DefaultElementObjectPropertyValue();
/**
* @see com.idcanet.vasc.core.entry.VascEntryFieldValue#getValue(com.idcanet.vasc.core.VascEntryField, java.lang.Object)
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#getValue(org.x4o.vasc.core.VascEntryField, java.lang.Object)
*/
public Object getValue(VascEntryField field, Object record) throws VascException {
if (field==null) {
@ -63,7 +64,7 @@ public class BeanVascEntryFieldValue implements VascEntryFieldValue {
}
/**
* @see com.idcanet.vasc.core.entry.VascEntryFieldValue#getDisplayValue(com.idcanet.vasc.core.VascEntryField, java.lang.Object)
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#getDisplayValue(org.x4o.vasc.core.VascEntryField, java.lang.Object)
*/
public String getDisplayValue(VascEntryField field, Object record) throws VascException {
Object value = getValue(field,record);
@ -88,7 +89,7 @@ public class BeanVascEntryFieldValue implements VascEntryFieldValue {
}
/**
* @see com.idcanet.vasc.core.entry.VascEntryFieldValue#setValue(com.idcanet.vasc.core.VascEntryField, java.lang.Object, java.lang.Object)
* @see org.x4o.vasc.core.entry.VascEntryFieldValue#setValue(org.x4o.vasc.core.VascEntryField, java.lang.Object, java.lang.Object)
*/
public void setValue(VascEntryField field, Object record,Object value) throws VascException {
if (field==null) {

View file

@ -1,10 +1,11 @@
/**
*
*/
package com.idcanet.vasc.backends;
package org.x4o.vasc.backends;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.entry.VascEntryRecordCreator;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.entry.VascEntryRecordCreator;
/**
* @author willemc

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.backends.jdbc;
package org.x4o.vasc.backends.jdbc;
import java.sql.Connection;
import java.sql.SQLException;
@ -47,7 +47,7 @@ public class JdniDataSourceJdbcConnectionProvider implements JdbcConnectionProvi
private String dataSourceName = null;
/**
* @see com.idcanet.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection()
* @see org.x4o.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection()
*/
public Connection getJdbcConnection() throws SQLException {
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.
*/
package com.idcanet.vasc.backends.jdbc;
package org.x4o.vasc.backends.jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
@ -45,7 +45,7 @@ public class SimpleJdbcConnectionProvider implements JdbcConnectionProvider {
private boolean loadedDriver = false;
/**
* @see com.idcanet.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection()
* @see org.x4o.vasc.backends.jdbc.JdbcConnectionProvider#getJdbcConnection()
*/
public Connection getJdbcConnection() throws SQLException {
if (loadedDriver==false) {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -24,13 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core;
package org.x4o.vasc.core;
import java.util.List;
import com.idcanet.vasc.core.actions.GlobalVascAction;
import com.idcanet.vasc.core.actions.RowVascAction;
import com.idcanet.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType;
import org.x4o.vasc.core.actions.GlobalVascAction;
import org.x4o.vasc.core.actions.RowVascAction;
import org.x4o.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.
*/
package com.idcanet.vasc.core;
package org.x4o.vasc.core;
import java.io.Serializable;
import java.util.List;

View file

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

View file

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

View file

@ -25,7 +25,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.actions;
package org.x4o.vasc.core.actions;
/**
@ -64,14 +64,14 @@ abstract public class AbstractVascAction implements VascAction {
}
/**
* @see com.idcanet.vasc.core.actions.VascAction#getId()
* @see org.x4o.vasc.core.actions.VascAction#getId()
*/
public String getId() {
return id;
}
/**
* @see com.idcanet.vasc.core.actions.VascAction#setId(java.lang.String)
* @see org.x4o.vasc.core.actions.VascAction#setId(java.lang.String)
*/
public void setId(String id) {
this.id=id;

View file

@ -24,10 +24,10 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.actions;
package org.x4o.vasc.core.actions;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField;
/**
*

View file

@ -24,9 +24,9 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.actions;
package org.x4o.vasc.core.actions;
import com.idcanet.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntry;
/**
*

View file

@ -24,9 +24,9 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.actions;
package org.x4o.vasc.core.actions;
import com.idcanet.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntry;
/**
*

View file

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

View file

@ -24,11 +24,12 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.entry;
package org.x4o.vasc.core.entry;
import java.io.Serializable;
import com.idcanet.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntry;
/**

View file

@ -24,13 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.entry;
package org.x4o.vasc.core.entry;
import java.io.OutputStream;
import java.io.Serializable;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascException;
/**

View file

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

View file

@ -24,12 +24,13 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.entry;
package org.x4o.vasc.core.entry;
import java.util.List;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException;
/**

View file

@ -24,12 +24,13 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.entry;
package org.x4o.vasc.core.entry;
import java.io.Serializable;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException;
/**
*

View file

@ -24,11 +24,12 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.entry;
package org.x4o.vasc.core.entry;
import java.io.Serializable;
import com.idcanet.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntry;
/**

View file

@ -24,11 +24,12 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.entry;
package org.x4o.vasc.core.entry;
import java.io.Serializable;
import com.idcanet.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntry;
/**

View file

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

View file

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

View file

@ -24,10 +24,10 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.ui;
package org.x4o.vasc.core.ui;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException;
/**
*

View file

@ -24,10 +24,10 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.ui;
package org.x4o.vasc.core.ui;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException;
/**
*

View file

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

View file

@ -24,13 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.ui;
package org.x4o.vasc.core.ui;
import java.io.Serializable;
import java.util.List;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascException;
/**
*

View file

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

View file

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

View file

@ -24,11 +24,11 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.ui;
package org.x4o.vasc.core.ui;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascException;
/**
*

View file

@ -24,12 +24,13 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.ui;
package org.x4o.vasc.core.ui;
import java.util.ArrayList;
import java.util.List;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascException;
/**

View file

@ -24,11 +24,12 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.core.ui;
package org.x4o.vasc.core.ui;
import java.util.EventListener;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascException;

View file

@ -24,22 +24,23 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.Collections;
import java.util.Comparator;
import com.idcanet.vasc.core.VascBackend;
import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascEntryFieldSet;
import com.idcanet.vasc.core.VascEntryFieldType;
import com.idcanet.vasc.core.VascEntryFinalizer;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.VascLinkEntry;
import com.idcanet.vasc.core.VascLinkEntryType;
import com.idcanet.vasc.core.actions.VascAction;
import org.x4o.vasc.core.VascBackend;
import org.x4o.vasc.core.VascController;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascEntryFieldSet;
import org.x4o.vasc.core.VascEntryFieldType;
import org.x4o.vasc.core.VascEntryFinalizer;
import org.x4o.vasc.core.VascException;
import org.x4o.vasc.core.VascLinkEntry;
import org.x4o.vasc.core.VascLinkEntryType;
import org.x4o.vasc.core.actions.VascAction;
/**
* Checks for minimal needed stuff
@ -52,7 +53,7 @@ import com.idcanet.vasc.core.actions.VascAction;
public class DefaultVascBackedEntryFinalizer implements VascEntryFinalizer {
/**
* @see com.idcanet.vasc.core.VascEntryFinalizer#finalizeVascEntry(com.idcanet.vasc.core.VascEntry)
* @see org.x4o.vasc.core.VascEntryFinalizer#finalizeVascEntry(org.x4o.vasc.core.VascEntry)
*/
public VascEntry finalizeVascEntry(VascEntry entry,VascController vascController) throws VascException {

View file

@ -24,13 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.HashMap;
import java.util.Map;
import com.idcanet.vasc.core.VascBackend;
import com.idcanet.vasc.core.VascBackendControllerLocal;
import org.x4o.vasc.core.VascBackend;
import org.x4o.vasc.core.VascBackendControllerLocal;
/**
*
@ -47,7 +48,7 @@ public class DefaultVascBackendController implements VascBackendControllerLocal
}
/**
* @see com.idcanet.vasc.core.VascBackendController#getVascBackendById(java.lang.String)
* @see org.x4o.vasc.core.VascBackendController#getVascBackendById(java.lang.String)
*/
public VascBackend getVascBackendById(String id) {
return backends.get(id);

View file

@ -24,9 +24,9 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import com.idcanet.vasc.core.AbstractVascBackendState;
import org.x4o.vasc.core.AbstractVascBackendState;
/**
*

View file

@ -24,14 +24,14 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import com.idcanet.vasc.core.VascBackendController;
import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntryController;
import com.idcanet.vasc.core.VascEntryFieldTypeController;
import com.idcanet.vasc.core.VascEventChannelController;
import com.idcanet.vasc.core.VascUserRoleController;
import org.x4o.vasc.core.VascBackendController;
import org.x4o.vasc.core.VascController;
import org.x4o.vasc.core.VascEntryController;
import org.x4o.vasc.core.VascEntryFieldTypeController;
import org.x4o.vasc.core.VascEventChannelController;
import org.x4o.vasc.core.VascUserRoleController;
/**
*

View file

@ -24,24 +24,25 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.idcanet.vasc.core.VascBackendFilter;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascEntryFieldSet;
import com.idcanet.vasc.core.VascFrontendData;
import com.idcanet.vasc.core.VascLinkEntry;
import com.idcanet.vasc.core.actions.ColumnVascAction;
import com.idcanet.vasc.core.actions.GlobalVascAction;
import com.idcanet.vasc.core.actions.RowVascAction;
import com.idcanet.vasc.core.actions.VascAction;
import com.idcanet.vasc.core.entry.VascEntryFieldEventChannel;
import org.x4o.vasc.core.VascBackendFilter;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascEntryFieldSet;
import org.x4o.vasc.core.VascFrontendData;
import org.x4o.vasc.core.VascLinkEntry;
import org.x4o.vasc.core.actions.ColumnVascAction;
import org.x4o.vasc.core.actions.GlobalVascAction;
import org.x4o.vasc.core.actions.RowVascAction;
import org.x4o.vasc.core.actions.VascAction;
import org.x4o.vasc.core.entry.VascEntryFieldEventChannel;
/**
* VascEntry
@ -464,7 +465,7 @@ public class DefaultVascEntry implements VascEntry {
}
/**
* @see com.idcanet.vasc.core.VascEntry#getVascEntryFieldById(java.lang.String)
* @see org.x4o.vasc.core.VascEntry#getVascEntryFieldById(java.lang.String)
*/
public VascEntryField getVascEntryFieldById(String id) {
for (VascEntryField v:vascFields) {
@ -641,21 +642,21 @@ public class DefaultVascEntry implements VascEntry {
}
/**
* @see com.idcanet.vasc.core.VascEntry#getEntryParameter(java.lang.String)
* @see org.x4o.vasc.core.VascEntry#getEntryParameter(java.lang.String)
*/
public Object getEntryParameter(String key) {
return entryParameters.get(key);
}
/**
* @see com.idcanet.vasc.core.VascEntry#getEntryParameterKeys()
* @see org.x4o.vasc.core.VascEntry#getEntryParameterKeys()
*/
public List<String> getEntryParameterKeys() {
return new ArrayList<String>(entryParameters.keySet());
}
/**
* @see com.idcanet.vasc.core.VascEntry#setEntryParameter(java.lang.String, java.lang.Object)
* @see org.x4o.vasc.core.VascEntry#setEntryParameter(java.lang.String, java.lang.Object)
*/
public void setEntryParameter(String key, Object value) {
entryParameters.put(key, value);

View file

@ -24,7 +24,7 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.ArrayList;
import java.util.Collections;
@ -32,10 +32,11 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryControllerLocal;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascController;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryControllerLocal;
import org.x4o.vasc.core.VascException;
/**
*
@ -58,7 +59,7 @@ public class DefaultVascEntryController implements VascEntryControllerLocal {
}
/**
* @see com.idcanet.vasc.core.VascEntryController#getVascEntryById(java.lang.String)
* @see org.x4o.vasc.core.VascEntryController#getVascEntryById(java.lang.String)
*/
public VascEntry getVascEntryById(String id) {
VascEntry entry = entries.get(id);
@ -79,7 +80,7 @@ public class DefaultVascEntryController implements VascEntryControllerLocal {
}
/**
* @see com.idcanet.vasc.core.VascEntryController#getVascEntryIds()
* @see org.x4o.vasc.core.VascEntryController#getVascEntryIds()
*/
public List<String> getVascEntryIds() {
List<String> result = new ArrayList<String>(entries.keySet());

View file

@ -24,16 +24,17 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.ArrayList;
import java.util.List;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascEntryFieldType;
import com.idcanet.vasc.core.entry.VascEntryFieldValue;
import com.idcanet.vasc.validators.VascValidator;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascEntryFieldType;
import org.x4o.vasc.core.entry.VascEntryFieldValue;
import org.x4o.vasc.validators.VascValidator;
/**

View file

@ -24,12 +24,13 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.ArrayList;
import java.util.List;
import com.idcanet.vasc.core.VascEntryFieldSet;
import org.x4o.vasc.core.VascEntryFieldSet;
/**
*

View file

@ -1,9 +1,9 @@
/**
*
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import com.idcanet.vasc.core.AbstractVascEntryState;
import org.x4o.vasc.core.AbstractVascEntryState;
/**
* Holds all state values

View file

@ -24,20 +24,21 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.Locale;
import java.util.ResourceBundle;
import com.idcanet.vasc.core.VascBackend;
import com.idcanet.vasc.core.VascBackendFilter;
import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.VascFrontendData;
import com.idcanet.vasc.impl.entry.DefaultVascEntryResourceResolver;
import com.idcanet.vasc.impl.entry.VascValidatorsValidatorService;
import com.idcanet.vasc.impl.type.DefaultVascEntryFieldTypeController;
import org.x4o.vasc.core.VascBackend;
import org.x4o.vasc.core.VascBackendFilter;
import org.x4o.vasc.core.VascController;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascException;
import org.x4o.vasc.core.VascFrontendData;
import org.x4o.vasc.impl.entry.DefaultVascEntryResourceResolver;
import org.x4o.vasc.impl.entry.VascValidatorsValidatorService;
import org.x4o.vasc.impl.type.DefaultVascEntryFieldTypeController;
/**
* Default Vasc Factory for creating some base object plumming for vasc useage.

View file

@ -24,31 +24,32 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascEntryFinalizer;
import com.idcanet.vasc.core.VascEntryState;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.VascFrontend;
import com.idcanet.vasc.core.VascFrontendData;
import com.idcanet.vasc.core.VascFrontendHelper;
import com.idcanet.vasc.core.actions.ColumnVascAction;
import com.idcanet.vasc.core.actions.GlobalVascAction;
import com.idcanet.vasc.core.actions.RowVascAction;
import com.idcanet.vasc.core.actions.VascAction;
import com.idcanet.vasc.core.entry.VascEntryFieldValidatorService;
import com.idcanet.vasc.core.entry.VascEntryFrontendEventListener;
import com.idcanet.vasc.core.entry.VascEntryResourceImageResolver;
import com.idcanet.vasc.core.entry.VascEntryResourceResolver;
import com.idcanet.vasc.core.ui.VascUIComponent;
import org.x4o.vasc.core.VascController;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryField;
import org.x4o.vasc.core.VascEntryFinalizer;
import org.x4o.vasc.core.VascEntryState;
import org.x4o.vasc.core.VascException;
import org.x4o.vasc.core.VascFrontend;
import org.x4o.vasc.core.VascFrontendData;
import org.x4o.vasc.core.VascFrontendHelper;
import org.x4o.vasc.core.actions.ColumnVascAction;
import org.x4o.vasc.core.actions.GlobalVascAction;
import org.x4o.vasc.core.actions.RowVascAction;
import org.x4o.vasc.core.actions.VascAction;
import org.x4o.vasc.core.entry.VascEntryFieldValidatorService;
import org.x4o.vasc.core.entry.VascEntryFrontendEventListener;
import org.x4o.vasc.core.entry.VascEntryResourceImageResolver;
import org.x4o.vasc.core.entry.VascEntryResourceResolver;
import org.x4o.vasc.core.ui.VascUIComponent;
/**
*
@ -95,14 +96,14 @@ public class DefaultVascFrontendData implements VascFrontendData {
}
/**
* @see com.idcanet.vasc.core.VascBackendData#getVascEntryFinalizer()
* @see org.x4o.vasc.core.VascBackendData#getVascEntryFinalizer()
*/
public VascEntryFinalizer getVascEntryFinalizer() {
return vascEntryFinalizer;
}
/**
* @see com.idcanet.vasc.core.VascBackendData#setVascEntryFinalizer(com.idcanet.vasc.core.VascEntryFinalizer)
* @see org.x4o.vasc.core.VascBackendData#setVascEntryFinalizer(org.x4o.vasc.core.VascEntryFinalizer)
*/
public void setVascEntryFinalizer(VascEntryFinalizer vascEntryFinalizer) {
this.vascEntryFinalizer=vascEntryFinalizer;
@ -160,14 +161,14 @@ public class DefaultVascFrontendData implements VascFrontendData {
}
/**
* @see com.idcanet.vasc.core.VascFrontendData#getVascUIComponent(java.lang.String)
* @see org.x4o.vasc.core.VascFrontendData#getVascUIComponent(java.lang.String)
*/
public String getVascUIComponentClass(String rendererId) {
return uiComponents.get(rendererId);
}
/**
* @see com.idcanet.vasc.core.VascFrontendData#putVascUIComponent(java.lang.String, java.lang.String)
* @see org.x4o.vasc.core.VascFrontendData#putVascUIComponent(java.lang.String, java.lang.String)
*/
public void putVascUIComponent(String rendererId, String uiComponentClass) {
uiComponents.put(rendererId, uiComponentClass);
@ -188,7 +189,7 @@ public class DefaultVascFrontendData implements VascFrontendData {
}
/**
* @see com.idcanet.vasc.core.VascFrontendData#addFieldVascUIComponents(com.idcanet.vasc.core.VascEntryField, com.idcanet.vasc.core.ui.VascUIComponent, java.lang.Object)
* @see org.x4o.vasc.core.VascFrontendData#addFieldVascUIComponents(org.x4o.vasc.core.VascEntryField, org.x4o.vasc.core.ui.VascUIComponent, java.lang.Object)
*/
public void addFieldVascUIComponents(VascEntryField field,VascUIComponent uiComponent, Object editor) {
fieldComps.put(field, uiComponent);
@ -201,14 +202,14 @@ public class DefaultVascFrontendData implements VascFrontendData {
}
/**
* @see com.idcanet.vasc.core.VascFrontendData#getFieldRealRenderer(com.idcanet.vasc.core.VascEntryField)
* @see org.x4o.vasc.core.VascFrontendData#getFieldRealRenderer(org.x4o.vasc.core.VascEntryField)
*/
public Object getFieldRealRenderer(VascEntryField field) {
return fieldEditors.get(field);
}
/**
* @see com.idcanet.vasc.core.VascFrontendData#getFieldVascUIComponent(com.idcanet.vasc.core.VascEntryField)
* @see org.x4o.vasc.core.VascFrontendData#getFieldVascUIComponent(org.x4o.vasc.core.VascEntryField)
*/
public VascUIComponent getFieldVascUIComponent(VascEntryField field) {
return fieldComps.get(field);
@ -229,14 +230,14 @@ public class DefaultVascFrontendData implements VascFrontendData {
}
/**
* @see com.idcanet.vasc.core.VascFrontendData#addVascValidatorService(com.idcanet.vasc.core.entry.VascEntryFieldValidatorService)
* @see org.x4o.vasc.core.VascFrontendData#addVascValidatorService(org.x4o.vasc.core.entry.VascEntryFieldValidatorService)
*/
public void addVascValidatorService(VascEntryFieldValidatorService validatorService) {
validatorServices.add(validatorService);
}
/**
* @see com.idcanet.vasc.core.VascFrontendData#getVascValidatorServices()
* @see org.x4o.vasc.core.VascFrontendData#getVascValidatorServices()
*/
public List<VascEntryFieldValidatorService> getVascValidatorServices() {
return validatorServices;

View file

@ -24,12 +24,12 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import com.idcanet.vasc.core.VascController;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryFinalizer;
import com.idcanet.vasc.core.VascException;
import org.x4o.vasc.core.VascController;
import org.x4o.vasc.core.VascEntry;
import org.x4o.vasc.core.VascEntryFinalizer;
import org.x4o.vasc.core.VascException;
/**
@ -40,7 +40,7 @@ import com.idcanet.vasc.core.VascException;
public class DefaultVascFrontendEntryFinalizer implements VascEntryFinalizer {
/**
* @see com.idcanet.vasc.core.VascEntryFinalizer#finalizeVascEntry(com.idcanet.vasc.core.VascEntry)
* @see org.x4o.vasc.core.VascEntryFinalizer#finalizeVascEntry(org.x4o.vasc.core.VascEntry)
*/
public VascEntry finalizeVascEntry(VascEntry entry,VascController vascController) throws VascException {

View file

@ -24,29 +24,30 @@
* should not be interpreted as representing official policies, either expressed or implied, of IDCA.
*/
package com.idcanet.vasc.impl;
package org.x4o.vasc.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.logging.Logger;
import com.idcanet.vasc.core.VascBackendFilter;
import com.idcanet.vasc.core.VascBackendPageNumber;
import com.idcanet.vasc.core.VascBackendState;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.core.VascEntryField;
import com.idcanet.vasc.core.VascException;
import com.idcanet.vasc.core.VascFrontendHelper;
import com.idcanet.vasc.core.VascLinkEntry;
import com.idcanet.vasc.core.VascLinkEntryType;
import com.idcanet.vasc.core.VascUserRoleController;
import com.idcanet.vasc.core.actions.GlobalVascAction;
import com.idcanet.vasc.core.actions.RowVascAction;
import com.idcanet.vasc.core.entry.VascEntryFieldValidatorService;
import com.idcanet.vasc.core.entry.VascEntryFrontendEventListener;
import com.idcanet.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType;
import com.idcanet.vasc.core.ui.VascUIComponent;
import org.x4o.vasc.core.VascBackendFilter;
import org.x4o.vasc.core.VascBackendPageNumber;
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.VascFrontendHelper;
import org.x4o.vasc.core.VascLinkEntry;
import org.x4o.vasc.core.VascLinkEntryType;
import org.x4o.vasc.core.VascUserRoleController;
import org.x4o.vasc.core.actions.GlobalVascAction;
import org.x4o.vasc.core.actions.RowVascAction;
import org.x4o.vasc.core.entry.VascEntryFieldValidatorService;
import org.x4o.vasc.core.entry.VascEntryFrontendEventListener;
import org.x4o.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType;
import org.x4o.vasc.core.ui.VascUIComponent;
/**
*
@ -58,7 +59,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
private Logger logger = Logger.getLogger(DefaultVascFrontendHelper.class.getName());
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#renderView(com.idcanet.vasc.core.VascEntryField)
* @see org.x4o.vasc.core.VascFrontendHelper#renderView(org.x4o.vasc.core.VascEntryField)
*/
public boolean renderView(VascEntryField field) {
if (field.getView()==false) {
@ -68,7 +69,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#renderCreate(com.idcanet.vasc.core.VascEntryField)
* @see org.x4o.vasc.core.VascFrontendHelper#renderCreate(org.x4o.vasc.core.VascEntryField)
*/
public boolean renderCreate(VascEntryField field) {
if (renderView(field)==false) {
@ -85,7 +86,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#renderEdit(com.idcanet.vasc.core.VascEntryField)
* @see org.x4o.vasc.core.VascFrontendHelper#renderEdit(org.x4o.vasc.core.VascEntryField)
*/
public boolean renderEdit(VascEntryField field) {
if (renderView(field)==false) {
@ -107,7 +108,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#renderEditReadOnly(com.idcanet.vasc.core.VascEntryField)
* @see org.x4o.vasc.core.VascFrontendHelper#renderEditReadOnly(org.x4o.vasc.core.VascEntryField)
*/
public boolean renderEditReadOnly(VascEntryField field) {
if (renderView(field)==false) {
@ -124,7 +125,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#renderList(com.idcanet.vasc.core.VascEntryField)
* @see org.x4o.vasc.core.VascFrontendHelper#renderList(org.x4o.vasc.core.VascEntryField)
*/
public boolean renderList(VascEntryField field) {
if (renderView(field)==false) {
@ -141,21 +142,21 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#renderGlobalVascAction(com.idcanet.vasc.core.actions.GlobalVascAction)
* @see org.x4o.vasc.core.VascFrontendHelper#renderGlobalVascAction(org.x4o.vasc.core.actions.GlobalVascAction)
*/
public boolean renderGlobalVascAction(GlobalVascAction action) {
return true;
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#renderRowVascAction(com.idcanet.vasc.core.actions.RowVascAction)
* @see org.x4o.vasc.core.VascFrontendHelper#renderRowVascAction(org.x4o.vasc.core.actions.RowVascAction)
*/
public boolean renderRowVascAction(RowVascAction action) {
return true;
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#fireVascEvent(com.idcanet.vasc.core.entry.VascEntryEventListener.VascEventType, java.lang.Object)
* @see org.x4o.vasc.core.VascFrontendHelper#fireVascEvent(org.x4o.vasc.core.entry.VascEntryEventListener.VascEventType, java.lang.Object)
*/
public void fireVascEvent(VascEntry entry,VascFrontendEventType type, Object data) {
List<VascEntryFrontendEventListener> list = entry.getVascFrontendData().getVascEntryFrontendEventListener(type);
@ -165,7 +166,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#getTotalColumnsWidth(com.idcanet.vasc.core.VascEntry)
* @see org.x4o.vasc.core.VascFrontendHelper#getTotalColumnsWidth(org.x4o.vasc.core.VascEntry)
*/
public Integer getTotalColumnsWidth(VascEntry entry) {
int result = 0;
@ -219,14 +220,14 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#handleException(com.idcanet.vasc.core.VascEntry,java.lang.Exception)
* @see org.x4o.vasc.core.VascFrontendHelper#handleException(org.x4o.vasc.core.VascEntry,java.lang.Exception)
*/
public void handleException(VascEntry entry,Exception exception) {
fireVascEvent(entry,VascFrontendEventType.EXCEPTION , exception);
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#initEditObject(com.idcanet.vasc.core.VascEntry)
* @see org.x4o.vasc.core.VascFrontendHelper#initEditObject(org.x4o.vasc.core.VascEntry)
*/
public Object createObject(VascEntry entry) {
try {
@ -296,7 +297,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#mergeObject(com.idcanet.vasc.core.VascEntry)
* @see org.x4o.vasc.core.VascFrontendHelper#mergeObject(org.x4o.vasc.core.VascEntry)
*/
public Object mergeObject(VascEntry entry) {
Object object = entry.getVascFrontendData().getVascEntryState().getEntryDataObject();
@ -342,7 +343,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#refreshData(com.idcanet.vasc.core.VascEntry)
* @see org.x4o.vasc.core.VascFrontendHelper#refreshData(org.x4o.vasc.core.VascEntry)
*/
public void refreshData(VascEntry entry) {
fireVascEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.PRE_READ, null);
@ -373,7 +374,7 @@ public class DefaultVascFrontendHelper implements VascFrontendHelper {
}
/**
* @see com.idcanet.vasc.core.VascFrontendHelper#validateObjectField(com.idcanet.vasc.core.VascEntryField, java.lang.Object)
* @see org.x4o.vasc.core.VascFrontendHelper#validateObjectField(org.x4o.vasc.core.VascEntryField, java.lang.Object)
*/
public List<String> validateObjectField(VascEntryField field) {
if (field==null) {

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