2
0
Fork 0

added interface override annotations.

This commit is contained in:
Willem Cazander 2014-08-24 12:22:32 +02:00
parent fc4c568b18
commit 5bbd8e4ef3
189 changed files with 1458 additions and 319 deletions

View file

@ -38,7 +38,7 @@
</modules> </modules>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.sourceVersion>1.6</project.build.sourceVersion> <project.build.sourceVersion>1.7</project.build.sourceVersion>
<!-- Maven plugin versions --> <!-- Maven plugin versions -->
<exec-maven-plugin.version>1.2</exec-maven-plugin.version> <exec-maven-plugin.version>1.2</exec-maven-plugin.version>

View file

@ -8,8 +8,8 @@
<property name="launch.postfix" value=".launch" /> <property name="launch.postfix" value=".launch" />
<property name="launch.postfix.template" value=".launch-template" /> <property name="launch.postfix.template" value=".launch-template" />
<property name="launch.dir.from" value="${project.basedir}/src/eclipse/launch" /> <property name="launch.dir.from" value="${project.basedir}/src/eclipse/launch-template" />
<property name="launch.dir.to" value="${project.basedir}/.settings/vasc/launch" /> <property name="launch.dir.to" value="${project.basedir}/.settings/vasc" />
<property name="config.dir.from" value="${project.basedir}/src/eclipse/settings" /> <property name="config.dir.from" value="${project.basedir}/src/eclipse/settings" />
<property name="config.file.jdt" value="org.eclipse.jdt.core.prefs" /> <property name="config.file.jdt" value="org.eclipse.jdt.core.prefs" />
@ -19,35 +19,35 @@
<echo>Copy Launchers</echo> <echo>Copy Launchers</echo>
<mkdir dir="${launch.dir.to}" /> <mkdir dir="${launch.dir.to}" />
<copy overwrite="true" file="${launch.dir.from}/vasc-demo-server${launch.postfix.template}" tofile="${launch.dir.to}/vasc-demo-server${launch.postfix.template}"/> <copy overwrite="true" file="${launch.dir.from}/vasc-demo-server${launch.postfix.template}" tofile="${launch.dir.to}/vasc-demo-server${launch.postfix}"/>
<copy overwrite="true" file="${launch.dir.from}/vasc-demo-client-swing${launch.postfix.template}" tofile="${launch.dir.to}/vasc-demo-client-swing${launch.postfix.template}"/> <copy overwrite="true" file="${launch.dir.from}/vasc-demo-client-swing${launch.postfix.template}" tofile="${launch.dir.to}/vasc-demo-client-swing${launch.postfix}"/>
<echo>Copy java compiler settings to projects</echo> <echo>Copy java compiler settings to projects</echo>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-backend/vasc-backend-api/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-api/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-backend/vasc-backend-jdbc/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-jdbc/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-backend/vasc-backend-jpa/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-jpa/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-backend/vasc-backend-ldap/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-ldap/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-backend/vasc-backend-metamodel/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-metamodel/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-backend/vasc-backend-mongodb/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-mongodb/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-backend/vasc-backend-test/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-test/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-core/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-core/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-frontend/vasc-frontend-swing/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-swing/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-frontend/vasc-frontend-swt/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-swt/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-frontend/vasc-frontend-web-export/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-web-export/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-frontend/vasc-frontend-web-jsf/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-web-jsf/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-lib/vasc-lib-i18n/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-lib/vasc-lib-i18n/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-lib/vasc-lib-jr40/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-lib/vasc-lib-jr40/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-lib/vasc-lib-xpql/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-lib/vasc-lib-xpql/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-opt/vasc-opt-editor/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-opt/vasc-opt-editor/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-opt/vasc-opt-metamodel/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-opt/vasc-opt-metamodel/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-test/vasc-test-backend/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-test/vasc-test-backend/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-test/vasc-test-frontend/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-test/vasc-test-frontend/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt-template}" tofile="vasc-test/vasc-test-i18n/.settings/${config.file.jdt}"/> <copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-test/vasc-test-i18n/.settings/${config.file.jdt}"/>
</target> </target>

View file

@ -1,92 +1,99 @@
eclipse.preferences.version=1 eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.problem.deadCode=warning org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.problem.deprecation=warning org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.emptyStatement=error org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore org.eclipse.jdt.core.compiler.problem.deadCode=warning
org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning org.eclipse.jdt.core.compiler.problem.deprecation=warning
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=warning org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error
org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
org.eclipse.jdt.core.compiler.problem.nullReference=warning org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameter=warning org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled org.eclipse.jdt.core.compiler.problem.unusedImport=warning
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.source=1.7 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.source=1.7

View file

@ -37,6 +37,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#getId() * @see net.forwardfire.vasc.backend.VascBackend#getId()
*/ */
@Override
public String getId() { public String getId() {
return id; return id;
} }
@ -44,6 +45,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#setId(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackend#setId(java.lang.String)
*/ */
@Override
public void setId(String id) { public void setId(String id) {
if (id==null) { if (id==null) {
throw new IllegalArgumentException("id may not be null"); throw new IllegalArgumentException("id may not be null");
@ -54,18 +56,21 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#startBackend() * @see net.forwardfire.vasc.backend.VascBackend#startBackend()
*/ */
@Override
public void startBackend() { public void startBackend() {
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#stopBackend() * @see net.forwardfire.vasc.backend.VascBackend#stopBackend()
*/ */
@Override
public void stopBackend() { public void stopBackend() {
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isReadOnly() * @see net.forwardfire.vasc.backend.VascBackend#isReadOnly()
*/ */
@Override
public boolean isReadOnly() { public boolean isReadOnly() {
return false; return false;
} }
@ -73,6 +78,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isPageable() * @see net.forwardfire.vasc.backend.VascBackend#isPageable()
*/ */
@Override
public boolean isPageable() { public boolean isPageable() {
return false; return false;
} }
@ -80,6 +86,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
@Override
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
return 0; return 0;
} }
@ -87,6 +94,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isSearchable() * @see net.forwardfire.vasc.backend.VascBackend#isSearchable()
*/ */
@Override
public boolean isSearchable() { public boolean isSearchable() {
return false; return false;
} }
@ -94,13 +102,15 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isSortable() * @see net.forwardfire.vasc.backend.VascBackend#isSortable()
*/ */
@Override
public boolean isSortable() { public boolean isSortable() {
return false; return false;
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isRecordMoveable() * @see net.forwardfire.vasc.backend.VascBackend#isRecordMoveable()
*/ */
@Override
public boolean isRecordMoveable() { public boolean isRecordMoveable() {
return false; return false;
} }
@ -108,6 +118,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#doRecordMoveDownById(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#doRecordMoveDownById(java.lang.Object)
*/ */
@Override
public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascBackendException { public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascBackendException {
return 0l; return 0l;
} }
@ -115,6 +126,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#doRecordMoveUpById(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#doRecordMoveUpById(java.lang.Object)
*/ */
@Override
public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascBackendException { public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascBackendException {
return 0l; return 0l;
} }
@ -122,6 +134,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#executePageSummary() * @see net.forwardfire.vasc.backend.VascBackend#executePageSummary()
*/ */
@Override
public Map<String, Object> executePageSummary() { public Map<String, Object> executePageSummary() {
return null; return null;
} }
@ -129,6 +142,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#executeTotalSummary() * @see net.forwardfire.vasc.backend.VascBackend#executeTotalSummary()
*/ */
@Override
public Map<String, Object> executeTotalSummary() { public Map<String, Object> executeTotalSummary() {
return null; return null;
} }
@ -136,6 +150,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#hasPageSummary() * @see net.forwardfire.vasc.backend.VascBackend#hasPageSummary()
*/ */
@Override
public boolean hasPageSummary() { public boolean hasPageSummary() {
return false; return false;
} }
@ -143,6 +158,7 @@ abstract public class AbstractVascBackend<DATA_OBJECT extends Serializable> impl
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#hasTotalSummary() * @see net.forwardfire.vasc.backend.VascBackend#hasTotalSummary()
*/ */
@Override
public boolean hasTotalSummary() { public boolean hasTotalSummary() {
return false; return false;
} }

View file

@ -47,6 +47,7 @@ abstract public class AbstractVascBackendControllerLocal implements VascBackendC
/** /**
* @see net.forwardfire.vasc.backend.VascBackendController#getVascBackendById(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackendController#getVascBackendById(java.lang.String)
*/ */
@Override
public VascBackend<Serializable> getVascBackendById(String id) { public VascBackend<Serializable> getVascBackendById(String id) {
return backends.get(id); return backends.get(id);
} }
@ -54,6 +55,7 @@ abstract public class AbstractVascBackendControllerLocal implements VascBackendC
/** /**
* @see net.forwardfire.vasc.backend.VascBackendController#getVascBackendIds() * @see net.forwardfire.vasc.backend.VascBackendController#getVascBackendIds()
*/ */
@Override
public List<String> getVascBackendIds() { public List<String> getVascBackendIds() {
List<String> result = new ArrayList<String>(50); List<String> result = new ArrayList<String>(50);
for (String id:backends.keySet()) { for (String id:backends.keySet()) {
@ -67,6 +69,7 @@ abstract public class AbstractVascBackendControllerLocal implements VascBackendC
* @see net.forwardfire.vasc.backend.VascBackendControllerLocal#addVascBackend(net.forwardfire.vasc.backend.VascBackend) * @see net.forwardfire.vasc.backend.VascBackendControllerLocal#addVascBackend(net.forwardfire.vasc.backend.VascBackend)
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override
public void addVascBackend(VascBackend<? extends Serializable> backend) { public void addVascBackend(VascBackend<? extends Serializable> backend) {
if (backend==null) { if (backend==null) {
throw new NullPointerException("backend must not be null."); throw new NullPointerException("backend must not be null.");
@ -78,10 +81,11 @@ abstract public class AbstractVascBackendControllerLocal implements VascBackendC
VascBackend<Serializable> castedBackend = (VascBackend<Serializable>) backend; VascBackend<Serializable> castedBackend = (VascBackend<Serializable>) backend;
backends.put(backend.getId(), castedBackend); backends.put(backend.getId(), castedBackend);
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackendControllerLocal#removeVascBackendById(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackendControllerLocal#removeVascBackendById(java.lang.String)
*/ */
@Override
public void removeVascBackendById(String backendId) { public void removeVascBackendById(String backendId) {
VascBackend<? extends Serializable> backend = getVascBackendById(backendId); VascBackend<? extends Serializable> backend = getVascBackendById(backendId);
if (backend==null) { if (backend==null) {
@ -90,10 +94,11 @@ abstract public class AbstractVascBackendControllerLocal implements VascBackendC
backend.stopBackend(); backend.stopBackend();
backends.remove(backendId); backends.remove(backendId);
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackendControllerLocal#clearAndStopBackends() * @see net.forwardfire.vasc.backend.VascBackendControllerLocal#clearAndStopBackends()
*/ */
@Override
public void clearAndStopBackends() { public void clearAndStopBackends() {
for (String backendId:getVascBackendIds()) { for (String backendId:getVascBackendIds()) {
removeVascBackendById(backendId); removeVascBackendById(backendId);

View file

@ -50,6 +50,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackendState#setDataParameter(java.lang.String, java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackendState#setDataParameter(java.lang.String, java.lang.Object)
*/ */
@Override
public void setDataParameter(String key, Object data) { public void setDataParameter(String key, Object data) {
parameters.put(key,data); parameters.put(key,data);
} }
@ -57,6 +58,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackendState#removeDataParameter(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackendState#removeDataParameter(java.lang.String)
*/ */
@Override
public void removeDataParameter(String key) { public void removeDataParameter(String key) {
parameters.remove(key); parameters.remove(key);
} }
@ -64,6 +66,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackendState#removeDataParameterAll() * @see net.forwardfire.vasc.backend.VascBackendState#removeDataParameterAll()
*/ */
@Override
public void removeDataParameterAll() { public void removeDataParameterAll() {
parameters.clear(); parameters.clear();
} }
@ -71,6 +74,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackendState#getDataParameter(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackendState#getDataParameter(java.lang.String)
*/ */
@Override
public Object getDataParameter(String key) { public Object getDataParameter(String key) {
return parameters.get(key); return parameters.get(key);
} }
@ -78,6 +82,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackendState#getDataParameterKeys() * @see net.forwardfire.vasc.backend.VascBackendState#getDataParameterKeys()
*/ */
@Override
public Set<String> getDataParameterKeys() { public Set<String> getDataParameterKeys() {
return parameters.keySet(); return parameters.keySet();
} }
@ -85,6 +90,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#getPageIndex() * @see net.forwardfire.vasc.backend.VascBackend#getPageIndex()
*/ */
@Override
public int getPageIndex() { public int getPageIndex() {
return pageIndex; return pageIndex;
} }
@ -92,6 +98,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#setPageIndex(int) * @see net.forwardfire.vasc.backend.VascBackend#setPageIndex(int)
*/ */
@Override
public void setPageIndex(int pageIndex) { public void setPageIndex(int pageIndex) {
this.pageIndex=pageIndex; this.pageIndex=pageIndex;
} }
@ -99,6 +106,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#getPageSize() * @see net.forwardfire.vasc.backend.VascBackend#getPageSize()
*/ */
@Override
public int getPageSize() { public int getPageSize() {
return pageSize; return pageSize;
} }
@ -106,6 +114,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#setPageSize(int) * @see net.forwardfire.vasc.backend.VascBackend#setPageSize(int)
*/ */
@Override
public void setPageSize(int pageSize) { public void setPageSize(int pageSize) {
this.pageSize=pageSize; this.pageSize=pageSize;
} }
@ -113,6 +122,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#getSearchString() * @see net.forwardfire.vasc.backend.VascBackend#getSearchString()
*/ */
@Override
public String getSearchString() { public String getSearchString() {
return searchString; return searchString;
} }
@ -120,6 +130,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#setSearchString(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackend#setSearchString(java.lang.String)
*/ */
@Override
public void setSearchString(String searchString) { public void setSearchString(String searchString) {
this.searchString=searchString; this.searchString=searchString;
} }
@ -127,6 +138,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isSortAscending() * @see net.forwardfire.vasc.backend.VascBackend#isSortAscending()
*/ */
@Override
public boolean isSortAscending() { public boolean isSortAscending() {
return ascending; return ascending;
} }
@ -134,6 +146,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#setSortAscending(boolean) * @see net.forwardfire.vasc.backend.VascBackend#setSortAscending(boolean)
*/ */
@Override
public void setSortAscending(boolean ascending) { public void setSortAscending(boolean ascending) {
this.ascending=ascending; this.ascending=ascending;
} }
@ -141,6 +154,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#getSortField() * @see net.forwardfire.vasc.backend.VascBackend#getSortField()
*/ */
@Override
public String getSortField() { public String getSortField() {
return sortField; return sortField;
} }
@ -148,6 +162,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#setSortField(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackend#setSortField(java.lang.String)
*/ */
@Override
public void setSortField(String sortField) { public void setSortField(String sortField) {
this.sortField=sortField; this.sortField=sortField;
} }
@ -155,6 +170,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @return the pageSizeMax * @return the pageSizeMax
*/ */
@Override
public int getPageSizeMax() { public int getPageSizeMax() {
return pageSizeMax; return pageSizeMax;
} }
@ -162,6 +178,7 @@ abstract public class AbstractVascBackendState implements VascBackendState {
/** /**
* @param pageSizeMax the pageSizeMax to set * @param pageSizeMax the pageSizeMax to set
*/ */
@Override
public void setPageSizeMax(int pageSizeMax) { public void setPageSizeMax(int pageSizeMax) {
this.pageSizeMax = pageSizeMax; this.pageSizeMax = pageSizeMax;
} }

View file

@ -44,6 +44,7 @@ public class BeanVascEntryFieldValue<DATA_OBJECT extends Serializable> implement
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getValue(java.lang.String, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getValue(java.lang.String, java.lang.Object)
*/ */
@Override
public Serializable getValue(String backendName, DATA_OBJECT record) throws VascBackendException { public Serializable getValue(String backendName, DATA_OBJECT record) throws VascBackendException {
if (backendName==null) { if (backendName==null) {
throw new NullPointerException("Can't get value of null backendName."); throw new NullPointerException("Can't get value of null backendName.");
@ -62,6 +63,7 @@ public class BeanVascEntryFieldValue<DATA_OBJECT extends Serializable> implement
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getDisplayValue(java.lang.String, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getDisplayValue(java.lang.String, java.lang.Object)
*/ */
@Override
public String getDisplayValue(String backendName, DATA_OBJECT record) throws VascBackendException { public String getDisplayValue(String backendName, DATA_OBJECT record) throws VascBackendException {
Serializable value = getValue(backendName,record); Serializable value = getValue(backendName,record);
if (value==null) { if (value==null) {
@ -91,6 +93,7 @@ public class BeanVascEntryFieldValue<DATA_OBJECT extends Serializable> implement
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#setValue(java.lang.String, java.lang.Object, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#setValue(java.lang.String, java.lang.Object, java.lang.Object)
*/ */
@Override
public void setValue(String backendName, DATA_OBJECT record,Serializable value) throws VascBackendException { public void setValue(String backendName, DATA_OBJECT record,Serializable value) throws VascBackendException {
if (backendName==null) { if (backendName==null) {
throw new NullPointerException("Can't set value of null backendName."); throw new NullPointerException("Can't set value of null backendName.");

View file

@ -47,6 +47,7 @@ public class BeanVascEntryRecordCreator<DATA_OBJECT extends Serializable> implem
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override
public DATA_OBJECT newRecord() throws VascBackendException { public DATA_OBJECT newRecord() throws VascBackendException {
try { try {
return (DATA_OBJECT)resultClass.newInstance(); return (DATA_OBJECT)resultClass.newInstance();

View file

@ -41,6 +41,7 @@ public class HashMapVascEntryFieldValue implements VascEntryFieldValue<HashMap<S
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getValue(java.lang.String, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getValue(java.lang.String, java.lang.Object)
*/ */
@Override
public Serializable getValue(String backendName,HashMap<String,Serializable> map) throws VascBackendException { public Serializable getValue(String backendName,HashMap<String,Serializable> map) throws VascBackendException {
if (backendName==null) { if (backendName==null) {
throw new NullPointerException("Can't get value of null backendName field."); throw new NullPointerException("Can't get value of null backendName field.");
@ -55,6 +56,7 @@ public class HashMapVascEntryFieldValue implements VascEntryFieldValue<HashMap<S
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getDisplayValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#getDisplayValue(net.forwardfire.vasc.core.VascEntryField, java.lang.Object)
*/ */
@Override
public String getDisplayValue(String field, HashMap<String,Serializable> record) throws VascBackendException { public String getDisplayValue(String field, HashMap<String,Serializable> record) throws VascBackendException {
Serializable fieldValue = getValue(field,record); Serializable fieldValue = getValue(field,record);
if (fieldValue==null) { if (fieldValue==null) {
@ -66,6 +68,7 @@ public class HashMapVascEntryFieldValue implements VascEntryFieldValue<HashMap<S
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#setValue(java.lang.String, java.lang.Object, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryFieldValue#setValue(java.lang.String, java.lang.Object, java.lang.Object)
*/ */
@Override
public void setValue(String backendName, HashMap<String,Serializable> map,Serializable value) throws VascBackendException { public void setValue(String backendName, HashMap<String,Serializable> map,Serializable value) throws VascBackendException {
map.put(backendName, value); map.put(backendName, value);
} }

View file

@ -38,6 +38,7 @@ public class HashMapVascEntryRecordCreator implements VascEntryRecordCreator<Has
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public HashMap<String,Serializable> newRecord() throws VascBackendException { public HashMap<String,Serializable> newRecord() throws VascBackendException {
return new HashMap<String,Serializable>(10); return new HashMap<String,Serializable>(10);
} }

View file

@ -44,6 +44,7 @@ public class JdbcConnectionProviderImpl implements JdbcConnectionProvider {
/** /**
* @see net.forwardfire.vasc.backend.jdbc.JdbcConnectionProvider#getJdbcConnection() * @see net.forwardfire.vasc.backend.jdbc.JdbcConnectionProvider#getJdbcConnection()
*/ */
@Override
public Connection getJdbcConnection() throws SQLException { public Connection getJdbcConnection() throws SQLException {
if (loadedDriver==false) { if (loadedDriver==false) {
try { try {

View file

@ -46,6 +46,7 @@ public class JdbcConnectionProviderJdniImpl implements JdbcConnectionProvider {
/** /**
* @see net.forwardfire.vasc.backend.jdbc.JdbcConnectionProvider#getJdbcConnection() * @see net.forwardfire.vasc.backend.jdbc.JdbcConnectionProvider#getJdbcConnection()
*/ */
@Override
public Connection getJdbcConnection() throws SQLException { public Connection getJdbcConnection() throws SQLException {
Connection connection = getDataSource(dataSourceName).getConnection(); Connection connection = getDataSource(dataSourceName).getConnection();
return connection; return connection;

View file

@ -81,6 +81,7 @@ public class JdbcVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#execute(VascBackendState state) * @see net.forwardfire.vasc.backend.VascBackend#execute(VascBackendState state)
*/ */
@Override
public VascBackendResult<HashMap<String,Object>> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<HashMap<String,Object>> execute(VascBackendState state) throws VascBackendException {
JdbcConnectionProvider prov = getJdbcConnectionProvider(); JdbcConnectionProvider prov = getJdbcConnectionProvider();
List<HashMap<String,Object>> result = new ArrayList<HashMap<String,Object>>(50); List<HashMap<String,Object>> result = new ArrayList<HashMap<String,Object>>(50);
@ -117,6 +118,7 @@ public class JdbcVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object)
*/ */
@Override
public HashMap<String,Object> merge(HashMap<String,Object> object) throws VascBackendException { public HashMap<String,Object> merge(HashMap<String,Object> object) throws VascBackendException {
return object; return object;
} }
@ -124,18 +126,21 @@ public class JdbcVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object)
*/ */
@Override
public void persist(HashMap<String,Object> object) throws VascBackendException { public void persist(HashMap<String,Object> object) throws VascBackendException {
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object)
*/ */
@Override
public void delete(HashMap<String,Object> object) throws VascBackendException { public void delete(HashMap<String,Object> object) throws VascBackendException {
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField) * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue(net.forwardfire.vasc.core.VascEntryField)
*/ */
@Override
public VascEntryFieldValue provideVascEntryFieldValue() { public VascEntryFieldValue provideVascEntryFieldValue() {
return new HashMapVascEntryFieldValue(); return new HashMapVascEntryFieldValue();
} }
@ -143,6 +148,7 @@ public class JdbcVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator(net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public VascEntryRecordCreator provideVascEntryRecordCreator() { public VascEntryRecordCreator provideVascEntryRecordCreator() {
return new HashMapVascEntryRecordCreator(); return new HashMapVascEntryRecordCreator();
} }

View file

@ -92,6 +92,7 @@ public class JdbcVascBackendXpql extends AbstractVascBackend<HashMap<String,Obje
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#execute(VascBackendState state) * @see net.forwardfire.vasc.backend.VascBackend#execute(VascBackendState state)
*/ */
@Override
public VascBackendResult<HashMap<String,Object>> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<HashMap<String,Object>> execute(VascBackendState state) throws VascBackendException {
// Copy parameters // Copy parameters
for (String key:state.getDataParameterKeys()) { for (String key:state.getDataParameterKeys()) {
@ -138,6 +139,7 @@ public class JdbcVascBackendXpql extends AbstractVascBackend<HashMap<String,Obje
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object)
*/ */
@Override
public HashMap<String,Object> merge(HashMap<String,Object> object) throws VascBackendException { public HashMap<String,Object> merge(HashMap<String,Object> object) throws VascBackendException {
return object; return object;
} }
@ -145,18 +147,21 @@ public class JdbcVascBackendXpql extends AbstractVascBackend<HashMap<String,Obje
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object)
*/ */
@Override
public void persist(HashMap<String,Object> object) throws VascBackendException { public void persist(HashMap<String,Object> object) throws VascBackendException {
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object)
*/ */
@Override
public void delete(HashMap<String,Object> object) throws VascBackendException { public void delete(HashMap<String,Object> object) throws VascBackendException {
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue()
*/ */
@Override
public VascEntryFieldValue provideVascEntryFieldValue() { public VascEntryFieldValue provideVascEntryFieldValue() {
return new HashMapVascEntryFieldValue(); return new HashMapVascEntryFieldValue();
} }
@ -164,6 +169,7 @@ public class JdbcVascBackendXpql extends AbstractVascBackend<HashMap<String,Obje
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator()
*/ */
@Override
public VascEntryRecordCreator provideVascEntryRecordCreator() { public VascEntryRecordCreator provideVascEntryRecordCreator() {
return new HashMapVascEntryRecordCreator(); return new HashMapVascEntryRecordCreator();
} }

View file

@ -43,6 +43,7 @@ abstract public class AbstractHibernateVascBackend<DATA_OBJECT extends Serializa
*/ */
abstract Session getHibernateSession(); abstract Session getHibernateSession();
@Override
public void persist(DATA_OBJECT object) throws VascBackendException { public void persist(DATA_OBJECT object) throws VascBackendException {
Session s = getHibernateSession(); Session s = getHibernateSession();
try { try {
@ -58,7 +59,8 @@ abstract public class AbstractHibernateVascBackend<DATA_OBJECT extends Serializa
} }
} }
} }
@Override
public DATA_OBJECT merge(DATA_OBJECT object) throws VascBackendException { public DATA_OBJECT merge(DATA_OBJECT object) throws VascBackendException {
Session s = getHibernateSession(); Session s = getHibernateSession();
try { try {
@ -76,6 +78,7 @@ abstract public class AbstractHibernateVascBackend<DATA_OBJECT extends Serializa
} }
} }
@Override
public void delete(DATA_OBJECT object) throws VascBackendException { public void delete(DATA_OBJECT object) throws VascBackendException {
Session s = getHibernateSession(); Session s = getHibernateSession();
try { try {

View file

@ -40,6 +40,7 @@ abstract public class AbstractPersistenceVascBackend<DATA_OBJECT extends Seriali
abstract EntityManager getEntityManager(); abstract EntityManager getEntityManager();
@Override
public void persist(DATA_OBJECT object) throws VascBackendException { public void persist(DATA_OBJECT object) throws VascBackendException {
EntityManager s = getEntityManager(); EntityManager s = getEntityManager();
try { try {
@ -56,7 +57,8 @@ abstract public class AbstractPersistenceVascBackend<DATA_OBJECT extends Seriali
} }
} }
} }
@Override
public DATA_OBJECT merge(DATA_OBJECT object) throws VascBackendException { public DATA_OBJECT merge(DATA_OBJECT object) throws VascBackendException {
EntityManager s = getEntityManager(); EntityManager s = getEntityManager();
try { try {
@ -75,6 +77,7 @@ abstract public class AbstractPersistenceVascBackend<DATA_OBJECT extends Seriali
} }
} }
@Override
public void delete(DATA_OBJECT object) throws VascBackendException { public void delete(DATA_OBJECT object) throws VascBackendException {
EntityManager s = getEntityManager(); EntityManager s = getEntityManager();
try { try {

View file

@ -77,6 +77,7 @@ public class XpqlHibernateVascBackend<DATA_OBJECT extends Serializable> extends
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override
public VascBackendResult<DATA_OBJECT> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<DATA_OBJECT> execute(VascBackendState state) throws VascBackendException {
// Copy parameters // Copy parameters
@ -121,6 +122,7 @@ public class XpqlHibernateVascBackend<DATA_OBJECT extends Serializable> extends
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue()
*/ */
@Override
public VascEntryFieldValue provideVascEntryFieldValue() { public VascEntryFieldValue provideVascEntryFieldValue() {
BeanVascEntryFieldValue result = new BeanVascEntryFieldValue(); BeanVascEntryFieldValue result = new BeanVascEntryFieldValue();
return result; return result;
@ -129,6 +131,7 @@ public class XpqlHibernateVascBackend<DATA_OBJECT extends Serializable> extends
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator()
*/ */
@Override
public VascEntryRecordCreator provideVascEntryRecordCreator() { public VascEntryRecordCreator provideVascEntryRecordCreator() {
return new BeanVascEntryRecordCreator(resultClass); return new BeanVascEntryRecordCreator(resultClass);
} }
@ -203,6 +206,7 @@ public class XpqlHibernateVascBackend<DATA_OBJECT extends Serializable> extends
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
@Override
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
Session s = getHibernateSession(); Session s = getHibernateSession();
try { try {

View file

@ -76,9 +76,8 @@ public class XpqlPersistanceVascBackend<DATA_OBJECT extends Serializable> extend
return entityManagerProvider.getEntityManager(); return entityManagerProvider.getEntityManager();
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override
public VascBackendResult<DATA_OBJECT> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<DATA_OBJECT> execute(VascBackendState state) throws VascBackendException {
// Copy parameters // Copy parameters
@ -125,6 +124,7 @@ public class XpqlPersistanceVascBackend<DATA_OBJECT extends Serializable> extend
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue()
*/ */
@Override
public VascEntryFieldValue provideVascEntryFieldValue() { public VascEntryFieldValue provideVascEntryFieldValue() {
VascEntryFieldValue result = new BeanVascEntryFieldValue(); VascEntryFieldValue result = new BeanVascEntryFieldValue();
return result; return result;
@ -133,6 +133,7 @@ public class XpqlPersistanceVascBackend<DATA_OBJECT extends Serializable> extend
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator()
*/ */
@Override
public VascEntryRecordCreator provideVascEntryRecordCreator() { public VascEntryRecordCreator provideVascEntryRecordCreator() {
VascEntryRecordCreator result = new BeanVascEntryRecordCreator(resultClass); VascEntryRecordCreator result = new BeanVascEntryRecordCreator(resultClass);
return result; return result;
@ -208,6 +209,7 @@ public class XpqlPersistanceVascBackend<DATA_OBJECT extends Serializable> extend
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
@Override
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
EntityManager em = getEntityManager(); EntityManager em = getEntityManager();
try { try {
@ -427,6 +429,7 @@ public class XpqlPersistanceVascBackend<DATA_OBJECT extends Serializable> extend
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isSearchable() * @see net.forwardfire.vasc.backend.VascBackend#isSearchable()
*/ */
@Override
public boolean isSearchable() { public boolean isSearchable() {
if (query.getQueryParameterValue("text_search")==null) { if (query.getQueryParameterValue("text_search")==null) {
return false; return false;

View file

@ -40,6 +40,7 @@ public class LdapConnectionProviderImpl implements LdapConnectionProvider {
/** /**
* @see net.forwardfire.vasc.backend.ldap.LdapConnectionProvider#getLdapConnection() * @see net.forwardfire.vasc.backend.ldap.LdapConnectionProvider#getLdapConnection()
*/ */
@Override
public LDAPConnection getLdapConnection() { public LDAPConnection getLdapConnection() {
try { try {

View file

@ -82,6 +82,7 @@ public class LdapVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#execute() * @see net.forwardfire.vasc.backend.VascBackend#execute()
*/ */
@Override
public VascBackendResult<HashMap<String,Object>> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<HashMap<String,Object>> execute(VascBackendState state) throws VascBackendException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
LDAPConnection connection = prov.getLdapConnection(); LDAPConnection connection = prov.getLdapConnection();
@ -136,6 +137,7 @@ public class LdapVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object)
*/ */
@Override
public HashMap<String,Object> merge(HashMap<String,Object> map) throws VascBackendException { public HashMap<String,Object> merge(HashMap<String,Object> map) throws VascBackendException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
LDAPConnection connection = prov.getLdapConnection(); LDAPConnection connection = prov.getLdapConnection();
@ -216,6 +218,7 @@ public class LdapVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object)
*/ */
@Override
public void persist(HashMap<String,Object> map) throws VascBackendException { public void persist(HashMap<String,Object> map) throws VascBackendException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
LDAPConnection connection = prov.getLdapConnection(); LDAPConnection connection = prov.getLdapConnection();
@ -250,6 +253,7 @@ public class LdapVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object)
*/ */
@Override
public void delete(HashMap<String,Object> map) throws VascBackendException { public void delete(HashMap<String,Object> map) throws VascBackendException {
LdapConnectionProvider prov = getLdapConnectionProvider(); LdapConnectionProvider prov = getLdapConnectionProvider();
LDAPConnection connection = prov.getLdapConnection(); LDAPConnection connection = prov.getLdapConnection();
@ -292,6 +296,7 @@ public class LdapVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator()
*/ */
@Override
public VascEntryRecordCreator provideVascEntryRecordCreator() { public VascEntryRecordCreator provideVascEntryRecordCreator() {
return new HashMapVascEntryRecordCreator(); return new HashMapVascEntryRecordCreator();
} }
@ -299,6 +304,7 @@ public class LdapVascBackend extends AbstractVascBackend<HashMap<String,Object>>
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue()
*/ */
@Override
public VascEntryFieldValue provideVascEntryFieldValue() { public VascEntryFieldValue provideVascEntryFieldValue() {
return new HashMapVascEntryFieldValue(); return new HashMapVascEntryFieldValue();
} }

View file

@ -42,6 +42,7 @@ public class MetaModelDataContextCsv implements MetaModelDataContextProvider {
private String url = null; private String url = null;
private CsvConfiguration csvConfiguration = null; private CsvConfiguration csvConfiguration = null;
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
if (csvConfiguration==null) { if (csvConfiguration==null) {
csvConfiguration = new CsvConfiguration(); csvConfiguration = new CsvConfiguration();

View file

@ -41,6 +41,7 @@ public class MetaModelDataContextJdbc implements MetaModelDataContextProvider {
private String username = null; private String username = null;
private String password = null; private String password = null;
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
JdbcDataContext dataContext = new JdbcDataContext(getConnection()); JdbcDataContext dataContext = new JdbcDataContext(getConnection());
return dataContext; return dataContext;

View file

@ -37,6 +37,7 @@ public class MetaModelDataContextJndiDataContext implements MetaModelDataContext
private String jndiName = null; private String jndiName = null;
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
return getDataContextJndi(); return getDataContextJndi();
} }

View file

@ -40,6 +40,7 @@ public class MetaModelDataContextJndiDataSource implements MetaModelDataContextP
private String jndiName = null; private String jndiName = null;
private JdbcDataContext dataContext = null; private JdbcDataContext dataContext = null;
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
if (dataContext==null) { if (dataContext==null) {
dataContext = new JdbcDataContext(getDataSource()); dataContext = new JdbcDataContext(getDataSource());

View file

@ -49,6 +49,7 @@ public class MetaModelDataContextMongodb implements MetaModelDataContextProvider
protected Mongo mongo = null; protected Mongo mongo = null;
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
//MongoDbDataContextBean dataContext = new MongoDbDataContextBean(getMongodbConnection()); //MongoDbDataContextBean dataContext = new MongoDbDataContextBean(getMongodbConnection());
///dataContext.setRegisterMBean(true); ///dataContext.setRegisterMBean(true);

View file

@ -38,7 +38,7 @@ public class MetaModelDataContextXmlDom implements MetaModelDataContextProvider
private String file = null; private String file = null;
private boolean autoFlattenTables = true; private boolean autoFlattenTables = true;
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
if (file==null) { if (file==null) {
throw new NullPointerException("Can's provided data context with null file."); throw new NullPointerException("Can's provided data context with null file.");

View file

@ -45,6 +45,7 @@ public class MetaModelDataContextXmlSax implements MetaModelDataContextProvider
tableSchemas = new ArrayList<XmlSaxTableDef>(5); tableSchemas = new ArrayList<XmlSaxTableDef>(5);
} }
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
if (file==null) { if (file==null) {
throw new NullPointerException("Can's provided data context with null file."); throw new NullPointerException("Can's provided data context with null file.");

View file

@ -211,6 +211,7 @@ public class MetaModelVascBackend extends AbstractVascBackend<Row> {
return q; return q;
} }
@Override
public VascBackendResult<Row> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<Row> execute(VascBackendState state) throws VascBackendException {
Schema schema = dataContext.getDefaultSchema(); Schema schema = dataContext.getDefaultSchema();
Table t = schema.getTableByName(table); Table t = schema.getTableByName(table);
@ -262,32 +263,37 @@ public class MetaModelVascBackend extends AbstractVascBackend<Row> {
return new DefaultVascBackendResult<Row>(result); return new DefaultVascBackendResult<Row>(result);
} }
@Override
public void persist(Row object) throws VascBackendException { public void persist(Row object) throws VascBackendException {
if (crudDataContext==null) { if (crudDataContext==null) {
return; return;
} }
crudDataContext.persist((UpdateableRow) object); crudDataContext.persist((UpdateableRow) object);
} }
@Override
public Row merge(Row object) throws VascBackendException { public Row merge(Row object) throws VascBackendException {
if (crudDataContext==null) { if (crudDataContext==null) {
return object; return object;
} }
return crudDataContext.merge((UpdateableRow) object); return crudDataContext.merge((UpdateableRow) object);
} }
@Override
public void delete(Row object) throws VascBackendException { public void delete(Row object) throws VascBackendException {
if (crudDataContext==null) { if (crudDataContext==null) {
return; return;
} }
crudDataContext.delete((UpdateableRow) object); crudDataContext.delete((UpdateableRow) object);
} }
@Override
public RowVascEntryFieldValue provideVascEntryFieldValue() { public RowVascEntryFieldValue provideVascEntryFieldValue() {
return new RowVascEntryFieldValue(); return new RowVascEntryFieldValue();
} }
@Override
public VascEntryRecordCreator<Row> provideVascEntryRecordCreator() { public VascEntryRecordCreator<Row> provideVascEntryRecordCreator() {
return new RowVascEntryRecordCreator(crudDataContext,crudDataContext.getDefaultSchema().getTableByName(table)); return new RowVascEntryRecordCreator(crudDataContext,crudDataContext.getDefaultSchema().getTableByName(table));
} }

View file

@ -65,14 +65,19 @@ public class MongoDbDataContextSchemaDetector /* implements MetaModelSchemaDetec
schema = walker.detectSchema(mongoDb, getMainSchemaName()); schema = walker.detectSchema(mongoDb, getMainSchemaName());
return schema; return schema;
} }
@Override
protected String getMainSchemaName() throws MetaModelException { protected String getMainSchemaName() throws MetaModelException {
return mongoDb.getName(); return mongoDb.getName();
} }
@Override
protected DataSet materializeMainSchemaTable(Table table, Column[] columns, int maxRows) { protected DataSet materializeMainSchemaTable(Table table, Column[] columns, int maxRows) {
return materializeMainSchemaTableInternal(table, columns, null, maxRows, true); return materializeMainSchemaTableInternal(table, columns, null, maxRows, true);
} }
// Overidded these method because they do not use the getMainSchema() method // Overidded these method because they do not use the getMainSchema() method
@Override
public DataSet executeQuery(Query query) { public DataSet executeQuery(Query query) {
// Check for queries containing only simple selects and where clauses, // Check for queries containing only simple selects and where clauses,
// or if it is a COUNT(*) query. // or if it is a COUNT(*) query.
@ -170,6 +175,7 @@ public class MongoDbDataContextSchemaDetector /* implements MetaModelSchemaDetec
return _queryPostProcessed; return _queryPostProcessed;
} }
@Override
public SelectItem[] getSelectItems() { public SelectItem[] getSelectItems() {
return _selectItems; return _selectItems;
} }
@ -192,6 +198,7 @@ public class MongoDbDataContextSchemaDetector /* implements MetaModelSchemaDetec
} }
} }
@Override
public boolean next() { public boolean next() {
if (_cursor.hasNext()) { if (_cursor.hasNext()) {
_dbObject = _cursor.next(); _dbObject = _cursor.next();
@ -202,6 +209,7 @@ public class MongoDbDataContextSchemaDetector /* implements MetaModelSchemaDetec
} }
} }
@Override
public Row getRow() { public Row getRow() {
if (_dbObject == null) { if (_dbObject == null) {
return null; return null;

View file

@ -12,10 +12,11 @@ import net.forwardfire.vasc.backend.metamodel.crud.UpdateableRow;
public class RowVascEntryFieldValue implements VascEntryFieldValue<Row> { public class RowVascEntryFieldValue implements VascEntryFieldValue<Row> {
private static final long serialVersionUID = -806674640688182132L; private static final long serialVersionUID = -806674640688182132L;
/** /**
* @see net.forwardfire.vasc.backend.VascEntryFieldValue#getValue(java.lang.String, java.lang.Object) * @see net.forwardfire.vasc.backend.VascEntryFieldValue#getValue(java.lang.String, java.lang.Object)
*/ */
@Override
public Serializable getValue(String backendName, Row record) throws VascBackendException { public Serializable getValue(String backendName, Row record) throws VascBackendException {
if (backendName==null) { if (backendName==null) {
throw new NullPointerException("Can't get value of null backendName."); throw new NullPointerException("Can't get value of null backendName.");
@ -48,6 +49,7 @@ public class RowVascEntryFieldValue implements VascEntryFieldValue<Row> {
/** /**
* @see net.forwardfire.vasc.backend.VascEntryFieldValue#getDisplayValue(java.lang.String, java.lang.Object) * @see net.forwardfire.vasc.backend.VascEntryFieldValue#getDisplayValue(java.lang.String, java.lang.Object)
*/ */
@Override
public String getDisplayValue(String backendName, Row record) throws VascBackendException { public String getDisplayValue(String backendName, Row record) throws VascBackendException {
Object fieldValue = getValue(backendName,record); Object fieldValue = getValue(backendName,record);
if (fieldValue==null) { if (fieldValue==null) {
@ -55,10 +57,11 @@ public class RowVascEntryFieldValue implements VascEntryFieldValue<Row> {
} }
return fieldValue.toString(); return fieldValue.toString();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascEntryFieldValue#setValue(java.lang.String, java.lang.Object, java.lang.Object) * @see net.forwardfire.vasc.backend.VascEntryFieldValue#setValue(java.lang.String, java.lang.Object, java.lang.Object)
*/ */
@Override
public void setValue(String backendName, Row record,Serializable value) throws VascBackendException { public void setValue(String backendName, Row record,Serializable value) throws VascBackendException {
if (record instanceof UpdateableRow) { if (record instanceof UpdateableRow) {
UpdateableRow row = (UpdateableRow)record; UpdateableRow row = (UpdateableRow)record;

View file

@ -17,7 +17,8 @@ public class RowVascEntryRecordCreator implements VascEntryRecordCreator<Row> {
this.dataContext=dataContext; this.dataContext=dataContext;
this.table=table; this.table=table;
} }
@Override
public Row newRecord() throws VascBackendException { public Row newRecord() throws VascBackendException {
return dataContext.createRow(table); return dataContext.createRow(table);
} }

View file

@ -218,8 +218,11 @@ public class ResourceBundleDataContext extends QueryPostprocessDataContext imple
final Iterator<Row> resultData = result.iterator(); final Iterator<Row> resultData = result.iterator();
return new AbstractDataSet() { return new AbstractDataSet() {
int resultCount = 0; int resultCount = 0;
@Override
public SelectItem[] getSelectItems() { return selectItems; } public SelectItem[] getSelectItems() { return selectItems; }
@Override
public Row getRow() { return resultData.next(); } public Row getRow() { return resultData.next(); }
@Override
public boolean next() { public boolean next() {
if (maxRows > 0 && resultCount++ > maxRows) { if (maxRows > 0 && resultCount++ > maxRows) {
return false; return false;
@ -229,6 +232,7 @@ public class ResourceBundleDataContext extends QueryPostprocessDataContext imple
}; };
} }
@Override
public void executeUpdate(UpdateScript update) { public void executeUpdate(UpdateScript update) {
update.run(resourceBundleUpdateExecutor); update.run(resourceBundleUpdateExecutor);
} }

View file

@ -135,6 +135,7 @@ public class ResourceBundleDataControl extends Control {
/** /**
* Does the loading of the ResourceBundle * Does the loading of the ResourceBundle
*/ */
@Override
public ResourceBundle newBundle(String baseName, Locale localeRequested, String format, ClassLoader loader, boolean reload) throws IllegalAccessException, InstantiationException, IOException { public ResourceBundle newBundle(String baseName, Locale localeRequested, String format, ClassLoader loader, boolean reload) throws IllegalAccessException, InstantiationException, IOException {
long startTime = System.currentTimeMillis(); long startTime = System.currentTimeMillis();

View file

@ -52,37 +52,56 @@ public class ResourceBundleUpdateExecutor extends AbstractUpdateCallback {
return isDataContextWritable(); return isDataContextWritable();
} }
@Override
public boolean isDeleteSupported() { public boolean isDeleteSupported() {
return isDataContextWritable(); return isDataContextWritable();
} }
@Override
public boolean isDropTableSupported() { public boolean isDropTableSupported() {
return isDataContextWritable(); return isDataContextWritable();
} }
@Override
public TableCreationBuilder createTable(final Schema schema, final String name) throws IllegalArgumentException, IllegalStateException { public TableCreationBuilder createTable(final Schema schema, final String name) throws IllegalArgumentException, IllegalStateException {
TableCreationBuilder result = new TableCreationBuilder() { TableCreationBuilder result = new TableCreationBuilder() {
@Override
public Table toTable() { return execute(); } public Table toTable() { return execute(); }
@Override
public String toSql() { return "nosql"; } public String toSql() { return "nosql"; }
@Override
public TableCreationBuilder like(Table table) { return this; } public TableCreationBuilder like(Table table) { return this; }
@Override
public ColumnCreationBuilder withColumn(String name) { public ColumnCreationBuilder withColumn(String name) {
//return new ColumnCreationBuilderImpl(this,new MutableColumn(name)); //return new ColumnCreationBuilderImpl(this,new MutableColumn(name));
final TableCreationBuilder parent = this; final TableCreationBuilder parent = this;
return new ColumnCreationBuilder() { return new ColumnCreationBuilder() {
@Override
public ColumnCreationBuilder withColumn(String name) { return this; } public ColumnCreationBuilder withColumn(String name) { return this; }
@Override
public ColumnCreationBuilder ofType(ColumnType type) { return this; } public ColumnCreationBuilder ofType(ColumnType type) { return this; }
@Override
public ColumnCreationBuilder ofSize(int size) { return this; } public ColumnCreationBuilder ofSize(int size) { return this; }
@Override
public ColumnCreationBuilder ofNativeType(String nativeType) { return this; } public ColumnCreationBuilder ofNativeType(String nativeType) { return this; }
@Override
public ColumnCreationBuilder nullable(boolean nullable) { return this; } public ColumnCreationBuilder nullable(boolean nullable) { return this; }
@Override
public ColumnCreationBuilder asPrimaryKey() { return this; } public ColumnCreationBuilder asPrimaryKey() { return this; }
@Override
public ColumnCreationBuilder like(Column column) { return this; } public ColumnCreationBuilder like(Column column) { return this; }
@Override
public TableCreationBuilder like(Table table) { return this; } public TableCreationBuilder like(Table table) { return this; }
@Override
public String toSql() { return "nosql"; } public String toSql() { return "nosql"; }
@Override
public Table toTable() { return execute(); } public Table toTable() { return execute(); }
@Override
public Table execute() throws MetaModelException { return parent.execute();} public Table execute() throws MetaModelException { return parent.execute();}
}; };
} }
@Override
public Table execute() throws MetaModelException { public Table execute() throws MetaModelException {
File file = new File(name); File file = new File(name);
Properties p = new Properties(); Properties p = new Properties();
@ -98,18 +117,22 @@ public class ResourceBundleUpdateExecutor extends AbstractUpdateCallback {
}; };
return result; return result;
} }
@Override
public TableDropBuilder dropTable(Table table) throws IllegalArgumentException, IllegalStateException,UnsupportedOperationException { public TableDropBuilder dropTable(Table table) throws IllegalArgumentException, IllegalStateException,UnsupportedOperationException {
TableDropBuilder result = new AbstractTableDropBuilder(table) { TableDropBuilder result = new AbstractTableDropBuilder(table) {
@Override
public void execute() throws MetaModelException { public void execute() throws MetaModelException {
resourceBundleDataControl.removeBundle(getTable().getName()); resourceBundleDataControl.removeBundle(getTable().getName());
} }
}; };
return result; return result;
} }
@Override
public RowInsertionBuilder insertInto(final Table table) throws IllegalArgumentException, IllegalStateException,UnsupportedOperationException { public RowInsertionBuilder insertInto(final Table table) throws IllegalArgumentException, IllegalStateException,UnsupportedOperationException {
RowInsertionBuilder result = new AbstractRowInsertionBuilder<UpdateCallback>(this, table) { RowInsertionBuilder result = new AbstractRowInsertionBuilder<UpdateCallback>(this, table) {
@Override
public void execute() throws MetaModelException { public void execute() throws MetaModelException {
Properties data = resourceBundleDataControl.getBundleData(table.getName()); Properties data = resourceBundleDataControl.getBundleData(table.getName());
Object[] values = getValues(); Object[] values = getValues();
@ -118,9 +141,11 @@ public class ResourceBundleUpdateExecutor extends AbstractUpdateCallback {
}; };
return result; return result;
} }
@Override
public RowDeletionBuilder deleteFrom(final Table table) throws IllegalArgumentException, IllegalStateException,UnsupportedOperationException { public RowDeletionBuilder deleteFrom(final Table table) throws IllegalArgumentException, IllegalStateException,UnsupportedOperationException {
RowDeletionBuilder result = new AbstractRowDeletionBuilder(table) { RowDeletionBuilder result = new AbstractRowDeletionBuilder(table) {
@Override
public void execute() throws MetaModelException { public void execute() throws MetaModelException {
DataSet ds = resourceBundleDataContext.materializeMainSchemaTable(getTable(),getTable().getColumns(),0); DataSet ds = resourceBundleDataContext.materializeMainSchemaTable(getTable(),getTable().getColumns(),0);
Properties data = resourceBundleDataControl.getBundleData(table.getName()); Properties data = resourceBundleDataControl.getBundleData(table.getName());

View file

@ -37,13 +37,16 @@ abstract public class AbstractCrudDataContext implements CrudDataContext {
return this; return this;
} }
@Override
public UpdateableRow createRow(Table table) { public UpdateableRow createRow(Table table) {
return wrapOrCreateToUpdateableRow(null,table); return wrapOrCreateToUpdateableRow(null,table);
} }
@Override
public void persist(final UpdateableRow row) { public void persist(final UpdateableRow row) {
UpdateableDataContext dataContext = abstractProviderUpdateableDataContext(); UpdateableDataContext dataContext = abstractProviderUpdateableDataContext();
dataContext.executeUpdate(new UpdateScript() { dataContext.executeUpdate(new UpdateScript() {
@Override
public void run(UpdateCallback backendImpl) { public void run(UpdateCallback backendImpl) {
RowInsertionBuilder query = backendImpl.insertInto(row.getTable()); RowInsertionBuilder query = backendImpl.insertInto(row.getTable());
for (int i=0;i<row.size();i++) { for (int i=0;i<row.size();i++) {
@ -58,7 +61,8 @@ abstract public class AbstractCrudDataContext implements CrudDataContext {
} }
}); });
} }
@Override
public UpdateableRow merge(final UpdateableRow row) { public UpdateableRow merge(final UpdateableRow row) {
for (String column:row.getPrimaryKeys()) { for (String column:row.getPrimaryKeys()) {
if (row.getValue(column)==null) { if (row.getValue(column)==null) {
@ -67,6 +71,7 @@ abstract public class AbstractCrudDataContext implements CrudDataContext {
} }
UpdateableDataContext dataContext = abstractProviderUpdateableDataContext(); UpdateableDataContext dataContext = abstractProviderUpdateableDataContext();
dataContext.executeUpdate(new UpdateScript() { dataContext.executeUpdate(new UpdateScript() {
@Override
public void run(UpdateCallback backendImpl) { public void run(UpdateCallback backendImpl) {
Object qWhere = backendImpl.update(row.getTable()); Object qWhere = backendImpl.update(row.getTable());
boolean first = true; boolean first = true;
@ -109,10 +114,12 @@ abstract public class AbstractCrudDataContext implements CrudDataContext {
ds.close(); ds.close();
return rowResult; return rowResult;
} }
@Override
public void delete(final UpdateableRow row) { public void delete(final UpdateableRow row) {
UpdateableDataContext dataContext = abstractProviderUpdateableDataContext(); UpdateableDataContext dataContext = abstractProviderUpdateableDataContext();
dataContext.executeUpdate(new UpdateScript() { dataContext.executeUpdate(new UpdateScript() {
@Override
public void run(UpdateCallback backendImpl) { public void run(UpdateCallback backendImpl) {
Object qWhere = backendImpl.deleteFrom(row.getTable()); Object qWhere = backendImpl.deleteFrom(row.getTable());
boolean first = true; boolean first = true;

View file

@ -77,6 +77,7 @@ abstract public class AbstractRow implements Row,RowLocal {
return result; return result;
} }
@Override
public void setStyle(int index,Style style) { public void setStyle(int index,Style style) {
MetaRowData metaRow = metaData.get(index); MetaRowData metaRow = metaData.get(index);
metaRow.style=style; metaRow.style=style;
@ -95,6 +96,8 @@ abstract public class AbstractRow implements Row,RowLocal {
// ==== Start interface // ==== Start interface
@Override
public Object[] getValues() { public Object[] getValues() {
Object[] result = new Object[size()]; Object[] result = new Object[size()];
for (int i=0;i<size();i++) { for (int i=0;i<size();i++) {
@ -103,14 +106,17 @@ abstract public class AbstractRow implements Row,RowLocal {
return result; return result;
} }
@Override
public Object getValue(SelectItem item) { public Object getValue(SelectItem item) {
return getValue(indexOf(item)); return getValue(indexOf(item));
} }
@Override
public Object getValue(Column column) { public Object getValue(Column column) {
return getValue(indexOf(column)); return getValue(indexOf(column));
} }
@Override
public int indexOf(SelectItem item) { public int indexOf(SelectItem item) {
if (item == null) { if (item == null) {
return UpdateableRow.INDEX_NOT_FOUND; return UpdateableRow.INDEX_NOT_FOUND;
@ -125,6 +131,7 @@ abstract public class AbstractRow implements Row,RowLocal {
return UpdateableRow.INDEX_NOT_FOUND; return UpdateableRow.INDEX_NOT_FOUND;
} }
@Override
public int indexOf(Column column) { public int indexOf(Column column) {
if (column == null) { if (column == null) {
return UpdateableRow.INDEX_NOT_FOUND; return UpdateableRow.INDEX_NOT_FOUND;
@ -133,20 +140,24 @@ abstract public class AbstractRow implements Row,RowLocal {
return indexOf(selectItem); return indexOf(selectItem);
} }
@Override
public SelectItem[] getSelectItems() { public SelectItem[] getSelectItems() {
List<SelectItem> list = getIndexedSelectItemList(); List<SelectItem> list = getIndexedSelectItemList();
SelectItem[] result = new SelectItem[list.size()]; SelectItem[] result = new SelectItem[list.size()];
return list.toArray(result); return list.toArray(result);
} }
@Override
public Style getStyle(SelectItem item) { public Style getStyle(SelectItem item) {
return getStyle(indexOf(item)); return getStyle(indexOf(item));
} }
@Override
public Style getStyle(Column column) { public Style getStyle(Column column) {
return getStyle(indexOf(column)); return getStyle(indexOf(column));
} }
@Override
public Style getStyle(int index) throws IndexOutOfBoundsException { public Style getStyle(int index) throws IndexOutOfBoundsException {
MetaRowData metaRow = getMetaRowData(index); MetaRowData metaRow = getMetaRowData(index);
if (metaRow==null) { if (metaRow==null) {
@ -158,6 +169,7 @@ abstract public class AbstractRow implements Row,RowLocal {
return metaRow.style; return metaRow.style;
} }
@Override
public int size() { public int size() {
return metaData.size(); return metaData.size();
} }

View file

@ -16,7 +16,8 @@ import org.eobjects.metamodel.schema.Column;
@SuppressWarnings("serial") @SuppressWarnings("serial")
abstract public class AbstractUpdateableRow extends AbstractRow implements UpdateableRow { abstract public class AbstractUpdateableRow extends AbstractRow implements UpdateableRow {
// TODO: rm / move getValue and indexOf to AbstractRow after UpdateableRow interface change // TODO: rm / move getValue and indexOf to AbstractRow after UpdateableRow interface change
@Override
public Object getValue(String columnName) { public Object getValue(String columnName) {
return getValue(indexOf(columnName)); return getValue(indexOf(columnName));
} }
@ -43,18 +44,22 @@ abstract public class AbstractUpdateableRow extends AbstractRow implements Updat
} }
} }
@Override
public void setValue(String columnName,Object object) { public void setValue(String columnName,Object object) {
setValue(indexOf(columnName), object); setValue(indexOf(columnName), object);
} }
@Override
public void setValue(SelectItem selectItem,Object object) { public void setValue(SelectItem selectItem,Object object) {
setValue(indexOf(selectItem),object); setValue(indexOf(selectItem),object);
} }
@Override
public void setValue(Column column,Object object) { public void setValue(Column column,Object object) {
setValue(indexOf(column),object); setValue(indexOf(column),object);
} }
@Override
public String[] getPrimaryKeys() { public String[] getPrimaryKeys() {
List<String> primaryKeys = getPrimaryKeysList(); List<String> primaryKeys = getPrimaryKeysList();
return primaryKeys.toArray(new String[primaryKeys.size()]); return primaryKeys.toArray(new String[primaryKeys.size()]);

View file

@ -40,7 +40,8 @@ public class CrudDataContextImpl extends AbstractCrudDataContext implements Abst
public void overridePrimaryKeysForTable(String table,List<String> keys) { public void overridePrimaryKeysForTable(String table,List<String> keys) {
tableKeys.put(table, keys); tableKeys.put(table, keys);
} }
@Override
public List<String> getPrimaryKeysForTable(Table table) { public List<String> getPrimaryKeysForTable(Table table) {
List<String> keys = tableKeys.get(table.getName()); List<String> keys = tableKeys.get(table.getName());
if (keys!=null) { if (keys!=null) {
@ -92,6 +93,7 @@ public class CrudDataContextImpl extends AbstractCrudDataContext implements Abst
* Checks if backend dataContextDelegate has native support for UpdateableRowDataContext. * Checks if backend dataContextDelegate has native support for UpdateableRowDataContext.
* If not then automatic wrap full DataSet data to UpdateableRow * If not then automatic wrap full DataSet data to UpdateableRow
*/ */
@Override
public DataSet executeQuery(Query query) throws MetaModelException { public DataSet executeQuery(Query query) throws MetaModelException {
if (dataContextDelegate instanceof UpdateableRowDataContext) { if (dataContextDelegate instanceof UpdateableRowDataContext) {
return ((UpdateableRowDataContext) dataContextDelegate).crudExecuteQuery(this,query); return ((UpdateableRowDataContext) dataContextDelegate).crudExecuteQuery(this,query);
@ -105,6 +107,7 @@ public class CrudDataContextImpl extends AbstractCrudDataContext implements Abst
* If so then use api to start query builder with this datacontext. * If so then use api to start query builder with this datacontext.
* Else use default InitFromBuilderImpl query builder. * Else use default InitFromBuilderImpl query builder.
*/ */
@Override
public InitFromBuilder query() { public InitFromBuilder query() {
if (dataContextDelegate instanceof UpdateableRowDataContext) { if (dataContextDelegate instanceof UpdateableRowDataContext) {
return ((UpdateableRowDataContext) dataContextDelegate).crudCreateQuery(this); return ((UpdateableRowDataContext) dataContextDelegate).crudCreateQuery(this);
@ -115,15 +118,13 @@ public class CrudDataContextImpl extends AbstractCrudDataContext implements Abst
// === Bean properties // === Bean properties
/** /**
* @return the checkPrimaryKeysAllRows * @return the checkPrimaryKeysAllRows
*/ */
public boolean isCheckPrimaryKeysAllRows() { public boolean isCheckPrimaryKeysAllRows() {
return checkPrimaryKeysAllRows; return checkPrimaryKeysAllRows;
} }
/** /**
* @param checkPrimaryKeysAllRows the checkPrimaryKeysAllRows to set * @param checkPrimaryKeysAllRows the checkPrimaryKeysAllRows to set
*/ */
@ -131,86 +132,94 @@ public class CrudDataContextImpl extends AbstractCrudDataContext implements Abst
this.checkPrimaryKeysAllRows = checkPrimaryKeysAllRows; this.checkPrimaryKeysAllRows = checkPrimaryKeysAllRows;
} }
// === Start wrapper to dataContextDelegate // === Start wrapper to dataContextDelegate
/** /**
* @see org.eobjects.metamodel.UpdateableDataContext#executeUpdate(org.eobjects.metamodel.UpdateScript) * @see org.eobjects.metamodel.UpdateableDataContext#executeUpdate(org.eobjects.metamodel.UpdateScript)
*/ */
@Override
public void executeUpdate(UpdateScript arg0) { public void executeUpdate(UpdateScript arg0) {
dataContextDelegate.executeUpdate(arg0); dataContextDelegate.executeUpdate(arg0);
} }
/** /**
* @see org.eobjects.metamodel.DataContext#getColumnByQualifiedLabel(java.lang.String) * @see org.eobjects.metamodel.DataContext#getColumnByQualifiedLabel(java.lang.String)
*/ */
@Override
public Column getColumnByQualifiedLabel(String arg0) { public Column getColumnByQualifiedLabel(String arg0) {
return dataContextDelegate.getColumnByQualifiedLabel(arg0); return dataContextDelegate.getColumnByQualifiedLabel(arg0);
} }
/** /**
* @see org.eobjects.metamodel.DataContext#getDefaultSchema() * @see org.eobjects.metamodel.DataContext#getDefaultSchema()
*/ */
@Override
public Schema getDefaultSchema() throws MetaModelException { public Schema getDefaultSchema() throws MetaModelException {
return dataContextDelegate.getDefaultSchema(); return dataContextDelegate.getDefaultSchema();
} }
/** /**
* @see org.eobjects.metamodel.DataContext#getSchemaByName(java.lang.String) * @see org.eobjects.metamodel.DataContext#getSchemaByName(java.lang.String)
*/ */
@Override
public Schema getSchemaByName(String arg0) throws MetaModelException { public Schema getSchemaByName(String arg0) throws MetaModelException {
return dataContextDelegate.getSchemaByName(arg0); return dataContextDelegate.getSchemaByName(arg0);
} }
/** /**
* @see org.eobjects.metamodel.DataContext#getSchemaNames() * @see org.eobjects.metamodel.DataContext#getSchemaNames()
*/ */
@Override
public String[] getSchemaNames() throws MetaModelException { public String[] getSchemaNames() throws MetaModelException {
return dataContextDelegate.getSchemaNames(); return dataContextDelegate.getSchemaNames();
} }
/** /**
* @see org.eobjects.metamodel.DataContext#getSchemas() * @see org.eobjects.metamodel.DataContext#getSchemas()
*/ */
@Override
public Schema[] getSchemas() throws MetaModelException { public Schema[] getSchemas() throws MetaModelException {
return dataContextDelegate.getSchemas(); return dataContextDelegate.getSchemas();
} }
/** /**
* @see org.eobjects.metamodel.DataContext#getTableByQualifiedLabel(java.lang.String) * @see org.eobjects.metamodel.DataContext#getTableByQualifiedLabel(java.lang.String)
*/ */
@Override
public Table getTableByQualifiedLabel(String arg0) { public Table getTableByQualifiedLabel(String arg0) {
return dataContextDelegate.getTableByQualifiedLabel(arg0); return dataContextDelegate.getTableByQualifiedLabel(arg0);
} }
/** /**
* @see org.eobjects.metamodel.DataContext#refreshSchemas() * @see org.eobjects.metamodel.DataContext#refreshSchemas()
*/ */
@Override
public DataContext refreshSchemas() { public DataContext refreshSchemas() {
return dataContextDelegate.refreshSchemas(); return dataContextDelegate.refreshSchemas();
} }
/** /**
* @see org.eobjects.metamodel.DataContext#parseQuery(java.lang.String) * @see org.eobjects.metamodel.DataContext#parseQuery(java.lang.String)
*/ */
@Override
public Query parseQuery(String queryString) throws MetaModelException { public Query parseQuery(String queryString) throws MetaModelException {
return dataContextDelegate.parseQuery(queryString); return dataContextDelegate.parseQuery(queryString);
} }
/** /**
* @see org.eobjects.metamodel.DataContext#executeQuery(java.lang.String) * @see org.eobjects.metamodel.DataContext#executeQuery(java.lang.String)
*/ */
@Override
public DataSet executeQuery(String queryString) throws MetaModelException { public DataSet executeQuery(String queryString) throws MetaModelException {
return dataContextDelegate.executeQuery(queryString); return dataContextDelegate.executeQuery(queryString);
} }
@Override
public CompiledQuery compileQuery(Query q) throws MetaModelException { public CompiledQuery compileQuery(Query q) throws MetaModelException {
return dataContextDelegate.compileQuery(q); return dataContextDelegate.compileQuery(q);
} }
@Override
public DataSet executeQuery(CompiledQuery cq, Object... args) { public DataSet executeQuery(CompiledQuery cq, Object... args) {
return dataContextDelegate.executeQuery(cq, args); return dataContextDelegate.executeQuery(cq, args);
} }

View file

@ -39,29 +39,35 @@ public class UpdateableRowMapImpl extends AbstractUpdateableRow {
// interface // interface
@Override
public Table getTable() { public Table getTable() {
return table; return table;
} }
@Override
public List<String> getPrimaryKeysList() { public List<String> getPrimaryKeysList() {
return primaryKeys; return primaryKeys;
} }
@Override
public void setValue(int index, Object value) throws IndexOutOfBoundsException { public void setValue(int index, Object value) throws IndexOutOfBoundsException {
if (index == UpdateableRow.INDEX_NOT_FOUND) { if (index == UpdateableRow.INDEX_NOT_FOUND) {
throw new IndexOutOfBoundsException("Can't save value without key index: "+UpdateableRow.INDEX_NOT_FOUND+" value:"+value); throw new IndexOutOfBoundsException("Can't save value without key index: "+UpdateableRow.INDEX_NOT_FOUND+" value:"+value);
} }
dataMap.put(index, value); dataMap.put(index, value);
} }
@Override
public Object getValue(int index) throws IndexOutOfBoundsException { public Object getValue(int index) throws IndexOutOfBoundsException {
return dataMap.get(index); return dataMap.get(index);
} }
@Override
public Row getSubSelection(SelectItem[] selectItems) { public Row getSubSelection(SelectItem[] selectItems) {
return getSubSelectionFromImpl(new UpdateableRowMapImpl(table,primaryKeys,selectItems),selectItems); return getSubSelectionFromImpl(new UpdateableRowMapImpl(table,primaryKeys,selectItems),selectItems);
} }
@Override
public Row getSubSelection(DataSetHeader header) { public Row getSubSelection(DataSetHeader header) {
return getSubSelection(header.getSelectItems()); return getSubSelection(header.getSelectItems());
} }

View file

@ -42,6 +42,7 @@ public class JndiDataContextObjectFactory implements ObjectFactory {
/** /**
* @see javax.naming.spi.ObjectFactory#getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable) * @see javax.naming.spi.ObjectFactory#getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)
*/ */
@Override
synchronized public Object getObjectInstance(Object obj, Name namePath, Context nameCtx,Hashtable<?, ?> env) throws Exception { synchronized public Object getObjectInstance(Object obj, Name namePath, Context nameCtx,Hashtable<?, ?> env) throws Exception {
// Create only once. // Create only once.

View file

@ -19,6 +19,7 @@ public class JndiDataContextProvider implements DataContextProvider {
/** /**
* Returns an DataContext object from the jndi tree. * Returns an DataContext object from the jndi tree.
*/ */
@Override
public DataContext getDataContext() { public DataContext getDataContext() {
try { try {
InitialContext context = new InitialContext(); InitialContext context = new InitialContext();

View file

@ -17,47 +17,73 @@ import org.eobjects.metamodel.schema.Table;
* @version 1.0 May 22, 2012 * @version 1.0 May 22, 2012
*/ */
public class JndiReadOnlyDataContext /* extends DataContextProxy */ implements DataContext { public class JndiReadOnlyDataContext /* extends DataContextProxy */ implements DataContext {
private DataContext proxyDataContext = null; private DataContext proxyDataContext = null;
public JndiReadOnlyDataContext(DataContext proxyDataContext) { public JndiReadOnlyDataContext(DataContext proxyDataContext) {
this.proxyDataContext=proxyDataContext; this.proxyDataContext=proxyDataContext;
} }
@Override
public DataSet executeQuery(Query arg0) throws MetaModelException { public DataSet executeQuery(Query arg0) throws MetaModelException {
return proxyDataContext.executeQuery(arg0); return proxyDataContext.executeQuery(arg0);
} }
@Override
public Column getColumnByQualifiedLabel(String arg0) { public Column getColumnByQualifiedLabel(String arg0) {
return proxyDataContext.getColumnByQualifiedLabel(arg0); return proxyDataContext.getColumnByQualifiedLabel(arg0);
} }
@Override
public Schema getDefaultSchema() throws MetaModelException { public Schema getDefaultSchema() throws MetaModelException {
return proxyDataContext.getDefaultSchema(); return proxyDataContext.getDefaultSchema();
} }
@Override
public Schema getSchemaByName(String arg0) throws MetaModelException { public Schema getSchemaByName(String arg0) throws MetaModelException {
return proxyDataContext.getSchemaByName(arg0); return proxyDataContext.getSchemaByName(arg0);
} }
@Override
public String[] getSchemaNames() throws MetaModelException { public String[] getSchemaNames() throws MetaModelException {
return proxyDataContext.getSchemaNames(); return proxyDataContext.getSchemaNames();
} }
@Override
public Schema[] getSchemas() throws MetaModelException { public Schema[] getSchemas() throws MetaModelException {
return proxyDataContext.getSchemas(); return proxyDataContext.getSchemas();
} }
@Override
public Table getTableByQualifiedLabel(String arg0) { public Table getTableByQualifiedLabel(String arg0) {
return proxyDataContext.getTableByQualifiedLabel(arg0); return proxyDataContext.getTableByQualifiedLabel(arg0);
} }
@Override
public InitFromBuilder query() { public InitFromBuilder query() {
return proxyDataContext.query(); return proxyDataContext.query();
} }
@Override
public DataContext refreshSchemas() { public DataContext refreshSchemas() {
return proxyDataContext.refreshSchemas(); return proxyDataContext.refreshSchemas();
} }
@Override
public Query parseQuery(String queryString) throws MetaModelException { public Query parseQuery(String queryString) throws MetaModelException {
return proxyDataContext.parseQuery(queryString); return proxyDataContext.parseQuery(queryString);
} }
@Override
public DataSet executeQuery(String queryString) throws MetaModelException { public DataSet executeQuery(String queryString) throws MetaModelException {
return proxyDataContext.executeQuery(queryString); return proxyDataContext.executeQuery(queryString);
} }
@Override @Override
public CompiledQuery compileQuery(Query q) throws MetaModelException { public CompiledQuery compileQuery(Query q) throws MetaModelException {
return proxyDataContext.compileQuery(q); return proxyDataContext.compileQuery(q);
} }
@Override @Override
public DataSet executeQuery(CompiledQuery cq, Object... args) { public DataSet executeQuery(CompiledQuery cq, Object... args) {
return proxyDataContext.executeQuery(cq, args); return proxyDataContext.executeQuery(cq, args);

View file

@ -22,6 +22,7 @@ public class JndiCsvDataContextLoader implements JndiDataContextLoader {
setUseUrlSource(useUrlSource); setUseUrlSource(useUrlSource);
} }
@Override
public DataContext loadDataContext(JndiDataContextLoaderConfig config) { public DataContext loadDataContext(JndiDataContextLoaderConfig config) {
if (useUrlSource) { if (useUrlSource) {
return new CsvDataContext(config.checkBackendUrl(),createCsvConfig(config.getBackendParameters())); return new CsvDataContext(config.checkBackendUrl(),createCsvConfig(config.getBackendParameters()));

View file

@ -26,6 +26,7 @@ public class JndiJdbcDataContextLoader implements JndiDataContextLoader {
setUseDataSource(useDataSource); setUseDataSource(useDataSource);
} }
@Override
public DataContext loadDataContext(JndiDataContextLoaderConfig config) { public DataContext loadDataContext(JndiDataContextLoaderConfig config) {
if (useDataSource) { if (useDataSource) {
if (config.getBackendUrl()==null) { if (config.getBackendUrl()==null) {

View file

@ -29,6 +29,7 @@ public class JndiMongodbDataContextLoader implements JndiDataContextLoader {
setUseJndiResource(useJndiResource); setUseJndiResource(useJndiResource);
} }
@Override
public DataContext loadDataContext(JndiDataContextLoaderConfig config) { public DataContext loadDataContext(JndiDataContextLoaderConfig config) {
//MongoDbDataContextBean result = null; //MongoDbDataContextBean result = null;
DB mongoDb = null; DB mongoDb = null;

View file

@ -19,6 +19,7 @@ public class JndiXmlDomDataContextLoader implements JndiDataContextLoader {
setUseUrlSource(useUrlSource); setUseUrlSource(useUrlSource);
} }
@Override
public DataContext loadDataContext(JndiDataContextLoaderConfig config) { public DataContext loadDataContext(JndiDataContextLoaderConfig config) {
boolean autoFlattenTables = true; boolean autoFlattenTables = true;
if ("false".equalsIgnoreCase(config.getBackendParameters().get("autoFlattenTables"))) { if ("false".equalsIgnoreCase(config.getBackendParameters().get("autoFlattenTables"))) {

View file

@ -29,12 +29,14 @@ public class JndiXmlSaxDataContextLoader implements JndiDataContextLoader {
setUseUrlSource(useUrlSource); setUseUrlSource(useUrlSource);
} }
@Override
public DataContext loadDataContext(JndiDataContextLoaderConfig config) { public DataContext loadDataContext(JndiDataContextLoaderConfig config) {
List<XmlSaxTableDef> tableSchemas = createXmlSaxConfig(config.getJndiObjectName(),config.getBackendParameters()); List<XmlSaxTableDef> tableSchemas = createXmlSaxConfig(config.getJndiObjectName(),config.getBackendParameters());
XmlSaxTableDef[] args = new XmlSaxTableDef[tableSchemas.size()]; XmlSaxTableDef[] args = new XmlSaxTableDef[tableSchemas.size()];
if (useUrlSource) { if (useUrlSource) {
final URL url = config.checkBackendUrl(); final URL url = config.checkBackendUrl();
return new XmlSaxDataContext(new Ref<InputSource>() { // TODO: missing constructor in XmlSaxDataContext return new XmlSaxDataContext(new Ref<InputSource>() { // TODO: missing constructor in XmlSaxDataContext
@Override
public InputSource get() { public InputSource get() {
InputStream in = null; InputStream in = null;
try { try {

View file

@ -21,6 +21,7 @@ public class SwingLoadTest {
CsvDataContext dataContext = new CsvDataContext(tmpFile); CsvDataContext dataContext = new CsvDataContext(tmpFile);
final Schema schema = dataContext.getDefaultSchema(); final Schema schema = dataContext.getDefaultSchema();
dataContext.executeUpdate(new UpdateScript() { dataContext.executeUpdate(new UpdateScript() {
@Override
public void run(UpdateCallback cb) { public void run(UpdateCallback cb) {
MutableRef<Table> tableRef = new MutableRef<Table>(); MutableRef<Table> tableRef = new MutableRef<Table>();
table = cb.createTable(schema, "table").withColumn("column").execute(); table = cb.createTable(schema, "table").withColumn("column").execute();

View file

@ -1,6 +1,7 @@
package net.forwardfire.vasc.backend.metamodel.crud; package net.forwardfire.vasc.backend.metamodel.crud;
import java.io.File; import java.io.File;
import org.eobjects.metamodel.DataContext; import org.eobjects.metamodel.DataContext;
import org.eobjects.metamodel.UpdateCallback; import org.eobjects.metamodel.UpdateCallback;
import org.eobjects.metamodel.UpdateScript; import org.eobjects.metamodel.UpdateScript;
@ -11,6 +12,7 @@ import org.eobjects.metamodel.data.Row;
import org.eobjects.metamodel.schema.Schema; import org.eobjects.metamodel.schema.Schema;
import org.eobjects.metamodel.schema.Table; import org.eobjects.metamodel.schema.Table;
import org.eobjects.metamodel.util.MutableRef; import org.eobjects.metamodel.util.MutableRef;
import junit.framework.TestCase; import junit.framework.TestCase;
public class CrudContextTest extends TestCase { public class CrudContextTest extends TestCase {
@ -24,6 +26,7 @@ public class CrudContextTest extends TestCase {
final Schema schema = dataContext.getDefaultSchema(); final Schema schema = dataContext.getDefaultSchema();
final MutableRef<Table> tableRef = new MutableRef<Table>(); final MutableRef<Table> tableRef = new MutableRef<Table>();
dataContext.executeUpdate(new UpdateScript() { dataContext.executeUpdate(new UpdateScript() {
@Override
public void run(UpdateCallback cb) { public void run(UpdateCallback cb) {
Table table = null; Table table = null;
int idx = 0; int idx = 0;

View file

@ -49,6 +49,7 @@ public class MongodbConnectionProviderImpl implements MongodbConnectionProvider
protected static Mongo mongo = null; protected static Mongo mongo = null;
protected static DB db = null; protected static DB db = null;
@Override
public DB getMongodbConnection() { public DB getMongodbConnection() {
if (db!=null) { if (db!=null) {
return db; return db;

View file

@ -106,6 +106,7 @@ public class MongodbVascBackend extends AbstractVascBackend<BasicDBObject> {
return query; return query;
} }
@Override
public VascBackendResult<BasicDBObject> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<BasicDBObject> execute(VascBackendState state) throws VascBackendException {
DBCollection coll = getDBCollection(); DBCollection coll = getDBCollection();
DBObject query = createFilterQuery(state); DBObject query = createFilterQuery(state);
@ -122,11 +123,13 @@ public class MongodbVascBackend extends AbstractVascBackend<BasicDBObject> {
return new DefaultVascBackendResult<BasicDBObject>(result); return new DefaultVascBackendResult<BasicDBObject>(result);
} }
@Override
public void persist(BasicDBObject object) throws VascBackendException { public void persist(BasicDBObject object) throws VascBackendException {
DBCollection coll = getDBCollection(); DBCollection coll = getDBCollection();
coll.insert(object); coll.insert(object);
} }
@Override
public BasicDBObject merge(BasicDBObject row) throws VascBackendException { public BasicDBObject merge(BasicDBObject row) throws VascBackendException {
DBCollection coll = getDBCollection(); DBCollection coll = getDBCollection();
DBObject query = new BasicDBObject(); DBObject query = new BasicDBObject();
@ -136,6 +139,7 @@ public class MongodbVascBackend extends AbstractVascBackend<BasicDBObject> {
return row; return row;
} }
@Override
public void delete(BasicDBObject object) throws VascBackendException { public void delete(BasicDBObject object) throws VascBackendException {
DBCollection coll = getDBCollection(); DBCollection coll = getDBCollection();
DBObject query = new BasicDBObject(); DBObject query = new BasicDBObject();
@ -143,10 +147,12 @@ public class MongodbVascBackend extends AbstractVascBackend<BasicDBObject> {
coll.remove(query); // remove by _id coll.remove(query); // remove by _id
} }
@Override
public MongodbVascEntryFieldValue provideVascEntryFieldValue() { public MongodbVascEntryFieldValue provideVascEntryFieldValue() {
return new MongodbVascEntryFieldValue(); return new MongodbVascEntryFieldValue();
} }
@Override
public VascEntryRecordCreator<BasicDBObject> provideVascEntryRecordCreator() { public VascEntryRecordCreator<BasicDBObject> provideVascEntryRecordCreator() {
return new MongodbVascEntryRecordCreator(); return new MongodbVascEntryRecordCreator();
} }

View file

@ -39,15 +39,18 @@ public class MongodbVascEntryFieldValue implements VascEntryFieldValue<BasicDBOb
private static final long serialVersionUID = -7371273796529818557L; private static final long serialVersionUID = -7371273796529818557L;
@Override
public Serializable getValue(String backendName, BasicDBObject row) throws VascBackendException { public Serializable getValue(String backendName, BasicDBObject row) throws VascBackendException {
Serializable data = (Serializable) row.get(backendName); Serializable data = (Serializable) row.get(backendName);
return data; return data;
} }
@Override
public String getDisplayValue(String field, BasicDBObject row) throws VascBackendException { public String getDisplayValue(String field, BasicDBObject row) throws VascBackendException {
return ""+getValue(field,row); return ""+getValue(field,row);
} }
@Override
public void setValue(String backendName, BasicDBObject row, Serializable value) throws VascBackendException { public void setValue(String backendName, BasicDBObject row, Serializable value) throws VascBackendException {
row.put(backendName, value); row.put(backendName, value);
} }

View file

@ -38,6 +38,7 @@ public class MongodbVascEntryRecordCreator implements VascEntryRecordCreator<Bas
private static final long serialVersionUID = -9213830731796787384L; private static final long serialVersionUID = -9213830731796787384L;
@Override
public BasicDBObject newRecord() throws VascBackendException { public BasicDBObject newRecord() throws VascBackendException {
return new BasicDBObject(); return new BasicDBObject();
} }

View file

@ -53,6 +53,7 @@ public class VascChoicesSelectItemModel implements VascSelectItemModel,Serializa
/** /**
* @see net.forwardfire.vasc.core.ui.VascSelectItemModel#getVascSelectItems(net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.ui.VascSelectItemModel#getVascSelectItems(net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public List<VascSelectItem> getVascSelectItems(net.forwardfire.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) {
@ -104,6 +105,7 @@ public class VascChoicesSelectItemModel implements VascSelectItemModel,Serializa
/** /**
* @return the nullLabel * @return the nullLabel
*/ */
@Override
public String getNullLabel() { public String getNullLabel() {
return nullLabel; return nullLabel;
} }
@ -111,6 +113,7 @@ public class VascChoicesSelectItemModel implements VascSelectItemModel,Serializa
/** /**
* @param nullLabel the nullLabel to set * @param nullLabel the nullLabel to set
*/ */
@Override
public void setNullLabel(String nullLabel) { public void setNullLabel(String nullLabel) {
this.nullLabel = nullLabel; this.nullLabel = nullLabel;
} }
@ -118,6 +121,7 @@ public class VascChoicesSelectItemModel implements VascSelectItemModel,Serializa
/** /**
* @return the nullKeyValue * @return the nullKeyValue
*/ */
@Override
public String getNullKeyValue() { public String getNullKeyValue() {
return nullKeyValue; return nullKeyValue;
} }
@ -125,6 +129,7 @@ public class VascChoicesSelectItemModel implements VascSelectItemModel,Serializa
/** /**
* @param nullKeyValue the nullKeyValue to set * @param nullKeyValue the nullKeyValue to set
*/ */
@Override
public void setNullKeyValue(String nullKeyValue) { public void setNullKeyValue(String nullKeyValue) {
this.nullKeyValue = nullKeyValue; this.nullKeyValue = nullKeyValue;
} }

View file

@ -44,11 +44,13 @@ abstract public class AbstractVascBackendProxy implements VascBackendProxy {
protected VascBackend<Serializable> backend = null; protected VascBackend<Serializable> backend = null;
protected VascEntry entry = null; protected VascEntry entry = null;
@Override
abstract public VascBackendProxy clone() throws CloneNotSupportedException; abstract public VascBackendProxy clone() throws CloneNotSupportedException;
/** /**
* @see net.forwardfire.vasc.backend.proxy.VascBackendProxy#initProxy(net.forwardfire.vasc.backend.VascBackend, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.backend.proxy.VascBackendProxy#initProxy(net.forwardfire.vasc.backend.VascBackend, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void initProxy(VascBackend<Serializable> backend, VascEntry entry) { public void initProxy(VascBackend<Serializable> backend, VascEntry entry) {
if (backend==null) { if (backend==null) {
throw new NullPointerException("backend object may not be null."); throw new NullPointerException("backend object may not be null.");
@ -59,38 +61,43 @@ abstract public class AbstractVascBackendProxy implements VascBackendProxy {
this.backend=backend; this.backend=backend;
this.entry=entry; this.entry=entry;
} }
/** /**
* @see net.forwardfire.vasc.backend.proxy.VascBackendProxy#isProxyNeeded() * @see net.forwardfire.vasc.backend.proxy.VascBackendProxy#isProxyNeeded()
*/ */
@Override
public boolean isProxyNeeded() { public boolean isProxyNeeded() {
return true; return true;
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#startBackend() * @see net.forwardfire.vasc.backend.VascBackend#startBackend()
*/ */
@Override
public void startBackend() { public void startBackend() {
backend.startBackend(); backend.startBackend();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#stopBackend() * @see net.forwardfire.vasc.backend.VascBackend#stopBackend()
*/ */
@Override
public void stopBackend() { public void stopBackend() {
backend.stopBackend(); backend.stopBackend();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isReadOnly() * @see net.forwardfire.vasc.backend.VascBackend#isReadOnly()
*/ */
@Override
public boolean isReadOnly() { public boolean isReadOnly() {
return backend.isReadOnly(); return backend.isReadOnly();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state) * @see net.forwardfire.vasc.backend.VascBackend#fetchTotalExecuteSize(VascBackendState state)
*/ */
@Override
public long fetchTotalExecuteSize(VascBackendState state) { public long fetchTotalExecuteSize(VascBackendState state) {
return backend.fetchTotalExecuteSize(state); return backend.fetchTotalExecuteSize(state);
} }
@ -98,21 +105,24 @@ abstract public class AbstractVascBackendProxy implements VascBackendProxy {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isSortable() * @see net.forwardfire.vasc.backend.VascBackend#isSortable()
*/ */
@Override
public boolean isSortable() { public boolean isSortable() {
return backend.isSortable(); return backend.isSortable();
} }
/** /**
* @throws Exception * @throws Exception
* @see net.forwardfire.vasc.backend.VascBackend#execute(VascBackendState state) * @see net.forwardfire.vasc.backend.VascBackend#execute(VascBackendState state)
*/ */
@Override
public VascBackendResult<Serializable> execute(VascBackendState state) throws VascBackendException { public VascBackendResult<Serializable> execute(VascBackendState state) throws VascBackendException {
return backend.execute(state); return backend.execute(state);
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#delete(java.lang.Object)
*/ */
@Override
public void delete(Serializable object) throws VascBackendException { public void delete(Serializable object) throws VascBackendException {
backend.delete(object); backend.delete(object);
} }
@ -120,48 +130,55 @@ abstract public class AbstractVascBackendProxy implements VascBackendProxy {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isPageable() * @see net.forwardfire.vasc.backend.VascBackend#isPageable()
*/ */
@Override
public boolean isPageable() { public boolean isPageable() {
return backend.isPageable(); return backend.isPageable();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isSearchable() * @see net.forwardfire.vasc.backend.VascBackend#isSearchable()
*/ */
@Override
public boolean isSearchable() { public boolean isSearchable() {
return backend.isSearchable(); return backend.isSearchable();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#merge(java.lang.Object)
*/ */
@Override
public Serializable merge(Serializable object) throws VascBackendException { public Serializable merge(Serializable object) throws VascBackendException {
return backend.merge(object); return backend.merge(object);
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object) * @see net.forwardfire.vasc.backend.VascBackend#persist(java.lang.Object)
*/ */
@Override
public void persist(Serializable object) throws VascBackendException { public void persist(Serializable object) throws VascBackendException {
backend.persist(object); backend.persist(object);
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryFieldValue()
*/ */
@Override
public VascEntryFieldValue<Serializable> provideVascEntryFieldValue() { public VascEntryFieldValue<Serializable> provideVascEntryFieldValue() {
return backend.provideVascEntryFieldValue(); return backend.provideVascEntryFieldValue();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator() * @see net.forwardfire.vasc.backend.VascBackend#provideVascEntryRecordCreator()
*/ */
@Override
public VascEntryRecordCreator<Serializable> provideVascEntryRecordCreator() { public VascEntryRecordCreator<Serializable> provideVascEntryRecordCreator() {
return backend.provideVascEntryRecordCreator(); return backend.provideVascEntryRecordCreator();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#getId() * @see net.forwardfire.vasc.backend.VascBackend#getId()
*/ */
@Override
public String getId() { public String getId() {
return backend.getId(); return backend.getId();
} }
@ -169,55 +186,63 @@ abstract public class AbstractVascBackendProxy implements VascBackendProxy {
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#setId(java.lang.String) * @see net.forwardfire.vasc.backend.VascBackend#setId(java.lang.String)
*/ */
@Override
public void setId(String id) { public void setId(String id) {
backend.setId(id); backend.setId(id);
} }
/** /**
* @see net.forwardfire.vasc.core.VascBackend#doRecordMoveDownById(VascBackendState state,java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#doRecordMoveDownById(VascBackendState state,java.lang.Object)
*/ */
@Override
public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascBackendException { public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascBackendException {
return backend.doRecordMoveDownById(state,primaryId); return backend.doRecordMoveDownById(state,primaryId);
} }
/** /**
* @see net.forwardfire.vasc.core.VascBackend#doRecordMoveUpById(VascBackendState state,java.lang.Object) * @see net.forwardfire.vasc.core.VascBackend#doRecordMoveUpById(VascBackendState state,java.lang.Object)
*/ */
@Override
public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascBackendException { public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascBackendException {
return backend.doRecordMoveUpById(state,primaryId); return backend.doRecordMoveUpById(state,primaryId);
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#isRecordMoveable() * @see net.forwardfire.vasc.backend.VascBackend#isRecordMoveable()
*/ */
@Override
public boolean isRecordMoveable() { public boolean isRecordMoveable() {
return backend.isRecordMoveable(); return backend.isRecordMoveable();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#executePageSummary() * @see net.forwardfire.vasc.backend.VascBackend#executePageSummary()
*/ */
@Override
public Map<String, Object> executePageSummary() { public Map<String, Object> executePageSummary() {
return backend.executePageSummary(); return backend.executePageSummary();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#executeTotalSummary() * @see net.forwardfire.vasc.backend.VascBackend#executeTotalSummary()
*/ */
@Override
public Map<String, Object> executeTotalSummary() { public Map<String, Object> executeTotalSummary() {
return backend.executeTotalSummary(); return backend.executeTotalSummary();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#hasPageSummary() * @see net.forwardfire.vasc.backend.VascBackend#hasPageSummary()
*/ */
@Override
public boolean hasPageSummary() { public boolean hasPageSummary() {
return backend.hasPageSummary(); return backend.hasPageSummary();
} }
/** /**
* @see net.forwardfire.vasc.backend.VascBackend#hasTotalSummary() * @see net.forwardfire.vasc.backend.VascBackend#hasTotalSummary()
*/ */
@Override
public boolean hasTotalSummary() { public boolean hasTotalSummary() {
return backend.hasTotalSummary(); return backend.hasTotalSummary();
} }

View file

@ -53,6 +53,7 @@ public class VascBackendProxyEventExecutor extends AbstractVascBackendProxy {
return result; return result;
} }
@Override
public void initProxy(VascBackend<Serializable> backend,VascEntry entry) { public void initProxy(VascBackend<Serializable> backend,VascEntry entry) {
super.initProxy(backend, entry); super.initProxy(backend, entry);
this.entry=entry; this.entry=entry;

View file

@ -56,6 +56,7 @@ public class VascBackendProxyFilter extends AbstractVascBackendProxy {
/** /**
* @see net.forwardfire.vasc.backend.proxy.VascBackendProxy#initProxy(net.forwardfire.vasc.backend.VascBackend, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.backend.proxy.VascBackendProxy#initProxy(net.forwardfire.vasc.backend.VascBackend, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void initProxy(VascBackend<Serializable> backend, VascEntry entry) { public void initProxy(VascBackend<Serializable> backend, VascEntry entry) {
super.initProxy(backend,entry); super.initProxy(backend,entry);
filters = entry.getVascBackendFilters(); filters = entry.getVascBackendFilters();

View file

@ -83,6 +83,7 @@ public class VascBackendProxySort extends AbstractVascBackendProxy {
final VascEntryFieldValue<Serializable> fieldValue = backend.provideVascEntryFieldValue(); final VascEntryFieldValue<Serializable> fieldValue = backend.provideVascEntryFieldValue();
Collections.sort(result.getPageData(), new Comparator<Serializable>() { Collections.sort(result.getPageData(), new Comparator<Serializable>() {
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
@Override
public int compare(Serializable o1, Serializable o2) { public int compare(Serializable o1, Serializable o2) {
try { try {
Comparable c1 = null; Comparable c1 = null;

View file

@ -41,6 +41,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @return the vascEntryConfigController * @return the vascEntryConfigController
*/ */
@Override
public VascEntryConfigController getVascEntryConfigController() { public VascEntryConfigController getVascEntryConfigController() {
return vascEntryConfigController; return vascEntryConfigController;
} }
@ -48,6 +49,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @param vascEntryConfigController the vascEntryConfigController to set * @param vascEntryConfigController the vascEntryConfigController to set
*/ */
@Override
public void setVascEntryConfigController(VascEntryConfigController vascEntryConfigController) { public void setVascEntryConfigController(VascEntryConfigController vascEntryConfigController) {
this.vascEntryConfigController = vascEntryConfigController; this.vascEntryConfigController = vascEntryConfigController;
} }
@ -55,6 +57,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @return the vascEventChannelController * @return the vascEventChannelController
*/ */
@Override
public VascEventChannelController getVascEventChannelController() { public VascEventChannelController getVascEventChannelController() {
return vascEventChannelController; return vascEventChannelController;
} }
@ -62,6 +65,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @param vascEventChannelController the vascEventChannelController to set * @param vascEventChannelController the vascEventChannelController to set
*/ */
@Override
public void setVascEventChannelController(VascEventChannelController vascEventChannelController) { public void setVascEventChannelController(VascEventChannelController vascEventChannelController) {
this.vascEventChannelController = vascEventChannelController; this.vascEventChannelController = vascEventChannelController;
} }
@ -69,6 +73,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @return the vascBackendController * @return the vascBackendController
*/ */
@Override
public VascBackendController getVascBackendController() { public VascBackendController getVascBackendController() {
return vascBackendController; return vascBackendController;
} }
@ -76,6 +81,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @param vascBackendController the vascBackendController to set * @param vascBackendController the vascBackendController to set
*/ */
@Override
public void setVascBackendController(VascBackendController vascBackendController) { public void setVascBackendController(VascBackendController vascBackendController) {
this.vascBackendController = vascBackendController; this.vascBackendController = vascBackendController;
} }
@ -83,6 +89,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @return the vascEntryController * @return the vascEntryController
*/ */
@Override
public VascEntryController getVascEntryController() { public VascEntryController getVascEntryController() {
return vascEntryController; return vascEntryController;
} }
@ -90,6 +97,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @param vascEntryController the vascEntryController to set * @param vascEntryController the vascEntryController to set
*/ */
@Override
public void setVascEntryController(VascEntryController vascEntryController) { public void setVascEntryController(VascEntryController vascEntryController) {
this.vascEntryController = vascEntryController; this.vascEntryController = vascEntryController;
} }
@ -97,6 +105,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @return the vascEntryFieldController * @return the vascEntryFieldController
*/ */
@Override
public VascEntryFieldTypeController getVascEntryFieldTypeController() { public VascEntryFieldTypeController getVascEntryFieldTypeController() {
return vascEntryFieldTypeController; return vascEntryFieldTypeController;
} }
@ -104,6 +113,7 @@ abstract public class AbstractVascControllerLocal implements VascControllerLocal
/** /**
* @param vascEntryFieldController the vascEntryFieldController to set * @param vascEntryFieldController the vascEntryFieldController to set
*/ */
@Override
public void setVascEntryFieldTypeController(VascEntryFieldTypeController vascEntryFieldTypeController) { public void setVascEntryFieldTypeController(VascEntryFieldTypeController vascEntryFieldTypeController) {
this.vascEntryFieldTypeController = vascEntryFieldTypeController; this.vascEntryFieldTypeController = vascEntryFieldTypeController;
} }

View file

@ -47,6 +47,7 @@ abstract public class AbstractVascEntryControllerLocal implements VascEntryContr
/** /**
* @see net.forwardfire.vasc.core.VascEntryControllerLocal#addVascEntry(net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryControllerLocal#addVascEntry(net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void addVascEntry(VascEntryLocal entry) { public void addVascEntry(VascEntryLocal entry) {
if (entry==null) { if (entry==null) {
throw new NullPointerException("Can't add null VascEntry."); throw new NullPointerException("Can't add null VascEntry.");
@ -60,6 +61,7 @@ abstract public class AbstractVascEntryControllerLocal implements VascEntryContr
/** /**
* @see net.forwardfire.vasc.core.VascEntryControllerLocal#removeVascEntry(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryControllerLocal#removeVascEntry(java.lang.String)
*/ */
@Override
public void removeVascEntry(String entryId) { public void removeVascEntry(String entryId) {
entries.remove(entryId); entries.remove(entryId);
} }
@ -67,6 +69,7 @@ abstract public class AbstractVascEntryControllerLocal implements VascEntryContr
/** /**
* @see net.forwardfire.vasc.core.VascEntryController#getVascEntryById(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryController#getVascEntryById(java.lang.String)
*/ */
@Override
public VascEntry getVascEntryById(String id) { public VascEntry getVascEntryById(String id) {
VascEntryLocal entry = entries.get(id); VascEntryLocal entry = entries.get(id);
if (entry==null) { if (entry==null) {
@ -82,6 +85,7 @@ abstract public class AbstractVascEntryControllerLocal implements VascEntryContr
/** /**
* @see net.forwardfire.vasc.core.VascEntryControllerLocal#getMasterVascEntryById(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryControllerLocal#getMasterVascEntryById(java.lang.String)
*/ */
@Override
public VascEntryLocal getMasterVascEntryById(String entryId) { public VascEntryLocal getMasterVascEntryById(String entryId) {
VascEntryLocal entry = entries.get(entryId); VascEntryLocal entry = entries.get(entryId);
return entry; return entry;
@ -90,6 +94,7 @@ abstract public class AbstractVascEntryControllerLocal implements VascEntryContr
/** /**
* @see net.forwardfire.vasc.core.VascEntryController#getVascEntryIds() * @see net.forwardfire.vasc.core.VascEntryController#getVascEntryIds()
*/ */
@Override
public List<String> getVascEntryIds() { public List<String> getVascEntryIds() {
List<String> result = new ArrayList<String>(entries.keySet()); List<String> result = new ArrayList<String>(entries.keySet());
Collections.sort(result); // lets do abc for consistance behauvior. Collections.sort(result); // lets do abc for consistance behauvior.

View file

@ -101,20 +101,20 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
clone.setGraphable(getGraphable()); clone.setGraphable(getGraphable());
} }
@Override
public VascEntry getVascEntry() { public VascEntry getVascEntry() {
return vascEntry; return vascEntry;
} }
@Override
public void setVascEntry(VascEntry vascEntry) { public void setVascEntry(VascEntry vascEntry) {
this.vascEntry=vascEntry; this.vascEntry=vascEntry;
} }
/** /**
* @return the vascEntryFieldType * @return the vascEntryFieldType
*/ */
@Override
public VascEntryFieldType getVascEntryFieldType() { public VascEntryFieldType getVascEntryFieldType() {
return vascEntryFieldType; return vascEntryFieldType;
} }
@ -122,6 +122,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param vascEntryFieldType the vascEntryFieldType to set * @param vascEntryFieldType the vascEntryFieldType to set
*/ */
@Override
public void setVascEntryFieldType(VascEntryFieldType vascEntryFieldType) { public void setVascEntryFieldType(VascEntryFieldType vascEntryFieldType) {
this.vascEntryFieldType = vascEntryFieldType; this.vascEntryFieldType = vascEntryFieldType;
} }
@ -129,6 +130,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the backendName * @return the backendName
*/ */
@Override
public String getBackendName() { public String getBackendName() {
return backendName; return backendName;
} }
@ -136,6 +138,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param backendName the backendName to set * @param backendName the backendName to set
*/ */
@Override
public void setBackendName(String backendName) { public void setBackendName(String backendName) {
this.backendName = backendName; this.backendName = backendName;
} }
@ -143,6 +146,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the vascEntryFieldValue * @return the vascEntryFieldValue
*/ */
@Override
public VascEntryFieldValue<Serializable> getVascEntryFieldValue() { public VascEntryFieldValue<Serializable> getVascEntryFieldValue() {
return vascEntryFieldValue; return vascEntryFieldValue;
} }
@ -150,6 +154,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param vascEntryFieldValue the vascEntryFieldValue to set * @param vascEntryFieldValue the vascEntryFieldValue to set
*/ */
@Override
public void setVascEntryFieldValue(VascEntryFieldValue<Serializable> vascEntryFieldValue) { public void setVascEntryFieldValue(VascEntryFieldValue<Serializable> vascEntryFieldValue) {
this.vascEntryFieldValue = vascEntryFieldValue; this.vascEntryFieldValue = vascEntryFieldValue;
} }
@ -157,6 +162,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the vascValidators * @return the vascValidators
*/ */
@Override
public List<VascValidator> getVascValidators() { public List<VascValidator> getVascValidators() {
return vascValidators; return vascValidators;
} }
@ -164,6 +170,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param vascValidators the vascValidators to add * @param vascValidators the vascValidators to add
*/ */
@Override
public void addVascValidator(VascValidator vascValidator) { public void addVascValidator(VascValidator vascValidator) {
this.vascValidators.add(vascValidator); this.vascValidators.add(vascValidator);
} }
@ -171,6 +178,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param vascValidators the vascValidators to remove * @param vascValidators the vascValidators to remove
*/ */
@Override
public void removeVascValidator(VascValidator vascValidator) { public void removeVascValidator(VascValidator vascValidator) {
this.vascValidators.remove(vascValidator); this.vascValidators.remove(vascValidator);
} }
@ -179,6 +187,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the defaultValue * @return the defaultValue
*/ */
@Override
public Serializable getDefaultValue() { public Serializable getDefaultValue() {
return defaultValue; return defaultValue;
} }
@ -186,6 +195,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param defaultValue the defaultValue to set * @param defaultValue the defaultValue to set
*/ */
@Override
public void setDefaultValue(Serializable defaultValue) { public void setDefaultValue(Serializable defaultValue) {
this.defaultValue = defaultValue; this.defaultValue = defaultValue;
} }
@ -193,6 +203,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the sizeList * @return the sizeList
*/ */
@Override
public Integer getSizeList() { public Integer getSizeList() {
return sizeList; return sizeList;
} }
@ -200,6 +211,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param sizeList the sizeList to set * @param sizeList the sizeList to set
*/ */
@Override
public void setSizeList(Integer sizeList) { public void setSizeList(Integer sizeList) {
this.sizeList = sizeList; this.sizeList = sizeList;
} }
@ -207,6 +219,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the sizeEdit * @return the sizeEdit
*/ */
@Override
public Integer getSizeEdit() { public Integer getSizeEdit() {
return sizeEdit; return sizeEdit;
} }
@ -214,6 +227,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param sizeEdit the sizeEdit to set * @param sizeEdit the sizeEdit to set
*/ */
@Override
public void setSizeEdit(Integer sizeEdit) { public void setSizeEdit(Integer sizeEdit) {
this.sizeEdit = sizeEdit; this.sizeEdit = sizeEdit;
} }
@ -221,6 +235,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the styleList * @return the styleList
*/ */
@Override
public String getStyleList() { public String getStyleList() {
return styleList; return styleList;
} }
@ -228,6 +243,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param styleList the styleList to set * @param styleList the styleList to set
*/ */
@Override
public void setStyleList(String styleList) { public void setStyleList(String styleList) {
this.styleList = styleList; this.styleList = styleList;
} }
@ -235,6 +251,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the styleEdit * @return the styleEdit
*/ */
@Override
public String getStyleEdit() { public String getStyleEdit() {
return styleEdit; return styleEdit;
} }
@ -242,6 +259,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param styleEdit the styleEdit to set * @param styleEdit the styleEdit to set
*/ */
@Override
public void setStyleEdit(String styleEdit) { public void setStyleEdit(String styleEdit) {
this.styleEdit = styleEdit; this.styleEdit = styleEdit;
} }
@ -249,6 +267,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the choices * @return the choices
*/ */
@Override
public String getChoices() { public String getChoices() {
return choices; return choices;
} }
@ -256,6 +275,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param choices the choices to set * @param choices the choices to set
*/ */
@Override
public void setChoices(String choices) { public void setChoices(String choices) {
this.choices = choices; this.choices = choices;
} }
@ -264,6 +284,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the optional * @return the optional
*/ */
@Override
public Boolean getOptional() { public Boolean getOptional() {
return optional; return optional;
} }
@ -271,15 +292,15 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param optional the optional to set * @param optional the optional to set
*/ */
@Override
public void setOptional(Boolean optional) { public void setOptional(Boolean optional) {
this.optional = optional; this.optional = optional;
} }
/** /**
* @return the choicesAsRadio * @return the choicesAsRadio
*/ */
@Override
public Boolean getChoicesAsRadio() { public Boolean getChoicesAsRadio() {
return choicesAsRadio; return choicesAsRadio;
} }
@ -287,6 +308,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param choicesAsRadio the choicesAsRadio to set * @param choicesAsRadio the choicesAsRadio to set
*/ */
@Override
public void setChoicesAsRadio(Boolean choicesAsRadio) { public void setChoicesAsRadio(Boolean choicesAsRadio) {
this.choicesAsRadio = choicesAsRadio; this.choicesAsRadio = choicesAsRadio;
} }
@ -294,6 +316,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the editBlank * @return the editBlank
*/ */
@Override
public Boolean getEditBlank() { public Boolean getEditBlank() {
return editBlank; return editBlank;
} }
@ -301,6 +324,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param editBlank the editBlank to set * @param editBlank the editBlank to set
*/ */
@Override
public void setEditBlank(Boolean editBlank) { public void setEditBlank(Boolean editBlank) {
this.editBlank = editBlank; this.editBlank = editBlank;
} }
@ -308,6 +332,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the displayName * @return the displayName
*/ */
@Override
public String getDisplayName() { public String getDisplayName() {
return displayName; return displayName;
} }
@ -315,6 +340,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param displayName the displayName to set * @param displayName the displayName to set
*/ */
@Override
public void setDisplayName(String displayName) { public void setDisplayName(String displayName) {
this.displayName = displayName; this.displayName = displayName;
} }
@ -322,6 +348,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the sortable * @return the sortable
*/ */
@Override
public Boolean getSortable() { public Boolean getSortable() {
return sortable; return sortable;
} }
@ -329,6 +356,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param sortable the sortable to set * @param sortable the sortable to set
*/ */
@Override
public void setSortable(Boolean sortable) { public void setSortable(Boolean sortable) {
this.sortable = sortable; this.sortable = sortable;
} }
@ -336,6 +364,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the sumable * @return the sumable
*/ */
@Override
public Boolean getSumable() { public Boolean getSumable() {
return sumable; return sumable;
} }
@ -343,6 +372,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param sumable the sumable to set * @param sumable the sumable to set
*/ */
@Override
public void setSumable(Boolean sumable) { public void setSumable(Boolean sumable) {
this.sumable = sumable; this.sumable = sumable;
} }
@ -350,6 +380,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @return the graphable * @return the graphable
*/ */
@Override
public Boolean getGraphable() { public Boolean getGraphable() {
return graphable; return graphable;
} }
@ -357,6 +388,7 @@ abstract public class AbstractVascEntryFieldLocal extends AbstractVascBaseIdRole
/** /**
* @param graphable the graphable to set * @param graphable the graphable to set
*/ */
@Override
public void setGraphable(Boolean graphable) { public void setGraphable(Boolean graphable) {
this.graphable = graphable; this.graphable = graphable;
} }

View file

@ -67,6 +67,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @return the styleList * @return the styleList
*/ */
@Override
public String getStyleList() { public String getStyleList() {
return styleList; return styleList;
} }
@ -74,6 +75,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @param styleList the styleList to set * @param styleList the styleList to set
*/ */
@Override
public void setStyleList(String styleList) { public void setStyleList(String styleList) {
this.styleList = styleList; this.styleList = styleList;
} }
@ -81,6 +83,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @return the styleEdit * @return the styleEdit
*/ */
@Override
public String getStyleEdit() { public String getStyleEdit() {
return styleEdit; return styleEdit;
} }
@ -88,6 +91,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @param styleEdit the styleEdit to set * @param styleEdit the styleEdit to set
*/ */
@Override
public void setStyleEdit(String styleEdit) { public void setStyleEdit(String styleEdit) {
this.styleEdit = styleEdit; this.styleEdit = styleEdit;
} }
@ -95,6 +99,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @return the collapsed * @return the collapsed
*/ */
@Override
public Boolean getCollapsed() { public Boolean getCollapsed() {
return collapsed; return collapsed;
} }
@ -102,6 +107,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @param collapsed the collapsed to set * @param collapsed the collapsed to set
*/ */
@Override
public void setCollapsed(Boolean collapsed) { public void setCollapsed(Boolean collapsed) {
this.collapsed = collapsed; this.collapsed = collapsed;
} }
@ -109,6 +115,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @return the vascEntryFieldIds * @return the vascEntryFieldIds
*/ */
@Override
public List<String> getVascEntryFieldIds() { public List<String> getVascEntryFieldIds() {
return vascEntryFieldIds; return vascEntryFieldIds;
} }
@ -116,6 +123,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @param vascEntryFieldIds the vascEntryFieldIds to set * @param vascEntryFieldIds the vascEntryFieldIds to set
*/ */
@Override
public void addVascEntryFieldId(String vascEntryFieldId) { public void addVascEntryFieldId(String vascEntryFieldId) {
vascEntryFieldIds.add(vascEntryFieldId); vascEntryFieldIds.add(vascEntryFieldId);
} }
@ -123,6 +131,7 @@ abstract public class AbstractVascEntryFieldSetLocal extends AbstractVascBaseIdR
/** /**
* @param vascEntryFieldIds the vascEntryFieldIds to set * @param vascEntryFieldIds the vascEntryFieldIds to set
*/ */
@Override
public void removeVascEntryFieldId(String vascEntryFieldId) { public void removeVascEntryFieldId(String vascEntryFieldId) {
vascEntryFieldIds.remove(vascEntryFieldId); vascEntryFieldIds.remove(vascEntryFieldId);
} }

View file

@ -87,6 +87,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#getProperty(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#getProperty(java.lang.String)
*/ */
@Override
public String getProperty(String name) { public String getProperty(String name) {
return properties.get(name); return properties.get(name);
} }
@ -94,6 +95,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#setProperty(java.lang.String, java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#setProperty(java.lang.String, java.lang.String)
*/ */
@Override
public void setProperty(String name, String value) { public void setProperty(String name, String value) {
properties.put(name, value); properties.put(name, value);
} }
@ -101,6 +103,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#getPropertyNames() * @see net.forwardfire.vasc.core.VascEntryFieldType#getPropertyNames()
*/ */
@Override
public List<String> getPropertyNames() { public List<String> getPropertyNames() {
return new ArrayList<String>(properties.keySet()); return new ArrayList<String>(properties.keySet());
} }
@ -108,6 +111,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @return the dataObject * @return the dataObject
*/ */
@Override
public Object getDataObject() { public Object getDataObject() {
return dataObject; return dataObject;
} }
@ -115,6 +119,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @param dataObject the dataObject to set * @param dataObject the dataObject to set
*/ */
@Override
public void setDataObject(Object dataObject) { public void setDataObject(Object dataObject) {
this.dataObject = dataObject; this.dataObject = dataObject;
} }
@ -122,6 +127,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#getVascValidators() * @see net.forwardfire.vasc.core.VascEntryFieldType#getVascValidators()
*/ */
@Override
public List<VascValidator> getVascValidators() { public List<VascValidator> getVascValidators() {
return vascValidators; return vascValidators;
} }
@ -129,6 +135,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#addVascValidator(net.forwardfire.vasc.validators.VascValidator) * @see net.forwardfire.vasc.core.VascEntryFieldType#addVascValidator(net.forwardfire.vasc.validators.VascValidator)
*/ */
@Override
public void addVascValidator(VascValidator vascValidator) { public void addVascValidator(VascValidator vascValidator) {
vascValidators.add(vascValidator); vascValidators.add(vascValidator);
} }
@ -136,6 +143,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#removeVascValidator(net.forwardfire.vasc.validators.VascValidator) * @see net.forwardfire.vasc.core.VascEntryFieldType#removeVascValidator(net.forwardfire.vasc.validators.VascValidator)
*/ */
@Override
public void removeVascValidator(VascValidator vascValidator) { public void removeVascValidator(VascValidator vascValidator) {
vascValidators.remove(vascValidator); vascValidators.remove(vascValidator);
} }
@ -143,6 +151,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#getAutoDetectClass() * @see net.forwardfire.vasc.core.VascEntryFieldType#getAutoDetectClass()
*/ */
@Override
public Class<?> getAutoDetectClass() { public Class<?> getAutoDetectClass() {
return autoDetectClass; return autoDetectClass;
} }
@ -150,6 +159,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#setAutoDetectClass(java.lang.Class) * @see net.forwardfire.vasc.core.VascEntryFieldType#setAutoDetectClass(java.lang.Class)
*/ */
@Override
public void setAutoDetectClass(Class<?> classObject) { public void setAutoDetectClass(Class<?> classObject) {
autoDetectClass=classObject; autoDetectClass=classObject;
} }
@ -157,6 +167,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#getInputMask() * @see net.forwardfire.vasc.core.VascEntryFieldType#getInputMask()
*/ */
@Override
public String getInputMask() { public String getInputMask() {
return inputMask; return inputMask;
} }
@ -164,6 +175,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#setInputMask(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#setInputMask(java.lang.String)
*/ */
@Override
public void setInputMask(String inputMask) { public void setInputMask(String inputMask) {
this.inputMask=inputMask; this.inputMask=inputMask;
} }
@ -171,6 +183,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentId() * @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentId()
*/ */
@Override
public String getUIComponentId() { public String getUIComponentId() {
return uiComponentId; return uiComponentId;
} }
@ -178,6 +191,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#setUIComponentId(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryFieldType#setUIComponentId(java.lang.String)
*/ */
@Override
public void setUIComponentId(String uiComponentId) { public void setUIComponentId(String uiComponentId) {
this.uiComponentId=uiComponentId; this.uiComponentId=uiComponentId;
} }
@ -185,6 +199,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentCount() * @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentCount()
*/ */
@Override
public int getUIComponentCount(VascEntryField entryField) throws VascException { public int getUIComponentCount(VascEntryField entryField) throws VascException {
return 1; return 1;
} }
@ -192,6 +207,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorUIComponent(int) * @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorUIComponent(int)
*/ */
@Override
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();
if (cl == null) { if (cl == null) {
@ -207,6 +223,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#provideLabelUIComponent(int) * @see net.forwardfire.vasc.core.VascEntryFieldType#provideLabelUIComponent(int)
*/ */
@Override
public VascUIComponent provideLabelUIComponent(int index,VascEntryField entryField) throws VascException { public VascUIComponent provideLabelUIComponent(int index,VascEntryField entryField) throws VascException {
return entryField.getVascEntry().getVascFrontendController().getVascUIComponent(VascUIComponent.VASC_LABEL); return entryField.getVascEntry().getVascFrontendController().getVascUIComponent(VascUIComponent.VASC_LABEL);
} }
@ -214,6 +231,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorVascValueModel() * @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorVascValueModel()
*/ */
@Override
public VascValueModel provideEditorVascValueModel(int index,VascEntryField entryField) throws VascException { public VascValueModel provideEditorVascValueModel(int index,VascEntryField entryField) throws VascException {
if (index>0) { if (index>0) {
throw new IllegalArgumentException("You have to override provideEditorVascValueModel if multi editor support is needed"); throw new IllegalArgumentException("You have to override provideEditorVascValueModel if multi editor support is needed");
@ -225,6 +243,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @return the objectConverter * @return the objectConverter
*/ */
@Override
public ObjectConverter getObjectConverter() { public ObjectConverter getObjectConverter() {
return objectConverter; return objectConverter;
} }
@ -232,6 +251,7 @@ abstract public class AbstractVascEntryFieldTypeLocal extends AbstractVascBaseId
/** /**
* @param objectConverter the objectConverter to set * @param objectConverter the objectConverter to set
*/ */
@Override
public void setObjectConverter(ObjectConverter objectConverter) { public void setObjectConverter(ObjectConverter objectConverter) {
this.objectConverter = objectConverter; this.objectConverter = objectConverter;
} }

View file

@ -67,22 +67,32 @@ abstract public class AbstractVascEntryLinkLocal extends AbstractVascBaseIdRoleV
} }
} }
@Override
public String getEntryParameterFieldId(String parameterName) { public String getEntryParameterFieldId(String parameterName) {
return entryParameterFieldIds.get(parameterName); return entryParameterFieldIds.get(parameterName);
} }
@Override
public void addEntryParameterFieldId(String parameterName,String valueFieldId) { public void addEntryParameterFieldId(String parameterName,String valueFieldId) {
entryParameterFieldIds.put(parameterName, valueFieldId); entryParameterFieldIds.put(parameterName, valueFieldId);
} }
@Override
public List<String> getEntryParameterFieldIdKeys() { public List<String> getEntryParameterFieldIdKeys() {
return new ArrayList<String>(entryParameterFieldIds.keySet()); return new ArrayList<String>(entryParameterFieldIds.keySet());
} }
@Override
public String getEntryCreateFieldValue(String valueFieldId) { public String getEntryCreateFieldValue(String valueFieldId) {
return entryCreateFieldValues.get(valueFieldId); return entryCreateFieldValues.get(valueFieldId);
} }
@Override
public void addEntryCreateFieldValue(String valueFieldId,String selectedFieldId) { public void addEntryCreateFieldValue(String valueFieldId,String selectedFieldId) {
entryCreateFieldValues.put(valueFieldId, selectedFieldId); entryCreateFieldValues.put(valueFieldId, selectedFieldId);
} }
@Override
public List<String> getEntryCreateFieldValueKeys() { public List<String> getEntryCreateFieldValueKeys() {
return new ArrayList<String>(entryCreateFieldValues.keySet()); return new ArrayList<String>(entryCreateFieldValues.keySet());
} }
@ -90,6 +100,7 @@ abstract public class AbstractVascEntryLinkLocal extends AbstractVascBaseIdRoleV
/** /**
* @return the vascEntryId * @return the vascEntryId
*/ */
@Override
public String getVascEntryId() { public String getVascEntryId() {
return vascEntryId; return vascEntryId;
} }
@ -97,6 +108,7 @@ abstract public class AbstractVascEntryLinkLocal extends AbstractVascBaseIdRoleV
/** /**
* @param vascEntryId the vascEntryId to set * @param vascEntryId the vascEntryId to set
*/ */
@Override
public void setVascEntryId(String vascEntryId) { public void setVascEntryId(String vascEntryId) {
this.vascEntryId = vascEntryId; this.vascEntryId = vascEntryId;
} }
@ -104,6 +116,7 @@ abstract public class AbstractVascEntryLinkLocal extends AbstractVascBaseIdRoleV
/** /**
* @return the vascLinkEntryType * @return the vascLinkEntryType
*/ */
@Override
public VascEntryLinkType getVascEntryLinkType() { public VascEntryLinkType getVascEntryLinkType() {
return vascEntryLinkType; return vascEntryLinkType;
} }
@ -111,6 +124,7 @@ abstract public class AbstractVascEntryLinkLocal extends AbstractVascBaseIdRoleV
/** /**
* @param vascLinkEntryType the vascLinkEntryType to set * @param vascLinkEntryType the vascLinkEntryType to set
*/ */
@Override
public void setVascEntryLinkType(VascEntryLinkType vascEntryLinkType) { public void setVascEntryLinkType(VascEntryLinkType vascEntryLinkType) {
this.vascEntryLinkType = vascEntryLinkType; this.vascEntryLinkType = vascEntryLinkType;
} }
@ -118,6 +132,7 @@ abstract public class AbstractVascEntryLinkLocal extends AbstractVascBaseIdRoleV
/** /**
* @return the doActionId * @return the doActionId
*/ */
@Override
public String getDoActionId() { public String getDoActionId() {
return doActionId; return doActionId;
} }
@ -125,6 +140,7 @@ abstract public class AbstractVascEntryLinkLocal extends AbstractVascBaseIdRoleV
/** /**
* @param doActionId the doActionId to set * @param doActionId the doActionId to set
*/ */
@Override
public void setDoActionId(String doActionId) { public void setDoActionId(String doActionId) {
this.doActionId = doActionId; this.doActionId = doActionId;
} }

View file

@ -191,11 +191,10 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
clone.setVascGroupId(getVascGroupId()); clone.setVascGroupId(getVascGroupId());
} }
/** /**
* @return the name * @return the name
*/ */
@Override
public String getName() { public String getName() {
return name; return name;
} }
@ -203,6 +202,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param name the name to set * @param name the name to set
*/ */
@Override
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
@ -210,6 +210,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the helpId * @return the helpId
*/ */
@Override
public String getHelpId() { public String getHelpId() {
return helpId; return helpId;
} }
@ -217,6 +218,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param helpId the helpId to set * @param helpId the helpId to set
*/ */
@Override
public void setHelpId(String helpId) { public void setHelpId(String helpId) {
this.helpId = helpId; this.helpId = helpId;
} }
@ -224,6 +226,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the image * @return the image
*/ */
@Override
public String getImage() { public String getImage() {
return image; return image;
} }
@ -231,6 +234,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param image the image to set * @param image the image to set
*/ */
@Override
public void setImage(String image) { public void setImage(String image) {
this.image = image; this.image = image;
} }
@ -238,6 +242,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the listDescription * @return the listDescription
*/ */
@Override
public String getListDescription() { public String getListDescription() {
return listDescription; return listDescription;
} }
@ -245,6 +250,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param listDescription the listDescription to set * @param listDescription the listDescription to set
*/ */
@Override
public void setListDescription(String listDescription) { public void setListDescription(String listDescription) {
this.listDescription = listDescription; this.listDescription = listDescription;
} }
@ -252,6 +258,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the listImage * @return the listImage
*/ */
@Override
public String getListImage() { public String getListImage() {
return listImage; return listImage;
} }
@ -259,6 +266,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param listImage the listImage to set * @param listImage the listImage to set
*/ */
@Override
public void setListImage(String listImage) { public void setListImage(String listImage) {
this.listImage = listImage; this.listImage = listImage;
} }
@ -266,6 +274,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the editDescription * @return the editDescription
*/ */
@Override
public String getEditDescription() { public String getEditDescription() {
return editDescription; return editDescription;
} }
@ -273,6 +282,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param editDescription the editDescription to set * @param editDescription the editDescription to set
*/ */
@Override
public void setEditDescription(String editDescription) { public void setEditDescription(String editDescription) {
this.editDescription = editDescription; this.editDescription = editDescription;
} }
@ -280,6 +290,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the editImage * @return the editImage
*/ */
@Override
public String getEditImage() { public String getEditImage() {
return editImage; return editImage;
} }
@ -287,6 +298,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param editImage the editImage to set * @param editImage the editImage to set
*/ */
@Override
public void setEditImage(String editImage) { public void setEditImage(String editImage) {
this.editImage = editImage; this.editImage = editImage;
} }
@ -294,6 +306,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the deleteDescription * @return the deleteDescription
*/ */
@Override
public String getDeleteDescription() { public String getDeleteDescription() {
return deleteDescription; return deleteDescription;
} }
@ -301,6 +314,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param deleteDescription the deleteDescription to set * @param deleteDescription the deleteDescription to set
*/ */
@Override
public void setDeleteDescription(String deleteDescription) { public void setDeleteDescription(String deleteDescription) {
this.deleteDescription = deleteDescription; this.deleteDescription = deleteDescription;
} }
@ -308,6 +322,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the deleteImage * @return the deleteImage
*/ */
@Override
public String getDeleteImage() { public String getDeleteImage() {
return deleteImage; return deleteImage;
} }
@ -315,6 +330,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param deleteImage the deleteImage to set * @param deleteImage the deleteImage to set
*/ */
@Override
public void setDeleteImage(String deleteImage) { public void setDeleteImage(String deleteImage) {
this.deleteImage = deleteImage; this.deleteImage = deleteImage;
} }
@ -322,6 +338,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the createDescription * @return the createDescription
*/ */
@Override
public String getCreateDescription() { public String getCreateDescription() {
return createDescription; return createDescription;
} }
@ -329,6 +346,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param createDescription the createDescription to set * @param createDescription the createDescription to set
*/ */
@Override
public void setCreateDescription(String createDescription) { public void setCreateDescription(String createDescription) {
this.createDescription = createDescription; this.createDescription = createDescription;
} }
@ -336,6 +354,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the createImage * @return the createImage
*/ */
@Override
public String getCreateImage() { public String getCreateImage() {
return createImage; return createImage;
} }
@ -343,6 +362,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param createImage the createImage to set * @param createImage the createImage to set
*/ */
@Override
public void setCreateImage(String createImage) { public void setCreateImage(String createImage) {
this.createImage = createImage; this.createImage = createImage;
} }
@ -350,6 +370,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the primaryKeyFieldId * @return the primaryKeyFieldId
*/ */
@Override
public String getPrimaryKeyFieldId() { public String getPrimaryKeyFieldId() {
return primaryKeyFieldId; return primaryKeyFieldId;
} }
@ -357,6 +378,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param primaryKeyFieldId the primaryKeyFieldId to set * @param primaryKeyFieldId the primaryKeyFieldId to set
*/ */
@Override
public void setPrimaryKeyFieldId(String primaryKeyFieldId) { public void setPrimaryKeyFieldId(String primaryKeyFieldId) {
this.primaryKeyFieldId = primaryKeyFieldId; this.primaryKeyFieldId = primaryKeyFieldId;
} }
@ -364,6 +386,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the displayNameFieldId * @return the displayNameFieldId
*/ */
@Override
public String getDisplayNameFieldId() { public String getDisplayNameFieldId() {
return displayNameFieldId; return displayNameFieldId;
} }
@ -371,6 +394,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param displayNameFieldId the displayNameFieldId to set * @param displayNameFieldId the displayNameFieldId to set
*/ */
@Override
public void setDisplayNameFieldId(String displayNameFieldId) { public void setDisplayNameFieldId(String displayNameFieldId) {
this.displayNameFieldId = displayNameFieldId; this.displayNameFieldId = displayNameFieldId;
} }
@ -378,6 +402,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the delete * @return the delete
*/ */
@Override
public Boolean getDelete() { public Boolean getDelete() {
return delete; return delete;
} }
@ -385,6 +410,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param delete the delete to set * @param delete the delete to set
*/ */
@Override
public void setDelete(Boolean delete) { public void setDelete(Boolean delete) {
this.delete = delete; this.delete = delete;
} }
@ -392,6 +418,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the rolesDelete * @return the rolesDelete
*/ */
@Override
public String getRolesDelete() { public String getRolesDelete() {
return rolesDelete; return rolesDelete;
} }
@ -399,6 +426,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param rolesDelete the rolesDelete to set * @param rolesDelete the rolesDelete to set
*/ */
@Override
public void setRolesDelete(String rolesDelete) { public void setRolesDelete(String rolesDelete) {
this.rolesDelete = rolesDelete; this.rolesDelete = rolesDelete;
} }
@ -406,6 +434,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascFields * @return the vascFields
*/ */
@Override
public Collection<VascEntryField> getVascEntryFields() { public Collection<VascEntryField> getVascEntryFields() {
return new ArrayList<VascEntryField>(vascFields); return new ArrayList<VascEntryField>(vascFields);
} }
@ -413,6 +442,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascFields * @return the vascFields
*/ */
@Override
public Collection<VascEntryFieldLocal> getVascEntryFieldsLocal() { public Collection<VascEntryFieldLocal> getVascEntryFieldsLocal() {
return vascFields; return vascFields;
} }
@ -420,6 +450,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascField the vascFields to add * @param vascField the vascFields to add
*/ */
@Override
public void addVascEntryField(VascEntryFieldLocal vascField) { public void addVascEntryField(VascEntryFieldLocal vascField) {
vascFields.add(vascField); vascFields.add(vascField);
} }
@ -427,6 +458,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascField the vascFields to remove * @param vascField the vascFields to remove
*/ */
@Override
public void removeVascEntryField(VascEntryFieldLocal vascField) { public void removeVascEntryField(VascEntryFieldLocal vascField) {
vascFields.remove(vascField); vascFields.remove(vascField);
} }
@ -434,6 +466,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @see net.forwardfire.vasc.core.VascEntry#getVascEntryFieldById(java.lang.String) * @see net.forwardfire.vasc.core.VascEntry#getVascEntryFieldById(java.lang.String)
*/ */
@Override
public VascEntryField getVascEntryFieldById(String id) { public VascEntryField getVascEntryFieldById(String id) {
for (VascEntryField field:vascFields) { for (VascEntryField field:vascFields) {
if (id.equals(field.getId())) { if (id.equals(field.getId())) {
@ -446,6 +479,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the rowActions * @return the rowActions
*/ */
@Override
public Collection<RowVascAction> getRowActions() { public Collection<RowVascAction> getRowActions() {
return new ArrayList<RowVascAction>(rowActions); return new ArrayList<RowVascAction>(rowActions);
} }
@ -453,6 +487,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the RowVascAction * @return the RowVascAction
*/ */
@Override
public RowVascAction getRowActionById(String actionId) { public RowVascAction getRowActionById(String actionId) {
for (RowVascAction a:rowActions) { for (RowVascAction a:rowActions) {
if (a.getId().equals(actionId)) { if (a.getId().equals(actionId)) {
@ -465,6 +500,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param rowAction the rowAction to add * @param rowAction the rowAction to add
*/ */
@Override
public void addRowAction(RowVascActionLocal rowAction) { public void addRowAction(RowVascActionLocal rowAction) {
rowActions.add(rowAction); rowActions.add(rowAction);
} }
@ -472,6 +508,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param rowAction the rowAction to remove * @param rowAction the rowAction to remove
*/ */
@Override
public void removeRowAction(RowVascActionLocal rowAction) { public void removeRowAction(RowVascActionLocal rowAction) {
rowActions.remove(rowAction); rowActions.remove(rowAction);
} }
@ -479,6 +516,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the rowActions * @return the rowActions
*/ */
@Override
public Collection<RowVascActionLocal> getRowActionsLocal() { public Collection<RowVascActionLocal> getRowActionsLocal() {
return rowActions; return rowActions;
} }
@ -486,6 +524,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the columnActions * @return the columnActions
*/ */
@Override
public Collection<ColumnVascAction> getColumnActions() { public Collection<ColumnVascAction> getColumnActions() {
return new ArrayList<ColumnVascAction>(columnActions); return new ArrayList<ColumnVascAction>(columnActions);
} }
@ -493,6 +532,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the ColumnVascAction * @return the ColumnVascAction
*/ */
@Override
public ColumnVascAction getColumnActionById(String actionId) { public ColumnVascAction getColumnActionById(String actionId) {
for (ColumnVascAction a:columnActions) { for (ColumnVascAction a:columnActions) {
if (a.getId().equals(actionId)) { if (a.getId().equals(actionId)) {
@ -505,6 +545,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param columnAction the columnActions to add * @param columnAction the columnActions to add
*/ */
@Override
public void addColumnAction(ColumnVascActionLocal columnAction) { public void addColumnAction(ColumnVascActionLocal columnAction) {
columnActions.add(columnAction); columnActions.add(columnAction);
} }
@ -512,6 +553,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param columnAction the columnActions to remove * @param columnAction the columnActions to remove
*/ */
@Override
public void removeColumnAction(ColumnVascActionLocal columnAction) { public void removeColumnAction(ColumnVascActionLocal columnAction) {
columnActions.remove(columnAction); columnActions.remove(columnAction);
} }
@ -519,6 +561,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the columnActions * @return the columnActions
*/ */
@Override
public Collection<ColumnVascActionLocal> getColumnActionsLocal() { public Collection<ColumnVascActionLocal> getColumnActionsLocal() {
return columnActions; return columnActions;
} }
@ -526,6 +569,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the globalActions * @return the globalActions
*/ */
@Override
public Collection<GlobalVascAction> getGlobalActions() { public Collection<GlobalVascAction> getGlobalActions() {
return new ArrayList<GlobalVascAction>(globalActions); return new ArrayList<GlobalVascAction>(globalActions);
} }
@ -533,6 +577,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the GlobalVascAction * @return the GlobalVascAction
*/ */
@Override
public GlobalVascAction getGlobalActionById(String actionId) { public GlobalVascAction getGlobalActionById(String actionId) {
for (GlobalVascAction a:globalActions) { for (GlobalVascAction a:globalActions) {
if (a.getId().equals(actionId)) { if (a.getId().equals(actionId)) {
@ -545,6 +590,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param globalAction the globalAction to add * @param globalAction the globalAction to add
*/ */
@Override
public void addGlobalAction(GlobalVascActionLocal globalAction) { public void addGlobalAction(GlobalVascActionLocal globalAction) {
globalActions.add(globalAction); globalActions.add(globalAction);
} }
@ -552,6 +598,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param globalAction the globalAction to remove * @param globalAction the globalAction to remove
*/ */
@Override
public void removeGlobalAction(GlobalVascActionLocal globalAction) { public void removeGlobalAction(GlobalVascActionLocal globalAction) {
globalActions.remove(globalAction); globalActions.remove(globalAction);
} }
@ -559,6 +606,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the globalActions * @return the globalActions
*/ */
@Override
public Collection<GlobalVascActionLocal> getGlobalActionsLocal() { public Collection<GlobalVascActionLocal> getGlobalActionsLocal() {
return globalActions; return globalActions;
} }
@ -566,6 +614,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the exportActions * @return the exportActions
*/ */
@Override
public Collection<GlobalVascAction> getExportActions() { public Collection<GlobalVascAction> getExportActions() {
return new ArrayList<GlobalVascAction>(exportActions); return new ArrayList<GlobalVascAction>(exportActions);
} }
@ -573,6 +622,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the GlobalVascAction exportAction * @return the GlobalVascAction exportAction
*/ */
@Override
public GlobalVascAction getExportActionById(String actionId) { public GlobalVascAction getExportActionById(String actionId) {
for (GlobalVascAction a:exportActions) { for (GlobalVascAction a:exportActions) {
if (a.getId().equals(actionId)) { if (a.getId().equals(actionId)) {
@ -585,6 +635,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param exportAction the exportAction to add * @param exportAction the exportAction to add
*/ */
@Override
public void addExportAction(GlobalVascActionLocal exportAction) { public void addExportAction(GlobalVascActionLocal exportAction) {
exportActions.add(exportAction); exportActions.add(exportAction);
} }
@ -592,6 +643,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param exportAction the exportAction to remove * @param exportAction the exportAction to remove
*/ */
@Override
public void removeExportAction(GlobalVascActionLocal exportAction) { public void removeExportAction(GlobalVascActionLocal exportAction) {
exportActions.remove(exportAction); exportActions.remove(exportAction);
} }
@ -599,6 +651,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the exportActions * @return the exportActions
*/ */
@Override
public Collection<GlobalVascActionLocal> getExportActionsLocal() { public Collection<GlobalVascActionLocal> getExportActionsLocal() {
return exportActions; return exportActions;
} }
@ -606,6 +659,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascEntryFieldSets * @return the vascEntryFieldSets
*/ */
@Override
public Collection<VascEntryFieldSet> getVascEntryFieldSets() { public Collection<VascEntryFieldSet> getVascEntryFieldSets() {
return new ArrayList<VascEntryFieldSet>(vascEntryFieldSets); return new ArrayList<VascEntryFieldSet>(vascEntryFieldSets);
} }
@ -613,6 +667,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascEntryFieldSets * @return the vascEntryFieldSets
*/ */
@Override
public Collection<VascEntryFieldSetLocal> getVascEntryFieldSetsLocal() { public Collection<VascEntryFieldSetLocal> getVascEntryFieldSetsLocal() {
return vascEntryFieldSets; return vascEntryFieldSets;
} }
@ -620,6 +675,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the VascEntryFieldSet * @return the VascEntryFieldSet
*/ */
@Override
public VascEntryFieldSet getVascEntryFieldSetById(String fieldSetId) { public VascEntryFieldSet getVascEntryFieldSetById(String fieldSetId) {
for (VascEntryFieldSet a:vascEntryFieldSets) { for (VascEntryFieldSet a:vascEntryFieldSets) {
if (a.getId().equals(fieldSetId)) { if (a.getId().equals(fieldSetId)) {
@ -632,6 +688,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascEntryFieldSet the vascEntryFieldSet to add * @param vascEntryFieldSet the vascEntryFieldSet to add
*/ */
@Override
public void addVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet) { public void addVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet) {
vascEntryFieldSets.add(vascEntryFieldSet); vascEntryFieldSets.add(vascEntryFieldSet);
} }
@ -639,6 +696,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascEntryFieldSet the vascEntryFieldSet to add * @param vascEntryFieldSet the vascEntryFieldSet to add
*/ */
@Override
public void removeVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet) { public void removeVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet) {
vascEntryFieldSets.remove(vascEntryFieldSet); vascEntryFieldSets.remove(vascEntryFieldSet);
} }
@ -646,6 +704,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascEntryLinks * @return the vascEntryLinks
*/ */
@Override
public Collection<VascEntryLink> getVascEntryLinks() { public Collection<VascEntryLink> getVascEntryLinks() {
return new ArrayList<VascEntryLink>(vascEntryLinks); return new ArrayList<VascEntryLink>(vascEntryLinks);
} }
@ -653,6 +712,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascEntryLinks * @return the vascEntryLinks
*/ */
@Override
public Collection<VascEntryLinkLocal> getVascEntryLinksLocal() { public Collection<VascEntryLinkLocal> getVascEntryLinksLocal() {
return vascEntryLinks; return vascEntryLinks;
} }
@ -660,6 +720,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascEntryLinks * @return the vascEntryLinks
*/ */
@Override
public VascEntryLink getVascEntryLinkById(String linkId) { public VascEntryLink getVascEntryLinkById(String linkId) {
for (VascEntryLink a:vascEntryLinks) { for (VascEntryLink a:vascEntryLinks) {
if (a.getId().equals(linkId)) { if (a.getId().equals(linkId)) {
@ -672,6 +733,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascEntryLink the vascEntryLink to set * @param vascEntryLink the vascEntryLink to set
*/ */
@Override
public void addVascEntryLink(VascEntryLinkLocal vascEntryLink) { public void addVascEntryLink(VascEntryLinkLocal vascEntryLink) {
vascEntryLinks.add(vascEntryLink); vascEntryLinks.add(vascEntryLink);
} }
@ -679,6 +741,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascEntryLink the vascEntryLink to remove * @param vascEntryLink the vascEntryLink to remove
*/ */
@Override
public void removeVascEntryLink(VascEntryLinkLocal vascEntryLink) { public void removeVascEntryLink(VascEntryLinkLocal vascEntryLink) {
vascEntryLinks.remove(vascEntryLink); vascEntryLinks.remove(vascEntryLink);
} }
@ -686,6 +749,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @see net.forwardfire.vasc.core.VascEntry#getEntryParameter(java.lang.String) * @see net.forwardfire.vasc.core.VascEntry#getEntryParameter(java.lang.String)
*/ */
@Override
public Object getEntryParameter(String key) { public Object getEntryParameter(String key) {
return entryParameters.get(key); return entryParameters.get(key);
} }
@ -693,6 +757,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @see net.forwardfire.vasc.core.VascEntry#getEntryParameterKeys() * @see net.forwardfire.vasc.core.VascEntry#getEntryParameterKeys()
*/ */
@Override
public List<String> getEntryParameterKeys() { public List<String> getEntryParameterKeys() {
return new ArrayList<String>(entryParameters.keySet()); return new ArrayList<String>(entryParameters.keySet());
} }
@ -700,6 +765,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @see net.forwardfire.vasc.core.VascEntry#setEntryParameter(java.lang.String, java.lang.Object) * @see net.forwardfire.vasc.core.VascEntry#setEntryParameter(java.lang.String, java.lang.Object)
*/ */
@Override
public void setEntryParameter(String key, Object value) { public void setEntryParameter(String key, Object value) {
entryParameters.put(key, value); entryParameters.put(key, value);
} }
@ -707,6 +773,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @see net.forwardfire.vasc.core.VascEntry#removeEntryParameter(java.lang.String) * @see net.forwardfire.vasc.core.VascEntry#removeEntryParameter(java.lang.String)
*/ */
@Override
public void removeEntryParameter(String key) { public void removeEntryParameter(String key) {
entryParameters.remove(key); entryParameters.remove(key);
} }
@ -714,6 +781,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascFrontendData * @return the vascFrontendData
*/ */
@Override
public VascFrontendController getVascFrontendController() { public VascFrontendController getVascFrontendController() {
return vascFrontendData; return vascFrontendData;
} }
@ -721,6 +789,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascFrontendData the vascFrontendData to set * @param vascFrontendData the vascFrontendData to set
*/ */
@Override
public void setVascFrontendController(VascFrontendController vascFrontendData) { public void setVascFrontendController(VascFrontendController vascFrontendData) {
this.vascFrontendData = vascFrontendData; this.vascFrontendData = vascFrontendData;
} }
@ -728,6 +797,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the backendId * @return the backendId
*/ */
@Override
public String getBackendId() { public String getBackendId() {
return backendId; return backendId;
} }
@ -735,6 +805,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param backendId the backendId to set * @param backendId the backendId to set
*/ */
@Override
public void setBackendId(String backendId) { public void setBackendId(String backendId) {
this.backendId = backendId; this.backendId = backendId;
} }
@ -742,6 +813,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascEntryFieldEventChannel * @return the vascEntryFieldEventChannel
*/ */
@Override
public VascEntryFieldEventChannel getVascEntryFieldEventChannel() { public VascEntryFieldEventChannel getVascEntryFieldEventChannel() {
return vascEntryFieldEventChannel; return vascEntryFieldEventChannel;
} }
@ -749,6 +821,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascEntryFieldEventChannel the vascEntryFieldEventChannel to set * @param vascEntryFieldEventChannel the vascEntryFieldEventChannel to set
*/ */
@Override
public void setVascEntryFieldEventChannel(VascEntryFieldEventChannel vascEntryFieldEventChannel) { public void setVascEntryFieldEventChannel(VascEntryFieldEventChannel vascEntryFieldEventChannel) {
this.vascEntryFieldEventChannel = vascEntryFieldEventChannel; this.vascEntryFieldEventChannel = vascEntryFieldEventChannel;
} }
@ -757,6 +830,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
* Added an VascEntryBackendEventListener * Added an VascEntryBackendEventListener
* @param listener The class of the event listener. * @param listener The class of the event listener.
*/ */
@Override
public void addVascEntryBackendEventListener(String listener) { public void addVascEntryBackendEventListener(String listener) {
eventEntryBackendEventListeners.add(listener); eventEntryBackendEventListeners.add(listener);
} }
@ -765,6 +839,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
* Returns the list of VascEntryBackendEventListener * Returns the list of VascEntryBackendEventListener
* @return * @return
*/ */
@Override
public List<String> getVascEntryBackendEventListeners() { public List<String> getVascEntryBackendEventListeners() {
return eventEntryBackendEventListeners; return eventEntryBackendEventListeners;
} }
@ -773,6 +848,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
* Added an VascEntryFrontendEventListener * Added an VascEntryFrontendEventListener
* @param listener The class of the event listener. * @param listener The class of the event listener.
*/ */
@Override
public void addVascEntryFrontendEventListener(String listener,String frontendType) { public void addVascEntryFrontendEventListener(String listener,String frontendType) {
if (frontendType==null) { if (frontendType==null) {
frontendType = "__ALL__"; frontendType = "__ALL__";
@ -792,6 +868,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
* Returns the list of VascEntryFrontendEventListener * Returns the list of VascEntryFrontendEventListener
* @return * @return
*/ */
@Override
public List<String> getVascEntryFrontendEventListenersByType(String frontendType) { public List<String> getVascEntryFrontendEventListenersByType(String frontendType) {
if (frontendType==null) { if (frontendType==null) {
frontendType = "__ALL__"; frontendType = "__ALL__";
@ -813,6 +890,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
return typeList; return typeList;
} }
@Override
public void addVascEntryFrontendAction(String actionClass,String frontendType) { public void addVascEntryFrontendAction(String actionClass,String frontendType) {
if (frontendType==null) { if (frontendType==null) {
frontendType = "__ALL__"; frontendType = "__ALL__";
@ -828,7 +906,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
typeList.add(actionClass); typeList.add(actionClass);
} }
@Override
public List<String> getVascEntryFrontendActionsByType(String frontendType) { public List<String> getVascEntryFrontendActionsByType(String frontendType) {
if (frontendType==null) { if (frontendType==null) {
frontendType = "__ALL__"; frontendType = "__ALL__";
@ -850,18 +928,17 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
return typeList; return typeList;
} }
@Override
public List<VascEntryListOption> getVascEntryListOptions() { public List<VascEntryListOption> getVascEntryListOptions() {
return new ArrayList<VascEntryListOption>(vascEntryListOptions); return new ArrayList<VascEntryListOption>(vascEntryListOptions);
} }
@Override
public Collection<VascEntryListOptionLocal> getVascEntryListOptionsLocal() { public Collection<VascEntryListOptionLocal> getVascEntryListOptionsLocal() {
return vascEntryListOptions; return vascEntryListOptions;
} }
@Override
public VascEntryListOption getVascEntryListOptionById(String listOptionId) { public VascEntryListOption getVascEntryListOptionById(String listOptionId) {
for (VascEntryListOption vef:vascEntryListOptions) { for (VascEntryListOption vef:vascEntryListOptions) {
if (vef.getId().equals(listOptionId)) { if (vef.getId().equals(listOptionId)) {
@ -871,6 +948,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
return null; return null;
} }
@Override
public void addVascEntryListOption(VascEntryListOptionLocal listOption) { public void addVascEntryListOption(VascEntryListOptionLocal listOption) {
if (listOption==null) { if (listOption==null) {
throw new NullPointerException("can not add null listOption."); throw new NullPointerException("can not add null listOption.");
@ -878,15 +956,17 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
vascEntryListOptions.add(listOption); vascEntryListOptions.add(listOption);
} }
@Override
public void removeVascEntryListOption(VascEntryListOptionLocal listOption) { public void removeVascEntryListOption(VascEntryListOptionLocal listOption) {
vascEntryListOptions.remove(listOption); vascEntryListOptions.remove(listOption);
} }
@Override
public void addVascBackendFilter(VascProxyFilter filter) { public void addVascBackendFilter(VascProxyFilter filter) {
backendFilters.add(filter); backendFilters.add(filter);
} }
@Override
public List<VascProxyFilter> getVascBackendFilters() { public List<VascProxyFilter> getVascBackendFilters() {
return backendFilters; return backendFilters;
} }
@ -894,6 +974,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascDisplayOnly * @return the vascDisplayOnly
*/ */
@Override
public Boolean getVascDisplayOnly() { public Boolean getVascDisplayOnly() {
return vascDisplayOnly; return vascDisplayOnly;
} }
@ -901,6 +982,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascDisplayOnly the vascDisplayOnly to set * @param vascDisplayOnly the vascDisplayOnly to set
*/ */
@Override
public void setVascDisplayOnly(Boolean vascDisplayOnly) { public void setVascDisplayOnly(Boolean vascDisplayOnly) {
this.vascDisplayOnly = vascDisplayOnly; this.vascDisplayOnly = vascDisplayOnly;
} }
@ -908,6 +990,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the vascGroupId * @return the vascGroupId
*/ */
@Override
public String getVascGroupId() { public String getVascGroupId() {
return vascGroupId; return vascGroupId;
} }
@ -915,6 +998,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param vascGroupId the vascGroupId to set * @param vascGroupId the vascGroupId to set
*/ */
@Override
public void setVascGroupId(String vascGroupId) { public void setVascGroupId(String vascGroupId) {
this.vascGroupId = vascGroupId; this.vascGroupId = vascGroupId;
} }
@ -922,6 +1006,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @return the accessType * @return the accessType
*/ */
@Override
public VascEntryAccessType getAccessType() { public VascEntryAccessType getAccessType() {
return accessType; return accessType;
} }
@ -929,6 +1014,7 @@ abstract public class AbstractVascEntryLocal extends AbstractVascBaseIdRoleCrudL
/** /**
* @param accessType the accessType to set * @param accessType the accessType to set
*/ */
@Override
public void setAccessType(VascEntryAccessType accessType) { public void setAccessType(VascEntryAccessType accessType) {
this.accessType = accessType; this.accessType = accessType;
} }

View file

@ -58,6 +58,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @return the entryDataList * @return the entryDataList
*/ */
@Override
public List<Serializable> getEntryDataList() { public List<Serializable> getEntryDataList() {
return entryDataList; return entryDataList;
} }
@ -65,6 +66,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @param entryDataList the entryDataList to set * @param entryDataList the entryDataList to set
*/ */
@Override
public void setEntryDataList(List<Serializable> entryDataList) { public void setEntryDataList(List<Serializable> entryDataList) {
this.entryDataList = entryDataList; this.entryDataList = entryDataList;
} }
@ -72,6 +74,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @return the entryDataObject * @return the entryDataObject
*/ */
@Override
public Serializable getEntryDataObject() { public Serializable getEntryDataObject() {
return entryDataObject; return entryDataObject;
} }
@ -79,6 +82,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @param entryDataObject the entryDataObject to set * @param entryDataObject the entryDataObject to set
*/ */
@Override
public void setEntryDataObject(Serializable entryDataObject) { public void setEntryDataObject(Serializable entryDataObject) {
this.entryDataObject = entryDataObject; this.entryDataObject = entryDataObject;
} }
@ -86,6 +90,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @return the vascBackendState * @return the vascBackendState
*/ */
@Override
public VascBackendState getVascBackendState() { public VascBackendState getVascBackendState() {
return vascBackendState; return vascBackendState;
} }
@ -93,6 +98,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @param vascBackendState the vascBackendState to set * @param vascBackendState the vascBackendState to set
*/ */
@Override
public void setVascBackendState(VascBackendState vascBackendState) { public void setVascBackendState(VascBackendState vascBackendState) {
this.vascBackendState = vascBackendState; this.vascBackendState = vascBackendState;
} }
@ -100,6 +106,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @return the totalBackendRecords * @return the totalBackendRecords
*/ */
@Override
public Long getTotalBackendRecords() { public Long getTotalBackendRecords() {
return totalBackendRecords; return totalBackendRecords;
} }
@ -107,21 +114,27 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @param totalBackendRecords the totalBackendRecords to set * @param totalBackendRecords the totalBackendRecords to set
*/ */
@Override
public void setTotalBackendRecords(Long totalBackendRecords) { public void setTotalBackendRecords(Long totalBackendRecords) {
this.totalBackendRecords = totalBackendRecords; this.totalBackendRecords = totalBackendRecords;
} }
@Override
public void setParent(VascEntryState state) { public void setParent(VascEntryState state) {
this.state=state; this.state=state;
} }
@Override
public VascEntryState getParent() { public VascEntryState getParent() {
return state; return state;
} }
@Override
public void setMultiActionSelection(Map<Integer,Boolean> multiActionSelection) { public void setMultiActionSelection(Map<Integer,Boolean> multiActionSelection) {
this.multiActionSelection=multiActionSelection; this.multiActionSelection=multiActionSelection;
} }
@Override
public Map<Integer,Boolean> getMultiActionSelection() { public Map<Integer,Boolean> getMultiActionSelection() {
return multiActionSelection; return multiActionSelection;
} }
@ -129,6 +142,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @return the vascBackend * @return the vascBackend
*/ */
@Override
public VascBackend<Serializable> getVascBackend() { public VascBackend<Serializable> getVascBackend() {
return vascBackend; return vascBackend;
} }
@ -136,6 +150,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @param vascBackend the vascBackend to set * @param vascBackend the vascBackend to set
*/ */
@Override
public void setVascBackend(VascBackend<Serializable> vascBackend) { public void setVascBackend(VascBackend<Serializable> vascBackend) {
this.vascBackend = vascBackend; this.vascBackend = vascBackend;
} }
@ -144,6 +159,7 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @return the isEditCreate * @return the isEditCreate
*/ */
@Override
public boolean isEditCreate() { public boolean isEditCreate() {
return isEditCreate; return isEditCreate;
} }
@ -151,13 +167,17 @@ abstract public class AbstractVascEntryState implements VascEntryState {
/** /**
* @param isEditCreate the isEditCreate to set * @param isEditCreate the isEditCreate to set
*/ */
@Override
public void setEditCreate(boolean isEditCreate) { public void setEditCreate(boolean isEditCreate) {
this.isEditCreate = isEditCreate; this.isEditCreate = isEditCreate;
} }
@Override
public void setVascEntry(VascEntry vascEntry) { public void setVascEntry(VascEntry vascEntry) {
this.vascEntry=vascEntry; this.vascEntry=vascEntry;
} }
@Override
public VascEntry getVascEntry() { public VascEntry getVascEntry() {
return vascEntry; return vascEntry;
} }

View file

@ -43,6 +43,7 @@ public interface VascEntryFieldTypeLocal extends VascEntryFieldType,VascBaseIdLo
public void setAutoDetectClass(Class<?> classObject); public void setAutoDetectClass(Class<?> classObject);
@Override
public List<VascValidator> getVascValidators(); public List<VascValidator> getVascValidators();
public void addVascValidator(VascValidator vascValidator); public void addVascValidator(VascValidator vascValidator);
public void removeVascValidator(VascValidator vascValidator); public void removeVascValidator(VascValidator vascValidator);

View file

@ -37,5 +37,6 @@ public interface VascEntryListOptionLocal extends VascEntryListOption,VascEntryF
* @return * @return
* @throws CloneNotSupportedException * @throws CloneNotSupportedException
*/ */
@Override
public VascEntryListOptionLocal clone() throws CloneNotSupportedException; public VascEntryListOptionLocal clone() throws CloneNotSupportedException;
} }

View file

@ -32,19 +32,21 @@ package net.forwardfire.vasc.core.base;
abstract public class AbstractVascBaseIdLocal extends AbstractVascBaseClone implements VascBaseIdLocal { abstract public class AbstractVascBaseIdLocal extends AbstractVascBaseClone implements VascBaseIdLocal {
private String id = null; private String id = null;
/** /**
* @see net.forwardfire.vasc.core.base.VascBaseClone#cloneFields(java.lang.Object) * @see net.forwardfire.vasc.core.base.VascBaseClone#cloneFields(java.lang.Object)
*/ */
@Override
public void cloneFields(Object cloneObject) throws CloneNotSupportedException { public void cloneFields(Object cloneObject) throws CloneNotSupportedException {
super.cloneFields(cloneObject); super.cloneFields(cloneObject);
VascBaseIdLocal clone = (VascBaseIdLocal)cloneObject; VascBaseIdLocal clone = (VascBaseIdLocal)cloneObject;
clone.setId(getId()); clone.setId(getId());
} }
/** /**
* @return the id * @return the id
*/ */
@Override
public String getId() { public String getId() {
return id; return id;
} }
@ -52,6 +54,7 @@ abstract public class AbstractVascBaseIdLocal extends AbstractVascBaseClone impl
/** /**
* @param id the id to set * @param id the id to set
*/ */
@Override
public void setId(String id) { public void setId(String id) {
this.id = id; this.id = id;
} }

View file

@ -58,6 +58,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the create * @return the create
*/ */
@Override
public Boolean getCreate() { public Boolean getCreate() {
return create; return create;
} }
@ -65,6 +66,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param create the create to set * @param create the create to set
*/ */
@Override
public void setCreate(Boolean create) { public void setCreate(Boolean create) {
this.create = create; this.create = create;
} }
@ -72,6 +74,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the edit * @return the edit
*/ */
@Override
public Boolean getEdit() { public Boolean getEdit() {
return edit; return edit;
} }
@ -79,6 +82,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param edit the edit to set * @param edit the edit to set
*/ */
@Override
public void setEdit(Boolean edit) { public void setEdit(Boolean edit) {
this.edit = edit; this.edit = edit;
} }
@ -86,6 +90,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the editReadOnly * @return the editReadOnly
*/ */
@Override
public Boolean getEditReadOnly() { public Boolean getEditReadOnly() {
return editReadOnly; return editReadOnly;
} }
@ -93,6 +98,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param editReadOnly the editReadOnly to set * @param editReadOnly the editReadOnly to set
*/ */
@Override
public void setEditReadOnly(Boolean editReadOnly) { public void setEditReadOnly(Boolean editReadOnly) {
this.editReadOnly = editReadOnly; this.editReadOnly = editReadOnly;
} }
@ -100,6 +106,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the list * @return the list
*/ */
@Override
public Boolean getList() { public Boolean getList() {
return list; return list;
} }
@ -107,6 +114,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param list the list to set * @param list the list to set
*/ */
@Override
public void setList(Boolean list) { public void setList(Boolean list) {
this.list = list; this.list = list;
} }
@ -114,6 +122,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the rolesCreate * @return the rolesCreate
*/ */
@Override
public String getRolesCreate() { public String getRolesCreate() {
return rolesCreate; return rolesCreate;
} }
@ -121,6 +130,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param rolesCreate the rolesCreate to set * @param rolesCreate the rolesCreate to set
*/ */
@Override
public void setRolesCreate(String rolesCreate) { public void setRolesCreate(String rolesCreate) {
this.rolesCreate = rolesCreate; this.rolesCreate = rolesCreate;
} }
@ -128,6 +138,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the rolesEdit * @return the rolesEdit
*/ */
@Override
public String getRolesEdit() { public String getRolesEdit() {
return rolesEdit; return rolesEdit;
} }
@ -135,6 +146,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param rolesEdit the rolesEdit to set * @param rolesEdit the rolesEdit to set
*/ */
@Override
public void setRolesEdit(String rolesEdit) { public void setRolesEdit(String rolesEdit) {
this.rolesEdit = rolesEdit; this.rolesEdit = rolesEdit;
} }
@ -142,6 +154,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the rolesEditReadOnly * @return the rolesEditReadOnly
*/ */
@Override
public String getRolesEditReadOnly() { public String getRolesEditReadOnly() {
return rolesEditReadOnly; return rolesEditReadOnly;
} }
@ -149,6 +162,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param rolesEditReadOnly the rolesEditReadOnly to set * @param rolesEditReadOnly the rolesEditReadOnly to set
*/ */
@Override
public void setRolesEditReadOnly(String rolesEditReadOnly) { public void setRolesEditReadOnly(String rolesEditReadOnly) {
this.rolesEditReadOnly = rolesEditReadOnly; this.rolesEditReadOnly = rolesEditReadOnly;
} }
@ -156,6 +170,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @return the rolesList * @return the rolesList
*/ */
@Override
public String getRolesList() { public String getRolesList() {
return rolesList; return rolesList;
} }
@ -163,6 +178,7 @@ abstract public class AbstractVascBaseIdRoleCrudLocal extends AbstractVascBaseId
/** /**
* @param rolesList the rolesList to set * @param rolesList the rolesList to set
*/ */
@Override
public void setRolesList(String rolesList) { public void setRolesList(String rolesList) {
this.rolesList = rolesList; this.rolesList = rolesList;
} }

View file

@ -49,6 +49,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderLocal extends AbstractVascB
/** /**
* @return the order * @return the order
*/ */
@Override
public Integer getOrder() { public Integer getOrder() {
return order; return order;
} }
@ -56,20 +57,23 @@ abstract public class AbstractVascBaseIdRoleCrudOrderLocal extends AbstractVascB
/** /**
* @param order the order to set * @param order the order to set
*/ */
@Override
public void setOrder(Integer order) { public void setOrder(Integer order) {
this.order=order; this.order=order;
} }
/** /**
* @return the orderCreate * @return the orderCreate
*/ */
@Override
public Integer getOrderCreate() { public Integer getOrderCreate() {
return orderCreate; return orderCreate;
} }
/** /**
* @param orderCreate the orderCreate to set * @param orderCreate the orderCreate to set
*/ */
@Override
public void setOrderCreate(Integer orderCreate) { public void setOrderCreate(Integer orderCreate) {
this.orderCreate = orderCreate; this.orderCreate = orderCreate;
} }
@ -77,27 +81,31 @@ abstract public class AbstractVascBaseIdRoleCrudOrderLocal extends AbstractVascB
/** /**
* @return the orderEdit * @return the orderEdit
*/ */
@Override
public Integer getOrderEdit() { public Integer getOrderEdit() {
return orderEdit; return orderEdit;
} }
/** /**
* @param orderEdit the orderEdit to set * @param orderEdit the orderEdit to set
*/ */
@Override
public void setOrderEdit(Integer orderEdit) { public void setOrderEdit(Integer orderEdit) {
this.orderEdit = orderEdit; this.orderEdit = orderEdit;
} }
/** /**
* @return the orderList * @return the orderList
*/ */
@Override
public Integer getOrderList() { public Integer getOrderList() {
return orderList; return orderList;
} }
/** /**
* @param orderList the orderList to set * @param orderList the orderList to set
*/ */
@Override
public void setOrderList(Integer orderList) { public void setOrderList(Integer orderList) {
this.orderList = orderList; this.orderList = orderList;
} }

View file

@ -49,6 +49,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @return the name * @return the name
*/ */
@Override
public String getName() { public String getName() {
return name; return name;
} }
@ -56,6 +57,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @param name the name to set * @param name the name to set
*/ */
@Override
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
@ -63,6 +65,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @return the description * @return the description
*/ */
@Override
public String getDescription() { public String getDescription() {
return description; return description;
} }
@ -70,6 +73,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @param description the description to set * @param description the description to set
*/ */
@Override
public void setDescription(String description) { public void setDescription(String description) {
this.description = description; this.description = description;
} }
@ -77,6 +81,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @return the helpId * @return the helpId
*/ */
@Override
public String getHelpId() { public String getHelpId() {
return helpId; return helpId;
} }
@ -84,6 +89,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @param helpId the helpId to set * @param helpId the helpId to set
*/ */
@Override
public void setHelpId(String helpId) { public void setHelpId(String helpId) {
this.helpId = helpId; this.helpId = helpId;
} }
@ -91,6 +97,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @return the image * @return the image
*/ */
@Override
public String getImage() { public String getImage() {
return image; return image;
} }
@ -98,6 +105,7 @@ abstract public class AbstractVascBaseIdRoleCrudOrderMetaLocal extends AbstractV
/** /**
* @param image the image to set * @param image the image to set
*/ */
@Override
public void setImage(String image) { public void setImage(String image) {
this.image = image; this.image = image;
} }

View file

@ -45,6 +45,7 @@ abstract public class AbstractVascBaseIdRoleViewLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.base.VascBaseIdRoleView#getView() * @see net.forwardfire.vasc.core.base.VascBaseIdRoleView#getView()
*/ */
@Override
public Boolean getView() { public Boolean getView() {
return view; return view;
} }
@ -52,6 +53,7 @@ abstract public class AbstractVascBaseIdRoleViewLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.base.VascBaseIdRoleViewLocal#setView(java.lang.Boolean) * @see net.forwardfire.vasc.core.base.VascBaseIdRoleViewLocal#setView(java.lang.Boolean)
*/ */
@Override
public void setView(Boolean view) { public void setView(Boolean view) {
this.view=view; this.view=view;
} }
@ -59,6 +61,7 @@ abstract public class AbstractVascBaseIdRoleViewLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.base.VascBaseIdRoleView#getRolesView() * @see net.forwardfire.vasc.core.base.VascBaseIdRoleView#getRolesView()
*/ */
@Override
public String getRolesView() { public String getRolesView() {
return rolesView; return rolesView;
} }
@ -66,6 +69,7 @@ abstract public class AbstractVascBaseIdRoleViewLocal extends AbstractVascBaseId
/** /**
* @see net.forwardfire.vasc.core.base.VascBaseIdRoleViewLocal#setRolesView(java.lang.String) * @see net.forwardfire.vasc.core.base.VascBaseIdRoleViewLocal#setRolesView(java.lang.String)
*/ */
@Override
public void setRolesView(String rolesView) { public void setRolesView(String rolesView) {
this.rolesView=rolesView; this.rolesView=rolesView;
} }

View file

@ -43,6 +43,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderLocal extends AbstractVascB
/** /**
* @return the order * @return the order
*/ */
@Override
public Integer getOrder() { public Integer getOrder() {
return order; return order;
} }
@ -50,6 +51,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderLocal extends AbstractVascB
/** /**
* @param order the order to set * @param order the order to set
*/ */
@Override
public void setOrder(Integer order) { public void setOrder(Integer order) {
this.order=order; this.order=order;
} }

View file

@ -49,6 +49,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @return the name * @return the name
*/ */
@Override
public String getName() { public String getName() {
return name; return name;
} }
@ -56,6 +57,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @param name the name to set * @param name the name to set
*/ */
@Override
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
@ -63,6 +65,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @return the description * @return the description
*/ */
@Override
public String getDescription() { public String getDescription() {
return description; return description;
} }
@ -70,6 +73,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @param description the description to set * @param description the description to set
*/ */
@Override
public void setDescription(String description) { public void setDescription(String description) {
this.description = description; this.description = description;
} }
@ -77,6 +81,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @return the helpId * @return the helpId
*/ */
@Override
public String getHelpId() { public String getHelpId() {
return helpId; return helpId;
} }
@ -84,6 +89,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @param helpId the helpId to set * @param helpId the helpId to set
*/ */
@Override
public void setHelpId(String helpId) { public void setHelpId(String helpId) {
this.helpId = helpId; this.helpId = helpId;
} }
@ -91,6 +97,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @return the image * @return the image
*/ */
@Override
public String getImage() { public String getImage() {
return image; return image;
} }
@ -98,6 +105,7 @@ abstract public class AbstractVascBaseIdRoleViewOrderMetaLocal extends AbstractV
/** /**
* @param image the image to set * @param image the image to set
*/ */
@Override
public void setImage(String image) { public void setImage(String image) {
this.image = image; this.image = image;
} }

View file

@ -47,6 +47,7 @@ public class VascColumnValueModelListener implements VascValueModelListener {
setBean(bean); setBean(bean);
} }
@Override
public void valueUpdate(VascValueModel model) throws VascException { public void valueUpdate(VascValueModel model) throws VascException {
try { try {
vascEntryField.getVascEntryFieldValue().setValue(vascEntryField.getBackendName(), bean, model.getValue()); vascEntryField.getVascEntryFieldValue().setValue(vascEntryField.getBackendName(), bean, model.getValue());

View file

@ -42,6 +42,7 @@ public class VascOptionValueModelListener implements VascValueModelListener {
setVascEntryListOption(vascEntryListOption); setVascEntryListOption(vascEntryListOption);
} }
@Override
public void valueUpdate(VascValueModel model) throws VascException { public void valueUpdate(VascValueModel model) throws VascException {
String key = vascEntryListOption.getBackendName(); String key = vascEntryListOption.getBackendName();
Object value = model.getValue(); Object value = model.getValue();

View file

@ -55,6 +55,7 @@ abstract public class AbstractVascFrontend implements VascFrontend {
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontend#initEntry(net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.frontend.VascFrontend#initEntry(net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void initEntry(VascEntry entry) { public void initEntry(VascEntry entry) {
if (entry.getVascFrontendController().getVascFrontend()==null) { if (entry.getVascFrontendController().getVascFrontend()==null) {
Logger.getLogger(AbstractVascFrontend.class.getName()).fine("Bind frontend: "+this+" to: "+entry.getVascFrontendController()+" entry: "+entry.getId()); Logger.getLogger(AbstractVascFrontend.class.getName()).fine("Bind frontend: "+this+" to: "+entry.getVascFrontendController()+" entry: "+entry.getId());
@ -71,6 +72,7 @@ abstract public class AbstractVascFrontend implements VascFrontend {
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontend#getId() * @see net.forwardfire.vasc.frontend.VascFrontend#getId()
*/ */
@Override
public String getId() { public String getId() {
return id; return id;
} }
@ -78,6 +80,7 @@ abstract public class AbstractVascFrontend implements VascFrontend {
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontend#setId(java.lang.String) * @see net.forwardfire.vasc.frontend.VascFrontend#setId(java.lang.String)
*/ */
@Override
public void setId(String id) { public void setId(String id) {
this.id=id; this.id=id;
} }

View file

@ -89,6 +89,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#getVascInterfaceLoader() * @see net.forwardfire.vasc.core.VascEntryConfigController#getVascInterfaceLoader()
*/ */
@Override
public VascInterfaceLoader getVascInterfaceLoader() { public VascInterfaceLoader getVascInterfaceLoader() {
return vascInterfaceLoader; return vascInterfaceLoader;
} }
@ -96,6 +97,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#createVascInterfaceImplemention(net.forwardfire.vasc.core.VascInterfaceKey) * @see net.forwardfire.vasc.core.VascEntryConfigController#createVascInterfaceImplemention(net.forwardfire.vasc.core.VascInterfaceKey)
*/ */
@Override
public Object createVascInterfaceImplemention(VascInterfaceKey key) { public Object createVascInterfaceImplemention(VascInterfaceKey key) {
Class<?> classImpl = vascInterfaceImpls.get(key); Class<?> classImpl = vascInterfaceImpls.get(key);
if (classImpl==null) { if (classImpl==null) {
@ -112,6 +114,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigControllerLocal#putVascInterfaceImplemention(net.forwardfire.vasc.core.VascInterfaceKey, java.lang.Class) * @see net.forwardfire.vasc.core.VascEntryConfigControllerLocal#putVascInterfaceImplemention(net.forwardfire.vasc.core.VascInterfaceKey, java.lang.Class)
*/ */
@Override
public void putVascInterfaceImplemention(VascInterfaceKey key,Class<?> interfaceImpl) { public void putVascInterfaceImplemention(VascInterfaceKey key,Class<?> interfaceImpl) {
if (key==null) { if (key==null) {
throw new NullPointerException("Can't add null interface key."); throw new NullPointerException("Can't add null interface key.");
@ -125,6 +128,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#createVascInterfaceImplementionFrontend(net.forwardfire.vasc.core.VascInterfaceKeyFrontend, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigController#createVascInterfaceImplementionFrontend(net.forwardfire.vasc.core.VascInterfaceKeyFrontend, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public Object createVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key, VascEntry entry) { public Object createVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key, VascEntry entry) {
Class<?> classImpl = vascInterfaceImplFrontends.get(key); Class<?> classImpl = vascInterfaceImplFrontends.get(key);
if (classImpl==null) { if (classImpl==null) {
@ -144,6 +148,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigControllerLocal#putVascInterfaceImplementionFrontend(net.forwardfire.vasc.core.VascInterfaceKeyFrontend, java.lang.Class) * @see net.forwardfire.vasc.core.VascEntryConfigControllerLocal#putVascInterfaceImplementionFrontend(net.forwardfire.vasc.core.VascInterfaceKeyFrontend, java.lang.Class)
*/ */
@Override
public void putVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key, Class<?> interfaceImpl) { public void putVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key, Class<?> interfaceImpl) {
if (key==null) { if (key==null) {
throw new NullPointerException("Can't add null interface key."); throw new NullPointerException("Can't add null interface key.");
@ -153,23 +158,25 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
} }
vascInterfaceImplFrontends.put(key,interfaceImpl); vascInterfaceImplFrontends.put(key,interfaceImpl);
} }
@Override
public VascEntry configVascEntry(VascController vascController,String entryId) throws VascException { public VascEntry configVascEntry(VascController vascController,String entryId) throws VascException {
VascEntryLocal vascEntry = (VascEntryLocal)vascController.getVascEntryController().getVascEntryById(entryId); VascEntryLocal vascEntry = (VascEntryLocal)vascController.getVascEntryController().getVascEntryById(entryId);
configVascEntry(vascController,vascEntry); configVascEntry(vascController,vascEntry);
return vascEntry; return vascEntry;
} }
@Override
public void configVascEntry(VascController vascController,VascEntryLocal vascEntry) throws VascException { public void configVascEntry(VascController vascController,VascEntryLocal vascEntry) throws VascException {
for (VascEntryConfigFinalizer finalizer:configFinalizers) { for (VascEntryConfigFinalizer finalizer:configFinalizers) {
finalizer.configVascEntry(vascController,vascEntry); finalizer.configVascEntry(vascController,vascEntry);
} }
} }
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#configVascBackendProxied(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigController#configVascBackendProxied(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry) throws VascException { public VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry) throws VascException {
VascBackend<Serializable> realBackend = vascController.getVascBackendController().getVascBackendById(vascEntry.getBackendId()); VascBackend<Serializable> realBackend = vascController.getVascBackendController().getVascBackendById(vascEntry.getBackendId());
if (realBackend==null) { if (realBackend==null) {
@ -177,10 +184,11 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
} }
return configVascBackendProxied(vascController,vascEntry,realBackend); return configVascBackendProxied(vascController,vascEntry,realBackend);
} }
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#configVascBackendProxied(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry, net.forwardfire.vasc.backend.VascBackend) * @see net.forwardfire.vasc.core.VascEntryConfigController#configVascBackendProxied(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry, net.forwardfire.vasc.backend.VascBackend)
*/ */
@Override
public VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry, VascBackend<Serializable> realBackend) throws VascException { public VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry, VascBackend<Serializable> realBackend) throws VascException {
VascBackend<Serializable> backend = realBackend; VascBackend<Serializable> backend = realBackend;
for (VascBackendProxy proxy:backendProxies) { for (VascBackendProxy proxy:backendProxies) {
@ -203,6 +211,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
* @throws VascException * @throws VascException
* @see net.forwardfire.vasc.core.VascEntryConfigController#configVascFrontendController(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry, java.util.Locale) * @see net.forwardfire.vasc.core.VascEntryConfigController#configVascFrontendController(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry, java.util.Locale)
*/ */
@Override
public void configVascFrontendController(VascController vascController,VascEntryLocal entry) throws VascException { public void configVascFrontendController(VascController vascController,VascEntryLocal entry) throws VascException {
// get the interface loader and create some impl objects // get the interface loader and create some impl objects
@ -292,6 +301,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#addVascEntryConfigFinalizer(net.forwardfire.vasc.core.VascEntryConfigFinalizer) * @see net.forwardfire.vasc.core.VascEntryConfigController#addVascEntryConfigFinalizer(net.forwardfire.vasc.core.VascEntryConfigFinalizer)
*/ */
@Override
public void addVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer) { public void addVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer) {
configFinalizers.add(vascEntryConfigFinalizer); configFinalizers.add(vascEntryConfigFinalizer);
} }
@ -299,6 +309,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascEntryConfigFinalizer(net.forwardfire.vasc.core.VascEntryConfigFinalizer) * @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascEntryConfigFinalizer(net.forwardfire.vasc.core.VascEntryConfigFinalizer)
*/ */
@Override
public void removeVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer) { public void removeVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer) {
configFinalizers.remove(vascEntryConfigFinalizer); configFinalizers.remove(vascEntryConfigFinalizer);
} }
@ -306,6 +317,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryConfigFinalizers() * @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryConfigFinalizers()
*/ */
@Override
public List<VascEntryConfigFinalizer> getVascEntryConfigFinalizers() { public List<VascEntryConfigFinalizer> getVascEntryConfigFinalizers() {
return configFinalizers; return configFinalizers;
} }
@ -313,6 +325,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#addVascBackendProxy(net.forwardfire.vasc.backend.proxy.VascBackendProxy) * @see net.forwardfire.vasc.core.VascEntryConfigController#addVascBackendProxy(net.forwardfire.vasc.backend.proxy.VascBackendProxy)
*/ */
@Override
public void addVascBackendProxy(VascBackendProxy proxy) { public void addVascBackendProxy(VascBackendProxy proxy) {
backendProxies.add(proxy); backendProxies.add(proxy);
} }
@ -320,6 +333,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascBackendProxy(net.forwardfire.vasc.backend.proxy.VascBackendProxy) * @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascBackendProxy(net.forwardfire.vasc.backend.proxy.VascBackendProxy)
*/ */
@Override
public void removeVascBackendProxy(VascBackendProxy proxy) { public void removeVascBackendProxy(VascBackendProxy proxy) {
backendProxies.remove(proxy); backendProxies.remove(proxy);
} }
@ -327,6 +341,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#getVascBackendProxies() * @see net.forwardfire.vasc.core.VascEntryConfigController#getVascBackendProxies()
*/ */
@Override
public List<VascBackendProxy> getVascBackendProxies() { public List<VascBackendProxy> getVascBackendProxies() {
return backendProxies; return backendProxies;
} }
@ -334,6 +349,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryExporterById(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryExporterById(java.lang.String)
*/ */
@Override
public VascEntryExport getVascEntryExporterById(String exporterId) { public VascEntryExport getVascEntryExporterById(String exporterId) {
return dataExporters.get(exporterId); return dataExporters.get(exporterId);
} }
@ -341,6 +357,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#addVascEntryExporter(net.forwardfire.vasc.core.entry.VascEntryExport) * @see net.forwardfire.vasc.core.VascEntryConfigController#addVascEntryExporter(net.forwardfire.vasc.core.entry.VascEntryExport)
*/ */
@Override
public void addVascEntryExporter(VascEntryExport exporter) { public void addVascEntryExporter(VascEntryExport exporter) {
dataExporters.put(exporter.getId(),exporter); dataExporters.put(exporter.getId(),exporter);
} }
@ -348,6 +365,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascEntryExporter(net.forwardfire.vasc.core.entry.VascEntryExport) * @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascEntryExporter(net.forwardfire.vasc.core.entry.VascEntryExport)
*/ */
@Override
public void removeVascEntryExporter(VascEntryExport exporter) { public void removeVascEntryExporter(VascEntryExport exporter) {
dataExporters.remove(exporter.getId()); dataExporters.remove(exporter.getId());
} }
@ -355,6 +373,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryExporterIds() * @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryExporterIds()
*/ */
@Override
public List<String> getVascEntryExporterIds() { public List<String> getVascEntryExporterIds() {
return new ArrayList<String>(dataExporters.keySet()); return new ArrayList<String>(dataExporters.keySet());
} }
@ -362,6 +381,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#getResourceBundle() * @see net.forwardfire.vasc.core.VascEntryConfigController#getResourceBundle()
*/ */
@Override
public String getResourceBundle() { public String getResourceBundle() {
return resourceBundle; return resourceBundle;
} }
@ -369,6 +389,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#setResourceBundle(java.lang.String) * @see net.forwardfire.vasc.core.VascEntryConfigController#setResourceBundle(java.lang.String)
*/ */
@Override
public void setResourceBundle(String resourceBundle) { public void setResourceBundle(String resourceBundle) {
this.resourceBundle=resourceBundle; this.resourceBundle=resourceBundle;
} }
@ -376,6 +397,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#addVascEntryFieldValidatorService(net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService) * @see net.forwardfire.vasc.core.VascEntryConfigController#addVascEntryFieldValidatorService(net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService)
*/ */
@Override
public void addVascEntryFieldValidatorService(VascEntryFieldValidatorService validator) { public void addVascEntryFieldValidatorService(VascEntryFieldValidatorService validator) {
fieldValidators.add(validator); fieldValidators.add(validator);
} }
@ -383,6 +405,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascEntryFieldValidatorService(net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService) * @see net.forwardfire.vasc.core.VascEntryConfigController#removeVascEntryFieldValidatorService(net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService)
*/ */
@Override
public void removeVascEntryFieldValidatorService(VascEntryFieldValidatorService validator) { public void removeVascEntryFieldValidatorService(VascEntryFieldValidatorService validator) {
fieldValidators.remove(validator); fieldValidators.remove(validator);
} }
@ -390,6 +413,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryFieldValidatorServices() * @see net.forwardfire.vasc.core.VascEntryConfigController#getVascEntryFieldValidatorServices()
*/ */
@Override
public List<VascEntryFieldValidatorService> getVascEntryFieldValidatorServices() { public List<VascEntryFieldValidatorService> getVascEntryFieldValidatorServices() {
return fieldValidators; return fieldValidators;
} }
@ -397,6 +421,7 @@ public class DefaultVascEntryConfigController implements VascEntryConfigControll
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigControllerLocal#getMasterVascBackendState() * @see net.forwardfire.vasc.core.VascEntryConfigControllerLocal#getMasterVascBackendState()
*/ */
@Override
public VascBackendState getMasterVascBackendState() { public VascBackendState getMasterVascBackendState() {
return masterVascBackendState; return masterVascBackendState;
} }

View file

@ -65,6 +65,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryImpl()
*/ */
@Override
public VascEntry createVascEntryImpl() { public VascEntry createVascEntryImpl() {
return (VascEntry)createImpl(VascInterfaceKey.VASC_ENTRY); return (VascEntry)createImpl(VascInterfaceKey.VASC_ENTRY);
} }
@ -72,6 +73,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryFieldImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryFieldImpl()
*/ */
@Override
public VascEntryField createVascEntryFieldImpl() { public VascEntryField createVascEntryFieldImpl() {
return (VascEntryField)createImpl(VascInterfaceKey.VASC_ENTRY_FIELD); return (VascEntryField)createImpl(VascInterfaceKey.VASC_ENTRY_FIELD);
} }
@ -79,6 +81,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryStateImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryStateImpl()
*/ */
@Override
public VascEntryState createVascEntryStateImpl() { public VascEntryState createVascEntryStateImpl() {
return (VascEntryState)createImpl(VascInterfaceKey.VASC_ENTRY_STATE); return (VascEntryState)createImpl(VascInterfaceKey.VASC_ENTRY_STATE);
} }
@ -86,6 +89,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryFieldSetImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryFieldSetImpl()
*/ */
@Override
public VascEntryFieldSet createVascEntryFieldSetImpl() { public VascEntryFieldSet createVascEntryFieldSetImpl() {
return (VascEntryFieldSet)createImpl(VascInterfaceKey.VASC_ENTRY_FIELD_SET); return (VascEntryFieldSet)createImpl(VascInterfaceKey.VASC_ENTRY_FIELD_SET);
} }
@ -93,6 +97,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryLinkImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryLinkImpl()
*/ */
@Override
public VascEntryLink createVascEntryLinkImpl() { public VascEntryLink createVascEntryLinkImpl() {
return (VascEntryLink)createImpl(VascInterfaceKey.VASC_ENTRY_LINK); return (VascEntryLink)createImpl(VascInterfaceKey.VASC_ENTRY_LINK);
} }
@ -100,6 +105,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryListOptionImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascEntryListOptionImpl()
*/ */
@Override
public VascEntryListOption createVascEntryListOptionImpl() { public VascEntryListOption createVascEntryListOptionImpl() {
return (VascEntryListOption)createImpl(VascInterfaceKey.VASC_ENTRY_LIST_OPTION); return (VascEntryListOption)createImpl(VascInterfaceKey.VASC_ENTRY_LIST_OPTION);
} }
@ -107,6 +113,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascBackendStateImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascBackendStateImpl()
*/ */
@Override
public VascBackendState createVascBackendStateImpl() { public VascBackendState createVascBackendStateImpl() {
return (VascBackendState)createImpl(VascInterfaceKey.VASC_BACKEND_STATE); return (VascBackendState)createImpl(VascInterfaceKey.VASC_BACKEND_STATE);
} }
@ -114,6 +121,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendControllerLocalImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendControllerLocalImpl()
*/ */
@Override
public VascFrontendControllerLocal createVascFrontendControllerLocalImpl() { public VascFrontendControllerLocal createVascFrontendControllerLocalImpl() {
return (VascFrontendControllerLocal)createImpl(VascInterfaceKey.VASC_FRONTEND_CONTROLLER_LOCAL); return (VascFrontendControllerLocal)createImpl(VascInterfaceKey.VASC_FRONTEND_CONTROLLER_LOCAL);
} }
@ -121,6 +129,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendPagerImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendPagerImpl()
*/ */
@Override
public VascFrontendPageInfo createVascFrontendPagerImpl(VascEntry entry) { public VascFrontendPageInfo createVascFrontendPagerImpl(VascEntry entry) {
return (VascFrontendPageInfo)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_PAGER,entry); return (VascFrontendPageInfo)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_PAGER,entry);
} }
@ -128,6 +137,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendActionsImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendActionsImpl()
*/ */
@Override
public VascFrontendActions createVascFrontendActionsImpl(VascEntry entry) { public VascFrontendActions createVascFrontendActionsImpl(VascEntry entry) {
return (VascFrontendActions)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_ACTIONS,entry); return (VascFrontendActions)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_ACTIONS,entry);
} }
@ -135,6 +145,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendDataSelectorImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendDataSelectorImpl()
*/ */
@Override
public VascFrontendDataSelector createVascFrontendDataSelectorImpl(VascEntry entry) { public VascFrontendDataSelector createVascFrontendDataSelectorImpl(VascEntry entry) {
return (VascFrontendDataSelector)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_DATA_SELECTOR,entry); return (VascFrontendDataSelector)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_DATA_SELECTOR,entry);
} }
@ -142,6 +153,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendUserControllerImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendUserControllerImpl()
*/ */
@Override
public VascFrontendUserController createVascFrontendUserControllerImpl(VascEntry entry) { public VascFrontendUserController createVascFrontendUserControllerImpl(VascEntry entry) {
return (VascFrontendUserController)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_USER_CONTROLLER,entry); return (VascFrontendUserController)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_USER_CONTROLLER,entry);
} }
@ -149,6 +161,7 @@ public class DefaultVascInterfaceLoader implements VascInterfaceLoader {
/** /**
* @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendUserSettingControllerImpl() * @see net.forwardfire.vasc.core.VascInterfaceLoader#createVascFrontendUserSettingControllerImpl()
*/ */
@Override
public VascFrontendUserSettingController createVascFrontendUserSettingControllerImpl(VascEntry entry) { public VascFrontendUserSettingController createVascFrontendUserSettingControllerImpl(VascEntry entry) {
return (VascFrontendUserSettingController)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_USER_SETTING_CONTROLLER,entry); return (VascFrontendUserSettingController)createImpl(VascInterfaceKeyFrontend.VASC_FRONTEND_USER_SETTING_CONTROLLER,entry);
} }

View file

@ -39,11 +39,12 @@ public class AddRowAction extends AbstractVascRowActionLocal {
private static final long serialVersionUID = 3400966729022979875L; private static final long serialVersionUID = 3400966729022979875L;
static public final String ACTION_ID = "addRowAction"; static public final String ACTION_ID = "addRowAction";
@Override
protected String getActionId() { protected String getActionId() {
return ACTION_ID; return ACTION_ID;
} }
@Override
public void doRowAction(VascEntry entry,Serializable rowObject) throws VascException { public void doRowAction(VascEntry entry,Serializable rowObject) throws VascException {
entry.getVascFrontendController().getVascEntryState().setEditCreate(true); entry.getVascFrontendController().getVascEntryState().setEditCreate(true);
Serializable object = entry.getVascFrontendController().getVascFrontendActions().createObject(); Serializable object = entry.getVascFrontendController().getVascFrontendActions().createObject();
@ -54,6 +55,7 @@ public class AddRowAction extends AbstractVascRowActionLocal {
/** /**
* @see net.forwardfire.vasc.core.actions.RowVascAction#isMultiRowAction() * @see net.forwardfire.vasc.core.actions.RowVascAction#isMultiRowAction()
*/ */
@Override
public boolean isMultiRowAction() { public boolean isMultiRowAction() {
return false; return false;
} }

View file

@ -39,10 +39,12 @@ public class DeleteRowAction extends AbstractVascRowActionLocal {
private static final long serialVersionUID = 1162940569489964980L; private static final long serialVersionUID = 1162940569489964980L;
static public final String ACTION_ID = "deleteRowAction"; static public final String ACTION_ID = "deleteRowAction";
@Override
protected String getActionId() { protected String getActionId() {
return ACTION_ID; return ACTION_ID;
} }
@Override
public void doRowAction(VascEntry entry,Serializable rowObject) throws VascException { public void doRowAction(VascEntry entry,Serializable rowObject) throws VascException {
if (rowObject==null) { if (rowObject==null) {
return; // nothing selected return; // nothing selected
@ -54,6 +56,7 @@ public class DeleteRowAction extends AbstractVascRowActionLocal {
/** /**
* @see net.forwardfire.vasc.core.actions.RowVascAction#isMultiRowAction() * @see net.forwardfire.vasc.core.actions.RowVascAction#isMultiRowAction()
*/ */
@Override
public boolean isMultiRowAction() { public boolean isMultiRowAction() {
return true; return true;
} }

View file

@ -40,11 +40,12 @@ public class EditRowAction extends AbstractVascRowActionLocal {
private static final long serialVersionUID = 8159548546452740185L; private static final long serialVersionUID = 8159548546452740185L;
static public final String ACTION_ID = "editRowAction"; static public final String ACTION_ID = "editRowAction";
@Override
protected String getActionId() { protected String getActionId() {
return ACTION_ID; return ACTION_ID;
} }
@Override
public void doRowAction(VascEntry entry,Serializable rowObject) throws VascException { public void doRowAction(VascEntry entry,Serializable rowObject) throws VascException {
if (rowObject==null) { if (rowObject==null) {
return; // nothing selected return; // nothing selected
@ -59,6 +60,7 @@ public class EditRowAction extends AbstractVascRowActionLocal {
/** /**
* @see net.forwardfire.vasc.core.actions.RowVascAction#isMultiRowAction() * @see net.forwardfire.vasc.core.actions.RowVascAction#isMultiRowAction()
*/ */
@Override
public boolean isMultiRowAction() { public boolean isMultiRowAction() {
return false; return false;
} }

View file

@ -48,10 +48,12 @@ public class ExportDataGlobalAction extends AbstractVascGlobalActionLocal {
setId(exporterId+ACTION_POSTFIX); setId(exporterId+ACTION_POSTFIX);
} }
@Override
protected String getActionId() { protected String getActionId() {
return exporterId; return exporterId;
} }
@Override
public void doGlobalAction(VascEntry entry) throws VascException { public void doGlobalAction(VascEntry entry) throws VascException {
VascEntryExport exporter = entry.getVascFrontendController().getVascController().getVascEntryConfigController().getVascEntryExporterById(exporterId); VascEntryExport exporter = entry.getVascFrontendController().getVascController().getVascEntryConfigController().getVascEntryExporterById(exporterId);
entry.getVascFrontendController().getVascFrontend().renderExport(exporter); entry.getVascFrontendController().getVascFrontend().renderExport(exporter);

View file

@ -37,10 +37,12 @@ public class RefreshDataGlobalAction extends AbstractVascGlobalActionLocal {
private static final long serialVersionUID = -5988959004156823956L; private static final long serialVersionUID = -5988959004156823956L;
static public final String ACTION_ID = "refreshDataAction"; static public final String ACTION_ID = "refreshDataAction";
@Override
protected String getActionId() { protected String getActionId() {
return ACTION_ID; return ACTION_ID;
} }
@Override
public void doGlobalAction(VascEntry entry) throws VascException { public void doGlobalAction(VascEntry entry) throws VascException {
entry.getVascFrontendController().getVascFrontendActions().refreshData(); // this wil also fire the event entry.getVascFrontendController().getVascFrontendActions().refreshData(); // this wil also fire the event
} }

View file

@ -49,6 +49,7 @@ public class DefaultVascEntryExport implements VascEntryExport {
writerParameters = new HashMap<String,String>(); writerParameters = new HashMap<String,String>();
} }
@Override
public VascEntryExportWriter createExportWriter() throws VascException { public VascEntryExportWriter createExportWriter() throws VascException {
ClassLoader cl = Thread.currentThread().getContextClassLoader(); ClassLoader cl = Thread.currentThread().getContextClassLoader();
if (cl == null) { if (cl == null) {
@ -64,12 +65,17 @@ public class DefaultVascEntryExport implements VascEntryExport {
} }
} }
@Override
public void addWriterParameter(String key,String value) { public void addWriterParameter(String key,String value) {
writerParameters.put(key,value); writerParameters.put(key,value);
} }
@Override
public String getWriterParameter(String key) { public String getWriterParameter(String key) {
return writerParameters.get(key); return writerParameters.get(key);
} }
@Override
public Set<String> getWriterParameterKeys() { public Set<String> getWriterParameterKeys() {
return writerParameters.keySet(); return writerParameters.keySet();
} }
@ -77,6 +83,7 @@ public class DefaultVascEntryExport implements VascEntryExport {
/** /**
* @return the id * @return the id
*/ */
@Override
public String getId() { public String getId() {
return id; return id;
} }
@ -91,6 +98,7 @@ public class DefaultVascEntryExport implements VascEntryExport {
/** /**
* @return the rolesExport * @return the rolesExport
*/ */
@Override
public String getRolesExport() { public String getRolesExport() {
return rolesExport; return rolesExport;
} }
@ -105,6 +113,7 @@ public class DefaultVascEntryExport implements VascEntryExport {
/** /**
* @return the exportWriterClass * @return the exportWriterClass
*/ */
@Override
public String getExportWriterClass() { public String getExportWriterClass() {
return exportWriterClass; return exportWriterClass;
} }

View file

@ -51,6 +51,7 @@ public class DefaultVascEntryResourceResolver implements VascEntryResourceResolv
this(ResourceBundle.getBundle(baseName, locale)); this(ResourceBundle.getBundle(baseName, locale));
} }
@Override
public String getTextValue(String text,Object...params) { public String getTextValue(String text,Object...params) {
if (resourceBundle==null) { if (resourceBundle==null) {
return text; return text;

View file

@ -56,6 +56,7 @@ public class HibernateValidatorService implements VascEntryFieldValidatorService
private Logger logger = Logger.getLogger(HibernateValidatorService.class.getName()); private Logger logger = Logger.getLogger(HibernateValidatorService.class.getName());
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override
public List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException { public List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException {
List<String> error = new ArrayList<String>(3); List<String> error = new ArrayList<String>(3);
try { try {
@ -123,6 +124,7 @@ public class HibernateValidatorService implements VascEntryFieldValidatorService
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
@Override
public String interpolate(String message, Validator validator, MessageInterpolator defaultInterpolator) { public String interpolate(String message, Validator validator, MessageInterpolator defaultInterpolator) {
if ( annotationMessage!=null && annotationMessage.equals( message ) ) { if ( annotationMessage!=null && annotationMessage.equals( message ) ) {
//short cut //short cut

View file

@ -51,6 +51,7 @@ public class PersistanceValidatorService implements VascEntryFieldValidatorServi
private Logger logger = Logger.getLogger(PersistanceValidatorService.class.getName()); private Logger logger = Logger.getLogger(PersistanceValidatorService.class.getName());
@Override
public List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException { public List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException {
List<String> error = new ArrayList<String>(3); List<String> error = new ArrayList<String>(3);
try { try {

View file

@ -57,6 +57,7 @@ public class SetParameterBackendListener implements VascEntryBackendEventListene
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryBackendEventListener#getEventType() * @see net.forwardfire.vasc.core.entry.VascEntryBackendEventListener#getEventType()
*/ */
@Override
public VascBackendEventType[] getEventTypes() { public VascBackendEventType[] getEventTypes() {
return new VascBackendEventType[] { return new VascBackendEventType[] {
VascBackendEventType.PRE_DELETE, VascBackendEventType.PRE_DELETE,
@ -72,6 +73,7 @@ public class SetParameterBackendListener implements VascEntryBackendEventListene
/** /**
* @see net.forwardfire.vasc.core.entry.VascEntryBackendEventListener#vascEvent(net.forwardfire.vasc.core.VascEntry, java.lang.Object) * @see net.forwardfire.vasc.core.entry.VascEntryBackendEventListener#vascEvent(net.forwardfire.vasc.core.VascEntry, java.lang.Object)
*/ */
@Override
public void vascEvent(VascEntry entry, Object data) { public void vascEvent(VascEntry entry, Object data) {
if (data instanceof VascBackendState) { if (data instanceof VascBackendState) {
VascBackendState state = (VascBackendState)data; VascBackendState state = (VascBackendState)data;

View file

@ -43,6 +43,7 @@ public class VascValidatorsValidatorService implements VascEntryFieldValidatorSe
private Logger logger = Logger.getLogger(VascValidatorsValidatorService.class.getName()); private Logger logger = Logger.getLogger(VascValidatorsValidatorService.class.getName());
@Override
public List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException { public List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException {
List<String> error = new ArrayList<String>(3); List<String> error = new ArrayList<String>(3);
try { try {

View file

@ -43,6 +43,7 @@ public class VascActionsFinalizer implements VascEntryConfigFinalizer {
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException { public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException {

View file

@ -49,6 +49,7 @@ public class VascDefaultsFinalizer implements VascEntryConfigFinalizer {
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException { public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException {
// First Check if we all have ids // First Check if we all have ids

View file

@ -45,6 +45,7 @@ public class VascHelpIdFinalizer implements VascEntryConfigFinalizer {
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException { public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException {
String id = entry.getId(); String id = entry.getId();

View file

@ -42,6 +42,7 @@ public class VascI18nFinalizer implements VascEntryConfigFinalizer {
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException { public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException {
// Fill up all not field i18n keys // Fill up all not field i18n keys

View file

@ -44,6 +44,7 @@ public class VascIdAutoFinalizer implements VascEntryConfigFinalizer {
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException { public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException {
// count all auto objects as one index // count all auto objects as one index

View file

@ -45,6 +45,7 @@ public class VascIdCheckFinalizer implements VascEntryConfigFinalizer {
/** /**
* @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.core.VascEntryConfigFinalizer#configVascEntry(net.forwardfire.vasc.core.VascController, net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException { public void configVascEntry(VascController vascController, VascEntryLocal entry) throws VascException {
// First Check if we all have ids // First Check if we all have ids

View file

@ -47,6 +47,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
private Logger logger = Logger.getLogger(DefaultVascFrontendActions.class.getName()); private Logger logger = Logger.getLogger(DefaultVascFrontendActions.class.getName());
private VascEntry entry = null; private VascEntry entry = null;
@Override
public void init(VascEntry entry) { public void init(VascEntry entry) {
this.entry=entry; this.entry=entry;
} }
@ -54,6 +55,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendHelper#initEditObject(net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.frontend.VascFrontendHelper#initEditObject(net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public Serializable createObject() throws VascFrontendException { public Serializable createObject() throws VascFrontendException {
entry.getVascFrontendController().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.PRE_CREATE, null); entry.getVascFrontendController().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.PRE_CREATE, null);
Serializable object; Serializable object;
@ -124,6 +126,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendActions#persistObject() * @see net.forwardfire.vasc.frontend.VascFrontendActions#persistObject()
*/ */
@Override
public void persistObject() throws VascFrontendException { public void persistObject() throws VascFrontendException {
try { try {
saveObject(true); saveObject(true);
@ -135,6 +138,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendActions#mergeObject() * @see net.forwardfire.vasc.frontend.VascFrontendActions#mergeObject()
*/ */
@Override
public Serializable mergeObject() throws VascFrontendException { public Serializable mergeObject() throws VascFrontendException {
try { try {
return saveObject(false); return saveObject(false);
@ -180,6 +184,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
* @param entry * @param entry
* @param object * @param object
*/ */
@Override
public void deleteObject() throws VascFrontendException { public void deleteObject() throws VascFrontendException {
try { try {
Serializable object = entry.getVascFrontendController().getVascEntryState().getEntryDataObject(); Serializable object = entry.getVascFrontendController().getVascEntryState().getEntryDataObject();
@ -198,6 +203,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendHelper#refreshData(net.forwardfire.vasc.core.VascEntry) * @see net.forwardfire.vasc.frontend.VascFrontendHelper#refreshData(net.forwardfire.vasc.core.VascEntry)
*/ */
@Override
public void refreshData() throws VascFrontendException { public void refreshData() throws VascFrontendException {
// Fire pre read event // Fire pre read event
@ -240,7 +246,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
} }
} }
@Override
public void sortAction(VascEntryField field) throws VascFrontendException { public void sortAction(VascEntryField field) throws VascFrontendException {
String curSort = entry.getVascFrontendController().getVascEntryState().getVascBackendState().getSortField(); String curSort = entry.getVascFrontendController().getVascEntryState().getVascBackendState().getSortField();
if (field.getBackendName().equals(curSort)) { if (field.getBackendName().equals(curSort)) {
@ -255,6 +261,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
entry.getVascFrontendController().getVascFrontend().renderView(); entry.getVascFrontendController().getVascFrontend().renderView();
} }
@Override
public void searchAction(String searchString) throws VascFrontendException { public void searchAction(String searchString) throws VascFrontendException {
entry.getVascFrontendController().getVascEntryState().getVascBackendState().setSearchString(searchString); entry.getVascFrontendController().getVascEntryState().getVascBackendState().setSearchString(searchString);
entry.getVascFrontendController().getVascEntryState().getVascBackendState().setPageIndex(0); entry.getVascFrontendController().getVascEntryState().getVascBackendState().setPageIndex(0);
@ -264,6 +271,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
entry.getVascFrontendController().getVascFrontend().renderView(); entry.getVascFrontendController().getVascFrontend().renderView();
} }
@Override
public void pageAction(Integer pageIndex) throws VascFrontendException { public void pageAction(Integer pageIndex) throws VascFrontendException {
if (pageIndex<1) { if (pageIndex<1) {
pageIndex = 0; pageIndex = 0;
@ -282,6 +290,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
entry.getVascFrontendController().getVascFrontend().renderView(); entry.getVascFrontendController().getVascFrontend().renderView();
} }
@Override
public void moveUpAction(Serializable record) throws VascFrontendException { public void moveUpAction(Serializable record) throws VascFrontendException {
if (entry.getVascFrontendController().getVascEntryState().getVascBackend().isRecordMoveable()) { if (entry.getVascFrontendController().getVascEntryState().getVascBackend().isRecordMoveable()) {
try { try {
@ -299,6 +308,7 @@ public class DefaultVascFrontendActions implements VascFrontendActions {
entry.getVascFrontendController().getVascFrontend().renderView(); entry.getVascFrontendController().getVascFrontend().renderView();
} }
@Override
public void moveDownAction(Serializable record) throws VascFrontendException { public void moveDownAction(Serializable record) throws VascFrontendException {
if (entry.getVascFrontendController().getVascEntryState().getVascBackend().isRecordMoveable()) { if (entry.getVascFrontendController().getVascEntryState().getVascBackend().isRecordMoveable()) {

View file

@ -94,6 +94,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascFrontend * @return the vascFrontend
*/ */
@Override
public VascFrontend getVascFrontend() { public VascFrontend getVascFrontend() {
return vascFrontend; return vascFrontend;
} }
@ -101,6 +102,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascFrontend the vascFrontend to set * @param vascFrontend the vascFrontend to set
*/ */
@Override
public void setVascFrontend(VascFrontend vascFrontend) { public void setVascFrontend(VascFrontend vascFrontend) {
this.vascFrontend = vascFrontend; this.vascFrontend = vascFrontend;
} }
@ -108,6 +110,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascFrontendActions * @return the vascFrontendActions
*/ */
@Override
public VascFrontendActions getVascFrontendActions() { public VascFrontendActions getVascFrontendActions() {
return vascFrontendActions; return vascFrontendActions;
} }
@ -115,6 +118,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascFrontendActions the vascFrontendActions to set * @param vascFrontendActions the vascFrontendActions to set
*/ */
@Override
public void setVascFrontendActions(VascFrontendActions vascFrontendActions) { public void setVascFrontendActions(VascFrontendActions vascFrontendActions) {
this.vascFrontendActions = vascFrontendActions; this.vascFrontendActions = vascFrontendActions;
} }
@ -122,6 +126,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascFrontendPager * @return the vascFrontendPager
*/ */
@Override
public VascFrontendPageInfo getVascFrontendPageInfo() { public VascFrontendPageInfo getVascFrontendPageInfo() {
return vascFrontendPageInfo; return vascFrontendPageInfo;
} }
@ -129,6 +134,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascFrontendPager the vascFrontendPager to set * @param vascFrontendPager the vascFrontendPager to set
*/ */
@Override
public void setVascFrontendPageInfo(VascFrontendPageInfo vascFrontendPageInfo) { public void setVascFrontendPageInfo(VascFrontendPageInfo vascFrontendPageInfo) {
this.vascFrontendPageInfo = vascFrontendPageInfo; this.vascFrontendPageInfo = vascFrontendPageInfo;
} }
@ -150,6 +156,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascFrontendHelper * @return the vascFrontendHelper
*/ */
@Override
public VascFrontendHelper getVascFrontendHelper() { public VascFrontendHelper getVascFrontendHelper() {
return vascFrontendHelper; return vascFrontendHelper;
} }
@ -157,6 +164,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascFrontendHelper the vascFrontendHelper to set * @param vascFrontendHelper the vascFrontendHelper to set
*/ */
@Override
public void setVascFrontendHelper(VascFrontendHelper vascFrontendHelper) { public void setVascFrontendHelper(VascFrontendHelper vascFrontendHelper) {
this.vascFrontendHelper = vascFrontendHelper; this.vascFrontendHelper = vascFrontendHelper;
} }
@ -164,6 +172,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascEntryResourceResolver * @return the vascEntryResourceResolver
*/ */
@Override
public VascEntryResourceResolver getVascEntryResourceResolver() { public VascEntryResourceResolver getVascEntryResourceResolver() {
return vascEntryResourceResolver; return vascEntryResourceResolver;
} }
@ -171,11 +180,12 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascEntryResourceResolver the vascEntryResourceResolver to set * @param vascEntryResourceResolver the vascEntryResourceResolver to set
*/ */
@Override
public void setVascEntryResourceResolver(VascEntryResourceResolver vascEntryResourceResolver) { public void setVascEntryResourceResolver(VascEntryResourceResolver vascEntryResourceResolver) {
this.vascEntryResourceResolver = vascEntryResourceResolver; this.vascEntryResourceResolver = vascEntryResourceResolver;
} }
@Override
public VascUIComponent getVascUIComponent(String rendererId) throws VascException { public VascUIComponent getVascUIComponent(String rendererId) throws VascException {
ClassLoader cl = Thread.currentThread().getContextClassLoader(); ClassLoader cl = Thread.currentThread().getContextClassLoader();
if (cl == null) { if (cl == null) {
@ -201,6 +211,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendController#getVascUIComponent(java.lang.String) * @see net.forwardfire.vasc.frontend.VascFrontendController#getVascUIComponent(java.lang.String)
*/ */
@Override
public String getVascUIComponentClass(String rendererId) { public String getVascUIComponentClass(String rendererId) {
return uiComponents.get(rendererId); return uiComponents.get(rendererId);
} }
@ -208,6 +219,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendController#putVascUIComponent(java.lang.String, java.lang.String) * @see net.forwardfire.vasc.frontend.VascFrontendController#putVascUIComponent(java.lang.String, java.lang.String)
*/ */
@Override
public void putVascUIComponent(String rendererId, String uiComponentClass) { public void putVascUIComponent(String rendererId, String uiComponentClass) {
uiComponents.put(rendererId, uiComponentClass); uiComponents.put(rendererId, uiComponentClass);
} }
@ -215,6 +227,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascController * @return the vascController
*/ */
@Override
public VascController getVascController() { public VascController getVascController() {
return vascController; return vascController;
} }
@ -222,6 +235,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascController the vascController to set * @param vascController the vascController to set
*/ */
@Override
public void setVascController(VascController vascController) { public void setVascController(VascController vascController) {
this.vascController = vascController; this.vascController = vascController;
} }
@ -229,11 +243,13 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendController#addFieldVascUIComponents(net.forwardfire.vasc.core.VascEntryField, net.forwardfire.vasc.core.ui.VascUIComponent, java.lang.Object) * @see net.forwardfire.vasc.frontend.VascFrontendController#addFieldVascUIComponents(net.forwardfire.vasc.core.VascEntryField, net.forwardfire.vasc.core.ui.VascUIComponent, java.lang.Object)
*/ */
@Override
public void addFieldVascUIComponents(VascEntryField field,VascUIComponent uiComponent, Object editor) { public void addFieldVascUIComponents(VascEntryField field,VascUIComponent uiComponent, Object editor) {
fieldComps.put(field, uiComponent); fieldComps.put(field, uiComponent);
fieldEditors.put(field, editor); fieldEditors.put(field, editor);
} }
@Override
public void clearFieldRenderObjects() { public void clearFieldRenderObjects() {
fieldComps.clear(); fieldComps.clear();
fieldEditors.clear(); fieldEditors.clear();
@ -242,54 +258,63 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendController#getFieldRealRenderer(net.forwardfire.vasc.core.VascEntryField) * @see net.forwardfire.vasc.frontend.VascFrontendController#getFieldRealRenderer(net.forwardfire.vasc.core.VascEntryField)
*/ */
@Override
public Object getFieldRealRenderer(VascEntryField field) { public Object getFieldRealRenderer(VascEntryField field) {
return fieldEditors.get(field); return fieldEditors.get(field);
} }
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendController#getFieldVascUIComponent(net.forwardfire.vasc.core.VascEntryField) * @see net.forwardfire.vasc.frontend.VascFrontendController#getFieldVascUIComponent(net.forwardfire.vasc.core.VascEntryField)
*/ */
@Override
public VascUIComponent getFieldVascUIComponent(VascEntryField field) { public VascUIComponent getFieldVascUIComponent(VascEntryField field) {
return fieldComps.get(field); return fieldComps.get(field);
} }
/** /**
* @return the vascEntryResourceImageResolver * @return the vascEntryResourceImageResolver
*/ */
@Override
public VascEntryResourceImageResolver getVascEntryResourceImageResolver() { public VascEntryResourceImageResolver getVascEntryResourceImageResolver() {
return vascEntryResourceImageResolver; return vascEntryResourceImageResolver;
} }
/** /**
* @param vascEntryResourceImageResolver the vascEntryResourceImageResolver to set * @param vascEntryResourceImageResolver the vascEntryResourceImageResolver to set
*/ */
@Override
public void setVascEntryResourceImageResolver(VascEntryResourceImageResolver vascEntryResourceImageResolver) { public void setVascEntryResourceImageResolver(VascEntryResourceImageResolver vascEntryResourceImageResolver) {
this.vascEntryResourceImageResolver = vascEntryResourceImageResolver; this.vascEntryResourceImageResolver = vascEntryResourceImageResolver;
} }
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendController#addVascValidatorService(net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService) * @see net.forwardfire.vasc.frontend.VascFrontendController#addVascValidatorService(net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService)
*/ */
@Override
public void addVascValidatorService(VascEntryFieldValidatorService validatorService) { public void addVascValidatorService(VascEntryFieldValidatorService validatorService) {
validatorServices.add(validatorService); validatorServices.add(validatorService);
} }
/** /**
* @see net.forwardfire.vasc.frontend.VascFrontendController#getVascValidatorServices() * @see net.forwardfire.vasc.frontend.VascFrontendController#getVascValidatorServices()
*/ */
@Override
public List<VascEntryFieldValidatorService> getVascValidatorServices() { public List<VascEntryFieldValidatorService> getVascValidatorServices() {
return validatorServices; return validatorServices;
} }
@Override
public VascEntryState getVascEntryState() { public VascEntryState getVascEntryState() {
return state; return state;
} }
@Override
public void setVascEntryState(VascEntryState state) { public void setVascEntryState(VascEntryState state) {
this.state=state; this.state=state;
} }
// TODO move to config // TODO move to config
@Override
public void initFrontendListeners(VascEntryLocal entry,String frontendType) throws InstantiationException, IllegalAccessException { public void initFrontendListeners(VascEntryLocal entry,String frontendType) throws InstantiationException, IllegalAccessException {
ClassLoader cl = Thread.currentThread().getContextClassLoader(); ClassLoader cl = Thread.currentThread().getContextClassLoader();
if (cl==null) { if (cl==null) {
@ -344,6 +369,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
} }
} }
@Override
public void addVascEntryFrontendEventListener(VascEntryFrontendEventListener listener) { public void addVascEntryFrontendEventListener(VascEntryFrontendEventListener listener) {
for (VascEntryFrontendEventListener.VascFrontendEventType type:listener.getEventTypes()) { for (VascEntryFrontendEventListener.VascFrontendEventType type:listener.getEventTypes()) {
List<VascEntryFrontendEventListener> list = vascEntryFrontendEventListeners.get(type); List<VascEntryFrontendEventListener> list = vascEntryFrontendEventListeners.get(type);
@ -355,6 +381,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
} }
} }
@Override
public List<VascEntryFrontendEventListener> getVascEntryFrontendEventListener(VascEntryFrontendEventListener.VascFrontendEventType type) { public List<VascEntryFrontendEventListener> getVascEntryFrontendEventListener(VascEntryFrontendEventListener.VascFrontendEventType type) {
List<VascEntryFrontendEventListener> list = vascEntryFrontendEventListeners.get(type); List<VascEntryFrontendEventListener> list = vascEntryFrontendEventListeners.get(type);
if (list==null) { if (list==null) {
@ -363,6 +390,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
return list; return list;
} }
@Override
public void fireVascFrontendEvent(VascEntry entry,VascFrontendEventType type, Serializable data) { public void fireVascFrontendEvent(VascEntry entry,VascFrontendEventType type, Serializable data) {
List<VascEntryFrontendEventListener> list = getVascEntryFrontendEventListener(type); List<VascEntryFrontendEventListener> list = getVascEntryFrontendEventListener(type);
for (VascEntryFrontendEventListener l:list) { for (VascEntryFrontendEventListener l:list) {
@ -373,6 +401,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascFrontendDataSelector * @return the vascFrontendDataSelector
*/ */
@Override
public VascFrontendDataSelector getVascFrontendDataSelector() { public VascFrontendDataSelector getVascFrontendDataSelector() {
return vascFrontendDataSelector; return vascFrontendDataSelector;
} }
@ -380,6 +409,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascFrontendDataSelector the vascFrontendDataSelector to set * @param vascFrontendDataSelector the vascFrontendDataSelector to set
*/ */
@Override
public void setVascFrontendDataSelector(VascFrontendDataSelector vascFrontendDataSelector) { public void setVascFrontendDataSelector(VascFrontendDataSelector vascFrontendDataSelector) {
this.vascFrontendDataSelector = vascFrontendDataSelector; this.vascFrontendDataSelector = vascFrontendDataSelector;
} }
@ -387,6 +417,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascFrontendUserController * @return the vascFrontendUserController
*/ */
@Override
public VascFrontendUserController getVascFrontendUserController() { public VascFrontendUserController getVascFrontendUserController() {
return vascFrontendUserController; return vascFrontendUserController;
} }
@ -394,6 +425,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascFrontendUserController the vascFrontendUserController to set * @param vascFrontendUserController the vascFrontendUserController to set
*/ */
@Override
public void setVascFrontendUserController(VascFrontendUserController vascFrontendUserController) { public void setVascFrontendUserController(VascFrontendUserController vascFrontendUserController) {
this.vascFrontendUserController = vascFrontendUserController; this.vascFrontendUserController = vascFrontendUserController;
} }
@ -401,6 +433,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @return the vascFrontendUserSettingController * @return the vascFrontendUserSettingController
*/ */
@Override
public VascFrontendUserSettingController getVascFrontendUserSettingController() { public VascFrontendUserSettingController getVascFrontendUserSettingController() {
return vascFrontendUserSettingController; return vascFrontendUserSettingController;
} }
@ -408,6 +441,7 @@ public class DefaultVascFrontendController implements VascFrontendControllerLoca
/** /**
* @param vascFrontendUserSettingController the vascFrontendUserSettingController to set * @param vascFrontendUserSettingController the vascFrontendUserSettingController to set
*/ */
@Override
public void setVascFrontendUserSettingController(VascFrontendUserSettingController vascFrontendUserSettingController) { public void setVascFrontendUserSettingController(VascFrontendUserSettingController vascFrontendUserSettingController) {
this.vascFrontendUserSettingController = vascFrontendUserSettingController; this.vascFrontendUserSettingController = vascFrontendUserSettingController;
} }

View file

@ -41,16 +41,18 @@ import net.forwardfire.vasc.frontend.VascFrontendDataSelector;
public class DefaultVascFrontendDataSelector implements VascFrontendDataSelector { public class DefaultVascFrontendDataSelector implements VascFrontendDataSelector {
private VascEntry entry = null; private VascEntry entry = null;
@Override
public void init(VascEntry entry) { public void init(VascEntry entry) {
this.entry=entry; this.entry=entry;
} }
@Override
public boolean isActionAllowed(VascAction action) { public boolean isActionAllowed(VascAction action) {
return true; return true;
} }
@Override
public boolean isFieldView(VascEntryField field) { public boolean isFieldView(VascEntryField field) {
if (field.getView()==false) { if (field.getView()==false) {
return false; return false;
@ -58,6 +60,7 @@ public class DefaultVascFrontendDataSelector implements VascFrontendDataSelector
return true; return true;
} }
@Override
public boolean isFieldCreate(VascEntryField field) { public boolean isFieldCreate(VascEntryField field) {
if (isFieldView(field)==false) { if (isFieldView(field)==false) {
return false; return false;
@ -71,6 +74,8 @@ public class DefaultVascFrontendDataSelector implements VascFrontendDataSelector
} }
return false; return false;
} }
@Override
public boolean isFieldEdit(VascEntryField field) { public boolean isFieldEdit(VascEntryField field) {
if (isFieldView(field)==false) { if (isFieldView(field)==false) {
return false; return false;
@ -80,6 +85,8 @@ public class DefaultVascFrontendDataSelector implements VascFrontendDataSelector
} }
return false; return false;
} }
@Override
public boolean isFieldEditReadOnly(VascEntryField field) { public boolean isFieldEditReadOnly(VascEntryField field) {
if (isFieldView(field)==false) { if (isFieldView(field)==false) {
return false; return false;
@ -89,6 +96,8 @@ public class DefaultVascFrontendDataSelector implements VascFrontendDataSelector
} }
return false; return false;
} }
@Override
public boolean isFieldList(VascEntryField field) { public boolean isFieldList(VascEntryField field) {
if (isFieldView(field)==false) { if (isFieldView(field)==false) {
return false; return false;
@ -126,7 +135,7 @@ public class DefaultVascFrontendDataSelector implements VascFrontendDataSelector
*/ */
@Override
public List<VascEntryField> getFields(final EntryFieldSelectType type) { public List<VascEntryField> getFields(final EntryFieldSelectType type) {
List<VascEntryField> result = new ArrayList<VascEntryField>(50); List<VascEntryField> result = new ArrayList<VascEntryField>(50);
for (VascEntryField field:entry.getVascEntryFields()) { for (VascEntryField field:entry.getVascEntryFields()) {

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