-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e5a9807
Showing
112 changed files
with
10,787 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
classes/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry excluding="**/.svn/*|**/_svn/*" kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="output" path="classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>com.tle.reporting.common</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
</natures> | ||
</projectDescription> |
70 changes: 70 additions & 0 deletions
70
com.tle.reporting.common/.settings/org.eclipse.jdt.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning | ||
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore | ||
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning | ||
org.eclipse.jdt.core.compiler.problem.deadCode=warning | ||
org.eclipse.jdt.core.compiler.problem.deprecation=warning | ||
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled | ||
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled | ||
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning | ||
org.eclipse.jdt.core.compiler.problem.emptyStatement=warning | ||
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore | ||
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled | ||
org.eclipse.jdt.core.compiler.problem.fieldHiding=warning | ||
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning | ||
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error | ||
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=error | ||
org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled | ||
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning | ||
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore | ||
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore | ||
org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning | ||
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning | ||
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore | ||
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore | ||
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error | ||
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=disabled | ||
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning | ||
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=error | ||
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=error | ||
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning | ||
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning | ||
org.eclipse.jdt.core.compiler.problem.nullReference=error | ||
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning | ||
org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning | ||
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning | ||
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning | ||
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning | ||
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning | ||
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore | ||
org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore | ||
org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore | ||
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled | ||
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning | ||
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled | ||
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled | ||
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore | ||
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning | ||
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled | ||
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning | ||
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore | ||
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning | ||
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning | ||
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning | ||
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore | ||
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore | ||
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled | ||
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled | ||
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled | ||
org.eclipse.jdt.core.compiler.problem.unusedImport=error | ||
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning | ||
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning | ||
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore | ||
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore | ||
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.unusedWarningToken=warning | ||
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning |
2 changes: 2 additions & 0 deletions
2
com.tle.reporting.common/.settings/org.eclipse.pde.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
eclipse.preferences.version=1 | ||
resolve.requirebundle=false |
6 changes: 6 additions & 0 deletions
6
com.tle.reporting.common/.settings/org.eclipse.wst.validation.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Fri Feb 22 17:17:30 EST 2008 | ||
DELEGATES_PREFERENCE=delegateValidatorListorg.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator\=org.eclipse.wst.xsd.core.internal.validation.eclipse.Validator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator\=org.eclipse.wst.wsdl.validation.internal.eclipse.Validator; | ||
USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;com.genuitec.eclipse.javascript.validation.JavaScriptValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;com.genuitec.eclipse.jsf.facelets.FaceletsValidator;org.eclipse.wst.html.internal.validation.HTMLValidator; | ||
USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;com.genuitec.eclipse.javascript.validation.JavaScriptValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;com.genuitec.eclipse.jsf.facelets.FaceletsValidator;org.eclipse.wst.html.internal.validation.HTMLValidator; | ||
USER_PREFERENCE=overrideGlobalPreferencesfalse | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: TLE Reporting Common | ||
Bundle-SymbolicName: com.tle.reporting.common | ||
Bundle-Version: 6.3.0.20141006 | ||
Export-Package: com.tle.reporting, | ||
com.tle.reporting.schema | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6 | ||
Bundle-ClassPath: . | ||
Require-Bundle: org.eclipse.datatools.connectivity.oda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source.. = src/ | ||
output.. = classes/ | ||
bin.includes = META-INF/,\ | ||
. |
13 changes: 13 additions & 0 deletions
13
com.tle.reporting.common/src/com/tle/reporting/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.tle.reporting; | ||
|
||
/** | ||
* @author nread | ||
*/ | ||
public class Constants | ||
{ | ||
public static final String DELEGATE_APP_CONTEXT_KEY = "learningEdgeOdaDelegate"; | ||
|
||
public static final String JDBC_IDENTIFIER_QUOTE_STRING = "jdbc.identifierQuoteString"; | ||
public static final String JDBC_TABLE_MAP = "jdbc.tableMap"; | ||
public static final String JDBC_VIEW_MAP = "jdbc.viewMap"; | ||
} |
8 changes: 8 additions & 0 deletions
8
com.tle.reporting.common/src/com/tle/reporting/IResultSetExt.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.tle.reporting; | ||
|
||
import org.eclipse.datatools.connectivity.oda.IResultSet; | ||
|
||
public interface IResultSetExt extends IResultSet | ||
{ | ||
Object getObject(int col); | ||
} |
23 changes: 23 additions & 0 deletions
23
com.tle.reporting.common/src/com/tle/reporting/LearningEdgeOdaDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.tle.reporting; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
import org.eclipse.datatools.connectivity.oda.IParameterMetaData; | ||
import org.eclipse.datatools.connectivity.oda.OdaException; | ||
|
||
/** | ||
* @author nread | ||
*/ | ||
public interface LearningEdgeOdaDelegate | ||
{ | ||
String login(String username, String password) throws OdaException; | ||
|
||
Map<String, ?> getDatasourceMetadata(String queryType) throws OdaException; | ||
|
||
IResultSetExt executeQuery(String queryType, String query, List<Object> indexParams, int maxRows) | ||
throws OdaException; | ||
|
||
IParameterMetaData getParamterMetadata(String queryType, String query, List<Object> indexParams) | ||
throws OdaException; | ||
} |
Oops, something went wrong.