initial import

This commit is contained in:
2026-05-11 20:01:23 +07:00
commit d8a1fac678
332 changed files with 9454 additions and 0 deletions

75
modules/global/.classpath Normal file
View File

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry path="bin" kind="output"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/de.diedavids.cuba.dataimport/dataimport-global/0.7.0/c921e4fd0361350b8341b31e8a1b0e8b40f4dbac/dataimport-global-0.7.0-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/de.diedavids.cuba.dataimport/dataimport-global/0.7.0/1d5e7e39795855b6f07af94cab79f398cce2fd65/dataimport-global-0.7.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/de.balvi.cuba.declarativecontrollers/declarativecontrollers-global/0.7.0/5e1c9986d7cc8484aeceafccf69beef6b3af711b/declarativecontrollers-global-0.7.0-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/de.balvi.cuba.declarativecontrollers/declarativecontrollers-global/0.7.0/4c37887735fa0a348eeb0d7de715636ad5b7ab4f/declarativecontrollers-global-0.7.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.haulmont.cuba/cuba-global/6.10.2/a1938a8c96f1412a077f89a6b28ab79f4f04ff75/cuba-global-6.10.2-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.haulmont.cuba/cuba-global/6.10.2/927d4aad0a814711b2d93bce3564b0e6ae64ff93/cuba-global-6.10.2.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.15/ae189e50a0cc42945c556ab4c7f0f19c6e0faa7c/groovy-all-2.4.15-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.15/423a17aeb2f64bc6f76e8e44265a548bec80fd42/groovy-all-2.4.15.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6-sources.jar" kind="lib" path="C:/Users/Jaka/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.xlson.groovycsv/groovycsv/1.3/4e3465b8693c19d325577c793ff6229b8d0ff90d/groovycsv-1.3-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.xlson.groovycsv/groovycsv/1.3/b7ca09d45abdb43579b49d911fef8e887726aebb/groovycsv-1.3.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.opencsv/opencsv/4.0/757a89a7afdda196a5dc0a187e80f2888c54cf6b/opencsv-4.0-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.opencsv/opencsv/4.0/2b63c820c41cd1666df42f1ba296da9894961e59/opencsv-4.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-text/1.1/f0770f7f0472bf120ada47beecadce4056fbd20a/commons-text-1.1-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-text/1.1/c336bf600f44b88af356c8a85eef4af822b06a4d/commons-text-1.1.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.7/e7e36219edde1c66c93495a75490d8f526c377cb/commons-lang3-3.7-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.7/557edd918fd41f9260963583ebf5a61a43a6b423/commons-lang3-3.7.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.poi/poi-ooxml/3.17/c9967472b96ef92372352958dcfd3e8e0e5bd2d0/poi-ooxml-3.17-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.poi/poi-ooxml/3.17/7d8c44407178b73246462842bf1e206e99c8e0a/poi-ooxml-3.17.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.poi/poi/3.17/9d185f2c484774285585e76f5f1d887208482f93/poi-3.17-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.poi/poi/3.17/ae92292a2043888b40d418da97dc0b669fde326/poi-3.17.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-collections4/4.2/e8dd003d43b1f7dba173fb7e63f5c0b823f5e5c6/commons-collections4-4.2-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-collections4/4.2/54ebea0a5b653d3c680131e73fe807bb8f78c4ed/commons-collections4-4.2.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.6/2566800dc841d9d2c5a0d34d807e45d4107dbbdf/commons-io-2.6-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.6/815893df5f31da2ece4040fe0a12fd44b577afaf/commons-io-2.6.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/commons-cli/commons-cli/1.4/40dfd9fdef125e19136135e68d54af6d9b0cfbb8/commons-cli-1.4-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/commons-cli/commons-cli/1.4/c51c00206bb913cd8612b24abd9fa98ae89719b1/commons-cli-1.4.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/org/apache/httpcomponents/httpclient/4.5.6/httpclient-4.5.6.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/commons-codec/commons-codec/1.11/commons-codec-1.11.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-pool2/2.6.0/6b5036e509a52fe820c9c5a42dbf341f948e729f/commons-pool2-2.6.0-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-pool2/2.6.0/df5f4f61183daa8c4c1a9361c7b3ce2b67218eb2/commons-pool2-2.6.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.18/a25b942b99fde2cc2913ab39ad34abc0df4f5eb9/commons-compress-1.18-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.18/1191f9f2bc0c47a8cce69193feb1ff0a8bcb37d5/commons-compress-1.18.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/javax/javaee-api/7.0/a0c99c2a5626efb823da1500786e92c1bf6a57cf/javaee-api-7.0-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/javax/javaee-api/7.0/51399f902cc27a808122edcbebfaa1ad989954ba/javaee-api-7.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.sun.mail/javax.mail/1.5.4/9f065b7cdbd3bc17d5b500a46933f597f5fd1aaf/javax.mail-1.5.4-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.sun.mail/javax.mail/1.5.4/2dd6b709ca0d35853a6061c83434a9b94533b877/javax.mail-1.5.4.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.perf4j/perf4j/0.9.16/14b029a24faabf012c17ffc8e573f6a2f5065f51/perf4j-0.9.16-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.perf4j/perf4j/0.9.16/a387572ec3d8399aa894662cfd63babb8e161f43/perf4j-0.9.16.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.antlr/antlr-runtime/3.5.2/5214ea45dd20d3a2e4caa6f1ad2248ad107e0daf/antlr-runtime-3.5.2-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.antlr/antlr-runtime/3.5.2/cd9cd41361c155f3af0f653009dcecb08d8b4afd/antlr-runtime-3.5.2.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/19.0/91a4d115400e904f22b03a78deb355e9ea803cd4/guava-19.0-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/19.0/6ce200f6b23222af3d8abb6b6459e6c44f4bb0e9/guava-19.0.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/org/eclipse/persistence/javax.persistence/2.1.0/javax.persistence-2.1.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.eclipse.persistence/commonj.sdo/2.1.1/6de70daec63068c07df2a87507cafb2cc34ef2b1/commonj.sdo-2.1.1-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.eclipse.persistence/commonj.sdo/2.1.1/90d4c89ce0a69f58619f1a247bbf420122139ff5/commonj.sdo-2.1.1.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.glassfish/javax.json/1.0.4/ef782abad0d3f1d30644c4023a6bbc6fe371e23a/javax.json-1.0.4-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.glassfish/javax.json/1.0.4/3178f73569fd7a1e5ffc464e680f7a8cc784b85a/javax.json-1.0.4.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.haulmont.thirdparty/eclipselink/2.6.2.cuba24/6e5fd52a331343bbb7ca765ee02a892d541c6d23/eclipselink-2.6.2.cuba24-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.haulmont.thirdparty/eclipselink/2.6.2.cuba24/dd779e5837f4eeb208c741a5d710e597baf0876a/eclipselink-2.6.2.cuba24.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.freemarker/freemarker/2.3.28/b9e763fd0149515ec3b19cc7025385e7a177bdb0/freemarker-2.3.28-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.freemarker/freemarker/2.3.28/7200064467a935052f99d114c2c05c3d189bc6d6/freemarker-2.3.28.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar" kind="lib" path="C:/Users/Jaka/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/4.3.18.RELEASE/119af634ec8be34e3c8c695e05f60f84b03fa7b1/spring-web-4.3.18.RELEASE-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/4.3.18.RELEASE/e41042a70a7d80da52261c1dfc569c7518b70dce/spring-web-4.3.18.RELEASE.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.3.18.RELEASE/6cf1f5915d2db41c55992ddcea5f3361b8fcbc11/spring-context-4.3.18.RELEASE-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.3.18.RELEASE/d302953b509e6d380856e245bf80c29770c08c98/spring-context-4.3.18.RELEASE.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/4.3.18.RELEASE/a46658c148c8e9c89a80c08535283189d7d5912d/spring-aop-4.3.18.RELEASE-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/4.3.18.RELEASE/dd930265a504563d76de79864ae3196f6e9035e0/spring-aop-4.3.18.RELEASE.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/4.3.18.RELEASE/bb309de7acfeb3e4d89095b3e7a19809252e804e/spring-beans-4.3.18.RELEASE-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/4.3.18.RELEASE/27460686b16b3ffee60bb3365cd56bba6ed860ff/spring-beans-4.3.18.RELEASE.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/4.3.18.RELEASE/d486e8421316cb392e7f9e595e59d0fc459e0048/spring-expression-4.3.18.RELEASE-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/4.3.18.RELEASE/64f2270bfd9d615c8c3b9d94995867f39391ed30/spring-expression-4.3.18.RELEASE.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/4.3.18.RELEASE/6ce871ab6fbcc92da74aaa53861a33828b20e346/spring-core-4.3.18.RELEASE-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/4.3.18.RELEASE/4acbce682c3dfe38181d57b7e0792e2cc21e4f77/spring-core-4.3.18.RELEASE.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.esotericsoftware/kryo-shaded/4.0.1/637c81fbbb27f73e7f6132e138993c4caf209fdc/kryo-shaded-4.0.1-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.esotericsoftware/kryo-shaded/4.0.1/8183761ef13a75056fa479ab4e8cbe799f433d5a/kryo-shaded-4.0.1.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/de.javakaffee/kryo-serializers/0.38/50f26a740a76642623302a6532b16a184da2ebac/kryo-serializers-0.38-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/de.javakaffee/kryo-serializers/0.38/6d02b343126c76048b52d6a8c015b0822a9dcb13/kryo-serializers-0.38.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.json/json/20180130/66ab57acbb9086d16201c2eafa2145d2b914bb26/json-20180130-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.json/json/20180130/26ba2ec0e791a32ea5dfbedfcebf36447ee5b12c/json-20180130.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.5/c5b4c491aecb72e7c32a78da0b5c6b9cda8dee0f/gson-2.8.5-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.5/f645ed69d595b24d4cf8b3fbb64cc505bede8829/gson-2.8.5.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-validator/5.4.2.Final/516bae171605df512d4475ecac22683e10e538a2/hibernate-validator-5.4.2.Final-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-validator/5.4.2.Final/80d76bfdf5243c2e70ef16839708ca2d522ec21e/hibernate-validator-5.4.2.Final.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/org/glassfish/web/javax.el/2.2.6/javax.el-2.2.6.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/org/apache/httpcomponents/httpcore/4.4.10/httpcore-4.4.10.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.esotericsoftware/minlog/1.3.0/9ee9f7fe99d5acfcb974e28acbad9349fb33a765/minlog-1.3.0-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.esotericsoftware/minlog/1.3.0/ff07b5f1b01d2f92bb00a337f9a94873712f0827/minlog-1.3.0.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/2.5.1/36bc7ecec5fb17144916c7012cc1a91a87c0ba95/objenesis-2.5.1-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/2.5.1/272bab9a4e5994757044d1fc43ce480c8cb907a4/objenesis-2.5.1.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java/2.6.1/cf47bfc6a10f85d14bc4c078a48d163b5903a291/protobuf-java-2.6.1-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java/2.6.1/d9521f2aecb909835746b7a5facf612af5e890e8/protobuf-java-2.6.1.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/com/fasterxml/classmate/1.3.1/classmate-1.3.1.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/javax.el/javax.el-api/2.2.5/e0836d7362d2c6046daeb7b5e74c9cf078db88e9/javax.el-api-2.2.5-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/javax.el/javax.el-api/2.2.5/370140e991eefb212a6d6baedbce585f00ef76e0/javax.el-api-2.2.5.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.poi/poi-ooxml-schemas/3.17/890114bfa82f5b6380ea0e9b0bf49b0af797b414/poi-ooxml-schemas-3.17.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.github.virtuald/curvesapi/1.04/5c01708d122c6a61e90716e931b58226d8261312/curvesapi-1.04-sources.jar" kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/com.github.virtuald/curvesapi/1.04/3386abf821719bc89c7685f9eaafaf4a842f0199/curvesapi-1.04.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.gradle/caches/modules-2/files-2.1/org.apache.xmlbeans/xmlbeans/2.6.0/29e80d2dd51f9dcdef8f9ffaee0d4dc1c9bbfc87/xmlbeans-2.6.0.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/junit/junit/4.12/junit-4.12.jar"/>
<classpathentry sourcepath="C:/Users/Jaka/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar" kind="lib" path="C:/Users/Jaka/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/com/pras/apk-manifest/1.0/apk-manifest-1.0.jar"/>
<classpathentry kind="lib" path="C:/Users/Jaka/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/>
</classpath>

18
modules/global/.project Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>tms-global</name>
<comment></comment>
<projects/>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
</natures>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
<linkedResources/>
<filteredResources/>
</projectDescription>

View File

@ -0,0 +1,13 @@
#
#Tue Feb 26 15:48:52 ICT 2019
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error

View File

@ -0,0 +1,516 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="csrf_token" content="FJlCHYVLNC2UfSJ4GleMd14BVlrmAZYQ"/>
<meta name="csrf_token" content="5DiYh1ti7xC4moqbN7HjRjKzrAgFnGSo"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta http-equiv='Pragma' content='no-cache'/>
<script type="text/javascript">
/*
JQuery is not compatible with PSP & NDSi
script execution will stop when the jquery import.
we should put the following script before the jquery is imported
*/
var hardwarePlatform = navigator.platform.toLowerCase();
var agent = navigator.userAgent.toLowerCase();
var isPsp = (agent.indexOf("playstation") != -1);
var isNdsi = (agent.indexOf("nintendo dsi") != -1);
if (isPsp || isNdsi) {
window.location.href = "notsupported.html";
}
</script>
<script type="text/javascript" src="../lib/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../lib/log4javascript_lite.js"></script>
<script type="text/javascript" src="../js/redirect.js"></script>
<title></title>
<script type="text/javascript">
var DEFAULT_GATEWAY_IP = "192.168.1.1";
var DEFAULT_GATEWAY_DOMAIN = new Array();
var GATEWAY_DOMAIN = new Array();
var AJAX_HEADER = '../';
var AJAX_TAIL = '';
var AJAX_TIMEOUT = 30000;
var MACRO_NO_SIM_CARD = '255';
var MACRO_CPIN_FAIL = '256';
var MACRO_PIN_READY = '257';
var MACRO_PIN_DISABLE = '258';
var MACRO_PIN_VALIDATE = '259';
var MACRO_PIN_REQUIRED = '260';
var MACRO_PUK_REQUIRED = '261';
var log = log4javascript.getNullLogger();
var hardwarePlatform = navigator.platform.toLowerCase();
var agent = navigator.userAgent.toLowerCase();
var isIpod = hardwarePlatform.indexOf("ipod") != -1;
var isIphone = hardwarePlatform.indexOf("iphone") != -1;
var isIpad = hardwarePlatform.indexOf("ipad") != -1;
var isAndroid = agent.indexOf("android") !=-1;
log.debug("INDEX : hardwarePlatform = " + hardwarePlatform);
log.debug("INDEX : agent = " + agent);
function gotoPageWithoutHistory(url) {
log.debug('MAIN : gotoPageWithoutHistory(' + url + ')');
window.location.replace(url);
}
// internal use only
function _recursiveXml2Object($xml) {
if ($xml.children().size() > 0) {
var _obj = {};
$xml.children().each(function() {
var _childObj = ($(this).children().size() > 0) ? _recursiveXml2Object($(this)) : $(this).text();
if ($(this).siblings().size() > 0 && $(this).siblings().get(0).tagName == this.tagName) {
if (_obj[this.tagName] == null) {
_obj[this.tagName] = [];
}
_obj[this.tagName].push(_childObj);
}
else {
_obj[this.tagName] = _childObj;
}
});
return _obj;
}
else {
return $xml.text();
}
}
// convert XML string to an Object.
// $xml, which is an jQuery xml object.
function xml2object($xml) {
var obj = new Object();
if ($xml.find('response').size() > 0) {
var _response = _recursiveXml2Object($xml.find('response'));
obj.type = 'response';
obj.response = _response;
}
else if ($xml.find('error').size() > 0) {
var _code = $xml.find('code').text();
var _message = $xml.find('message').text();
log.warn('MAIN : error code = ' + _code);
log.warn('MAIN : error msg = ' + _message);
obj.type = 'error';
obj.error = {
code: _code,
message: _message
};
}
else if ($xml.find('config').size() > 0) {
var _config = _recursiveXml2Object($xml.find('config'));
obj.type = 'config';
obj.config = _config;
}
else {
obj.type = 'unknown';
}
return obj;
}
function getAjaxData(urlstr, callback_func, options) {
var myurl = AJAX_HEADER + urlstr + AJAX_TAIL;
var isAsync = true;
var nTimeout = AJAX_TIMEOUT;
var errorCallback = null;
if (options) {
if (options.sync) {
isAsync = (options.sync == true) ? false : true;
}
if (options.timeout) {
nTimeout = parseInt(options.timeout, 10);
if (isNaN(nTimeout)) {
nTimeout = AJAX_TIMEOUT;
}
}
errorCallback = options.errorCB;
}
var headers = {};
headers['__RequestVerificationToken'] = g_requestVerificationToken;
$.ajax({
async: isAsync,
headers: headers,
//cache: false,
type: 'GET',
timeout: nTimeout,
url: myurl,
//dataType: ($.browser.msie) ? "text" : "xml",
error: function(XMLHttpRequest, textStatus) {
try {
if (jQuery.isFunction(errorCallback)) {
errorCallback(XMLHttpRequest, textStatus);
}
log.error('MAIN : getAjaxData(' + myurl + ') error.');
log.error('MAIN : XMLHttpRequest.readyState = ' + XMLHttpRequest.readyState);
log.error('MAIN : XMLHttpRequest.status = ' + XMLHttpRequest.status);
log.error('MAIN : textStatus ' + textStatus);
}
catch (exception) {
log.error(exception);
}
},
success: function(data) {
log.debug('MAIN : getAjaxData(' + myurl + ') sucess.');
log.trace(data);
var xml;
if (typeof data == 'string' || typeof data == 'number') {
if (-1 != this.url.indexOf('/api/sdcard/sdcard')) {
data = sdResolveCannotParseChar(data);
}
if (!window.ActiveXObject) {
var parser = new DOMParser();
xml = parser.parseFromString(data, 'text/xml');
}
else {
//IE
xml = new ActiveXObject('Microsoft.XMLDOM');
xml.async = false;
xml.loadXML(data);
}
}
else {
xml = data;
}
if (typeof callback_func == 'function') {
callback_func($(xml));
}
else {
log.error('callback_func is undefined or not a function');
}
}
});
}
function getConfigData(urlstr, callback_func, options) {
var myurl = '../' + urlstr + '';
//var myurl = urlstr + "";
var isAsync = true;
var nTimeout = AJAX_TIMEOUT;
var errorCallback = null;
if (options) {
if (options.sync) {
isAsync = (options.sync == true) ? false : true;
}
if (options.timeout) {
nTimeout = parseInt(options.timeout, 10);
if (isNaN(nTimeout)) {
nTimeout = AJAX_TIMEOUT;
}
}
errorCallback = options.errorCB;
}
$.ajax({
async: isAsync,
//cache: false,
type: 'GET',
timeout: nTimeout,
url: myurl,
//dataType: ($.browser.msie) ? "text" : "xml",
error: function(XMLHttpRequest, textStatus, errorThrown) {
try {
log.debug('MAIN : getConfigData(' + myurl + ') error.');
log.error('MAIN : XMLHttpRequest.readyState = ' + XMLHttpRequest.readyState);
log.error('MAIN : XMLHttpRequest.status = ' + XMLHttpRequest.status);
log.error('MAIN : textStatus ' + textStatus);
if (jQuery.isFunction(errorCallback)) {
errorCallback(XMLHttpRequest, textStatus);
}
}
catch (exception) {
log.error(exception);
}
},
success: function(data) {
log.debug('MAIN : getConfigData(' + myurl + ') success.');
log.trace(data);
var xml;
if (typeof data == 'string' || typeof data == 'number') {
if (!window.ActiveXObject) {
var parser = new DOMParser();
xml = parser.parseFromString(data, 'text/xml');
}
else {
//IE
xml = new ActiveXObject('Microsoft.XMLDOM');
xml.async = false;
xml.loadXML(data);
}
}
else {
xml = data;
}
if (typeof callback_func == 'function') {
callback_func($(xml));
}
else {
log.error('callback_func is undefined or not a function');
}
}
});
}
function getDomain(){
getConfigData("config/lan/config.xml", function($xml){
var ret = xml2object($xml);
if(ret.type == "config")
{
DEFAULT_GATEWAY_DOMAIN.push(ret.config.landns.hgwurl.toLowerCase());
if( typeof(ret.config.landns.mcdomain) != 'undefined' )
{
GATEWAY_DOMAIN.push(ret.config.landns.mcdomain.toLowerCase());
}
}
}, {
sync: true
});
}
function getQueryStringByName(item) {
var svalue = location.search.match(new RegExp('[\?\&]' + item + '=([^\&]*)(\&?)', 'i'));
return svalue ? svalue[1] : svalue;
}
function isHandheldBrowser() {
var bRet = false;
if(0 == login_status){
return bRet;
}
if (isIphone || isIpod) {
log.debug("INDEX : current browser is iphone or ipod.");
bRet = true;
}
else if (isPsp) {
log.debug("INDEX : current browser is psp.");
bRet = true;
}
else if (isIpad) {
log.debug("INDEX : current browser is ipad.");
bRet = true;
}
else if (isAndroid) {
log.debug("INDEX : current browser is android.");
bRet = true;
}
else {
log.debug("INDEX : screen.height = " + screen.height);
log.debug("INDEX : screen.width = " + screen.width);
if (screen.height <= 320 || screen.width <= 320) {
bRet = true;
log.debug("INDEX : current browser screen size is small.");
}
}
log.debug("INDEX : isHandheldBrowser = " + bRet);
return bRet;
}
function update_openNewWindow () {
if (window.location.href.indexOf('?updataredirect=') > -1) {
var tmpUrl = window.location.href.substring(window.location.href.indexOf("?updataredirect="));
var newUrl = "http://" + tmpUrl.substring(tmpUrl.indexOf("?updataredirect=") + 16);
document.getElementById("update_newPage").setAttribute("href", newUrl);
document.getElementById("update_newPage").setAttribute("target", "_blank");
if($.browser.msie) {
$("#update_newPage").get(0).click();
} else {
var evt = document.createEvent("MouseEvents");
evt.initEvent("click", true, true);
document.getElementById('update_newPage').dispatchEvent(evt);
}
}
}
var g_requestVerificationToken = '';
function getAjaxToken() {
getAjaxData('api/webserver/token', function($xml) {
var ret = xml2object($xml);
if ('response' == ret.type) {
g_requestVerificationToken = ret.response.token;
}
}, {
sync: true
});
}
getAjaxToken();
var gatewayAddr = "";
var conntection_status = null;
var service_status = null;
var login_status = null;
// get current settings gateway address
getAjaxData("api/dhcp/settings", function($xml) {
var ret = xml2object($xml);
if ("response" == ret.type) {
gatewayAddr = ret.response.DhcpIPAddress;
}
}, {
sync : true
}
);
// get connection status
getAjaxData("api/monitoring/status", function($xml) {
var ret = xml2object($xml);
if ("response" == ret.type) {
conntection_status = parseInt(ret.response.ConnectionStatus,10);
service_status = parseInt(ret.response.ServiceStatus,10);
}
}, {
sync : true
}
);
// get connection status
getAjaxData('config/global/config.xml', function($xml) {
var config_ret = xml2object($xml);
login_status = config_ret.config.login;
}, {
sync : true
}
);
if ("" == gatewayAddr) {
gatewayAddr = DEFAULT_GATEWAY_IP;
}
var href = "http://" + DEFAULT_GATEWAY_IP;
try {
href = window.location.href;
}
catch(exception) {
href = "http://" + DEFAULT_GATEWAY_IP;
}
// get incoming url from querystring
var incoming_url = href.substring(href.indexOf("?url=") + 5);
// truncate http://
if (incoming_url.indexOf("//") > -1) {
incoming_url = incoming_url.substring(incoming_url.indexOf("//") + 2);
}
//get *.html
var incoming_html = "";
if (incoming_url.indexOf(".html") > -1) {
incoming_html = incoming_url.substring(incoming_url.lastIndexOf("/") + 1, incoming_url.length);
}
// truncate tail
if (incoming_url.indexOf("/") != -1) {
incoming_url = incoming_url.substring(0, incoming_url.indexOf("/"));
}
incoming_url = incoming_url.toLowerCase();
var bIsSmallPage = isHandheldBrowser();
// var prefix = "http://" + gatewayAddr;
var g_indexIncomingUrlIsGateway = false;
// if incoming url == 192.168.1.1 or MobileWifi.home then goto login
// page
window.name = getQueryStringByName("version");
//check login status
var LOGIN_STATES_SUCCEED = "0";
var userLoginState = LOGIN_STATES_SUCCEED;
getAjaxData('api/user/state-login', function($xml) {
var ret = xml2object($xml);
if (ret.type == 'response') {
userLoginState=ret.response.State;
}
}, {
sync: true
});
$(document).ready(function() {
update_openNewWindow();
if(true == bIsSmallPage) {
if (userLoginState != LOGIN_STATES_SUCCEED) {
getAjaxData('config/global/config.xml', function($xml) {
var config_ret = xml2object($xml);
if(config_ret.type == 'config') {
if(config_ret.config.commend_enable == '1') {
gotoPageWithoutHistory("../html/commend.html");
g_indexIncomingUrlIsGateway = true;
}else {
g_indexIncomingUrlIsGateway = redirectOnCondition("",'index');
}
}
},{
sync: true
});
} else {
g_indexIncomingUrlIsGateway = redirectOnCondition("",'index');
if(!g_indexIncomingUrlIsGateway) {
getAjaxData("api/device/basic_information", function($xml) {
var basic_ret = xml2object($xml);
if('response' == basic_ret.type) {
var basic_info = basic_ret.response;
if(basic_info.restore_default_status == '1' && basic_info.classify != 'hilink') {
gotoPageWithoutHistory("quicksetup.html");
g_indexIncomingUrlIsGateway = true;
}
}
},{
sync: true
});
}
}
} else {
g_indexIncomingUrlIsGateway = redirectOnCondition("",'index');
if(!g_indexIncomingUrlIsGateway) {
getAjaxData("api/device/basic_information", function($xml) {
var basic_ret = xml2object($xml);
if('response' == basic_ret.type) {
var basic_info = basic_ret.response;
if(basic_info.restore_default_status == '1' && basic_info.classify != 'hilink') {
gotoPageWithoutHistory("quicksetup.html");
g_indexIncomingUrlIsGateway = true;
}
}
},{
sync: true
});
}
}
$( function() {
getDomain();
if (g_indexIncomingUrlIsGateway) {
return;
}
else if (conntection_status == 901 && service_status == 2) {
if ((incoming_url.indexOf(gatewayAddr)==0)|| (incoming_url.indexOf(DEFAULT_GATEWAY_DOMAIN)==0)
|| (incoming_url.indexOf(GATEWAY_DOMAIN)==0)){
gotoPageWithoutHistory("home.html");
}
else {
gotoPageWithoutHistory("opennewwindow.html");
}
}
else {
gotoPageWithoutHistory("home.html");
}
});
});
</script>
</head>
<body style="background-color: #FFFFFF;">
<div>
<a id="update_newPage" href="#" target="_blank"></a>
</div>
<noscript>
Sorry, your browser does not support javascript.
</noscript>
</body>
</html>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<system systemId="http://java.sun.com/xml/ns/persistence" uri="192.168.8.1/html/index.html.url_java.sun.com"/>
</catalog>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<app-component xmlns="http://schemas.haulmont.com/cuba/app-component.xsd"
dependsOn="com.haulmont.cuba">
<module name="global" blocks="*">
<artifact name="tmsext-global" appJar="true"/>
<property name="cuba.persistenceConfig" value="+/com/cmobile/unifiedtms/ext/persistence.xml"/>
<property name="cuba.metadataConfig" value="+/com/cmobile/unifiedtms/ext/metadata.xml"/>
<property name="cuba.viewsConfig" value="+/com/cmobile/unifiedtms/ext/views.xml"/>
</module>
<module name="core" dependsOn="global" blocks="core">
<artifact name="tmsext-core" appJar="true"/>
<artifact name="tmsext-core" classifier="db" ext="zip" configuration="dbscripts"/>
<property name="cuba.springContextConfig" value="+/com/cmobile/unifiedtms/ext/spring.xml"/>
<property name="cuba.mainMessagePack" value="+com.cmobile.unifiedtms.ext.core"/>
</module>
<module name="web" dependsOn="global" blocks="web">
<artifact name="tmsext-web" appJar="true"/>
<artifact name="tmsext-web" classifier="web" ext="zip" configuration="webcontent"/>
<artifact name="tmsext-web" ext="jar" configuration="themes" classifier="themes"/>
<property name="cuba.springContextConfig" value="+/com/cmobile/unifiedtms/ext/web-spring.xml"/>
<property name="cuba.dispatcherSpringContextConfig"
value="+/com/cmobile/unifiedtms/ext/web-dispatcher-spring.xml"/>
<property name="cuba.windowConfig" value="+/com/cmobile/unifiedtms/ext/web-screens.xml"/>
<property name="cuba.menuConfig" value="+/com/cmobile/unifiedtms/ext/web-menu.xml"/>
<property name="cuba.permissionConfig" value="+/com/cmobile/unifiedtms/ext/web-permissions.xml"/>
<property name="cuba.mainMessagePack" value="+com.cmobile.unifiedtms.ext.web"/>
</module>
</app-component>

View File

@ -0,0 +1,16 @@
package com.cmobile.unifiedtms.ext.config;
import com.haulmont.cuba.core.config.Config;
import com.haulmont.cuba.core.config.Property;
import com.haulmont.cuba.core.config.Source;
import com.haulmont.cuba.core.config.SourceType;
import com.haulmont.cuba.core.config.defaults.Default;
@Source(type = SourceType.DATABASE)
public interface TerminalExtConfig extends Config {
@Property("terminal-ext.inquiry.bripoin.nii")
@Default("042")
String getDefaultInquiryBRIPoinNII();
}

View File

@ -0,0 +1,302 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.annotations.MetaProperty;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.StandardEntity;
import com.haulmont.cuba.core.entity.annotation.Lookup;
import com.haulmont.cuba.core.entity.annotation.LookupType;
import com.haulmont.cuba.core.entity.annotation.OnDelete;
import com.haulmont.cuba.core.entity.annotation.OnDeleteInverse;
import com.haulmont.cuba.core.global.DeletePolicy;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@NamePattern("%s - %s|acquirerId,acquirerType")
@Table(name = "TMSEXT_ACQUIRER")
@Entity(name = "tms$Acquirer")
public class Acquirer extends StandardEntity {
private static final long serialVersionUID = -4953983810428717839L;
@Column(name = "NAME", nullable = false, length = 30)
protected String name;
@OnDeleteInverse(DeletePolicy.CASCADE)
@OnDelete(DeletePolicy.CASCADE)
@OneToMany(mappedBy = "acquirer", cascade = CascadeType.PERSIST)
protected List<Issuer> issuers;
@Column(name = "HOST_ID", length = 3)
protected String hostID;
@Column(name = "SETTLEMENT_HOST_ID", length = 3)
protected String settlementHostID;
@Column(name = "NUMBER_OF_PRINT")
protected Integer numberOfPrint;
@Column(name = "RESP_TIMEOUT")
protected Integer respTimeout;
@Column(name = "ACQUIRER_ID", length = 2)
protected String acquirerId;
@Column(name = "HOST_DESTINATION_ADDR", length = 100)
protected String hostDestinationAddr;
@Column(name = "HOST_DESTINATION_PORT", length = 6)
protected String hostDestinationPort;
@Column(name = "SHOW_PRINT_EXP_DATE")
protected Boolean showPrintExpDate;
@Column(name = "CHECK_CARD_EXP_DATE")
protected Boolean checkCardExpDate;
@Column(name = "TLE_ACQUIRER")
protected Boolean tleAcquirer;
@Lookup(type = LookupType.DROPDOWN, actions = {})
@OnDeleteInverse(DeletePolicy.CASCADE)
@OnDelete(DeletePolicy.UNLINK)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "TLE_SETTING_ID")
protected TLESetting tleSetting;
@Column(name = "MASTER_KEY_LOCATION", length = 4, nullable = true)
protected String masterKeyLocation;
@Lob
@Column(name = "MASTER_KEY")
protected String masterKey;
@Lob
@Column(name = "WORKING_KEY")
protected String workingKey;
@Column(name = "ACQUIRER_TYPE", nullable = false)
protected String acquirerType;
@Column(name = "BATCH_NUMBER", length = 6)
protected String batchNumber;
@Transient
@MetaProperty
protected String merchantID;
@Transient
@MetaProperty
protected String terminalID;
@Column(name = "CREDIT_SETTLEMENT")
protected Boolean creditSettlement;
@Column(name = "DEBIT_SETTLEMENT")
protected Boolean debitSettlement;
@Column(name = "DESCRIPTION")
protected String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Boolean getDebitSettlement() {
return debitSettlement;
}
public void setDebitSettlement(Boolean debitSettlement) {
this.debitSettlement = debitSettlement;
}
public Boolean getCreditSettlement() {
return creditSettlement;
}
public void setCreditSettlement(Boolean creditSettlement) {
this.creditSettlement = creditSettlement;
}
public Boolean getCheckCardExpDate() {
return checkCardExpDate;
}
public void setCheckCardExpDate(Boolean checkCardExpDate) {
this.checkCardExpDate = checkCardExpDate;
}
public String getSettlementHostID() {
return settlementHostID;
}
public void setSettlementHostID(String settlementHostID) {
this.settlementHostID = settlementHostID;
}
public void setMerchantID(String merchantID) {
this.merchantID = merchantID;
}
public String getMerchantID() {
return merchantID;
}
public void setTerminalID(String terminalID) {
this.terminalID = terminalID;
}
public String getTerminalID() {
return terminalID;
}
public void setBatchNumber(String batchNumber) {
this.batchNumber = batchNumber;
}
public String getBatchNumber() {
return batchNumber;
}
public void setIssuers(List<Issuer> issuers) {
this.issuers = issuers;
}
public List<Issuer> getIssuers() {
if(issuers == null) {
issuers = new ArrayList<>();
}
return issuers;
}
public void setNumberOfPrint(Integer numberOfPrint) {
this.numberOfPrint = numberOfPrint;
}
public Integer getNumberOfPrint() {
return numberOfPrint;
}
public void setRespTimeout(Integer respTimeout) {
this.respTimeout = respTimeout;
}
public Integer getRespTimeout() {
return respTimeout;
}
public void setAcquirerId(String acquirerId) {
this.acquirerId = acquirerId;
}
public String getAcquirerId() {
return acquirerId;
}
public void setHostDestinationAddr(String hostDestinationAddr) {
this.hostDestinationAddr = hostDestinationAddr;
}
public String getHostDestinationAddr() {
return hostDestinationAddr;
}
public void setHostDestinationPort(String hostDestinationPort) {
this.hostDestinationPort = hostDestinationPort;
}
public String getHostDestinationPort() {
return hostDestinationPort;
}
public void setShowPrintExpDate(Boolean showPrintExpDate) {
this.showPrintExpDate = showPrintExpDate;
}
public Boolean getShowPrintExpDate() {
return showPrintExpDate;
}
public void setTleAcquirer(Boolean tleAcquirer) {
this.tleAcquirer = tleAcquirer;
}
public Boolean getTleAcquirer() {
return tleAcquirer;
}
public void setTleSetting(TLESetting tleSetting) {
this.tleSetting = tleSetting;
}
public TLESetting getTleSetting() {
return tleSetting;
}
public void setMasterKeyLocation(String masterKeyLocation) {
this.masterKeyLocation = masterKeyLocation;
}
public String getMasterKeyLocation() {
return masterKeyLocation;
}
public void setMasterKey(String masterKey) {
this.masterKey = masterKey;
}
public String getMasterKey() {
return masterKey;
}
public void setWorkingKey(String workingKey) {
this.workingKey = workingKey;
}
public String getWorkingKey() {
return workingKey;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setHostID(String hostID) {
this.hostID = hostID;
}
public String getHostID() {
return hostID;
}
public void setAcquirerType(AcquirerType acquirerType) {
this.acquirerType = acquirerType == null ? null : acquirerType.getId();
}
public AcquirerType getAcquirerType() {
return acquirerType == null ? null : AcquirerType.fromId(acquirerType);
}
@Override
public String toString() {
return "Acquirer{" + "id=" + id + ", name=" + name + ", hostID=" + hostID + ", numberOfPrint=" + numberOfPrint + ", respTimeout=" + respTimeout + ", acquirerId=" + acquirerId + ", hostDestinationAddr=" + hostDestinationAddr + ", hostDestinationPort=" + hostDestinationPort + ", showPrintExpDate=" + showPrintExpDate + ", tleAcquirer=" + tleAcquirer + ", tleSetting=" + tleSetting + ", masterKeyLocation=" + masterKeyLocation + ", masterKey=" + masterKey + ", workingKey=" + workingKey + ", acquirerType=" + acquirerType + ", batchNumber=" + batchNumber + '}';
}
}

View File

@ -0,0 +1,35 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.datatypes.impl.EnumClass;
import javax.annotation.Nullable;
public enum AcquirerType implements EnumClass<String> {
CREDIT("CREDIT"),
DEBIT("DEBIT"),
PREPAID("PREPAID"),
MINI_ATM("MINI_ATM"),
NFC_PAYMENT("NFC_PAYMENT");
private String id;
AcquirerType(String value) {
this.id = value;
}
public String getId() {
return id;
}
@Nullable
public static AcquirerType fromId(String id) {
for (AcquirerType at : AcquirerType.values()) {
if (at.getId().equals(id)) {
return at;
}
}
return null;
}
}

View File

@ -0,0 +1,410 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.*;
import javax.persistence.Entity;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Date;
@NamePattern("%s|name")
@Table(name = "TMSEXT_AID")
@Entity(name = "tms$Aid")
public class Aid extends BaseUuidEntity implements Versioned, Updatable, Creatable, SoftDelete {
private static final long serialVersionUID = -6154954716218259860L;
@Column(name = "NAME", nullable = false)
protected String name;
@Column(name = "TXN_TYPE", nullable = false, length = 8)
protected String txnType;
@Column(name = "AID", nullable = false, length = 32)
protected String aid;
@Column(name = "AID_VERSION", nullable = false, length = 4)
protected String aidVersion;
@Column(name = "TAC_DEFAULT", nullable = false, length = 10)
protected String tacDefault;
@Column(name = "TAC_DENIAL", nullable = false, length = 10)
protected String tacDenial;
@Column(name = "TAC_ONLINE", nullable = false, length = 10)
protected String tacOnline;
@Column(name = "THRESHOLD", nullable = false, length = 12)
protected String threshold;
@Column(name = "TARGET_PERCENTAGE", nullable = false, length = 4)
protected String targetPercentage;
@Column(name = "MAX_TARGET_PERCENTAGE", nullable = false, length = 4)
protected String maxTargetPercentage;
@Lob
@Column(name = "DDOL", nullable = false)
protected String ddol;
@Lob
@Column(name = "TDOL", nullable = false)
protected String tdol;
@Column(name = "FLOOR_LIMIT", nullable = false, length = 8)
protected String floorLimit;
@Column(name = "APP_SELECT", nullable = false, length = 2)
protected String appSelect;
@Column(name = "AID_PRIORITY", nullable = false, length = 2)
protected String aidPriority;
@NotNull
@Column(name = "TRX_TYPE9C", nullable = false, length = 2)
protected String trxType9C;
@Column(name = "CATEGORY_CODE", nullable = false, length = 2)
protected String categoryCode;
@Column(name = "CL_KERNEL_TO_USE", length = 4)
protected String clKernelToUse;
@Column(name = "CL_OPTIONS", length = 8)
protected String clOptions;
@Column(name = "CL_TRX_LIMIT", length = 12)
protected String clTrxLimit;
@Column(name = "CL_CVM_LIMIT", length = 12)
protected String clCvmLimit;
@Column(name = "CL_FLOOR_LIMIT", length = 12)
protected String clFloorLimit;
@Column(name = "REMARK", length = 100)
protected String remark;
@Column(name = "EMV_CONF_TERM_CAPABILITY", length = 100)
protected String emvConfTermCapability;
@Column(name = "ADDITIONAL_TERM_CAPABILITY", length = 100)
protected String additionalTermCapability;
@Column(name = "DATA_TTQ", length = 8)
protected String dataTtq;
@Version
@Column(name = "VERSION", nullable = false)
protected Integer version;
@Column(name = "UPDATE_TS")
protected Date updateTs;
@Column(name = "UPDATED_BY", length = 50)
protected String updatedBy;
@Column(name = "CREATE_TS")
protected Date createTs;
@Column(name = "CREATED_BY", length = 50)
protected String createdBy;
@Column(name = "DELETE_TS")
protected Date deleteTs;
@Column(name = "DELETED_BY", length = 50)
protected String deletedBy;
public String getAdditionalTermCapability() {
return additionalTermCapability;
}
public void setAdditionalTermCapability(String additionalTermCapability) {
this.additionalTermCapability = additionalTermCapability;
}
public String getEmvConfTermCapability() {
return emvConfTermCapability;
}
public void setEmvConfTermCapability(String emvConfTermCapability) {
this.emvConfTermCapability = emvConfTermCapability;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getRemark() {
return remark;
}
@Override
public Boolean isDeleted() {
return deleteTs != null;
}
@Override
public void setDeletedBy(String deletedBy) {
this.deletedBy = deletedBy;
}
@Override
public String getDeletedBy() {
return deletedBy;
}
@Override
public void setDeleteTs(Date deleteTs) {
this.deleteTs = deleteTs;
}
@Override
public Date getDeleteTs() {
return deleteTs;
}
public void setTxnType(String txnType) {
this.txnType = txnType;
}
public String getTxnType() {
return txnType;
}
public void setAid(String aid) {
this.aid = aid;
}
public String getAid() {
return aid;
}
public void setAidVersion(String aidVersion) {
this.aidVersion = aidVersion;
}
public String getAidVersion() {
return aidVersion;
}
public void setTacDefault(String tacDefault) {
this.tacDefault = tacDefault;
}
public String getTacDefault() {
return tacDefault;
}
public void setTacDenial(String tacDenial) {
this.tacDenial = tacDenial;
}
public String getTacDenial() {
return tacDenial;
}
public void setTacOnline(String tacOnline) {
this.tacOnline = tacOnline;
}
public String getTacOnline() {
return tacOnline;
}
public void setThreshold(String threshold) {
this.threshold = threshold;
}
public String getThreshold() {
return threshold;
}
public void setTargetPercentage(String targetPercentage) {
this.targetPercentage = targetPercentage;
}
public String getTargetPercentage() {
return targetPercentage;
}
public void setMaxTargetPercentage(String maxTargetPercentage) {
this.maxTargetPercentage = maxTargetPercentage;
}
public String getMaxTargetPercentage() {
return maxTargetPercentage;
}
public void setDdol(String ddol) {
this.ddol = ddol;
}
public String getDdol() {
return ddol;
}
public void setTdol(String tdol) {
this.tdol = tdol;
}
public String getTdol() {
return tdol;
}
public void setFloorLimit(String floorLimit) {
this.floorLimit = floorLimit;
}
public String getFloorLimit() {
return floorLimit;
}
public void setAppSelect(String appSelect) {
this.appSelect = appSelect;
}
public String getAppSelect() {
return appSelect;
}
public void setAidPriority(String aidPriority) {
this.aidPriority = aidPriority;
}
public String getAidPriority() {
return aidPriority;
}
public void setTrxType9C(String trxType9C) {
this.trxType9C = trxType9C;
}
public String getTrxType9C() {
return trxType9C;
}
public void setCategoryCode(String categoryCode) {
this.categoryCode = categoryCode;
}
public String getCategoryCode() {
return categoryCode;
}
public void setClKernelToUse(String clKernelToUse) {
this.clKernelToUse = clKernelToUse;
}
public String getClKernelToUse() {
return clKernelToUse;
}
public void setClOptions(String clOptions) {
this.clOptions = clOptions;
}
public String getClOptions() {
return clOptions;
}
public void setClTrxLimit(String clTrxLimit) {
this.clTrxLimit = clTrxLimit;
}
public String getClTrxLimit() {
return clTrxLimit;
}
public void setClCvmLimit(String clCvmLimit) {
this.clCvmLimit = clCvmLimit;
}
public String getClCvmLimit() {
return clCvmLimit;
}
public void setClFloorLimit(String clFloorLimit) {
this.clFloorLimit = clFloorLimit;
}
public String getClFloorLimit() {
return clFloorLimit;
}
public void setDataTtq(String dataTtq) {
this.dataTtq = dataTtq;
}
public String getDataTtq() {
return dataTtq;
}
@Override
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
@Override
public String getCreatedBy() {
return createdBy;
}
@Override
public void setCreateTs(Date createTs) {
this.createTs = createTs;
}
@Override
public Date getCreateTs() {
return createTs;
}
@Override
public void setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
}
@Override
public String getUpdatedBy() {
return updatedBy;
}
@Override
public void setUpdateTs(Date updateTs) {
this.updateTs = updateTs;
}
@Override
public Date getUpdateTs() {
return updateTs;
}
@Override
public void setVersion(Integer version) {
this.version = version;
}
@Override
public Integer getVersion() {
return version;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
}

View File

@ -0,0 +1,124 @@
package com.cmobile.unifiedtms.ext.entity;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import com.haulmont.cuba.core.entity.StandardEntity;
import com.haulmont.chile.core.annotations.NamePattern;
import java.util.Date;
import javax.persistence.Lob;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@NamePattern("%s Idx %s|name,idx")
@Table(name = "TMSEXT_CAPK")
@Entity(name = "tms$Capk")
public class Capk extends StandardEntity {
private static final long serialVersionUID = -4953983810428717839L;
@Column(name = "NAME", nullable = false, length = 50)
protected String name;
@Column(name = "IDX", nullable = false)
protected String idx;
@Column(name = "RID", nullable = false, length = 10)
protected String rid;
@Lob
@Column(name = "MODULUS", nullable = false)
protected String modulus;
@Column(name = "EXPONENT", nullable = false, length = 4)
protected String exponent;
@Column(name = "ALGO", nullable = false, length = 2)
protected String algo;
@Lob
@Column(name = "HASH", nullable = false)
protected String hash;
@Temporal(TemporalType.DATE)
@Column(name = "EXPIRY_DATE")
protected Date expiryDate;
@Column(name = "REMARK", length = 100)
protected String remark;
public void setRemark(String remark) {
this.remark = remark;
}
public String getRemark() {
return remark;
}
public void setRid(String rid) {
this.rid = rid;
}
public String getRid() {
return rid;
}
public void setIdx(String idx) {
this.idx = idx;
}
public String getIdx() {
return idx;
}
public void setModulus(String modulus) {
this.modulus = modulus;
}
public String getModulus() {
return modulus;
}
public void setExponent(String exponent) {
this.exponent = exponent;
}
public String getExponent() {
return exponent;
}
public void setAlgo(String algo) {
this.algo = algo;
}
public String getAlgo() {
return algo;
}
public void setHash(String hash) {
this.hash = hash;
}
public String getHash() {
return hash;
}
public void setExpiryDate(Date expiryDate) {
this.expiryDate = expiryDate;
}
public Date getExpiryDate() {
return expiryDate;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
}

View File

@ -0,0 +1,184 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.annotations.MetaProperty;
import com.haulmont.cuba.core.entity.StandardEntity;
import com.haulmont.cuba.core.entity.annotation.OnDelete;
import com.haulmont.cuba.core.entity.annotation.OnDeleteInverse;
import com.haulmont.cuba.core.global.DeletePolicy;
import javax.persistence.*;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Max;
import java.util.List;
@Table(name = "TMSEXT_CARD")
@Entity(name = "tms$Card")
public class Card extends StandardEntity {
private static final long serialVersionUID = 6200425446761442110L;
@Column(name = "NAME", nullable = false, length = 100)
protected String name;
@Column(name = "BIN_RANGE_START", nullable = false, length = 10)
protected String binRangeStart;
@Column(name = "BIN_RANGE_END", nullable = false, length = 10)
protected String binRangeEnd;
@Digits(message = "{msg://com.cmobile.unifiedtms.ext.entity/cardNumNonNumeric}", integer = 2, fraction = 0)
@Max(message = "{msg://com.cmobile.unifiedtms.ext.entity/cardNumLengthExceeded}", value = 19)
@Column(name = "CARD_NUM_LENGTH", nullable = false)
protected Integer cardNumLength = 16;
@Column(name = "PAN_DIGIT_UNMASKING", nullable = false, length = 20)
protected String panDigitUnmasking = "1111110000001111111";
@Column(name = "PRINT_CARDHOLDER_COPY")
protected Boolean printCardholderCopy = true;
@Column(name = "PRINT_MERCHANT_COPY")
protected Boolean printMerchantCopy = true;
@Column(name = "PRINT_BANK_COPY")
protected Boolean printBankCopy = true;
@Column(name = "PIN_LENGTH")
protected Integer pinLength = 6;
@Column(name = "PIN_PROMPT")
protected Boolean pinPrompt;
@JoinTable(name = "TMSEXT_ISSUER_CARD_LINK",
joinColumns = @JoinColumn(name = "CARD_ID"),
inverseJoinColumns = @JoinColumn(name = "ISSUER_ID"))
@OnDeleteInverse(DeletePolicy.UNLINK)
@OnDelete(DeletePolicy.DENY)
@ManyToMany
protected List<Issuer> issuers;
@Transient
@MetaProperty
protected String issuerId;
@Transient
@MetaProperty
protected String acquirerId;
public String getAcquirerId() {
return acquirerId;
}
public void setAcquirerId(String acquirerId) {
this.acquirerId = acquirerId;
}
public String getIssuerId() {
return issuerId;
}
public void setIssuerId(String issuerId) {
this.issuerId = issuerId;
}
public void setIssuers(List<Issuer> issuers) {
this.issuers = issuers;
}
public List<Issuer> getIssuers() {
return issuers;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setPinLength(Integer pinLength) {
this.pinLength = pinLength;
}
public Integer getPinLength() {
return pinLength;
}
public void setPinPrompt(Boolean pinPrompt) {
this.pinPrompt = pinPrompt;
}
public Boolean getPinPrompt() {
return pinPrompt;
}
public void setBinRangeStart(String binRangeStart) {
this.binRangeStart = binRangeStart;
}
public String getBinRangeStart() {
return binRangeStart;
}
public void setBinRangeEnd(String binRangeEnd) {
this.binRangeEnd = binRangeEnd;
}
public String getBinRangeEnd() {
return binRangeEnd;
}
public void setCardNumLength(Integer cardNumLength) {
this.cardNumLength = cardNumLength;
}
public Integer getCardNumLength() {
return cardNumLength;
}
public void setPanDigitUnmasking(String panDigitUnmasking) {
this.panDigitUnmasking = panDigitUnmasking;
}
public String getPanDigitUnmasking() {
return panDigitUnmasking;
}
public void setPrintCardholderCopy(Boolean printCardholderCopy) {
this.printCardholderCopy = printCardholderCopy;
}
public Boolean getPrintCardholderCopy() {
return printCardholderCopy;
}
public void setPrintMerchantCopy(Boolean printMerchantCopy) {
this.printMerchantCopy = printMerchantCopy;
}
public Boolean getPrintMerchantCopy() {
return printMerchantCopy;
}
public void setPrintBankCopy(Boolean printBankCopy) {
this.printBankCopy = printBankCopy;
}
public Boolean getPrintBankCopy() {
return printBankCopy;
}
/*
@Override
public String toString() {
return "Card{" + "id=" + id + ", name=" + name + ", binRangeStart=" + binRangeStart + ", binRangeEnd=" + binRangeEnd + ", cardNumLength=" + cardNumLength + ", panDigitUnmasking=" + panDigitUnmasking + ", printCardholderCopy=" + printCardholderCopy + ", printMerchantCopy=" + printMerchantCopy + ", printBankCopy=" + printBankCopy + ", pinLength=" + pinLength + ", pinPrompt=" + pinPrompt + '}';
}*/
}

View File

@ -0,0 +1,45 @@
package com.cmobile.unifiedtms.ext.entity;
import java.io.Serializable;
public class ExportReportBean implements Serializable {
private String filename;
private byte[] fileContent;
private boolean written;
private boolean sent;
public ExportReportBean() {}
public String getFilename() {
return filename;
}
public void setFilename(String filename) {
this.filename = filename;
}
public byte[] getFileContent() {
return fileContent;
}
public void setFileContent(byte[] fileContent) {
this.fileContent = fileContent;
}
public boolean isWritten() {
return written;
}
public void setWritten(boolean written) {
this.written = written;
}
public boolean isSent() {
return sent;
}
public void setSent(boolean sent) {
this.sent = sent;
}
}

View File

@ -0,0 +1,94 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.StandardEntity;
import com.haulmont.cuba.core.entity.annotation.*;
import com.haulmont.cuba.core.global.DeletePolicy;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@NamePattern("%s|name")
@Table(name = "TMSEXT_ISSUER")
@Entity(name = "tms$Issuer")
public class Issuer extends StandardEntity {
private static final long serialVersionUID = -4953983810428717839L;
@Column(name = "NAME", nullable = false, length = 30)
protected String name;
@Column(name = "ISSUER_ID", nullable = false, length = 10)
protected String issuerID;
@Column(name = "ON_US")
protected Boolean onUs;
@JoinTable(name = "TMSEXT_ISSUER_CARD_LINK",
joinColumns = @JoinColumn(name = "ISSUER_ID"),
inverseJoinColumns = @JoinColumn(name = "CARD_ID"))
@ManyToMany(cascade = CascadeType.REFRESH)
@OnDeleteInverse(DeletePolicy.UNLINK)
@OnDelete(DeletePolicy.CASCADE)
protected List<Card> cards;
@Lookup(type = LookupType.DROPDOWN, actions = "lookup")
@OnDeleteInverse(DeletePolicy.CASCADE)
@OnDelete(DeletePolicy.CASCADE)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ACQUIRER_ID")
protected Acquirer acquirer;
public Boolean getOnUs() {
return onUs;
}
public void setOnUs(Boolean onUs) {
this.onUs = onUs;
}
public void setAcquirer(Acquirer acquirer) {
this.acquirer = acquirer;
}
public Acquirer getAcquirer() {
return acquirer;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setCards(List<Card> cards) {
this.cards = cards;
}
public List<Card> getCards() {
if(cards == null) {
cards = new ArrayList<>();
}
return cards;
}
public void setIssuerID(String issuerID) {
this.issuerID = issuerID;
}
public String getIssuerID() {
return issuerID;
}
@Override
public String toString() {
return "Issuer{" + "id=" + id + ", name=" + name + ", issuerID=" + issuerID + '}';
}
}

View File

@ -0,0 +1,32 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.datatypes.impl.EnumClass;
import javax.annotation.Nullable;
public enum MerchantType implements EnumClass<String> {
CHAIN("RETAIL"),
RETAIL("RETAIL");
private String id;
MerchantType(String value) {
this.id = value;
}
public String getId() {
return id;
}
@Nullable
public static MerchantType fromId(String id) {
for (MerchantType at : MerchantType.values()) {
if (at.getId().equals(id)) {
return at;
}
}
return null;
}
}

View File

@ -0,0 +1,159 @@
package com.cmobile.unifiedtms.ext.entity;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.Lob;
import com.haulmont.cuba.core.entity.BaseUuidEntity;
import com.haulmont.cuba.core.entity.Versioned;
import javax.persistence.Version;
import com.haulmont.cuba.core.entity.Updatable;
import java.util.Date;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.Creatable;
@NamePattern("%s|idx")
@Table(name = "TMSEXT_PUBLIC_KEY_SETTING")
@Entity(name = "tms$PublicKeySetting")
public class PublicKeySetting extends BaseUuidEntity implements Versioned, Updatable, Creatable {
private static final long serialVersionUID = -1546798966243718345L;
@Column(name = "IDX", nullable = false, unique = true, length = 5)
protected String idx;
@Column(name = "RID", nullable = false, length = 10)
protected String rid;
@Lob
@Column(name = "MODULUS", nullable = false)
protected String modulus;
@Column(name = "EXPONENT", nullable = false, length = 2)
protected String exponent;
@Lob
@Column(name = "HASH", nullable = false)
protected String hash;
@Column(name = "ALGO", nullable = false, length = 2)
protected String algo;
@Version
@Column(name = "VERSION", nullable = false)
protected Integer version;
@Column(name = "UPDATE_TS")
protected Date updateTs;
@Column(name = "UPDATED_BY", length = 50)
protected String updatedBy;
@Column(name = "CREATE_TS")
protected Date createTs;
@Column(name = "CREATED_BY", length = 50)
protected String createdBy;
@Override
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
@Override
public String getCreatedBy() {
return createdBy;
}
@Override
public void setCreateTs(Date createTs) {
this.createTs = createTs;
}
@Override
public Date getCreateTs() {
return createTs;
}
@Override
public void setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
}
@Override
public String getUpdatedBy() {
return updatedBy;
}
@Override
public void setUpdateTs(Date updateTs) {
this.updateTs = updateTs;
}
@Override
public Date getUpdateTs() {
return updateTs;
}
@Override
public void setVersion(Integer version) {
this.version = version;
}
@Override
public Integer getVersion() {
return version;
}
public void setIdx(String idx) {
this.idx = idx;
}
public String getIdx() {
return idx;
}
public void setRid(String rid) {
this.rid = rid;
}
public String getRid() {
return rid;
}
public void setModulus(String modulus) {
this.modulus = modulus;
}
public String getModulus() {
return modulus;
}
public void setExponent(String exponent) {
this.exponent = exponent;
}
public String getExponent() {
return exponent;
}
public void setHash(String hash) {
this.hash = hash;
}
public String getHash() {
return hash;
}
public void setAlgo(String algo) {
this.algo = algo;
}
public String getAlgo() {
return algo;
}
}

View File

@ -0,0 +1,273 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.StandardEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
@NamePattern("%s - %s|tleEftSec,tleID")
@Table(name = "TMSEXT_TLE_SETTING")
@Entity(name = "tms$TLESetting")
public class TLESetting extends StandardEntity {
private static final long serialVersionUID = -4953983810428717839L;
@Column(name = "TLE_EFT_SEC", nullable = false, unique = true, length = 10)
protected String tleEftSec;
@Column(name = "TLE_ID", nullable = false, length = 2)
protected String tleID;
@Column(name = "ACQUIRER_ID", nullable = false, length = 3)
protected String acquirerId;
@Column(name = "LTMK_AID", nullable = false, length = 3)
protected String ltmkAid;
@Column(name = "VENDOR_ID", nullable = false, length = 8)
protected String vendorId;
@Column(name = "TLE_VER", nullable = false, length = 1)
protected String tleVer;
@Column(name = "KMS_SECURE_NII", length = 4)
protected String kmsSecureNII;
@Column(name = "EDC_SECURE_NII", length = 4)
protected String edcSecureNII;
@Column(name = "CAPK_EXPONENT", length = 2)
protected String capkExponent;
@Column(name = "CAPK_LENGTH")
protected Integer capkLength;
@Lob
@Column(name = "CAPK_VALUE")
protected String capkValue;
@Column(name = "AID_LENGTH")
protected Integer aidLength;
@Lob
@Column(name = "AID_VALUE")
protected String aidValue;
@Column(name = "FIELD_ENCRYPTED1", length = 3)
protected String fieldEncrypted1;
@Column(name = "FIELD_ENCRYPTED2", length = 3)
protected String fieldEncrypted2;
@Column(name = "FIELD_ENCRYPTED3", length = 3)
protected String fieldEncrypted3;
@Column(name = "FIELD_ENCRYPTED4", length = 3)
protected String fieldEncrypted4;
@Column(name = "FIELD_ENCRYPTED5", length = 3)
protected String fieldEncrypted5;
@Column(name = "FIELD_ENCRYPTED6", length = 3)
protected String fieldEncrypted6;
@Column(name = "FIELD_ENCRYPTED7", length = 3)
protected String fieldEncrypted7;
@Column(name = "FIELD_ENCRYPTED8", length = 3)
protected String fieldEncrypted8;
@Column(name = "FIELD_ENCRYPTED9", length = 3)
protected String fieldEncrypted9;
@Column(name = "FIELD_ENCRYPTED10", length = 3)
protected String fieldEncrypted10;
public String getFieldEncrypted10() {
return fieldEncrypted10;
}
public void setFieldEncrypted10(String fieldEncrypted10) {
this.fieldEncrypted10 = fieldEncrypted10;
}
public String getFieldEncrypted9() {
return fieldEncrypted9;
}
public void setFieldEncrypted9(String fieldEncrypted9) {
this.fieldEncrypted9 = fieldEncrypted9;
}
public String getFieldEncrypted8() {
return fieldEncrypted8;
}
public void setFieldEncrypted8(String fieldEncrypted8) {
this.fieldEncrypted8 = fieldEncrypted8;
}
public String getFieldEncrypted7() {
return fieldEncrypted7;
}
public void setFieldEncrypted7(String fieldEncrypted7) {
this.fieldEncrypted7 = fieldEncrypted7;
}
public void setTleEftSec(String tleEftSec) {
this.tleEftSec = tleEftSec;
}
public String getTleEftSec() {
return tleEftSec;
}
public void setTleID(String tleID) {
this.tleID = tleID;
}
public String getTleID() {
return tleID;
}
public void setAcquirerId(String acquirerId) {
this.acquirerId = acquirerId;
}
public String getAcquirerId() {
return acquirerId;
}
public void setLtmkAid(String ltmkAid) {
this.ltmkAid = ltmkAid;
}
public String getLtmkAid() {
return ltmkAid;
}
public void setVendorId(String vendorId) {
this.vendorId = vendorId;
}
public String getVendorId() {
return vendorId;
}
public void setTleVer(String tleVer) {
this.tleVer = tleVer;
}
public String getTleVer() {
return tleVer;
}
public void setKmsSecureNII(String kmsSecureNII) {
this.kmsSecureNII = kmsSecureNII;
}
public String getKmsSecureNII() {
return kmsSecureNII;
}
public void setEdcSecureNII(String edcSecureNII) {
this.edcSecureNII = edcSecureNII;
}
public String getEdcSecureNII() {
return edcSecureNII;
}
public void setCapkExponent(String capkExponent) {
this.capkExponent = capkExponent;
}
public String getCapkExponent() {
return capkExponent;
}
public void setCapkLength(Integer capkLength) {
this.capkLength = capkLength;
}
public Integer getCapkLength() {
return capkLength;
}
public void setCapkValue(String capkValue) {
this.capkValue = capkValue;
}
public String getCapkValue() {
return capkValue;
}
public void setAidLength(Integer aidLength) {
this.aidLength = aidLength;
}
public Integer getAidLength() {
return aidLength;
}
public void setAidValue(String aidValue) {
this.aidValue = aidValue;
}
public String getAidValue() {
return aidValue;
}
public void setFieldEncrypted1(String fieldEncrypted1) {
this.fieldEncrypted1 = fieldEncrypted1;
}
public String getFieldEncrypted1() {
return fieldEncrypted1;
}
public void setFieldEncrypted2(String fieldEncrypted2) {
this.fieldEncrypted2 = fieldEncrypted2;
}
public String getFieldEncrypted2() {
return fieldEncrypted2;
}
public void setFieldEncrypted3(String fieldEncrypted3) {
this.fieldEncrypted3 = fieldEncrypted3;
}
public String getFieldEncrypted3() {
return fieldEncrypted3;
}
public void setFieldEncrypted4(String fieldEncrypted4) {
this.fieldEncrypted4 = fieldEncrypted4;
}
public String getFieldEncrypted4() {
return fieldEncrypted4;
}
public void setFieldEncrypted5(String fieldEncrypted5) {
this.fieldEncrypted5 = fieldEncrypted5;
}
public String getFieldEncrypted5() {
return fieldEncrypted5;
}
public void setFieldEncrypted6(String fieldEncrypted6) {
this.fieldEncrypted6 = fieldEncrypted6;
}
public String getFieldEncrypted6() {
return fieldEncrypted6;
}
}

View File

@ -0,0 +1,983 @@
package com.cmobile.unifiedtms.ext.entity;
import com.haulmont.chile.core.annotations.MetaProperty;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.StandardEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;
@NamePattern("%s|terminalId")
@Table(name = "TMSEXT_TERMINAL_EXT")
@Entity(name = "tms$TerminalExt")
public class TerminalExt extends StandardEntity {
private static final long serialVersionUID = -3777005290445864985L;
@Column(name = "TERMINAL_ID", nullable = false, unique = true, length = 8)
protected String terminalId;
@Column(name = "MERCHANT_ID", nullable = false, length = 15)
protected String merchantId;
@Column(name = "MERCHANT_NAME1", nullable = false, length = 30)
protected String merchantName1;
@Column(name = "MERCHANT_NAME2", length = 30)
protected String merchantName2;
@Column(name = "MERCHANT_NAME3", length = 30)
protected String merchantName3;
@Column(name = "MERCHANT_NAME4", length = 30)
protected String merchantName4;
@Column(name = "MERCHANT_NAME5", length = 30)
protected String merchantName5;
@Column(name = "MERCHANT_PASSWORD", length = 8)
protected String merchantPassword;
@Column(name = "ADMIN_PASSWORD", length = 8)
protected String adminPassword;
@Column(name = "SETTLEMENT_PASSWORD", length = 8)
protected String settlementPassword;
@Column(name = "VOID_PASSWORD", length = 8)
protected String voidPassword;
@Column(name = "SETTLE_MAX_TRX_COUNT")
protected Integer settleMaxTrxCount;
@Column(name = "SETTLE_WARNING_TRX_COUNT")
protected Integer settleWarningTrxCount;
@Column(name = "CALL_CENTER1")
protected String callCenter1;
@Column(name = "CALL_CENTER2")
protected String callCenter2;
@Column(name = "MERCHANT_TYPE", nullable = true, length = 30)
protected String merchantType;
@Column(name = "VENDOR_NAME", nullable = true, length = 100)
protected String vendorName;
@Column(name = "BRIZZI_DISCOUNT_PERCENTAGE", length = 10)
protected String brizziDiscountPercentage;
@Column(name = "BRIZZI_DISCOUNT_AMOUNT", length = 30)
protected String brizziDiscountAmount;
@Column(name = "FALLBACK_ENABLED")
protected Boolean fallbackEnabled;
@Column(name = "QRIS_COUNT_DOWN")
protected Integer qrisCountDown;
@Column(name = "REPRINT_ONLINE_RETRY")
protected Integer reprintOnlineRetry;
@Column(name = "FEATURE_SALE")
protected Boolean featureSale;
@Column(name = "FEATURE_SALE_TIP")
protected Boolean featureSaleTip;
@Column(name = "FEATURE_SALE_REDEMPTION")
protected Boolean featureSaleRedemption;
@Column(name = "FEATURE_CARD_VERIFICATION")
protected Boolean featureCardVerification;
@Column(name = "FEATURE_SALE_COMPLETION")
protected Boolean featureSaleCompletion;
@Column(name = "FEATURE_INSTALLMENT")
protected Boolean featureInstallment;
@Column(name = "FEATURE_SALE_FARE_NON_FARE")
protected Boolean featureSaleFareNonFare;
@Column(name = "FEATURE_MANUAL_KEY_IN")
protected Boolean featureManualKeyIn;
@Column(name = "FEATURE_QRIS")
protected Boolean featureQRIS;
@Column(name = "INSTALLMENT1_OPTIONS", length = 20)
protected String installment1Options = "3, 6, 12, 18, 24";
@Column(name = "INSTALLMENT2_OPTIONS", length = 20)
protected String installment2Options = "3, 6, 12, 18, 24";
@Column(name = "INSTALLMENT3_OPTIONS", length = 20)
protected String installment3Options = "3, 6, 12, 18, 24";
@Column(name = "FEATURE_CONTACTLESS")
protected Boolean featureContactless;
@Column(name = "FEATURE_SALE_NFC")
protected Boolean featureSaleNfc;
@Column(name = "FEATURE_REFUND_NFC")
protected Boolean featureRefundNfc;
@Column(name = "FEATURE_SALE_WITH_BRIPOIN")
protected Boolean featureSaleWithBripoin;
@Column(name = "INQUIRY_BRIPOIN_TIMEOUT")
protected Integer inquiryBripoinTimeout;
@Column(name = "INQUIRY_BRIPOIN_NII")
protected String inquiryBripoinNII;
@Column(name = "FEATURE_RELEASE_CARD_VER")
protected Boolean featureReleaseCardVer;
@Column(name = "FEATURE_VOID")
protected Boolean featureVoid;
@Column(name = "FEATURE_SETTLEMENT")
protected Boolean featureSettlement;
@Column(name = "FEATURE_REPRINT")
protected Boolean featureReprint;
@Column(name = "FEATURE_REPORT")
protected Boolean featureReport;
@Column(name = "FEATURE_QRIS_GENERATE")
protected Boolean featureQrisGenerate;
@Column(name = "FEATURE_QRIS_PAY")
protected Boolean featureQrisPay;
@Column(name = "FEATURE_QRIS_REFUND")
protected Boolean featureQrisRefund;
@Column(name = "FEATURE_QRIS_REPORT")
protected Boolean featureQrisReport;
@Column(name = "FEATURE_BRIZZI_INFO")
protected Boolean featureBrizziInfo;
@Column(name = "FEATURE_BRIZZI_INFO_DEPOSIT")
protected Boolean featureBrizziInfoDeposit;
@Column(name = "FEATURE_BRIZZI_UPDATE_DEPOSIT")
protected Boolean featureBrizziUpdateDeposit;
@Column(name = "FEATURE_BRIZZI_TOPUP")
protected Boolean featureBrizziTopup;
@Column(name = "FEATURE_BRIZZI_TOPUP_DEPOSIT")
protected Boolean featureBrizziTopupDeposit;
@Column(name = "FEATURE_BRIZZI_SALE")
protected Boolean featureBrizziSale;
@Column(name = "FEATURE_BRIZZI_SETTLEMENT")
protected Boolean featureBrizziSettlement;
@Column(name = "FEATURE_BRIZZI_VOID")
protected Boolean featureBrizziVoid;
@Column(name = "FEATURE_BRIZZI_INIT")
protected Boolean featureBrizziInit;
@Column(name = "FEATURE_BRIZZI_CARD_INFO")
protected Boolean featureBrizziCardInfo;
@Column(name = "FEATURE_BRIZZI_LOG")
protected Boolean featureBrizziLog;
@Column(name = "FEATURE_BRIZZI_REPRINT")
protected Boolean featureBrizziReprint;
@Column(name = "FEATURE_BRIZZI_REPORT")
protected Boolean featureBrizziReport;
@Column(name = "FEATURE_RE_ENG_QRIS")
protected Boolean featureReEngQris;
@Column(name = "FEATURE_CONTACTLESS_QRIS_TAP")
protected Boolean featureContactlessQristap;
@Column(name = "RANDOM_PIN_KEYPAD")
protected Boolean randomPinKeypad;
@Column(name = "BEEP_PIN_KEYPAD")
protected Boolean beepPinKeypad;
@Column(name = "AUTO_LOGON")
protected Boolean autoLogon;
@Column(name = "NEXT_LOGON")
protected Integer nextLogon;
@Column(name = "PUSH_LOGON")
protected Integer pushLogon;
@Column(name = "HOST_REPORT", nullable = true)
protected Boolean hostReport;
@Column(name = "PASSWORD_BLOCK_TIME")
protected Integer passwordBlockTime;
@Transient
@MetaProperty
protected Integer hostReportTimeout;
@Transient
@MetaProperty
protected String hostReportUrl;
@Transient
@MetaProperty
protected String hostReportApiKey;
@Column(name = "HOST_LOGGING", nullable = true)
protected Boolean hostLogging;
@Transient
@MetaProperty
protected Integer hostLoggingTimeout;
@Transient
@MetaProperty
protected String hostLoggingUrl;
@Transient
@MetaProperty
protected String hostLoggingApiKey;
@Transient
@MetaProperty
protected Boolean autoStartApp;
@Column(name = "SKIP_PASSWORD", nullable = true)
protected Boolean skipPassword;
@Column(name = "AUTO_DELETE_QRIS_TRX")
protected Integer autoDeleteQrisTrx;
@Column(name = "BRIZZI_SETTLEMENT_MAX_COUNT")
protected Integer settleMaxTrxCountBrizzi;
@Column(name = "BRIZZI_SETTLEMENT_WARN_COUNT")
protected Integer settleWarningTrxCountBrizzi;
@Column(name = "QRIS_CHECK_INTERVAL")
protected Integer qrisCekInterval;
@Column(name = "CUSTOM_PAN_MASKING")
protected Boolean customPanMasking;
@Transient
@MetaProperty
protected List<Acquirer> acquirers;
public void setAcquirers(List<Acquirer> acquirers) {
this.acquirers = acquirers;
}
public List<Acquirer> getAcquirers() {
return acquirers;
}
public Integer getNextLogon() {
return nextLogon;
}
public void setNextLogon(Integer nextLogon) {
this.nextLogon = nextLogon;
}
public Boolean getAutoLogon() {
return autoLogon;
}
public void setAutoLogon(Boolean autoLogon) {
this.autoLogon = autoLogon;
}
public Boolean getBeepPinKeypad() {
return beepPinKeypad;
}
public void setBeepPinKeypad(Boolean beepPinKeypad) {
this.beepPinKeypad = beepPinKeypad;
}
public String getInstallment3Options() {
return installment3Options;
}
public void setInstallment3Options(String installment3Options) {
this.installment3Options = installment3Options;
}
public String getInstallment2Options() {
return installment2Options;
}
public void setInstallment2Options(String installment2Options) {
this.installment2Options = installment2Options;
}
public String getInstallment1Options() {
return installment1Options;
}
public void setInstallment1Options(String installment1Options) {
this.installment1Options = installment1Options;
}
public Boolean getFeatureQRIS() {
return featureQRIS;
}
public void setFeatureQRIS(Boolean featureQRIS) {
this.featureQRIS = featureQRIS;
}
public Boolean getFeatureManualKeyIn() {
return featureManualKeyIn;
}
public void setFeatureManualKeyIn(Boolean featureManualKeyIn) {
this.featureManualKeyIn = featureManualKeyIn;
}
public Boolean getFeatureSaleFareNonFare() {
return featureSaleFareNonFare;
}
public void setFeatureSaleFareNonFare(Boolean featureSaleFareNonFare) {
this.featureSaleFareNonFare = featureSaleFareNonFare;
}
public Boolean getFeatureInstallment() {
return featureInstallment;
}
public void setFeatureInstallment(Boolean featureInstallment) {
this.featureInstallment = featureInstallment;
}
public Boolean getFeatureSaleCompletion() {
return featureSaleCompletion;
}
public void setFeatureSaleCompletion(Boolean featureSaleCompletion) {
this.featureSaleCompletion = featureSaleCompletion;
}
public Boolean getFeatureCardVerification() {
return featureCardVerification;
}
public void setFeatureCardVerification(Boolean featureCardVerification) {
this.featureCardVerification = featureCardVerification;
}
public Boolean getFeatureSaleRedemption() {
return featureSaleRedemption;
}
public void setFeatureSaleRedemption(Boolean featureSaleRedemption) {
this.featureSaleRedemption = featureSaleRedemption;
}
public Boolean getFeatureSaleTip() {
return featureSaleTip;
}
public void setFeatureSaleTip(Boolean featureSaleTip) {
this.featureSaleTip = featureSaleTip;
}
public Boolean getFeatureSale() {
return featureSale;
}
public void setFeatureSale(Boolean featureSale) {
this.featureSale = featureSale;
}
public Boolean getFeatureSaleNfc() {
return featureSaleNfc;
}
public void setFeatureSaleNfc(Boolean featureSaleNfc) {
this.featureSaleNfc = featureSaleNfc;
}
public Boolean getFeatureRefundNfc() {
return featureRefundNfc;
}
public void setFeatureRefundNfc(Boolean featureRefundNfc) {
this.featureRefundNfc = featureRefundNfc;
}
public Integer getReprintOnlineRetry() {
return reprintOnlineRetry;
}
public void setReprintOnlineRetry(Integer reprintOnlineRetry) {
this.reprintOnlineRetry = reprintOnlineRetry;
}
public Integer getQrisCountDown() {
return qrisCountDown;
}
public void setQrisCountDown(Integer qrisCountDown) {
this.qrisCountDown = qrisCountDown;
}
public Boolean getFallbackEnabled() {
return fallbackEnabled;
}
public void setFallbackEnabled(Boolean fallbackEnabled) {
this.fallbackEnabled = fallbackEnabled;
}
public String getBrizziDiscountAmount() {
return brizziDiscountAmount;
}
public void setBrizziDiscountAmount(String brizziDiscountAmount) {
this.brizziDiscountAmount = brizziDiscountAmount;
}
public String getBrizziDiscountPercentage() {
return brizziDiscountPercentage;
}
public void setBrizziDiscountPercentage(String brizziDiscountPercentage) {
this.brizziDiscountPercentage = brizziDiscountPercentage;
}
public Integer getSettleWarningTrxCount() {
return settleWarningTrxCount;
}
public void setSettleWarningTrxCount(Integer settleWarningTrxCount) {
this.settleWarningTrxCount = settleWarningTrxCount;
}
public String getVoidPassword() {
return voidPassword;
}
public void setVoidPassword(String voidPassword) {
this.voidPassword = voidPassword;
}
public String getSettlementPassword() {
return settlementPassword;
}
public void setSettlementPassword(String settlementPassword) {
this.settlementPassword = settlementPassword;
}
public void setCallCenter1(String callCenter1) {
this.callCenter1 = callCenter1;
}
public String getCallCenter1() {
return callCenter1;
}
public void setCallCenter2(String callCenter2) {
this.callCenter2 = callCenter2;
}
public String getCallCenter2() {
return callCenter2;
}
public void setMerchantType(MerchantType merchantType) {
this.merchantType = merchantType == null ? null : merchantType.getId();
}
public MerchantType getMerchantType() {
return merchantType == null ? null : MerchantType.fromId(merchantType);
}
public String getVendorName() {
return vendorName;
}
public void setVendorName(String vendorName) {
this.vendorName = vendorName;
}
public void setTerminalId(String terminalId) {
this.terminalId = terminalId;
}
public String getTerminalId() {
return terminalId;
}
public void setMerchantId(String merchantId) {
this.merchantId = merchantId;
}
public String getMerchantId() {
return merchantId;
}
public void setMerchantName1(String merchantName1) {
this.merchantName1 = merchantName1;
}
public String getMerchantName1() {
return merchantName1;
}
public void setMerchantName2(String merchantName2) {
this.merchantName2 = merchantName2;
}
public String getMerchantName2() {
return merchantName2;
}
public void setMerchantName3(String merchantName3) {
this.merchantName3 = merchantName3;
}
public String getMerchantName3() {
return merchantName3;
}
public void setMerchantName4(String merchantName4) {
this.merchantName4 = merchantName4;
}
public String getMerchantName4() {
return merchantName4;
}
public void setMerchantName5(String merchantName5) {
this.merchantName5 = merchantName5;
}
public String getMerchantName5() {
return merchantName5;
}
public void setMerchantPassword(String merchantPassword) {
this.merchantPassword = merchantPassword;
}
public String getMerchantPassword() {
return merchantPassword;
}
public void setAdminPassword(String adminPassword) {
this.adminPassword = adminPassword;
}
public String getAdminPassword() {
return adminPassword;
}
public void setSettleMaxTrxCount(Integer settleMaxTrxCount) {
this.settleMaxTrxCount = settleMaxTrxCount;
}
public Integer getSettleMaxTrxCount() {
return settleMaxTrxCount;
}
public Boolean getFeatureContactless() {
return featureContactless;
}
public void setFeatureContactless(Boolean featureContactless) {
this.featureContactless = featureContactless;
}
public Boolean getFeatureReEngQris() {
return featureReEngQris;
}
public void setFeatureReEngQris(Boolean featureReEngQris) {
this.featureReEngQris = featureReEngQris;
}
public Boolean getRandomPinKeypad() {
return randomPinKeypad;
}
public void setRandomPinKeypad(Boolean randomPinKeypad) {
this.randomPinKeypad = randomPinKeypad;
}
/*
@Override
public String toString() {
return "Terminal{" + "id=" + id + ", terminalId=" + terminalId + ", merchantId=" + merchantId + ", merchantName1=" + merchantName1 + ", merchantName2=" + merchantName2 + ", merchantName3=" + merchantName3 + ", merchantPassword=" + merchantPassword + ", adminPassword=" + adminPassword + ", initialisePassword=" + initialisePassword + ", timeOfSettlement=" + timeOfSettlement + ", settleTime1=" + settleTime1 + ", settleTime2=" + settleTime2 + ", settleTime3=" + settleTime3 + ", passwordVoid=" + passwordVoid + ", passwordAdjust=" + passwordAdjust + ", passwordRefund=" + passwordRefund + ", passwordOffline=" + passwordOffline + ", pushSettleInDays=" + pushSettleInDays + ", settleMaxTrxCount=" + settleMaxTrxCount + ", settlePeriod=" + settlePeriod + ", settleAttempt=" + settleAttempt + ", deviceTerminal=" + deviceTerminal + ", profile=" + profile + ", autoSettle=" + autoSettle + ", track2TopUpTunai=" + track2TopUpTunai + ", redemption=" + redemption + ", smartSpending=" + smartSpending + ", loyaltyPurseID1=" + loyaltyPurseID1 + ", loyaltyPurseID2=" + loyaltyPurseID2 + ", loyaltyPurseID3=" + loyaltyPurseID3 + ", emvInformation=" + emvInformation + ", cvmOnlinePinBypass=" + cvmOnlinePinBypass + ", cvmSignPromptPin=" + cvmSignPromptPin + ", autoInit=" + autoInit + ", autoInitNII=" + autoInitNII + ", callCenter1=" + callCenter1 + ", callCenter2=" + callCenter2 + ", importDefault=" + importDefault + '}';
}*/
public Integer getPushLogon() {
return pushLogon;
}
public void setPushLogon(Integer pushLogon) {
this.pushLogon = pushLogon;
}
public Boolean getHostReport() {
return hostReport;
}
public void setHostReport(Boolean hostReport) {
this.hostReport = hostReport;
}
public Integer getHostReportTimeout() {
return hostReportTimeout;
}
public void setHostReportTimeout(Integer hostReportTimeout) {
this.hostReportTimeout = hostReportTimeout;
}
public String getHostReportUrl() {
return hostReportUrl;
}
public void setHostReportUrl(String hostReportUrl) {
this.hostReportUrl = hostReportUrl;
}
public String getHostReportApiKey() {
return hostReportApiKey;
}
public void setHostReportApiKey(String hostReportApiKey) {
this.hostReportApiKey = hostReportApiKey;
}
public Boolean getHostLogging() {
return hostLogging;
}
public void setHostLogging(Boolean hostLogging) {
this.hostLogging = hostLogging;
}
public Integer getHostLoggingTimeout() {
return hostLoggingTimeout;
}
public void setHostLoggingTimeout(Integer hostLoggingTimeout) {
this.hostLoggingTimeout = hostLoggingTimeout;
}
public String getHostLoggingUrl() {
return hostLoggingUrl;
}
public void setHostLoggingUrl(String hostLoggingUrl) {
this.hostLoggingUrl = hostLoggingUrl;
}
public String getHostLoggingApiKey() {
return hostLoggingApiKey;
}
public void setHostLoggingApiKey(String hostLoggingApiKey) {
this.hostLoggingApiKey = hostLoggingApiKey;
}
public Boolean getAutoStartApp() {
return autoStartApp;
}
public void setAutoStartApp(Boolean autoStartApp) {
this.autoStartApp = autoStartApp;
}
public Boolean getSkipPassword() {
return skipPassword;
}
public void setSkipPassword(Boolean skipPassword) {
this.skipPassword = skipPassword;
}
public Boolean getFeatureSaleWithBripoin() {
return featureSaleWithBripoin;
}
public void setFeatureSaleWithBripoin(Boolean featureSaleWithBripoin) {
this.featureSaleWithBripoin = featureSaleWithBripoin;
}
public Integer getInquiryBripoinTimeout() {
return inquiryBripoinTimeout;
}
public void setInquiryBripoinTimeout(Integer inquiryBripoinTimeout) {
this.inquiryBripoinTimeout = inquiryBripoinTimeout;
}
public Boolean getFeatureReleaseCardVer() {
return featureReleaseCardVer;
}
public void setFeatureReleaseCardVer(Boolean featureReleaseCardVer) {
this.featureReleaseCardVer = featureReleaseCardVer;
}
public String getInquiryBripoinNII() {
return inquiryBripoinNII;
}
public void setInquiryBripoinNII(String inquiryBripoinNII) {
this.inquiryBripoinNII = inquiryBripoinNII;
}
public Boolean getFeatureVoid() {
return featureVoid;
}
public void setFeatureVoid(Boolean featureVoid) {
this.featureVoid = featureVoid;
}
public Boolean getFeatureSettlement() {
return featureSettlement;
}
public void setFeatureSettlement(Boolean featureSettlement) {
this.featureSettlement = featureSettlement;
}
public Boolean getFeatureReprint() {
return featureReprint;
}
public void setFeatureReprint(Boolean featureReprint) {
this.featureReprint = featureReprint;
}
public Boolean getFeatureReport() {
return featureReport;
}
public void setFeatureReport(Boolean featureReport) {
this.featureReport = featureReport;
}
public Boolean getFeatureQrisGenerate() {
return featureQrisGenerate;
}
public void setFeatureQrisGenerate(Boolean featureQrisGenerate) {
this.featureQrisGenerate = featureQrisGenerate;
}
public Boolean getFeatureQrisPay() {
return featureQrisPay;
}
public void setFeatureQrisPay(Boolean featureQrisPay) {
this.featureQrisPay = featureQrisPay;
}
public Boolean getFeatureQrisRefund() {
return featureQrisRefund;
}
public void setFeatureQrisRefund(Boolean featureQrisRefund) {
this.featureQrisRefund = featureQrisRefund;
}
public Boolean getFeatureQrisReport() {
return featureQrisReport;
}
public void setFeatureQrisReport(Boolean featureQrisReport) {
this.featureQrisReport = featureQrisReport;
}
public Boolean getFeatureBrizziInfo() {
return featureBrizziInfo;
}
public void setFeatureBrizziInfo(Boolean featureBrizziInfo) {
this.featureBrizziInfo = featureBrizziInfo;
}
public Boolean getFeatureBrizziInfoDeposit() {
return featureBrizziInfoDeposit;
}
public void setFeatureBrizziInfoDeposit(Boolean featureBrizziInfoDeposit) {
this.featureBrizziInfoDeposit = featureBrizziInfoDeposit;
}
public Boolean getFeatureBrizziUpdateDeposit() {
return featureBrizziUpdateDeposit;
}
public void setFeatureBrizziUpdateDeposit(Boolean featureBrizziUpdateDeposit) {
this.featureBrizziUpdateDeposit = featureBrizziUpdateDeposit;
}
public Boolean getFeatureBrizziTopup() {
return featureBrizziTopup;
}
public void setFeatureBrizziTopup(Boolean featureBrizziTopup) {
this.featureBrizziTopup = featureBrizziTopup;
}
public Boolean getFeatureBrizziTopupDeposit() {
return featureBrizziTopupDeposit;
}
public void setFeatureBrizziTopupDeposit(Boolean featureBrizziTopupDeposit) {
this.featureBrizziTopupDeposit = featureBrizziTopupDeposit;
}
public Boolean getFeatureBrizziSale() {
return featureBrizziSale;
}
public void setFeatureBrizziSale(Boolean featureBrizziSale) {
this.featureBrizziSale = featureBrizziSale;
}
public Boolean getFeatureBrizziSettlement() {
return featureBrizziSettlement;
}
public void setFeatureBrizziSettlement(Boolean featureBrizziSettlement) {
this.featureBrizziSettlement = featureBrizziSettlement;
}
public Boolean getFeatureBrizziVoid() {
return featureBrizziVoid;
}
public void setFeatureBrizziVoid(Boolean featureBrizziVoid) {
this.featureBrizziVoid = featureBrizziVoid;
}
public Boolean getFeatureBrizziInit() {
return featureBrizziInit;
}
public void setFeatureBrizziInit(Boolean featureBrizziInit) {
this.featureBrizziInit = featureBrizziInit;
}
public Boolean getFeatureBrizziCardInfo() {
return featureBrizziCardInfo;
}
public void setFeatureBrizziCardInfo(Boolean featureBrizziCardInfo) {
this.featureBrizziCardInfo = featureBrizziCardInfo;
}
public Boolean getFeatureContactlessQristap() {
return featureContactlessQristap;
}
public void setFeatureContactlessQristap(Boolean featureContactlessQristap) {
this.featureContactlessQristap = featureContactlessQristap;
}
public Boolean getFeatureBrizziLog() {
return featureBrizziLog;
}
public void setFeatureBrizziLog(Boolean featureBrizziLog) {
this.featureBrizziLog = featureBrizziLog;
}
public Boolean getFeatureBrizziReprint() {
return featureBrizziReprint;
}
public void setFeatureBrizziReprint(Boolean featureBrizziReprint) {
this.featureBrizziReprint = featureBrizziReprint;
}
public Boolean getFeatureBrizziReport() {
return featureBrizziReport;
}
public void setFeatureBrizziReport(Boolean featureBrizziReport) {
this.featureBrizziReport = featureBrizziReport;
}
public Integer getPasswordBlockTime() {
return passwordBlockTime;
}
public void setPasswordBlockTime(Integer passwordBlockTime) {
this.passwordBlockTime = passwordBlockTime;
}
public Integer getAutoDeleteQrisTrx() {
return autoDeleteQrisTrx;
}
public void setAutoDeleteQrisTrx(Integer autoDeleteQrisTrx) {
this.autoDeleteQrisTrx = autoDeleteQrisTrx;
}
public void setMerchantType(String merchantType) {
this.merchantType = merchantType;
}
public Integer getSettleMaxTrxCountBrizzi() {
return settleMaxTrxCountBrizzi;
}
public void setSettleMaxTrxCountBrizzi(Integer settleMaxTrxCountBrizzi) {
this.settleMaxTrxCountBrizzi = settleMaxTrxCountBrizzi;
}
public Integer getSettleWarningTrxCountBrizzi() {
return settleWarningTrxCountBrizzi;
}
public void setSettleWarningTrxCountBrizzi(Integer settleWarningTrxCountBrizzi) {
this.settleWarningTrxCountBrizzi = settleWarningTrxCountBrizzi;
}
public Integer getQrisCekInterval() {
return qrisCekInterval;
}
public void setQrisCekInterval(Integer qrisCekInterval) {
this.qrisCekInterval = qrisCekInterval;
}
public Boolean getCustomPanMasking() {
return customPanMasking;
}
public void setCustomPanMasking(Boolean customPanMasking) {
this.customPanMasking = customPanMasking;
}
}

View File

@ -0,0 +1,235 @@
TerminalExt = Terminal Ext
TerminalExt.merchantName1 = Merchant Name 1
TerminalExt.merchantId = Merchant ID
TerminalExt.merchantName3 = Merchant Name 3
TerminalExt.merchantName2 = Merchant Name 2
TerminalExt.merchantName4 = Merchant Name 4
TerminalExt.merchantName5 = Merchant Name 5
TerminalExt.adminPassword = Admin Password
TerminalExt.settleMaxTrxCount = Settle Max Trx Count
TerminalExt.merchantPassword = Merchant Password
TerminalExt.terminalId = Terminal ID
TerminalExt.callCenter2 = Call Center 2
TerminalExt.callCenter1 = Call Center 1
TerminalExt.settlementPassword=Settlement Password
TerminalExt.voidPassword=Void Password
TerminalExt.settleWarningTrxCount=Settle Warning Trx Count
TerminalExt.brizziDiscountPercentage=Brizzi discount percentage
TerminalExt.brizziDiscountAmount=Brizzi discount amount
TerminalExt.fallbackEnabled=Fallback enabled
TerminalExt.qrisCountDown=QRIS Count Down (Seconds)
TerminalExt.reprintOnlineRetry=Reprint Online Retry
TerminalExt.featureSale=Sale
TerminalExt.featureSaleTip=Sale Tip
TerminalExt.featureSaleRedemption=Sale Redemption
TerminalExt.featureCardVerification=Card Verification
TerminalExt.featureSaleCompletion=Sale Completion
TerminalExt.featureInstallment=Installment
TerminalExt.featureSaleFareNonFare=Sale Fare non Fare
TerminalExt.featureManualKeyIn=Manual Key In
TerminalExt.featureQRIS=QRIS
TerminalExt.featureContactless=Contactless
TerminalExt.featureSaleNfc=Sale NFC
TerminalExt.featureRefundNfc=Refund NFC
TerminalExt.featureSaleWithBripoin=Sale with BRIPoin
TerminalExt.featureReleaseCardVer=Release CardVer
TerminalExt.installment1Options=Installment 1 Options
TerminalExt.installment2Options=Installment 2 Options
TerminalExt.installment3Options=Installment 3 Options
TerminalExt.randomPinKeypad=Random PIN Keypad
TerminalExt.beepPinKeypad=Beep PIN Keypad
TerminalExt.autoLogon=Auto Logon
TerminalExt.nextLogon=Next Logon (in Hour)
TerminalExt.pushLogon=Push Logon
TerminalExt.hostReport=Host Report
TerminalExt.hostReportUrl=Host Report URL
TerminalExt.hostReportApiKey=Host Report API Key
TerminalExt.hostReportTimeout=Host Report Timeout
TerminalExt.hostLogging=Host Logging
TerminalExt.hostLoggingUrl=Host Logging URL
TerminalExt.hostLoggingApiKey=Host Logging API Key
TerminalExt.hostLoggingTimeout=Host Logging Timeout
TerminalExt.skipPassword=ByPass Login Page
TerminalExt.inquiryBripoinTimeout=Inquiry BRIPoin Timeout
TerminalExt.acquirers=Acquirers
TerminalExt.inquiryBripoinNII=Inquiry BRIPoin NII
TerminalExt.featureVoid=Void
TerminalExt.featureSettlement=Settlement
TerminalExt.featureReprint=Reprint
TerminalExt.featureReport=Report
TerminalExt.featureQrisGenerate=QRIS Generate
TerminalExt.featureQrisPay=QRIS Pay
TerminalExt.featureQrisRefund=QRIS Refund
TerminalExt.featureQrisReport=QRIS Report
TerminalExt.featureBrizziInfo=Brizzi Info
TerminalExt.featureBrizziInfoDeposit=Brizzi Info Deposit
TerminalExt.featureBrizziUpdateDeposit=Brizzi Update Deposit
TerminalExt.featureBrizziTopup=Brizzi Topup
TerminalExt.featureBrizziTopupDeposit=Brizzi Topup Deposit
TerminalExt.featureBrizziSale=Brizzi Sale
TerminalExt.featureBrizziSettlement=Brizzi Settlement
TerminalExt.featureBrizziVoid=Brizzi Void
TerminalExt.featureBrizziInit=Brizzi Init
TerminalExt.featureBrizziCardInfo=Brizzi Card Info
TerminalExt.featureBrizziLog=Brizzi Log
TerminalExt.featureBrizziReprint=Brizzi Reprint
TerminalExt.featureBrizziReport=Brizzi Report
TerminalExt.featureReEngQris=Rest API/ISO QRIS
TerminalExt.featureContactlessQristap=QRIS TAP Contactless
TerminalExt.passwordBlockTime=Password Block Time (minutes)
TerminalExt.autoDeleteQrisTrx=Auto Delete QRIS Trx
TerminalExt.merchantType=Merchant Type
TerminalExt.vendorName=Vendor Name
TerminalExt.settleMaxTrxCountBrizzi=Brizzi Settlement Max Count
TerminalExt.settleWarningTrxCountBrizzi=Brizzi Settlement Warn Count
TerminalExt.qrisCekInterval=QRIS Check Interval (seconds)
TerminalExt.customPanMasking=Custom PAN Masking
cardNumLengthExceeded = Card Num Length Exceeded
cardNumNonNumeric = Card Num Non Numeric
Card.binRangeStart = Card Num Range From
Card.printCardholderCopy = Print Cardholder Copy
Card.cardNumLength = Card Num Length
Card.printBankCopy = Print Bank Copy
Card.panDigitUnmasking = Pan Digit Unmasking
Card.binRangeEnd = Card Num Range End
Card.printMerchantCopy = Print Merchant Copy
Card = Card
Card.pinLength = Pin Length
Card.pinPrompt = Pin Prompt
Card.name = Name
Card.issuers = Issuers
Card.issuerId=Issuer id
Card.acquirerId=Acquirer id
TLESetting.fieldEncrypted5 = Field Encrypted 5
TLESetting.aidValue = AID Value
TLESetting.fieldEncrypted6 = Field Encrypted 6
TLESetting.capkValue = Capk Value
TLESetting.fieldEncrypted3 = Field Encrypted 3
TLESetting.fieldEncrypted2 = Field Encrypted 2
TLESetting.vendorId = Vendor ID
TLESetting.fieldEncrypted4 = Field Encrypted 4
TLESetting.tleID = TLE ID
TLESetting.kmsSecureNII = Kms Secure NII
TLESetting.tleVer = TLE Ver
TLESetting.capkExponent = CAPK Exponent
TLESetting.aidLength = AID Length
TLESetting.fieldEncrypted1 = Field Encrypted 1
TLESetting.tleEftSec = TLE EFT Sec
TLESetting.edcSecureNII = Edc Secure NII
TLESetting.acquirerId = Acquirer ID
TLESetting.ltmkAid = LTMK AID
TLESetting.capkLength = CAPK Length
TLESetting = TLE Setting
TLESetting.fieldEncrypted7=Field encrypted7
TLESetting.fieldEncrypted8=Field encrypted8
TLESetting.fieldEncrypted9=Field encrypted9
TLESetting.fieldEncrypted10=Field encrypted10
TLESetting.version = Version
TLESetting.updateTs = Update Ts
TLESetting.updatedBy = Updated by
TLESetting.createTs = Create Ts
TLESetting.createdBy = Created by
TLESetting.deleteTs = Delete ts
TLESetting.deletedBy = Deleted by
PublicKeySetting.rid = RID
PublicKeySetting.hash = Hash
PublicKeySetting.modulus = Modulus
PublicKeySetting.idx = Idx
PublicKeySetting.exponent = Exponent
PublicKeySetting.algo = Algo
PublicKeySetting = Public Key Setting
PublicKeySetting.version = Version
PublicKeySetting.updateTs = Update Ts
PublicKeySetting.updatedBy = Updated by
PublicKeySetting.createTs = Create Ts
PublicKeySetting.createdBy = Created by
AcquirerType.CREDIT = Credit
AcquirerType.DEBIT = Debit
AcquirerType.PREPAID = Prepaid
AcquirerType.MINI_ATM = Mini ATM
AcquirerType.NFC_PAYMENT = NFC Payment
Acquirer = Acquirer
Acquirer.acquirerType = Acquirer Type
Acquirer.hostID = Host ID
Acquirer.name = Name
Acquirer.showPrintExpDate = Show Print Exp Date
Acquirer.tleAcquirer = Tle Acquirer
Acquirer.acquirerId = Acquirer ID
Acquirer.workingKey = Working Key
Acquirer.tleSetting = Tle Setting
Acquirer.numberOfPrint = Number of Print
Acquirer.respTimeout = Resp Timeout (ms)
Acquirer.masterKeyLocation = Master Key Location
Acquirer.masterKey = Master Key
Acquirer.hostDestinationPort = Host Destination Port
Acquirer.hostDestinationAddr = Host Destination Addr
Acquirer.issuers = Issuer
Acquirer.batchNumber = Batch number
Acquirer.terminalID = Terminal ID
Acquirer.merchantID = Merchant ID
Acquirer.settlementHostID=Settlement host ID
Acquirer.checkCardExpDate=Check Card Exp Date
Acquirer.creditSettlement=Credit Settlement
Acquirer.debitSettlement=Debit settlement
Acquirer.description=Description
Issuer = Issuer
Issuer.issuerID = Issuer ID
Issuer.cards = Cards
Issuer.name = Name
Issuer.acquirer = Acquirer
Capk.idx = Idx
Capk.modulus = Modulus
Capk.exponent = Exponent
Capk.hash = Hash
Capk.algo = Algo
Capk.expiryDate = Expiry Date
Capk = CAPK
Capk.name = Name
Capk.rid = RID
Capk.remark = Remark
Capk.version = Version
Capk.updateTs = Update Ts
Capk.updatedBy = Updated by
Capk.createTs = Create Ts
Capk.createdBy = Created by
Capk.deleteTs = Delete ts
Capk.deletedBy = Deleted by
Aid.targetPercentage = Target Percentage
Aid.trxType9C = Trx Type9 C
Aid.appSelect = App Select
Aid.categoryCode = Category Code
Aid.txnType = Txn Type
Aid.tacDenial = TAC Denial
Aid.tacOnline = TAC Online
Aid.tacDefault = TAC Default
Aid.aidVersion = AID Version
Aid.aid = AID
Aid.aidPriority = AID Priority
Aid.clTrxLimit = CL Trx Limit
Aid.clOptions = CL Options
Aid.maxTargetPercentage = Max Target Percentage
Aid.clKernelToUse = CL Kernel to Use
Aid.threshold = Threshold
Aid.clCvmLimit = CCL CVM Limit
Aid.ddol = DDOL
Aid.tdol = TDOL
Aid.floorLimit = Floor Limit
Aid.clFloorLimit = CL Floor Limit
Aid = AID
Aid.name = Name
Aid.version = Version
Aid.updateTs = Update Ts
Aid.updatedBy = Updated by
Aid.createTs = Create Ts
Aid.createdBy = Created by
Aid.deleteTs = Delete ts
Aid.deletedBy = Deleted by
Aid.remark = Remark
Aid.emvConfTermCapability=Emv conf term capability
Aid.additionalTermCapability=Additional term capability
Aid.dataTtq=Data TTQ
Issuer.onUs=On us
MerchantType=Merchant Type
MerchantType.CHAIN=Chain
MerchantType.RETAIL=Retail

View File

@ -0,0 +1,29 @@
/*
* TODO Copyright
*/
package com.cmobile.unifiedtms.ext.exception;
/**
* Created by aleksey on 21/10/2016.
*/
public class ImportFileEofEvaluationException extends Exception {
public ImportFileEofEvaluationException() {
}
public ImportFileEofEvaluationException(String message) {
super(message);
}
public ImportFileEofEvaluationException(String message, Throwable cause) {
super(message, cause);
}
public ImportFileEofEvaluationException(Throwable cause) {
super(cause);
}
public ImportFileEofEvaluationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<metadata xmlns="http://schemas.haulmont.com/cuba/metadata.xsd">
<metadata-model namespace="tms"
root-package="com.cmobile.unifiedtms.ext">
</metadata-model>
</metadata>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
version="2.0">
<persistence-unit name="tms"
transaction-type="RESOURCE_LOCAL">
<class>com.cmobile.unifiedtms.ext.entity.TerminalExt</class>
<class>com.cmobile.unifiedtms.ext.entity.TLESetting</class>
<class>com.cmobile.unifiedtms.ext.entity.PublicKeySetting</class>
<class>com.cmobile.unifiedtms.ext.entity.Card</class>
<class>com.cmobile.unifiedtms.ext.entity.Acquirer</class>
<class>com.cmobile.unifiedtms.ext.entity.Issuer</class>
<class>com.cmobile.unifiedtms.ext.entity.Capk</class>
<class>com.cmobile.unifiedtms.ext.entity.Aid</class>
</persistence-unit>
</persistence>

View File

@ -0,0 +1,12 @@
package com.cmobile.unifiedtms.ext.service;
import com.haulmont.cuba.core.entity.FileDescriptor;
import com.cmobile.unifiedtms.ext.entity.Card;
import java.util.List;
public interface CardImporterService {
String NAME = "tms_CardImporterService";
List<Card> parseCardsFromFile(FileDescriptor fd) throws Exception;
}

View File

@ -0,0 +1,9 @@
package com.cmobile.unifiedtms.ext.service;
import com.cmobile.unifiedtms.ext.entity.ExportReportBean;
public interface ExportService {
String NAME = "tms_ExportService";
ExportReportBean exportEntities(Class entityClass);
}

View File

@ -0,0 +1,184 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<views xmlns="http://schemas.haulmont.com/cuba/view.xsd">
<view class="com.cmobile.unifiedtms.ext.entity.TerminalExt"
extends="_local"
name="terminalExt-view"
overwrite="true">
</view>
<view class="com.cmobile.unifiedtms.ext.entity.Card"
extends="_minimal"
name="card-minimum-view"
overwrite="true">
<property name="binRangeStart"/>
<property name="binRangeEnd"/>
<property name="pinLength"/>
<property name="pinPrompt"/>
<property name="name"/>
</view>
<view class="com.cmobile.unifiedtms.ext.entity.Card"
extends="_local"
name="card-view"
overwrite="true">
<property name="issuers"
view="_minimal"/>
<property name="createTs"/>
<property name="createdBy"/>
<property name="updateTs"/>
<property name="updatedBy"/>
</view>
<view class="com.cmobile.unifiedtms.ext.entity.TerminalExt"
extends="_minimal"
name="terminalExt-minimal-view"
overwrite="true">
<property name="merchantId"/>
<property name="merchantName1"/>
<property name="merchantName2"/>
<property name="merchantName3"/>
<property name="merchantName4"/>
<property name="merchantName5"/>
</view>
<view class="com.cmobile.unifiedtms.ext.entity.Acquirer"
extends="_local"
name="acquirer-view">
<property name="tleSetting"
view="_minimal"/>
<property name="issuers"
view="_minimal">
<property name="issuerID"/>
<property name="cards"
view="_minimal">
<property name="name"/>
</property>
</property>
</view>
<view class="com.cmobile.unifiedtms.ext.entity.Issuer"
extends="_local"
name="issuer-view">
<property name="cards"
view="_minimal">
<property name="name"/>
<property name="issuers"
view="_minimal"/>
</property>
<property name="acquirer"
view="_minimal">
<property name="name"/>
<property name="hostID"/>
</property>
</view>
<view class="com.cmobile.unifiedtms.ext.entity.Capk"
extends="_local"
name="capk-view"/>
<view class="com.cmobile.unifiedtms.ext.entity.Aid"
extends="_local"
name="aid-view"/>
<view class="com.cmobile.unifiedtms.ext.entity.TerminalExt"
extends="_local"
name="terminalExt-full-view">
<property name="createTs"/>
<property name="createdBy"/>
<property name="updateTs"/>
<property name="updatedBy"/>
</view>
<view class="com.cmobile.unifiedtms.ext.entity.Issuer"
extends="_local"
name="issuer-full-view">
<property name="cards" view="_minimal">
<property name="name"/>
<property name="binRangeStart"/>
<property name="binRangeEnd"/>
<property name="cardNumLength"/>
<property name="panDigitUnmasking"/>
<property name="printCardholderCopy"/>
<property name="printMerchantCopy"/>
<property name="printBankCopy"/>
<property name="pinLength"/>
<property name="pinPrompt"/>
<property name="createTs"/>
<property name="createdBy"/>
<property name="updateTs"/>
<property name="updatedBy"/>
</property>
<property name="acquirer" view="_minimal"/>
</view>
<view entity="tms$TLESetting" name="tLESetting-view" extends="_local"/>
<view entity="tms$Card" name="card-rest-view" extends="_local"/>
<view entity="tms$Card" name="card-full-view" extends="_local"/>
<view entity="tms$TerminalExt" name="terminalExt-rest-view" extends="_local">
<property name="acquirers" view="_minimal">
<property name="name"/>
<property name="issuers" view="_minimal">
<property name="issuerID"/>
<property name="onUs"/>
<property name="cards" view="_minimal">
<property name="name"/>
<property name="binRangeStart"/>
<property name="binRangeEnd"/>
<property name="cardNumLength"/>
<property name="panDigitUnmasking"/>
<property name="printCardholderCopy"/>
<property name="printMerchantCopy"/>
<property name="printBankCopy"/>
<property name="pinLength"/>
<property name="pinPrompt"/>
<property name="issuerId"/>
<property name="acquirerId"/>
</property>
</property>
<property name="hostID"/>
<property name="settlementHostID"/>
<property name="numberOfPrint"/>
<property name="respTimeout"/>
<property name="hostDestinationAddr"/>
<property name="hostDestinationPort"/>
<property name="showPrintExpDate"/>
<property name="checkCardExpDate"/>
<property name="tleAcquirer"/>
<property name="tleSetting" view="_minimal">
<property name="acquirerId"/>
<property name="ltmkAid"/>
<property name="vendorId"/>
<property name="tleVer"/>
<property name="kmsSecureNII"/>
<property name="edcSecureNII"/>
<property name="capkExponent"/>
<property name="capkLength"/>
<property name="capkValue"/>
<property name="aidLength"/>
<property name="aidValue"/>
<property name="fieldEncrypted1"/>
<property name="fieldEncrypted2"/>
<property name="fieldEncrypted3"/>
<property name="fieldEncrypted4"/>
<property name="fieldEncrypted5"/>
<property name="fieldEncrypted6"/>
<property name="fieldEncrypted7"/>
<property name="fieldEncrypted8"/>
<property name="fieldEncrypted9"/>
<property name="fieldEncrypted10"/>
</property>
<property name="masterKeyLocation"/>
<property name="masterKey"/>
<property name="workingKey"/>
<property name="batchNumber"/>
<property name="merchantID"/>
<property name="terminalID"/>
<property name="creditSettlement"/>
<property name="debitSettlement"/>
<property name="description"/>
</property>
<property name="hostReport"/>
<property name="hostLogging"/>
</view>
<view entity="tms$TerminalExt" name="terminalExt-minimal2-view" extends="_minimal">
<property name="merchantName1"/>
<property name="merchantName2"/>
<property name="merchantName3"/>
<property name="merchantName4"/>
<property name="merchantName5"/>
</view>
<view entity="tms$TerminalExt" name="terminalExt-only-rest-view" extends="_local">
<property name="hostReport"/>
<property name="hostLogging"/>
</view>
</views>