@cronapp/templates 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (710) hide show
  1. package/$global/components/js/datasource.js +1472 -0
  2. package/$global/data-layer/BASICDAO.ftl +146 -0
  3. package/$global/data-layer/BUSINESS.ftl +284 -0
  4. package/$global/data-layer/DAO.ftl +138 -0
  5. package/$global/data-layer/ENTITIES.ftl +165 -0
  6. package/$global/data-layer/REST.ftl +333 -0
  7. package/$global/data-layer/RESTAPPLICATION.ftl +22 -0
  8. package/$global/data-layer/REST_EXCEPTION.ftl +106 -0
  9. package/$global/data-layer/REST_SERVICE.ftl +11 -0
  10. package/$global/data-layer/SESSIONMANAGER.ftl +292 -0
  11. package/$global/data-layer/TEST.ftl +9 -0
  12. package/$global/data-layer/cloud/CloudFactory.ftl +27 -0
  13. package/$global/data-layer/cloud/CloudManager.ftl +73 -0
  14. package/$global/data-layer/cloud/CloudService.ftl +14 -0
  15. package/$global/data-layer/cloud/DropboxService.ftl +81 -0
  16. package/$global/data-layer/cloud/FileObject.ftl +47 -0
  17. package/$global/data-layer/cloud/template.properties +8 -0
  18. package/$global/data-layer/dropbox/DROPBOX_CONSTANTS.ftl +1 -0
  19. package/$global/data-layer/dropbox/DROPBOX_DELETE.ftl +1 -0
  20. package/$global/data-layer/dropbox/DROPBOX_GET.ftl +1 -0
  21. package/$global/data-layer/dropbox/DROPBOX_LIST.ftl +1 -0
  22. package/$global/data-layer/dropbox/DROPBOX_POST.ftl +19 -0
  23. package/$global/data-layer/dropbox/DROPBOX_PUT.ftl +20 -0
  24. package/$global/data-layer/template.properties +9 -0
  25. package/$global/js/directives.js +162 -0
  26. package/$global/reports/commons/ReportFront.ftl +76 -0
  27. package/$global/reports/frontend/parameters.controller.ftl +70 -0
  28. package/$global/reports/frontend/reports.controller.ftl +63 -0
  29. package/$global/reports/frontend/reports.parameters.ftl +25 -0
  30. package/$global/reports/frontend/reports.service.ftl +39 -0
  31. package/$global/reports/frontend/templates/BOOLEAN.parameter.ftl +4 -0
  32. package/$global/reports/frontend/templates/DATE.parameter.ftl +4 -0
  33. package/$global/reports/frontend/templates/DOUBLE.parameter.ftl +4 -0
  34. package/$global/reports/frontend/templates/FLOAT.parameter.ftl +4 -0
  35. package/$global/reports/frontend/templates/INTEGER.parameter.ftl +4 -0
  36. package/$global/reports/frontend/templates/LONG.parameter.ftl +4 -0
  37. package/$global/reports/frontend/templates/STRING.parameter.ftl +4 -0
  38. package/README.md +2 -0
  39. package/file/blockly/EmptyBlockly/__Name__.blockly.ftl +20 -0
  40. package/file/blockly/EmptyBlockly/blockly.png +0 -0
  41. package/file/blockly/EmptyBlockly/blockly_client.png +0 -0
  42. package/file/blockly/EmptyBlockly/blockly_server.png +0 -0
  43. package/file/blockly/EmptyBlockly/template.properties +8 -0
  44. package/file/blockly/EmptyBlockly/template_pt_BR.properties +6 -0
  45. package/file/blockly/JavaBlockly/__ClassName__.java.ftl +32 -0
  46. package/file/blockly/JavaBlockly/java.svg +15 -0
  47. package/file/blockly/JavaBlockly/template.properties +9 -0
  48. package/file/blockly/JavaBlockly/template_pt_BR.properties +5 -0
  49. package/file/blockly/JavaScriptBlockly/__ClassName__.blockly.js.ftl +16 -0
  50. package/file/blockly/JavaScriptBlockly/javascript.svg +28 -0
  51. package/file/blockly/JavaScriptBlockly/template.properties +9 -0
  52. package/file/blockly/JavaScriptBlockly/template_pt_BR.properties +5 -0
  53. package/file/blockly/blockly.png +0 -0
  54. package/file/blockly/blockly_client.png +0 -0
  55. package/file/blockly/blockly_server.png +0 -0
  56. package/file/blockly/group.properties +5 -0
  57. package/file/components.json/EmptyCrudHtml/__FileName__.components.json.ftl +41 -0
  58. package/file/components.json/EmptyCrudHtml/__FileName__.template.html.ftl +1 -0
  59. package/file/components.json/EmptyCrudHtml/components.json.png +0 -0
  60. package/file/components.json/EmptyCrudHtml/template.properties +36 -0
  61. package/file/components.json/EmptyCrudHtml/template_pt_BR.properties +36 -0
  62. package/file/components.json/components.json.png +0 -0
  63. package/file/components.json/group.properties +5 -0
  64. package/file/crud/angular_crud_view/__FileName__.view.html.ftl +432 -0
  65. package/file/crud/angular_crud_view/crud-web.png +0 -0
  66. package/file/crud/angular_crud_view/template.properties +8 -0
  67. package/file/crud/angular_crud_view/template_en_US.properties +2 -0
  68. package/file/crud/angular_view/__FileName__.view.html.ftl +70 -0
  69. package/file/crud/angular_view/list-web.png +0 -0
  70. package/file/crud/angular_view/project.svg +39 -0
  71. package/file/crud/angular_view/template.properties +10 -0
  72. package/file/crud/angular_view/template_en_US.properties +2 -0
  73. package/file/crud/group.properties +6 -0
  74. package/file/crud/phonegap_crud_view/__FileName__.view.html.ftl +308 -0
  75. package/file/crud/phonegap_crud_view/crud-mobile.png +0 -0
  76. package/file/crud/phonegap_crud_view/project.svg +24 -0
  77. package/file/crud/phonegap_crud_view/template.properties +9 -0
  78. package/file/crud/phonegap_crud_view/template_en_US.properties +2 -0
  79. package/file/crud/phonegap_view/__FileName__.view.html.ftl +74 -0
  80. package/file/crud/phonegap_view/list-mobile.png +0 -0
  81. package/file/crud/phonegap_view/project.svg +24 -0
  82. package/file/crud/phonegap_view/template.properties +11 -0
  83. package/file/crud/phonegap_view/template_en_US.properties +2 -0
  84. package/file/crud/view.html.png +0 -0
  85. package/file/html/EmptyHtml/__FileName__.html.ftl +0 -0
  86. package/file/html/EmptyHtml/html.png +0 -0
  87. package/file/html/EmptyHtml/template.properties +4 -0
  88. package/file/html/EmptyHtml/template_pt_BR.properties +4 -0
  89. package/file/html/group.properties +4 -0
  90. package/file/html/html.png +0 -0
  91. package/file/java/Cronapi/__ClassName__.java.ftl +26 -0
  92. package/file/java/Cronapi/cronapi.png +0 -0
  93. package/file/java/Cronapi/template.properties +15 -0
  94. package/file/java/Cronapi/template_pt_BR.properties +15 -0
  95. package/file/java/EmptyClass/__ClassName__.java.ftl +23 -0
  96. package/file/java/EmptyClass/java.png +0 -0
  97. package/file/java/EmptyClass/template.properties +5 -0
  98. package/file/java/EmptyClass/template_pt_BR.properties +5 -0
  99. package/file/java/EnumClass/__EnumName__.java.ftl +18 -0
  100. package/file/java/EnumClass/java.png +0 -0
  101. package/file/java/EnumClass/template.properties +5 -0
  102. package/file/java/EnumClass/template_pt_BR.properties +5 -0
  103. package/file/java/InterfaceClass/__InterfaceName__.java.ftl +25 -0
  104. package/file/java/InterfaceClass/java.png +0 -0
  105. package/file/java/InterfaceClass/template.properties +5 -0
  106. package/file/java/InterfaceClass/template_pt_BR.properties +5 -0
  107. package/file/java/JUnitSuiteTestClass/__ClassName__.java.ftl +26 -0
  108. package/file/java/JUnitSuiteTestClass/junit.png +0 -0
  109. package/file/java/JUnitSuiteTestClass/template.properties +11 -0
  110. package/file/java/JUnitSuiteTestClass/template_pt_BR.properties +11 -0
  111. package/file/java/JUnitTestClass/__ClassName__.java.ftl +42 -0
  112. package/file/java/JUnitTestClass/junit.png +0 -0
  113. package/file/java/JUnitTestClass/template.properties +11 -0
  114. package/file/java/JUnitTestClass/template_pt_BR.properties +11 -0
  115. package/file/java/group.properties +4 -0
  116. package/file/java/java.png +0 -0
  117. package/file/jrxml/EmptyReport/__FileName__.jrxml.ftl +33 -0
  118. package/file/jrxml/EmptyReport/jrxml.png +0 -0
  119. package/file/jrxml/EmptyReport/template.properties +6 -0
  120. package/file/jrxml/EmptyReport/template_pt_BR.properties +6 -0
  121. package/file/jrxml/TabularReport/__FileName__.jrxml.ftl +27 -0
  122. package/file/jrxml/TabularReport/jrxml.png +0 -0
  123. package/file/jrxml/TabularReport/template.properties +11 -0
  124. package/file/jrxml/TabularReport/template_pt_BR.properties +11 -0
  125. package/file/jrxml/group.properties +4 -0
  126. package/file/jrxml/jrxml.png +0 -0
  127. package/file/js/Cronapi/__FileName__.cronapi.js.ftl +24 -0
  128. package/file/js/Cronapi/blockly_client.png +0 -0
  129. package/file/js/Cronapi/template.properties +18 -0
  130. package/file/js/Cronapi/template_pt_BR.properties +15 -0
  131. package/file/js/EmptyJs/__FileName__.js.ftl +0 -0
  132. package/file/js/EmptyJs/js.png +0 -0
  133. package/file/js/EmptyJs/template.properties +5 -0
  134. package/file/js/EmptyJs/template_pt_BR.properties +5 -0
  135. package/file/js/group.properties +4 -0
  136. package/file/js/js.png +0 -0
  137. package/file/others/css/CssHelloWorld/__FileName__.css.ftl +3 -0
  138. package/file/others/css/CssHelloWorld/css.png +0 -0
  139. package/file/others/css/CssHelloWorld/template.properties +5 -0
  140. package/file/others/css/CssHelloWorld/template_pt_BR.properties +5 -0
  141. package/file/others/css/CssVazio/__FileName__.css.ftl +0 -0
  142. package/file/others/css/CssVazio/css.png +0 -0
  143. package/file/others/css/CssVazio/template.properties +5 -0
  144. package/file/others/css/CssVazio/template_pt_BR.properties +5 -0
  145. package/file/others/group.properties +5 -0
  146. package/file/others/group_en_US.properties +5 -0
  147. package/file/others/js/__FileName__.js.ftl +0 -0
  148. package/file/others/js/js.png +0 -0
  149. package/file/others/js/template.properties +5 -0
  150. package/file/others/js/template_pt_BR.properties +5 -0
  151. package/file/others/jsp/__FileName__.jsp.ftl +12 -0
  152. package/file/others/jsp/jsp.png +0 -0
  153. package/file/others/jsp/template.properties +5 -0
  154. package/file/others/jsp/template_pt_BR.properties +5 -0
  155. package/file/others/properties/__FileName__.properties.ftl +0 -0
  156. package/file/others/properties/properties.png +0 -0
  157. package/file/others/properties/template.properties +5 -0
  158. package/file/others/properties/template_pt_BR.properties +5 -0
  159. package/file/others/raml/__FileName__.raml.ftl +12 -0
  160. package/file/others/raml/raml.png +0 -0
  161. package/file/others/raml/template.properties +5 -0
  162. package/file/others/raml/template_pt_BR.properties +5 -0
  163. package/file/others/scheduler.umlcd/__FileName__.umlcd.ftl +397 -0
  164. package/file/others/scheduler.umlcd/template.properties +5 -0
  165. package/file/others/scheduler.umlcd/template_pt_BR.properties +5 -0
  166. package/file/others/scheduler.umlcd/umlcd.png +0 -0
  167. package/file/others/txt/__FileName__.txt.ftl +0 -0
  168. package/file/others/txt/template.properties +5 -0
  169. package/file/others/txt/template_en_US.properties +5 -0
  170. package/file/others/txt/txt.png +0 -0
  171. package/file/others/umlcd/__FileName__.umlcd.ftl +0 -0
  172. package/file/others/umlcd/template.properties +5 -0
  173. package/file/others/umlcd/template_pt_BR.properties +5 -0
  174. package/file/others/umlcd/umlcd.png +0 -0
  175. package/file/others/unknown.png +0 -0
  176. package/file/others/xml/__FileName__.xml.ftl +0 -0
  177. package/file/others/xml/template.properties +5 -0
  178. package/file/others/xml/template_pt_BR.properties +5 -0
  179. package/file/others/xml/xml.png +0 -0
  180. package/file/others/yaml/__FileName__.yaml.ftl +29 -0
  181. package/file/others/yaml/template.properties +5 -0
  182. package/file/others/yaml/template_pt_BR.properties +5 -0
  183. package/file/others/yaml/yaml.png +0 -0
  184. package/file/tm/EmptyMenu/__FileName__.xml.ftl +14 -0
  185. package/file/tm/EmptyMenu/template.properties +4 -0
  186. package/file/tm/EmptyMenu/tm.png +0 -0
  187. package/file/tm/group.properties +6 -0
  188. package/file/tm/tm.png +0 -0
  189. package/file/tp/EmptyPage/__FileName__.xml.ftl +12 -0
  190. package/file/tp/EmptyPage/template.properties +4 -0
  191. package/file/tp/EmptyPage/tp.png +0 -0
  192. package/file/tp/PageHelloWorld/__FileName__.xml.ftl +18 -0
  193. package/file/tp/PageHelloWorld/template.properties +4 -0
  194. package/file/tp/PageHelloWorld/tp.png +0 -0
  195. package/file/tp/group.properties +6 -0
  196. package/file/tp/tp.png +0 -0
  197. package/file/view.html/EmptyCrudHtml/__FileName__.view.html.ftl +69 -0
  198. package/file/view.html/EmptyCrudHtml/template.properties +7 -0
  199. package/file/view.html/EmptyCrudHtml/template_pt_BR.properties +4 -0
  200. package/file/view.html/EmptyCrudHtml/view.html.png +0 -0
  201. package/file/view.html/EmptyIonicViewHtml/__FileName__.view.html.ftl +4 -0
  202. package/file/view.html/EmptyIonicViewHtml/template.properties +10 -0
  203. package/file/view.html/EmptyIonicViewHtml/template_pt_BR.properties +3 -0
  204. package/file/view.html/EmptyIonicViewHtml/view.html.png +0 -0
  205. package/file/view.html/EmptyViewHtml/__FileName__.view.html.ftl +0 -0
  206. package/file/view.html/EmptyViewHtml/template.properties +10 -0
  207. package/file/view.html/EmptyViewHtml/template_pt_BR.properties +3 -0
  208. package/file/view.html/EmptyViewHtml/view.html.png +0 -0
  209. package/file/view.html/HeaderIonicViewHtml/__FileName__.view.html.ftl +13 -0
  210. package/file/view.html/HeaderIonicViewHtml/template.properties +10 -0
  211. package/file/view.html/HeaderIonicViewHtml/template_pt_BR.properties +3 -0
  212. package/file/view.html/HeaderIonicViewHtml/view.html.png +0 -0
  213. package/file/view.html/Login1ViewHtml/__FileName__.view.html.ftl +193 -0
  214. package/file/view.html/Login1ViewHtml/login1.png +0 -0
  215. package/file/view.html/Login1ViewHtml/template.properties +10 -0
  216. package/file/view.html/Login1ViewHtml/template_pt_BR.properties +2 -0
  217. package/file/view.html/Login2ViewHtml/__FileName__.view.html.ftl +200 -0
  218. package/file/view.html/Login2ViewHtml/login2.png +0 -0
  219. package/file/view.html/Login2ViewHtml/template.properties +10 -0
  220. package/file/view.html/Login2ViewHtml/template_pt_BR.properties +2 -0
  221. package/file/view.html/Signup1ViewHtml/__FileName__.view.html.ftl +87 -0
  222. package/file/view.html/Signup1ViewHtml/signup1.png +0 -0
  223. package/file/view.html/Signup1ViewHtml/template.properties +10 -0
  224. package/file/view.html/Signup1ViewHtml/template_pt_BR.properties +2 -0
  225. package/file/view.html/Signup2ViewHtml/__FileName__.view.html.ftl +90 -0
  226. package/file/view.html/Signup2ViewHtml/signup2.png +0 -0
  227. package/file/view.html/Signup2ViewHtml/template.properties +10 -0
  228. package/file/view.html/Signup2ViewHtml/template_pt_BR.properties +2 -0
  229. package/file/view.html/group.properties +6 -0
  230. package/file/view.html/view.html.png +0 -0
  231. package/package.json +5 -0
  232. package/project/C/Aplicacao Vazia/cfg/jaas.config +5 -0
  233. package/project/C/Aplicacao Vazia/cfg/techne.template.config.xml +26 -0
  234. package/project/C/Aplicacao Vazia/cfg/techne.template.xml +6 -0
  235. package/project/C/Aplicacao Vazia/config/context.xml.ftl +66 -0
  236. package/project/C/Aplicacao Vazia/data/techne/template/crodata/classes.xml +13 -0
  237. package/project/C/Aplicacao Vazia/data/techne/template/crodata/menu/modules.xml +14 -0
  238. package/project/C/Aplicacao Vazia/data/techne/template/crodata/trans/module/index.xml +15 -0
  239. package/project/C/Aplicacao Vazia/db/README.md +1 -0
  240. package/project/C/Aplicacao Vazia/pom.xml +34 -0
  241. package/project/C/Aplicacao Vazia/project.png +0 -0
  242. package/project/C/Aplicacao Vazia/src/template/security/TemplateSecurityConnection.java +130 -0
  243. package/project/C/Aplicacao Vazia/template.properties +8 -0
  244. package/project/C/Aplicacao com CRUD/cfg/jaas.config +5 -0
  245. package/project/C/Aplicacao com CRUD/cfg/techne.template.config.xml +26 -0
  246. package/project/C/Aplicacao com CRUD/cfg/techne.template.xml +6 -0
  247. package/project/C/Aplicacao com CRUD/config/context.xml.ftl +66 -0
  248. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/block/tb.ftl +9 -0
  249. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/classes.xml +13 -0
  250. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/menu/modules.xml +14 -0
  251. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/checkbox.xml +156 -0
  252. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/dropDownSelect.xml +113 -0
  253. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/gridPanelSelect.xml +99 -0
  254. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/index.xml +40 -0
  255. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/recordpanel.xml +239 -0
  256. package/project/C/Aplicacao com CRUD/db/README.md +1 -0
  257. package/project/C/Aplicacao com CRUD/db/sql/template/org/h2/Driver/2_tables.sql +309 -0
  258. package/project/C/Aplicacao com CRUD/pom.xml +85 -0
  259. package/project/C/Aplicacao com CRUD/project.png +0 -0
  260. package/project/C/Aplicacao com CRUD/src/template/security/TemplateSecurityConnection.java +130 -0
  261. package/project/C/Aplicacao com CRUD/template.properties +9 -0
  262. package/project/C/cronos/cfg/jaas.config +5 -0
  263. package/project/C/cronos/cfg/techne.template.config.xml +26 -0
  264. package/project/C/cronos/cfg/techne.template.xml +6 -0
  265. package/project/C/cronos/config/context.xml.ftl +66 -0
  266. package/project/C/cronos/data/techne/template/crodata/block/tb.ftl +9 -0
  267. package/project/C/cronos/data/techne/template/crodata/classes.xml +13 -0
  268. package/project/C/cronos/data/techne/template/crodata/menu/modules.xml +14 -0
  269. package/project/C/cronos/data/techne/template/crodata/trans/module/gridPanelMasterDetail.xml +72 -0
  270. package/project/C/cronos/data/techne/template/crodata/trans/module/gridPanelSelect.xml +99 -0
  271. package/project/C/cronos/data/techne/template/crodata/trans/module/hello.xml +15 -0
  272. package/project/C/cronos/data/techne/template/crodata/trans/module/recordPanelMasterCheckBox.xml +190 -0
  273. package/project/C/cronos/db/README.md +1 -0
  274. package/project/C/cronos/pom.xml +34 -0
  275. package/project/C/cronos/project.png +0 -0
  276. package/project/C/cronos/scripts/sql/aplicacao/org/h2/Driver/2_tables.sql +309 -0
  277. package/project/C/cronos/src/template/security/TemplateSecurityConnection.java +130 -0
  278. package/project/C/cronos/template.properties +8 -0
  279. package/project/C/cronos.png +0 -0
  280. package/project/C/group.properties +5 -0
  281. package/project/D/dotnet-zero/project.png +0 -0
  282. package/project/D/dotnet-zero/template.properties +5 -0
  283. package/project/D/dotnet-zero/template_en_US.properties +2 -0
  284. package/project/D/dotnet.png +0 -0
  285. package/project/D/group.properties +4 -0
  286. package/project/G/blockly-client-api/project.svg +63 -0
  287. package/project/G/blockly-client-api/src/main/mobileapp/www/js/cronapi/__FileName__.cronapi.js.ftl +24 -0
  288. package/project/G/blockly-client-api/src/main/webapp/js/cronapi/__FileName__.cronapi.js.ftl +24 -0
  289. package/project/G/blockly-client-api/template.properties +15 -0
  290. package/project/G/blockly-client-api/template.properties._template.ftl +5 -0
  291. package/project/G/blockly-client-api/template_en.properties._template.ftl +1 -0
  292. package/project/G/blockly-client-api/template_pt.properties +13 -0
  293. package/project/G/blockly-client-api/template_pt.properties._template.ftl +1 -0
  294. package/project/G/blockly-server-api/pom.xml.ftl +63 -0
  295. package/project/G/blockly-server-api/project.svg +34 -0
  296. package/project/G/blockly-server-api/src/main/java/cronapi/__ClassName__.java.ftl +24 -0
  297. package/project/G/blockly-server-api/template.properties +17 -0
  298. package/project/G/blockly-server-api/template.properties._template.ftl +1 -0
  299. package/project/G/blockly-server-api/template_en.properties._template.ftl +1 -0
  300. package/project/G/blockly-server-api/template_pt.properties +14 -0
  301. package/project/G/blockly-server-api/template_pt.properties._template.ftl +1 -0
  302. package/project/G/gluonsoft.png +0 -0
  303. package/project/G/group.properties +4 -0
  304. package/project/G/visual-component/project.svg +166 -0
  305. package/project/G/visual-component/src/main/mobileapp/www/components/__WidgetId__.components.json.ftl +22 -0
  306. package/project/G/visual-component/src/main/mobileapp/www/components/templates/__WidgetId__.template.html.ftl +4 -0
  307. package/project/G/visual-component/src/main/mobileapp/www/js/__WidgetId__.js +4 -0
  308. package/project/G/visual-component/src/main/webapp/components/__WidgetId__.components.json.ftl +22 -0
  309. package/project/G/visual-component/src/main/webapp/components/templates/__WidgetId__.template.html.ftl +4 -0
  310. package/project/G/visual-component/src/main/webapp/js/__WidgetId__.js +4 -0
  311. package/project/G/visual-component/template.properties +9 -0
  312. package/project/G/visual-component/template.properties._template.ftl +5 -0
  313. package/project/G/visual-component/template_en.properties._template.ftl +1 -0
  314. package/project/G/visual-component/template_pt.properties +4 -0
  315. package/project/G/visual-component/template_pt.properties._template.ftl +1 -0
  316. package/project/J/group.properties +4 -0
  317. package/project/J/java.png +0 -0
  318. package/project/J/servlet/.gitignore.ftl +25 -0
  319. package/project/J/servlet/.vscode/launch.json +1 -0
  320. package/project/J/servlet/README.md +3 -0
  321. package/project/J/servlet/pom.xml +70 -0
  322. package/project/J/servlet/project.svg +1 -0
  323. package/project/J/servlet/src/main/webapp/index.jsp +5 -0
  324. package/project/J/servlet/template.properties +6 -0
  325. package/project/J/servlet/template_en_US.properties +2 -0
  326. package/project/J/spring-boot/.gitignore.ftl +25 -0
  327. package/project/J/spring-boot/.vscode/launch.json +1 -0
  328. package/project/J/spring-boot/README.md +3 -0
  329. package/project/J/spring-boot/mvnw +225 -0
  330. package/project/J/spring-boot/mvnw.cmd +143 -0
  331. package/project/J/spring-boot/pom.xml +50 -0
  332. package/project/J/spring-boot/project.png +0 -0
  333. package/project/J/spring-boot/project.svg +1 -0
  334. package/project/J/spring-boot/src/main/java/com/mycompany/helloworld/HelloWorldApplication.java +12 -0
  335. package/project/J/spring-boot/src/main/resources/application.properties +0 -0
  336. package/project/J/spring-boot/src/main/resources/static/static.txt +0 -0
  337. package/project/J/spring-boot/src/main/resources/templates/templates.txt +0 -0
  338. package/project/J/spring-boot/template.properties +6 -0
  339. package/project/J/spring-boot/template_en_US.properties +2 -0
  340. package/project/M/cronapp-rad-project-mobile-cordova/.gitignore.ftl +28 -0
  341. package/project/M/cronapp-rad-project-mobile-cordova/README.md +24 -0
  342. package/project/M/cronapp-rad-project-mobile-cordova/__copydata.ftl +29 -0
  343. package/project/M/cronapp-rad-project-mobile-cordova/__linksInherit +6 -0
  344. package/project/M/cronapp-rad-project-mobile-cordova/project.svg +1 -0
  345. package/project/M/cronapp-rad-project-mobile-cordova/src/main/__copydata.ftl +18 -0
  346. package/project/M/cronapp-rad-project-mobile-cordova/src/main/__linksInherit +14 -0
  347. package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/__copydata.ftl +3 -0
  348. package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/__linksInherit +10 -0
  349. package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/social.properties +14 -0
  350. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/.gitignore.ftl +3 -0
  351. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/certs/README.md +5 -0
  352. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/config.xml.ftl +110 -0
  353. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/hooks/README.md +23 -0
  354. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/network_security_config.xml +4 -0
  355. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/package.json.ftl +12 -0
  356. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/README.md +29 -0
  357. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-hdpi-icon.png +0 -0
  358. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-hdpi-notification-icon.png +0 -0
  359. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-ldpi-icon.png +0 -0
  360. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-ldpi-notification-icon.png +0 -0
  361. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-mdpi-icon.png +0 -0
  362. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-mdpi-notification-icon.png +0 -0
  363. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-web-icon.png +0 -0
  364. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xhdpi-icon.png +0 -0
  365. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xhdpi-notification-icon.png +0 -0
  366. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxhdpi-icon.png +0 -0
  367. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxhdpi-notification-icon.png +0 -0
  368. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxxhdpi-icon.png +0 -0
  369. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxxhdpi-notification-icon.png +0 -0
  370. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/icon-36-hdpi.png +0 -0
  371. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/icon-48-hdpi.png +0 -0
  372. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-1024.png +0 -0
  373. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-20.png +0 -0
  374. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-24@2x.png +0 -0
  375. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-27.5@2x.png +0 -0
  376. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-40.png +0 -0
  377. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-40@2x.png +0 -0
  378. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-40@3x.png +0 -0
  379. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-44@2x.png +0 -0
  380. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-50.png +0 -0
  381. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-50@2x.png +0 -0
  382. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-60.png +0 -0
  383. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-60@2x.png +0 -0
  384. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-60@3x.png +0 -0
  385. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-72.png +0 -0
  386. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-72@2x.png +0 -0
  387. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-76.png +0 -0
  388. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-76@2x.png +0 -0
  389. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-83.5@2x.png +0 -0
  390. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-86@2x.png +0 -0
  391. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-98@2x.png +0 -0
  392. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-small.png +0 -0
  393. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-small@2x.png +0 -0
  394. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-small@3x.png +0 -0
  395. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon.png +0 -0
  396. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon@2x.png +0 -0
  397. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon.png +0 -0
  398. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/notification_icon.png +0 -0
  399. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-hdpi-screen.png +0 -0
  400. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-hdpi.png +0 -0
  401. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-ldpi-screen.png +0 -0
  402. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-ldpi.png +0 -0
  403. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-mdpi-screen.png +0 -0
  404. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-mdpi.png +0 -0
  405. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xhdpi-screen.png +0 -0
  406. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xhdpi.png +0 -0
  407. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xxhdpi-screen.png +0 -0
  408. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xxxhdpi-screen.png +0 -0
  409. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-hdpi-screen.png +0 -0
  410. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-hdpi.png +0 -0
  411. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-ldpi-screen.png +0 -0
  412. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-ldpi.png +0 -0
  413. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-mdpi-screen.png +0 -0
  414. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-mdpi.png +0 -0
  415. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xhdpi-screen.png +0 -0
  416. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xhdpi.png +0 -0
  417. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xxhdpi-screen.png +0 -0
  418. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xxxhdpi-screen.png +0 -0
  419. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-2436h.png +0 -0
  420. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-568h@2x~iphone.png +0 -0
  421. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-667h.png +0 -0
  422. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-736h.png +0 -0
  423. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape-2436h.png +0 -0
  424. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape-736h.png +0 -0
  425. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape@2x~ipad.png +0 -0
  426. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape@~ipadpro.png +0 -0
  427. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape~ipad.png +0 -0
  428. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Portrait@2x~ipad.png +0 -0
  429. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Portrait@~ipadpro.png +0 -0
  430. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Portrait~ipad.png +0 -0
  431. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~ipad~anyany.png +0 -0
  432. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~ipad~comany.png +0 -0
  433. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone.png +0 -0
  434. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone~anyany.png +0 -0
  435. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone~comany.png +0 -0
  436. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone~comcom.png +0 -0
  437. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~universal~anyany.png +0 -0
  438. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@3x~iphone~anyany.png +0 -0
  439. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@3x~iphone~anycom.png +0 -0
  440. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@3x~iphone~comany.png +0 -0
  441. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default~iphone.png +0 -0
  442. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/ipx-landscape.png +0 -0
  443. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/ipx-portrait.png +0 -0
  444. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen.png +0 -0
  445. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/__copydata.ftl +12 -0
  446. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/.bowerrc +4 -0
  447. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/README.md +32 -0
  448. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bower.json +30 -0
  449. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/clean_dependencies.js +3 -0
  450. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/package-lock.json +187 -0
  451. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/package.json +14 -0
  452. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/cordova.js +1863 -0
  453. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/cordova_plugins.js +9 -0
  454. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/css/app.css +4 -0
  455. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/favicon.ico +0 -0
  456. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/i18n/locale_en_us.json +166 -0
  457. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/i18n/locale_pt_br.json +166 -0
  458. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/img/nophoto.png +0 -0
  459. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/img/user.png +0 -0
  460. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/index.html.ftl +76 -0
  461. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/ChangePassword.blockly +44 -0
  462. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/ChangePassword.blockly.js +56 -0
  463. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Home.blockly +12 -0
  464. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Home.blockly.js +13 -0
  465. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Login.blockly +42 -0
  466. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Login.blockly.js +25 -0
  467. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/UserControl.blockly +129 -0
  468. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/UserControl.blockly.js +64 -0
  469. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/events.js +0 -0
  470. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/index.js +48 -0
  471. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/error/403.view.html +7 -0
  472. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/error/404.view.html +7 -0
  473. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/home.view.html +20 -0
  474. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/menu.view.html +61 -0
  475. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/user.view.html +74 -0
  476. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/login.view.html.ftl +44 -0
  477. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/home.view.html +19 -0
  478. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/menu.view.html +15 -0
  479. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/reset-password-email.view.html +28 -0
  480. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/reset-password.view.html +29 -0
  481. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/signup.view.html +36 -0
  482. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/__linksInherit +10 -0
  483. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/js/blockly/auth/Home.blockly +12 -0
  484. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/js/blockly/auth/Home.blockly.js +13 -0
  485. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/error/403.view.html +7 -0
  486. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/error/404.view.html +7 -0
  487. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/public/home.view.html +22 -0
  488. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/public/menu.view.html +15 -0
  489. package/project/M/cronapp-rad-project-mobile-cordova/template.properties +129 -0
  490. package/project/M/cronapp-rad-project-mobile-cordova/template_en_US.properties +29 -0
  491. package/project/M/cronapp-rad-project-mobile-cordova/template_pt_BR.properties +28 -0
  492. package/project/M/group.properties +5 -0
  493. package/project/M/mobile.png +0 -0
  494. package/project/N/group.properties +4 -0
  495. package/project/N/nodejs-express/.vscode/launch.json +14 -0
  496. package/project/N/nodejs-express/app.js +44 -0
  497. package/project/N/nodejs-express/bin/www +90 -0
  498. package/project/N/nodejs-express/package-lock.json +928 -0
  499. package/project/N/nodejs-express/package.json +16 -0
  500. package/project/N/nodejs-express/project.png +0 -0
  501. package/project/N/nodejs-express/project.svg +1 -0
  502. package/project/N/nodejs-express/public/stylesheets/style.css +8 -0
  503. package/project/N/nodejs-express/routes/index.js +9 -0
  504. package/project/N/nodejs-express/routes/users.js +9 -0
  505. package/project/N/nodejs-express/template.properties +6 -0
  506. package/project/N/nodejs-express/template_en_US.properties +2 -0
  507. package/project/N/nodejs-express/views/error.pug +6 -0
  508. package/project/N/nodejs-express/views/index.pug +5 -0
  509. package/project/N/nodejs-express/views/layout.pug +7 -0
  510. package/project/N/nodejs.png +0 -0
  511. package/project/P/django/.vscode/launch.json +21 -0
  512. package/project/P/django/cronapp/settings.py +121 -0
  513. package/project/P/django/cronapp/urls.py +21 -0
  514. package/project/P/django/cronapp/wsgi.py +16 -0
  515. package/project/P/django/manage.py +19 -0
  516. package/project/P/django/project.svg +48 -0
  517. package/project/P/django/requirements.txt +6 -0
  518. package/project/P/django/template.properties +5 -0
  519. package/project/P/django/template_en_US.properties +2 -0
  520. package/project/P/flask/.vscode/launch.json +24 -0
  521. package/project/P/flask/main.py +14 -0
  522. package/project/P/flask/project.svg +45 -0
  523. package/project/P/flask/requirements.txt +6 -0
  524. package/project/P/flask/template.properties +5 -0
  525. package/project/P/flask/template_en_US.properties +2 -0
  526. package/project/P/group.properties +4 -0
  527. package/project/P/python.png +0 -0
  528. package/project/P/scientific/.vscode/launch.json +15 -0
  529. package/project/P/scientific/README.md +0 -0
  530. package/project/P/scientific/main.py +27 -0
  531. package/project/P/scientific/project.png +0 -0
  532. package/project/P/scientific/project.svg +48 -0
  533. package/project/P/scientific/requirements.txt +2 -0
  534. package/project/P/scientific/template.properties +5 -0
  535. package/project/P/scientific/template_en_US.properties +2 -0
  536. package/project/W/cronapp-rad-project/.dockerignore +5 -0
  537. package/project/W/cronapp-rad-project/.gitignore.ftl +28 -0
  538. package/project/W/cronapp-rad-project/Dockerfile +26 -0
  539. package/project/W/cronapp-rad-project/Jenkinsfile +43 -0
  540. package/project/W/cronapp-rad-project/README.md +24 -0
  541. package/project/W/cronapp-rad-project/__copydata.ftl +22 -0
  542. package/project/W/cronapp-rad-project/config/__copydata.ftl +5 -0
  543. package/project/W/cronapp-rad-project/config/app.config.ftl +17 -0
  544. package/project/W/cronapp-rad-project/config/context.xml.ftl +27 -0
  545. package/project/W/cronapp-rad-project/config/test/Tests.side +59 -0
  546. package/project/W/cronapp-rad-project/diagram/__copydata.ftl +11 -0
  547. package/project/W/cronapp-rad-project/diagram/app.umlcd +4493 -0
  548. package/project/W/cronapp-rad-project/diagram/app.umlcd.ftl +1000 -0
  549. package/project/W/cronapp-rad-project/diagram/domain.umlcd +10596 -0
  550. package/project/W/cronapp-rad-project/docs/architecture/architecture.html +50 -0
  551. package/project/W/cronapp-rad-project/docs/architecture/img/layers.png +0 -0
  552. package/project/W/cronapp-rad-project/docs/login.prototype +24 -0
  553. package/project/W/cronapp-rad-project/pom.xml.ftl +236 -0
  554. package/project/W/cronapp-rad-project/project.svg +1 -0
  555. package/project/W/cronapp-rad-project/spring-boot.png +0 -0
  556. package/project/W/cronapp-rad-project/src/__copydata.ftl +7 -0
  557. package/project/W/cronapp-rad-project/src/main/__copydata.ftl +18 -0
  558. package/project/W/cronapp-rad-project/src/main/java/META-INF/__copydata.ftl +7 -0
  559. package/project/W/cronapp-rad-project/src/main/java/META-INF/customQuery.json.ftl +2192 -0
  560. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/__copydata.ftl +23 -0
  561. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/appUserManager.datasource.json +96 -0
  562. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/auditlogcleanup.datasource.json +103 -0
  563. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/auditlogquery.datasource.json +104 -0
  564. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/auth.datasource.json +120 -0
  565. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/device.datasource.json +96 -0
  566. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/keyManager.datasource.json +126 -0
  567. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roleManager.datasource.json +255 -0
  568. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roleSecurableManager.datasource.json +127 -0
  569. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roleSecurables.datasource.json +158 -0
  570. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roles.datasource.json +143 -0
  571. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/securableManager.datasource.json +127 -0
  572. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/securableViews.datasource.json +186 -0
  573. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/securables.datasource.json +134 -0
  574. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userManager.datasource.json +271 -0
  575. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userRoleManager.datasource.json +127 -0
  576. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userSecurableManager.datasource.json +127 -0
  577. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userSecurables.datasource.json +135 -0
  578. package/project/W/cronapp-rad-project/src/main/java/META-INF/persistence.xml.ftl +41 -0
  579. package/project/W/cronapp-rad-project/src/main/java/SpringBootMain.java.ftl +48 -0
  580. package/project/W/cronapp-rad-project/src/main/java/__copydata.ftl +26 -0
  581. package/project/W/cronapp-rad-project/src/main/java/app/AppConfiguration.java.ftl +66 -0
  582. package/project/W/cronapp-rad-project/src/main/java/app/__copydata.ftl +25 -0
  583. package/project/W/cronapp-rad-project/src/main/java/app/dao/ApplicationDAO.java +24 -0
  584. package/project/W/cronapp-rad-project/src/main/java/app/dao/ApplicationUserDAO.java +24 -0
  585. package/project/W/cronapp-rad-project/src/main/java/app/dao/AuditLogDAO.java +24 -0
  586. package/project/W/cronapp-rad-project/src/main/java/app/dao/DeviceDAO.java +24 -0
  587. package/project/W/cronapp-rad-project/src/main/java/app/dao/LoginDAO.java +24 -0
  588. package/project/W/cronapp-rad-project/src/main/java/app/dao/RoleDAO.java +24 -0
  589. package/project/W/cronapp-rad-project/src/main/java/app/dao/RoleSecurableDAO.java +24 -0
  590. package/project/W/cronapp-rad-project/src/main/java/app/dao/SecurableDAO.java +24 -0
  591. package/project/W/cronapp-rad-project/src/main/java/app/dao/UserDAO.java +24 -0
  592. package/project/W/cronapp-rad-project/src/main/java/app/dao/UserRoleDAO.java +24 -0
  593. package/project/W/cronapp-rad-project/src/main/java/app/dao/UserSecurableDAO.java +24 -0
  594. package/project/W/cronapp-rad-project/src/main/java/app/dao/ViewDAO.java +24 -0
  595. package/project/W/cronapp-rad-project/src/main/java/app/dao/__copydata.ftl +34 -0
  596. package/project/W/cronapp-rad-project/src/main/java/app/entity/Application.java +111 -0
  597. package/project/W/cronapp-rad-project/src/main/java/app/entity/ApplicationUser.java +139 -0
  598. package/project/W/cronapp-rad-project/src/main/java/app/entity/AuditLog.java +399 -0
  599. package/project/W/cronapp-rad-project/src/main/java/app/entity/Device.java +241 -0
  600. package/project/W/cronapp-rad-project/src/main/java/app/entity/Login.java +190 -0
  601. package/project/W/cronapp-rad-project/src/main/java/app/entity/Role.java +218 -0
  602. package/project/W/cronapp-rad-project/src/main/java/app/entity/RoleSecurable.java +139 -0
  603. package/project/W/cronapp-rad-project/src/main/java/app/entity/Securable.java +139 -0
  604. package/project/W/cronapp-rad-project/src/main/java/app/entity/User.java +565 -0
  605. package/project/W/cronapp-rad-project/src/main/java/app/entity/UserRole.java +139 -0
  606. package/project/W/cronapp-rad-project/src/main/java/app/entity/UserSecurable.java +139 -0
  607. package/project/W/cronapp-rad-project/src/main/java/app/entity/View.java +375 -0
  608. package/project/W/cronapp-rad-project/src/main/java/app/entity/__copydata.ftl +34 -0
  609. package/project/W/cronapp-rad-project/src/main/java/app/populate.json.ftl +976 -0
  610. package/project/W/cronapp-rad-project/src/main/java/auth/permission/SecurityPermission.java.ftl +56 -0
  611. package/project/W/cronapp-rad-project/src/main/java/blockly/Application.blockly +12 -0
  612. package/project/W/cronapp-rad-project/src/main/java/blockly/Application.java +30 -0
  613. package/project/W/cronapp-rad-project/src/main/java/blockly/RoleManager.blockly +60 -0
  614. package/project/W/cronapp-rad-project/src/main/java/blockly/RoleManager.java +61 -0
  615. package/project/W/cronapp-rad-project/src/main/java/blockly/UserControl.blockly +90 -0
  616. package/project/W/cronapp-rad-project/src/main/java/blockly/UserControl.java +55 -0
  617. package/project/W/cronapp-rad-project/src/main/java/blockly/UserManager.blockly +79 -0
  618. package/project/W/cronapp-rad-project/src/main/java/blockly/UserManager.java +76 -0
  619. package/project/W/cronapp-rad-project/src/main/java/i18n/Messages.java +31 -0
  620. package/project/W/cronapp-rad-project/src/main/java/i18n/Messages_en_US.properties +56 -0
  621. package/project/W/cronapp-rad-project/src/main/java/i18n/Messages_pt_BR.properties +57 -0
  622. package/project/W/cronapp-rad-project/src/main/java/i18n/translate.string.ftl +1 -0
  623. package/project/W/cronapp-rad-project/src/main/java/social.properties +14 -0
  624. package/project/W/cronapp-rad-project/src/main/resources/application.properties +25 -0
  625. package/project/W/cronapp-rad-project/src/main/resources/templates/reset-password.ftlh +113 -0
  626. package/project/W/cronapp-rad-project/src/main/resources/templates/reset-password_pt_BR.ftlh +114 -0
  627. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/.bowerrc +4 -0
  628. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bower.json +30 -0
  629. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/clean_dependencies.js +3 -0
  630. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/package-lock.json +187 -0
  631. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/package.json +14 -0
  632. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/cronapp.json +1 -0
  633. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/css/app.css.ftl +0 -0
  634. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/i18n/locale_en_us.json +182 -0
  635. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/i18n/locale_pt_br.json +182 -0
  636. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/index.html.ftl +97 -0
  637. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/MutualAuth.blockly +21 -0
  638. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/MutualAuth.blockly.js +38 -0
  639. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/UserControl.blockly +129 -0
  640. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/UserControl.blockly.js +63 -0
  641. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly +417 -0
  642. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly.js +129 -0
  643. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/custom.controllers.js +11 -0
  644. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/customModules.js +1 -0
  645. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/events.js +0 -0
  646. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/__copydata.ftl +3 -0
  647. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/auditlog.search.view.html +95 -0
  648. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/role.view.html +99 -0
  649. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/user.view.html +130 -0
  650. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/error/403.view.html +13 -0
  651. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/error/404.view.html +13 -0
  652. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/__copydata.ftl +1 -0
  653. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/home.view.html.ftl +99 -0
  654. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/home2.view.html.ftl +162 -0
  655. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl +195 -0
  656. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/home.view.html.ftl +25 -0
  657. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/privacy/cookies.view.html +75 -0
  658. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/reset-password.view.html.ftl +30 -0
  659. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/signup.view.html +65 -0
  660. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/__linksInherit +3 -0
  661. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/cronapp.json +1 -0
  662. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/index.html.ftl +84 -0
  663. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/views/__linksInherit +1 -0
  664. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/views/home.view.html.ftl +39 -0
  665. package/project/W/cronapp-rad-project/template.properties +116 -0
  666. package/project/W/cronapp-rad-project/template_en_US.properties +32 -0
  667. package/project/W/cronapp-rad-project/template_pt_BR.properties +32 -0
  668. package/project/W/group.properties +5 -0
  669. package/project/W/web.png +0 -0
  670. package/templates/low-code/aquamarine.png +0 -0
  671. package/templates/low-code/cerulean.png +0 -0
  672. package/templates/low-code/cosmo.png +0 -0
  673. package/templates/low-code/cyborg.png +0 -0
  674. package/templates/low-code/darkly.png +0 -0
  675. package/templates/low-code/data-layer/BUSINESS.ftl +340 -0
  676. package/templates/low-code/data-layer/DAO.ftl +46 -0
  677. package/templates/low-code/data-layer/ENTITIES.ftl +349 -0
  678. package/templates/low-code/data-layer/ENTITIESPK.ftl +119 -0
  679. package/templates/low-code/data-layer/Job.java.ftl +59 -0
  680. package/templates/low-code/data-layer/REST.ftl +359 -0
  681. package/templates/low-code/data-layer/RESTAPPLICATION.ftl +76 -0
  682. package/templates/low-code/data-layer/RESTWebService.ftl +106 -0
  683. package/templates/low-code/data-layer/RESTWebServicePageExample.ftl +64 -0
  684. package/templates/low-code/data-layer/SecurityPermission.java.ftl +43 -0
  685. package/templates/low-code/data-layer/SpringBootMain.java.ftl +44 -0
  686. package/templates/low-code/data-layer/TEST.ftl +9 -0
  687. package/templates/low-code/data-layer/dropbox/DROPBOX_CONSTANTS.ftl +1 -0
  688. package/templates/low-code/data-layer/dropbox/DROPBOX_DELETE.ftl +1 -0
  689. package/templates/low-code/data-layer/dropbox/DROPBOX_GET.ftl +1 -0
  690. package/templates/low-code/data-layer/dropbox/DROPBOX_LIST.ftl +1 -0
  691. package/templates/low-code/data-layer/dropbox/DROPBOX_POST.ftl +20 -0
  692. package/templates/low-code/data-layer/dropbox/DROPBOX_PUT.ftl +21 -0
  693. package/templates/low-code/data-layer/template.properties +58 -0
  694. package/templates/low-code/dsgov.png +0 -0
  695. package/templates/low-code/flatly.png +0 -0
  696. package/templates/low-code/fuse.png +0 -0
  697. package/templates/low-code/journal.png +0 -0
  698. package/templates/low-code/lumen.png +0 -0
  699. package/templates/low-code/material.png +0 -0
  700. package/templates/low-code/paper.png +0 -0
  701. package/templates/low-code/readable.png +0 -0
  702. package/templates/low-code/sandstone.png +0 -0
  703. package/templates/low-code/simplex.png +0 -0
  704. package/templates/low-code/slate.png +0 -0
  705. package/templates/low-code/spacelab.png +0 -0
  706. package/templates/low-code/superhero.png +0 -0
  707. package/templates/low-code/united.png +0 -0
  708. package/templates/low-code/yeti.png +0 -0
  709. package/user/.code/User/keybindings.json +3 -0
  710. package/user/.code/User/settings.json +6 -0
@@ -0,0 +1,349 @@
1
+ <#macro single_line><#local captured><#nested></#local>${ captured?replace("^\\s+|\\s+$|\\n|\\r", "", "rm") }</#macro>
2
+ <#macro getter_setter classClass field fieldName>
3
+ /**
4
+ * Obtém ${fieldName}
5
+ * return ${fieldName}
6
+ * @generated
7
+ */
8
+ <#if field.securityAnnotation != "">
9
+ ${field.securityAnnotation}
10
+ </#if>
11
+ public ${field.type} get${fieldName?cap_first}() {
12
+ return this.${fieldName};
13
+ }
14
+
15
+ /**
16
+ * Define ${fieldName}
17
+ * @param ${fieldName} ${fieldName}
18
+ * @generated
19
+ */
20
+ public ${classClass.name} set${fieldName?cap_first}(${field.type} ${fieldName}) {
21
+ <#if field.isEncryption() && !clazz.hasStrongPassword()>
22
+ this.${fieldName} = ${fieldName}.startsWith(ENCRYPT) ? ${fieldName} : new BCryptPasswordEncoder().encode(${fieldName});
23
+ <#else>
24
+ this.${fieldName} = ${fieldName};
25
+ </#if>
26
+ return this;
27
+ }
28
+ </#macro>
29
+
30
+ package ${entityPackage}<#if subPackage??>.${subPackage}</#if>;
31
+
32
+ import java.io.*;
33
+ import javax.persistence.*;
34
+ import java.util.*;
35
+ import javax.xml.bind.annotation.*;
36
+ import com.fasterxml.jackson.annotation.JsonIgnore;
37
+ import com.fasterxml.jackson.annotation.JsonFilter;
38
+ import cronapi.rest.security.CronappSecurity;
39
+ <#if clazz.rest>
40
+ import cronapi.swagger.CronappSwagger;
41
+ </#if>
42
+ <#if clazz.hasRowVersion() || clazz.hasXML()>
43
+ import org.eclipse.persistence.annotations.Convert;
44
+ import org.eclipse.persistence.annotations.Converter;
45
+ </#if>
46
+ <#if clazz.hasRowVersion()>
47
+ import cronapi.database.VersionConverter;
48
+ </#if>
49
+ <#if clazz.hasUseOuterJoin()?? && clazz.hasUseOuterJoin()>
50
+ import org.eclipse.persistence.annotations.JoinFetch;
51
+ import org.eclipse.persistence.annotations.JoinFetchType;
52
+ </#if>
53
+ <#if clazz.hasXML()>
54
+ import cronapi.database.ByteConverter;
55
+ </#if>
56
+ <#assign hasCloudStorage = clazz.hasCloudStorage()>
57
+ <#if hasCloudStorage>
58
+ import cronapi.CronapiCloud;
59
+ </#if>
60
+ <#if clazz.hasSearchable()>
61
+ import cronapi.CronapiSearchable;
62
+ </#if>
63
+ <#if clazz.hasFileDataBase()>
64
+ import cronapi.CronapiByteHeaderSignature;
65
+ </#if>
66
+ <#if clazz.hasEncryption()>
67
+ <#if clazz.hasStrongPassword()>
68
+ import cronapp.framework.persistence.ValidPassword;
69
+ import cronapp.framework.persistence.ValidPasswords;
70
+ import cronapp.framework.persistence.PasswordEncoderListener;
71
+ <#else>
72
+ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
73
+ </#if>
74
+ </#if>
75
+ <#list clazz.imports as import>
76
+ import ${import};
77
+ </#list>
78
+ <#if subPackage??>import ${entityPackage}.*;</#if>
79
+ <#list clazz.subPackageToImport as subPackageToImport>
80
+ <#if subPackage?? && subPackageToImport != subPackage >
81
+ import ${entityPackage}.${subPackageToImport}.*;
82
+ </#if>
83
+ </#list>
84
+
85
+ <#if (clazz.multitenantClass)>
86
+ import org.eclipse.persistence.annotations.*;
87
+ </#if>
88
+ /**
89
+ * Classe que representa a tabela <#if tableName??>${tableName}<#else>${clazz.name?upper_case}</#if>
90
+ * @generated
91
+ */
92
+ @javax.persistence.Entity
93
+ <#if clazz.hasCompositeKey()>
94
+ @IdClass(${clazz.name + 'PK'}.class)
95
+ </#if>
96
+ @javax.persistence.Table(name = "\"<#if tableName??><#if persistenceProvider == "oracle">${tableName?upper_case}<#else>${tableName}</#if><#else>${clazz.name?upper_case}</#if>\""<#if schemeName??>, schema="\"<#if persistenceProvider == "oracle">${schemeName?upper_case}<#else>${schemeName}</#if>\""</#if><#if (clazz.indexFields?size > 0)> ,indexes={<#list clazz.indexFields as field>@Index(name="IDX_<#if tableName??>${tableName}<#else>${clazz.name?upper_case}</#if>_${field.dbFieldName?upper_case}", columnList="${field.dbFieldName}")<#if field?has_next>, </#if></#list>}</#if>)
97
+ <#-- depreciated unique composition
98
+ <#if (clazz.fieldsUniqueKey?size > 0)>
99
+ ,uniqueConstraints=@UniqueConstraint(name="UNQ_
100
+ <#if tableName??>
101
+ ${tableName}
102
+ <#else>
103
+ ${clazz.name?upper_case}
104
+ </#if>
105
+ _0", columnNames={
106
+ <#list clazz.fieldsUniqueKey as field>
107
+ "${field.dbFieldName}"
108
+ <#if field?has_next>
109
+ ,
110
+ </#if>
111
+ </#list>
112
+ })
113
+ </#if>
114
+ -->
115
+ @XmlRootElement
116
+ <#if clazz.rest>
117
+ @CronappSecurity<#if restSecurityDescription??>(${restSecurityDescription})</#if>
118
+ </#if>
119
+ <#if clazz.swagger>
120
+ @CronappSwagger
121
+ </#if>
122
+ <#if (clazz.multitenantClass)>
123
+ @Multitenant(MultitenantType.SINGLE_TABLE)
124
+ <#if (clazz.multitententFields?size > 1)>
125
+ @TenantDiscriminatorColumns({
126
+ </#if>
127
+ <#list clazz.multitententFields as field>
128
+ @TenantDiscriminatorColumn(name = "${field.dbFieldName}", contextProperty = "${field.multitenantContext}")<#if field_has_next>,</#if>
129
+ </#list>
130
+ <#if (clazz.multitententFields?size > 1)>
131
+ })
132
+ </#if>
133
+ </#if>
134
+ @JsonFilter("${entityPackage}<#if subPackage??>.${subPackage}</#if>.${clazz.name}")
135
+ <#if clazz.listeners??>
136
+ @EntityListeners(${clazz.listeners})
137
+ </#if>
138
+ <#if clazz.hasRowVersion()>
139
+ @Converter(
140
+ name="version",
141
+ converterClass=VersionConverter.class
142
+ )
143
+ </#if>
144
+ <#if clazz.hasXML()>
145
+ @Converter(
146
+ name="bytes",
147
+ converterClass=ByteConverter.class
148
+ )
149
+ </#if>
150
+ <#if clazz.hasStrongPassword() && clazz.hasEncryption()>
151
+ @ValidPasswords({
152
+ <#list clazz.fields as field>
153
+ <#if field.isEncryption()>
154
+ @ValidPassword(passwordProperty = "${field.name}", passwordHistoryProperty = "${field.name}History"),
155
+ </#if>
156
+ </#list>
157
+ })
158
+ </#if>
159
+ public class ${clazz.name} implements Serializable {
160
+ <#if clazz.hasEncryption() && !clazz.hasStrongPassword()>
161
+ /**
162
+ * Variável privada para verificação da criptofrafia
163
+ *
164
+ * @generated
165
+ */
166
+ private static final String ENCRYPT = "$2a$10$";
167
+ </#if>
168
+ /**
169
+ * UID da classe, necessário na serialização
170
+ * @generated
171
+ */
172
+ private static final long serialVersionUID = 1L;
173
+ <#list clazz.fields as field>
174
+ <#if field.primaryKey>
175
+ <#assign name = "${field.name}">
176
+
177
+ /**
178
+ * @generated
179
+ */
180
+ @Id
181
+ <#if field.generationType?? && field.generationType == "Identity">
182
+ <#if persistenceProvider == "mysql">
183
+ @GeneratedValue(strategy = GenerationType.AUTO)
184
+ <#else>
185
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
186
+ </#if>
187
+ </#if>
188
+ <#if field.isVersion()>
189
+ @Version
190
+ <#elseif field.isDate()>
191
+ @Temporal(TemporalType.DATE)
192
+ <#elseif field.isTime()>
193
+ @Temporal(TemporalType.TIME)
194
+ <#elseif field.isTimestamp()>
195
+ @Temporal(TemporalType.TIMESTAMP)
196
+ </#if>
197
+ <#if (field.relationNames?size == 1)>
198
+ <#list field.relationNames?keys as key>
199
+ <#if key??>
200
+ @JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
201
+ </#if>
202
+ </#list>
203
+ <#elseif (field.relationNames?size > 1)>
204
+ <#assign i= field.relationNames?size>
205
+ @JoinColumns({
206
+ <#list field.relationNames?keys as key>
207
+ <#if key??>
208
+ @JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
209
+ <#if (i>1)>,</#if>
210
+ </#if>
211
+ <#assign i = i-1>
212
+ </#list>
213
+ })
214
+ <#else>
215
+ @Column(name = "${field.dbFieldName}", nullable = ${field.nullable?c}<#if !field.primaryKey>, unique = ${field.unique?c}</#if><#if field.length??>, length=${field.length?c}</#if><#if field.precision??>, precision=${field.precision?c}</#if><#if field.scale??>, scale=${field.scale?c}</#if>, insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.columnDefinition??>, columnDefinition = "${field.columnDefinition}"</#if>)
216
+ </#if>
217
+ ${field.modifier} <#if field.arrayRelation>${field.type}<#else>${field.type}</#if> ${name}<#if field.defaultValue?has_content> = ${field.defaultValue}<#elseif field.primaryKey && field.generationType?? && field.generationType == "UUID"> = UUID.randomUUID().toString().toUpperCase()</#if>;
218
+ </#if>
219
+ </#list>
220
+ <#list clazz.fields as field>
221
+ <#if !field.primaryKey>
222
+
223
+ /**
224
+ * @generated
225
+ */
226
+ <#if (field.rowVersion)!false>
227
+ @Convert("version")
228
+ </#if>
229
+ <#if (field.XML)!false>
230
+ @Convert("bytes")
231
+ </#if>
232
+ <#if field.relation>
233
+ @OneToOne
234
+ <#elseif field.reverseRelation>
235
+ @ManyToOne
236
+ </#if>
237
+ <#if (field.relationNames?size == 1)>
238
+ <#list field.relationNames?keys as key>
239
+ <#if key??>
240
+ @JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.cascade>, foreignKey = @ForeignKey(name = "<#if tableName??>${tableName}<#else>${clazz.name?upper_case}</#if>_${key?upper_case}_${field.dbTableRelationClazz}_${field.relationNames[key]?upper_case}", foreignKeyDefinition = "FOREIGN KEY (${key}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]}) ON DELETE CASCADE")<#elseif field.fkName?has_content>, foreignKey = @ForeignKey(name = "${field.fkName}", foreignKeyDefinition = "FOREIGN KEY (${key}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]})")</#if>)
241
+ </#if>
242
+ </#list>
243
+ <#elseif (field.relationNames?size > 1)>
244
+ <#assign i= field.relationNames?size>
245
+ @JoinColumns({
246
+ <#list field.relationNames?keys as key>
247
+ <#if key??>
248
+ @JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.fkName?has_content>, foreignKey = @ForeignKey(name = "${field.fkName}", foreignKeyDefinition = "FOREIGN KEY (${key}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]})")</#if>)
249
+ <#if (i>1)>,</#if>
250
+ </#if>
251
+ <#assign i = i-1>
252
+ </#list>
253
+ })
254
+ <#elseif field.arrayRelation>
255
+ @OneToMany(fetch = FetchType.LAZY, mappedBy="${field.mappedBy}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
256
+ <#else>
257
+ <#if field.transient>
258
+ @Transient
259
+ <#else>
260
+ <#if field.isVersion()>
261
+ @Version
262
+ <#elseif field.isDate()>
263
+ @Temporal(TemporalType.DATE)
264
+ <#elseif field.isTime()>
265
+ @Temporal(TemporalType.TIME)
266
+ <#elseif field.isTimestamp()>
267
+ @Temporal(TemporalType.TIMESTAMP)
268
+ </#if>
269
+ @Column(name = "${field.dbFieldName}", nullable = ${field.nullable?c}<#if !field.primaryKey>, unique = ${field.unique?c}</#if><#if field.length??>, length=${field.length?c}</#if><#if field.precision??>, precision=${field.precision?c}</#if><#if field.scale??>, scale=${field.scale?c}</#if>, insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.columnDefinition??>, columnDefinition = "${field.columnDefinition}"</#if>)
270
+ </#if>
271
+ </#if>
272
+ <#if field.getUseOuterJoin()>
273
+ @JoinFetch(JoinFetchType.OUTER)
274
+ </#if>
275
+ <#if (field.ignore)>
276
+ @JsonIgnore
277
+ </#if>
278
+ <#if field.isCloudStorage()>
279
+ @CronapiCloud(type = "${field.getStorageType()}", value="${field.getStorageKey()}", id="${field.getStorageId()}", secret="${field.getStorageSecret()}")
280
+ </#if>
281
+ <#if field.isFileDataBase()>
282
+ @CronapiByteHeaderSignature
283
+ </#if>
284
+ <#if field.isSearchable()>
285
+ @CronapiSearchable
286
+ </#if>
287
+ ${field.securityAnnotation}
288
+ ${field.modifier} <#if field.arrayRelation>${field.type}<#else>${field.type}</#if> ${field.name}<#if field.defaultValue?has_content> = ${field.defaultValue}</#if>;
289
+ </#if>
290
+
291
+ <#if field.isEncryption()>
292
+ /**
293
+ * @generated
294
+ */
295
+ <@single_line>@Column(name = "${field.dbFieldName}_history"
296
+ <#if !field.insertable>, insertable = ${field.insertable?c}</#if>
297
+ <#if !field.updatable>, updatable = ${field.updatable?c}</#if>
298
+ )</@single_line>
299
+ ${field.modifier} ${field.type} ${field.name}History;
300
+ </#if>
301
+ </#list>
302
+
303
+ /**
304
+ * Construtor
305
+ * @generated
306
+ */
307
+ public ${clazz.name}(){
308
+ }
309
+
310
+ <#list clazz.fields as field>
311
+ <@getter_setter clazz field "${field.name}" />
312
+ <#if field.isEncryption()>
313
+ <@getter_setter clazz field "${field.name}History" />
314
+ </#if>
315
+ </#list>
316
+
317
+ /**
318
+ * @generated
319
+ */
320
+ @Override
321
+ public boolean equals(Object obj) {
322
+ if (this == obj) return true;
323
+ if (obj == null || getClass() != obj.getClass()) return false;
324
+ ${clazz.name} object = (${clazz.name})obj;
325
+ <#list clazz.fields as field>
326
+ <#if field.primaryKey>
327
+ <#assign name = "${field.name}">
328
+ if (${name} != null ? !${name}.equals(object.${name}) : object.${name} != null) return false;
329
+ </#if>
330
+ </#list>
331
+ return true;
332
+ }
333
+
334
+ /**
335
+ * @generated
336
+ */
337
+ @Override
338
+ public int hashCode() {
339
+ int result = 1;
340
+ <#list clazz.fields as field>
341
+ <#if field.primaryKey && !field.isTypePrimitive()>
342
+ <#assign name = "${field.name}">
343
+ result = 31 * result + ((${name} == null) ? 0 : ${name}.hashCode());
344
+ </#if>
345
+ </#list>
346
+ return result;
347
+ }
348
+
349
+ }
@@ -0,0 +1,119 @@
1
+ <#-- @ftlvariable name="clazz" type="br.com.techne.cronos.ide.template.model.Clazz" -->
2
+ package ${entityPackage}<#if subPackage??>.${subPackage}</#if>;
3
+
4
+ import java.io.*;
5
+ import javax.persistence.*;
6
+ import java.util.*;
7
+ import javax.xml.bind.annotation.*;
8
+ <#list clazz.imports as import>
9
+ import ${import};
10
+ </#list>
11
+ <#if subPackage??>import ${entityPackage}.*;</#if>
12
+ <#list clazz.subPackageToImport as subPackageToImport>
13
+ <#if subPackage?? && subPackageToImport != subPackage >
14
+ import ${entityPackage}.${subPackageToImport}.*;
15
+ </#if>
16
+ </#list>
17
+ <#if (clazz.multitenantClass)>
18
+ import org.eclipse.persistence.annotations.*;
19
+ </#if>
20
+
21
+ /**
22
+ * @generated
23
+ *
24
+ **/
25
+ public class ${clazz.name + "PK"} implements Serializable {
26
+
27
+ /**
28
+ * @generated
29
+ */
30
+ private static final long serialVersionUID = 1L;
31
+ <#list clazz.adjustedPrimaryKeys as field>
32
+ <#assign name = "${field.name}">
33
+ <#if field.getProperty("FOREIGN")??>
34
+ <#if name?contains('_')>
35
+ <#assign name = "${field.name?string[0..field.name?index_of('_') - 1]}">
36
+ </#if>
37
+ </#if>
38
+
39
+ /**
40
+ * @generated
41
+ */
42
+ ${field.modifier} <#if field.arrayRelation>${field.type}<#elseif field.isTypeOfForeignClass()>${field.type + "PK"}<#else>${field.type}</#if> ${name}<#if field.defaultValue?has_content> = ${field.defaultValue}</#if>;
43
+ </#list>
44
+
45
+ /**
46
+ * Construtor
47
+ * @generated
48
+ */
49
+ public ${clazz.name + "PK"}(){
50
+ }
51
+
52
+ <#list clazz.adjustedPrimaryKeys as field>
53
+ <#assign name = "${field.name}">
54
+ <#if field.getProperty("FOREIGN")??>
55
+ <#if name?contains('_')>
56
+ <#assign name = "${field.name?string[0..field.name?index_of('_') - 1]}">
57
+ </#if>
58
+ </#if>
59
+ /**
60
+ * Obtém ${name}
61
+ * return ${name}
62
+ * @generated
63
+ */
64
+ public <#if field.isTypeOfForeignClass()>${field.type + "PK"}<#else>${field.type}</#if> get${name?cap_first}(){
65
+ return this.${name};
66
+ }
67
+
68
+ /**
69
+ * Define ${name}
70
+ * @param ${name} ${name}
71
+ * @generated
72
+ */
73
+ public ${clazz.name + "PK"} set${name?cap_first}(<#if field.isTypeOfForeignClass()>${field.type + "PK"}<#else>${field.type}</#if> ${name}){
74
+ this.${name} = ${name};
75
+ return this;
76
+ }
77
+ </#list>
78
+
79
+ /**
80
+ * @generated
81
+ */
82
+ @Override
83
+ public boolean equals(Object obj) {
84
+ if (this == obj) return true;
85
+ if (obj == null || getClass() != obj.getClass()) return false;
86
+ ${clazz.name + "PK"} object = (${clazz.name + "PK"})obj;
87
+ <#list clazz.adjustedPrimaryKeys as field>
88
+ <#assign name = "${field.name}">
89
+ <#if field.getProperty("FOREIGN")??>
90
+ <#if name?contains('_')>
91
+ <#assign name = "${field.name?string[0..field.name?index_of('_') - 1]}">
92
+ </#if>
93
+ </#if>
94
+ if (${name} != null ? !${name}.equals(object.${name}) : object.${name} != null) return false;
95
+ </#list>
96
+ return true;
97
+ }
98
+
99
+ /**
100
+ * @generated
101
+ */
102
+ @Override
103
+ public int hashCode() {
104
+ int result = 1;
105
+ <#list clazz.adjustedPrimaryKeys as field>
106
+ <#assign name = "${field.name}">
107
+ <#if field.getProperty("FOREIGN")??>
108
+ <#if name?contains('_')>
109
+ <#assign name = "${field.name?string[0..field.name?index_of('_') - 1]}">
110
+ </#if>
111
+ </#if>
112
+ <#if !field.isTypePrimitive()>
113
+ result = 31 * result + ((${name} == null) ? 0 : ${name}.hashCode());
114
+ </#if>
115
+ </#list>
116
+ return result;
117
+ }
118
+
119
+ }
@@ -0,0 +1,59 @@
1
+ /**
2
+ * ${generatedCodeWarning?replace("\n", "\n * ")}
3
+ */
4
+ package app.jobs;
5
+
6
+ import cronapi.database.TransactionManager;
7
+ import cronapp.framework.scheduler.SchedulerConfigurer;
8
+ import org.quartz.*;
9
+ import org.springframework.beans.factory.annotation.Qualifier;
10
+ import org.springframework.context.annotation.Bean;
11
+ import org.springframework.scheduling.quartz.CronTriggerFactoryBean;
12
+ import org.springframework.scheduling.quartz.JobDetailFactoryBean;
13
+ import org.springframework.stereotype.Component;
14
+
15
+ import cronapi.Var;
16
+
17
+ /**
18
+ * ${task.message} ${task.name}
19
+ *
20
+ * ${task.description?replace("\n", "\n * ")}
21
+ */
22
+ @Component
23
+ @DisallowConcurrentExecution
24
+ public class ${task.class} implements Job {
25
+
26
+ @Override
27
+ public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
28
+ try {
29
+ <#list actions as action>
30
+ //${action.name}
31
+ ${action.code}
32
+ </#list>
33
+ TransactionManager.commit();
34
+ } catch (Exception e) {
35
+ TransactionManager.rollback();
36
+ throw new JobExecutionException(e);
37
+ } finally {
38
+ TransactionManager.close();
39
+ TransactionManager.clear();
40
+ }
41
+ }
42
+
43
+ @Bean(name = "${task.bean}")
44
+ public JobDetailFactoryBean ${task.bean}() {
45
+ return SchedulerConfigurer.createJobDetail(this.getClass());
46
+ }
47
+
48
+ <#list triggers as trigger>
49
+ /**
50
+ * ${trigger.name}
51
+ * ${trigger.description}
52
+ */
53
+ @Bean(name = "${trigger.bean}")
54
+ public CronTriggerFactoryBean ${trigger.bean}(@Qualifier("${task.bean}") JobDetail jobDetail) {
55
+
56
+ return SchedulerConfigurer.createCronTrigger(jobDetail, "${trigger.cronExpression}");
57
+ }
58
+ </#list>
59
+ }