@ind-rcg/modeler-sfdx-cli-plugin 246.1042.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 (239) hide show
  1. package/LICENSE.md +37 -0
  2. package/README.md +756 -0
  3. package/lib/commands/modeler/workspace/add.js +1 -0
  4. package/lib/commands/modeler/workspace/build.js +1 -0
  5. package/lib/commands/modeler/workspace/cleanup.js +1 -0
  6. package/lib/commands/modeler/workspace/create.js +1 -0
  7. package/lib/commands/modeler/workspace/package.js +1 -0
  8. package/lib/commands/modeler/workspace/refreshLocale.js +1 -0
  9. package/lib/commands/modeler/workspace/server/start.js +1 -0
  10. package/lib/commands/modeler/workspace/upgrade.js +1 -0
  11. package/lib/commands/modeler/workspace/utils/base64encode.js +1 -0
  12. package/lib/commands/modeler/workspace/utils/generateManifest.js +1 -0
  13. package/lib/commands/modeler/workspace/utils/migrateContracts.js +1 -0
  14. package/lib/commands/modeler/workspace/validate.js +1 -0
  15. package/lib/constants.js +1 -0
  16. package/lib/hooks/init/updateCheck.js +1 -0
  17. package/lib/model/buildStatus.js +1 -0
  18. package/lib/model/workspace.js +1 -0
  19. package/lib/model/workspaceCommand.js +1 -0
  20. package/lib/shared/commandBuilder.js +1 -0
  21. package/lib/shared/commandExecutor.js +1 -0
  22. package/lib/shared/commandOutput.js +1 -0
  23. package/lib/types/config.js +1 -0
  24. package/lib/types/errors.js +1 -0
  25. package/lib/types/messages.js +1 -0
  26. package/lib/types/package.js +1 -0
  27. package/lib/types/results.js +1 -0
  28. package/lib/utils/componentHelper.js +1 -0
  29. package/lib/utils/errorHelper.js +1 -0
  30. package/lib/utils/fsHelper.js +1 -0
  31. package/lib/utils/generateManifestHelper.js +1 -0
  32. package/lib/utils/messageHelper.js +1 -0
  33. package/lib/utils/packageHelper.js +1 -0
  34. package/lib/utils/serverHelper.js +1 -0
  35. package/lib/utils/templateEngine.js +1 -0
  36. package/lib/utils/templateHelper.js +1 -0
  37. package/lib/utils/updateChecker.js +1 -0
  38. package/lib/utils/validationHelper.js +1 -0
  39. package/messages/modeler-workspace-add.md +45 -0
  40. package/messages/modeler-workspace-build.md +29 -0
  41. package/messages/modeler-workspace-cleanup.md +17 -0
  42. package/messages/modeler-workspace-create.md +21 -0
  43. package/messages/modeler-workspace-package.md +21 -0
  44. package/messages/modeler-workspace-refresh-locale.md +27 -0
  45. package/messages/modeler-workspace-server-start.md +37 -0
  46. package/messages/modeler-workspace-upgrade.md +21 -0
  47. package/messages/modeler-workspace-utils-base64encode.md +25 -0
  48. package/messages/modeler-workspace-utils-generateManifest.md +15 -0
  49. package/messages/modeler-workspace-utils-migrateContracts.md +23 -0
  50. package/messages/modeler-workspace-validate.md +29 -0
  51. package/messages/modeler-workspace.md +19 -0
  52. package/oclif.manifest.json +429 -0
  53. package/package.json +108 -0
  54. package/templates/.gitignore.tmp +4 -0
  55. package/templates/README.md.tmp +77 -0
  56. package/templates/contractTemplates/#ModuleName#/BO/README.md +1 -0
  57. package/templates/contractTemplates/#ModuleName#/DS/README.md +1 -0
  58. package/templates/contractTemplates/#ModuleName#/PL/README.md +1 -0
  59. package/templates/contractTemplates/#ModuleName#/PR/README.md +1 -0
  60. package/templates/contractTemplates/#ModuleName#/TB/README.md +1 -0
  61. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Bo${NAME}.businessobject.xml +22 -0
  62. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/CreateAsync/Bo${NAME}.AfterCreateAsync.bl.js +54 -0
  63. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/CreateAsync/Bo${NAME}.BeforeCreateAsync.bl.js +56 -0
  64. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/DoValidateAsync/Bo${NAME}.AfterDoValidateAsync.bl.js +57 -0
  65. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/DoValidateAsync/Bo${NAME}.BeforeDoValidateAsync.bl.js +56 -0
  66. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/Initialize/Bo${NAME}.AfterInitialize.bl.js +54 -0
  67. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/Initialize/Bo${NAME}.BeforeInitialize.bl.js +54 -0
  68. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/LoadAsync/Bo${NAME}.AfterLoadAsync.bl.js +57 -0
  69. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/LoadAsync/Bo${NAME}.BeforeLoadAsync.bl.js +56 -0
  70. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/SaveAsync/Bo${NAME}.AfterSaveAsync.bl.js +57 -0
  71. package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/SaveAsync/Bo${NAME}.BeforeSaveAsync.bl.js +56 -0
  72. package/templates/contractTemplates/BO_BusinessObject/businessobject/BusinessObject.md +186 -0
  73. package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectListObjectsListObjectEventsSnipp.xml +3 -0
  74. package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectListObjectsListObjectSnipp.xml +1 -0
  75. package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectNestedObjectsNestedObjectSnipp.xml +1 -0
  76. package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectObjectLookupsObjectLookupEventsSnipp.xml +3 -0
  77. package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectObjectLookupsObjectLookupSnipp.xml +1 -0
  78. package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectSimplePropertiesSimplePropertyEventsSnipp.xml +3 -0
  79. package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectSimplePropertiesSimplePropertySnipp.xml +1 -0
  80. package/templates/contractTemplates/BO_BusinessObject/businessobjecthelper/snippets/BusinessObjectHelperSimplePropertiesSimplePropertySnipp.xml +1 -0
  81. package/templates/contractTemplates/BO_BusinessObject/validationmessages/ValidationMessage.md +38 -0
  82. package/templates/contractTemplates/BO_BusinessObject/validationmessages/snippets/ValidationMessagesValidationMessageSnipp.xml +1 -0
  83. package/templates/contractTemplates/DS_DataSource/DataSource.md +319 -0
  84. package/templates/contractTemplates/DS_DataSource/Ds${NAME}_sf.datasource.xml +11 -0
  85. package/templates/contractTemplates/DS_DataSource/snippets/DataSourceAttributesAttributeSnipp.xml +1 -0
  86. package/templates/contractTemplates/DS_DataSource/snippets/DataSourceAttributesDerivedAttributeSnipp.xml +1 -0
  87. package/templates/contractTemplates/DS_DataSource/snippets/DataSourceEntitiesEntityJoinSimpleJoinConditionAttributeSnipp.xml +1 -0
  88. package/templates/contractTemplates/DS_DataSource/snippets/DataSourceEntitiesEntityJoinSimpleJoinConditionLiteralSnipp.xml +1 -0
  89. package/templates/contractTemplates/DS_DataSource/snippets/DataSourceEntitiesEntitySnipp.xml +1 -0
  90. package/templates/contractTemplates/ExternalFiles/#Name#.externalfile.xml +6 -0
  91. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Li${NAME}.listitem.xml +5 -0
  92. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/ListItem.md +114 -0
  93. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/ListObject.md +354 -0
  94. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Lo${NAME}.listobject.xml +12 -0
  95. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/DoValidateAsync/Lo${NAME}.AfterDoValidateAsync.bl.js +57 -0
  96. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/DoValidateAsync/Lo${NAME}.BeforeDoValidateAsync.bl.js +56 -0
  97. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/LoadAsync/Lo${NAME}.AfterLoadAsync.bl.js +57 -0
  98. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/LoadAsync/Lo${NAME}.BeforeLoadAsync.bl.js +56 -0
  99. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/SaveAsync/Lo${NAME}.AfterSaveAsync.bl.js +57 -0
  100. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/SaveAsync/Lo${NAME}.BeforeSaveAsync.bl.js +56 -0
  101. package/templates/contractTemplates/LO_ListObject/snippets/ListItemSimplePropertiesSimplepropertySnipp.xml +1 -0
  102. package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/LookupObject.md +97 -0
  103. package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/Lu${NAME}.lookupobject.xml +12 -0
  104. package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/Mv2/LoadAsync/Lu${NAME}.AfterLoadAsync.bl.js +57 -0
  105. package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/Mv2/LoadAsync/Lu${NAME}.BeforeLoadAsync.bl.js +56 -0
  106. package/templates/contractTemplates/LU_LookupObject/snippets/LookupObjectSimplePropertiesSimplePropertySnipp.xml +1 -0
  107. package/templates/contractTemplates/PL_PrintLayout/#Name#PDF/#Name#PDF.printlayoutv2.xml +4 -0
  108. package/templates/contractTemplates/PR_Process_&_UI/#ModuleName#_#Name#/#ModuleName#_#Name#.userinterface.xml +4 -0
  109. package/templates/contractTemplates/PR_Process_&_UI/#ModuleName#_#Name#/#ModuleName#_#Name#Process.processflow.xml +12 -0
  110. package/templates/contractTemplates/PR_Process_&_UI/Process.md +790 -0
  111. package/templates/contractTemplates/PR_Process_&_UI/UserInterface.md +1545 -0
  112. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionConfirmSnipp.xml +6 -0
  113. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionCreateSnipp.xml +7 -0
  114. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionDecisionSnipp.xml +5 -0
  115. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionEndSnipp.xml +5 -0
  116. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionLoadSnipp.xml +7 -0
  117. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionLogicSnipp.xml +7 -0
  118. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionMasterDetailSnipp.xml +24 -0
  119. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionNavigationSnipp.xml +8 -0
  120. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionPrintSnipp.xml +6 -0
  121. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionPrintV2Snipp.xml +6 -0
  122. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionProcessSnipp.xml +9 -0
  123. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionValidationSnipp.xml +6 -0
  124. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionViewSnipp.xml +6 -0
  125. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessEntryEntryActionsActionCreateSnipp.xml +6 -0
  126. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessEntryEntryActionsActionLoadSnipp.xml +6 -0
  127. package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessEntryEntryActionsActionLogicSnipp.xml +6 -0
  128. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Attachment/AttachmentFolderInfoSectionSnipp.xml +6 -0
  129. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Attachment/AttachmentFolderSnipp.xml +24 -0
  130. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Banner/BannerFilterSnipp.xml +19 -0
  131. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Banner/Banner_WithFilterSnipp.xml +25 -0
  132. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Banner/Banner_WithoutFilterSnipp.xml +6 -0
  133. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BindingList/BindingsList_DecisionsSnipp.xml +9 -0
  134. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BindingList/BindingsList_GroupsSnipp.xml +11 -0
  135. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BindingList/BindingsList_ResultsSnipp.xml +13 -0
  136. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlEventsSnipp.xml +6 -0
  137. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingAddItemSnipp.xml +1 -0
  138. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingCategoriesSnipp.xml +1 -0
  139. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingShowCategorySnipp.xml +1 -0
  140. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyDataSourcesSnipp.xml +3 -0
  141. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingButtonSnipp.xml +1 -0
  142. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingComboSnipp.xml +1 -0
  143. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDateSnipp.xml +1 -0
  144. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDecimalSnipp.xml +1 -0
  145. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDynamicSnipp.xml +1 -0
  146. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingImageSnipp.xml +1 -0
  147. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingStepperSnipp.xml +1 -0
  148. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingStepper_CorrelationIdSnipp.xml +1 -0
  149. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingTextSnipp.xml +1 -0
  150. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsResourceImageSnipp.xml +1 -0
  151. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsResourceLabelSnipp.xml +1 -0
  152. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsContextMenuSnipp.xml +13 -0
  153. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlSearchAttributesSnipp.xml +3 -0
  154. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlSnipp.xml +22 -0
  155. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/MultiSelectionBreadCrumbControlSnipp.xml +23 -0
  156. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlEventsSnipp.xml +11 -0
  157. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingDateSnipp.xml +1 -0
  158. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingDecimalSnipp.xml +1 -0
  159. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingImageSnipp.xml +1 -0
  160. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingLabelSnipp.xml +1 -0
  161. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingTextSnipp.xml +1 -0
  162. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlSettingsSnipp.xml +1 -0
  163. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlSnipp.xml +8 -0
  164. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/CheckBox/CheckBoxEventsSnipp.xml +3 -0
  165. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/CheckBox/CheckBoxSnipp.xml +6 -0
  166. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Cockpit/CockpitSectionsSnipp.xml +7 -0
  167. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/DataImportWizard/DataImportWizardSnipp.xml +12 -0
  168. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/DatePicker/DatePickerFieldSnipp.xml +6 -0
  169. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/EmbededList/EmbeddedListSnipp.xml +8 -0
  170. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/EnhanceDecisionList/EnhancedDecisionListSnipp.xml +52 -0
  171. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/FastEntry/FastDataEntryGridSnipp.xml +69 -0
  172. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GoogleMaps/GoogleMapDetailsSnipp.xml +20 -0
  173. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GoogleMaps/GoogleMapSnipp.xml +7 -0
  174. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupElement/GroupElementSnipp.xml +5 -0
  175. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedButtonList/GroupedButtonListEventsSnipp.xml +5 -0
  176. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedButtonList/GroupedButtonListFooterSnipp.xml +8 -0
  177. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedButtonList/GroupedButtonListSnipp.xml +8 -0
  178. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/GroupedListEventsSnipp.xml +7 -0
  179. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/GroupedListSnipp.xml +5 -0
  180. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/MultiSelectionGroupedListEventsSnipp.xml +7 -0
  181. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/MultiSelectionGroupedListSnipp.xml +6 -0
  182. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ImageButton/ImageButtonSnipp.xml +10 -0
  183. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ImageSelector/ImageSelectorSnipp.xml +16 -0
  184. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/InputArea/InputAreaMultiLineSnipp.xml +6 -0
  185. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/InputArea/InputAreaSnipp.xml +6 -0
  186. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ItemListLayout/ItemListLayout_ComplexSnipp.xml +13 -0
  187. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ItemListLayout/ItemListLayout_GridSnipp.xml +10 -0
  188. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ItemListLayout/ItemListLayout_TwoRowsSnipp.xml +8 -0
  189. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/LinkBar/LinkBarSnipp.xml +12 -0
  190. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Lookup/LookupEventSnipp.xml +3 -0
  191. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Lookup/LookupSnipp.xml +6 -0
  192. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaControl/MediaControlSnipp.xml +7 -0
  193. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingDescriptionSnipp.xml +1 -0
  194. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingIsTaggedSnipp.xml +1 -0
  195. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingMediaPathSnipp.xml +1 -0
  196. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingTypeSnipp.xml +1 -0
  197. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlEventsSnipp.xml +4 -0
  198. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlSnipp.xml +8 -0
  199. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Menu/LongPressMenuSnipp.xml +8 -0
  200. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Menu/MenuItemSnipp.xml +9 -0
  201. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerOneInputControlTwoButtonsMaxSnipp.xml +2 -0
  202. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerTwoInputControlsCombinedSnipp.xml +2 -0
  203. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerTwoInputControlsNoneSnipp.xml +2 -0
  204. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerTwoInputControlsOwnSnipp.xml +5 -0
  205. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/NoDataMessageSnipp.xml +9 -0
  206. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailGroupsSnipp.xml +43 -0
  207. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailListSnipp.xml +44 -0
  208. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailTabsSnipp.xml +61 -0
  209. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithExtendedDetailSnipp.xml +44 -0
  210. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_GroupedElementsSnipp.xml +33 -0
  211. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_ListSnipp.xml +41 -0
  212. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_TabSnipp.xml +39 -0
  213. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_WizardSnipp.xml +34 -0
  214. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SplitScreen/Page_SplitScreenSnipp.xml +27 -0
  215. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SelectionBox/SelectionBoxBindingSnipp.xml +13 -0
  216. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SelectionBox/SelectionBoxEventsSnipp.xml +4 -0
  217. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SelectionBox/SelectionBoxToggleSnipp.xml +13 -0
  218. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingEditableParametersSnipp.xml +3 -0
  219. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingEditableSnipp.xml +1 -0
  220. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingVisibleParametersSnipp.xml +3 -0
  221. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingVisibleSnipp.xml +1 -0
  222. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlEditabilityRolesSnipp.xml +3 -0
  223. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlSnipp.xml +6 -0
  224. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlVisibilityRolesSnipp.xml +3 -0
  225. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Stepper/StepperSnipp.xml +7 -0
  226. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/TextBar/TextBarSnipp.xml +7 -0
  227. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ThemeSelection/ThemeSelectionSnipp.xml +5 -0
  228. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/TimePicker/TimePickerFieldSnipp.xml +6 -0
  229. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/UserWelcomeSnipp.xml +24 -0
  230. package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/VisitDetailsSnipp.xml +21 -0
  231. package/templates/contractTemplates/TB_Table/#Name#_T.temptable.xml +11 -0
  232. package/templates/contractTemplates/TB_Table/snippets/#Name#.dbtable.xml +10 -0
  233. package/templates/contractTemplates/TB_Table/snippets/dbtable/DBTablecolumnscolumnSnipp.xml +1 -0
  234. package/templates/contractTemplates/TB_Table/snippets/dbtable/DBTableindexesindexSnipp.xml +3 -0
  235. package/templates/contractTemplates/TB_Table/snippets/temptable/TempTableColumnsColumnIsDeletedSnipp.xml +1 -0
  236. package/templates/contractTemplates/TB_Table/snippets/temptable/TempTableColumnsColumnSnipp.xml +1 -0
  237. package/templates/contractTemplates/TB_Table/snippets/temptable/TempTableindexesindexSnipp.xml +3 -0
  238. package/templates/contractTemplates/UI_Plugins/#Name#UiPluginV2.uipluginv2.xml +16 -0
  239. package/templates/templateDefinitions.json +167 -0
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function afterLoadAsync
29
+ * @this Lo${NAME}
30
+ * @kind listobject
31
+ * @async
32
+ * @namespace ${NAMESPACE}
33
+ * @param {Object} result
34
+ * @param {Object} context
35
+ * @returns promise
36
+ */
37
+ function afterLoadAsync(result, context){
38
+ var me = this;
39
+ ///////////////////////////////////////////////////////////////////////////////////////////////
40
+ // //
41
+ // Add your customizing javaScript code below. //
42
+ // //
43
+ ///////////////////////////////////////////////////////////////////////////////////////////////
44
+
45
+
46
+ var promise=when.resolve(result);
47
+
48
+
49
+
50
+ ///////////////////////////////////////////////////////////////////////////////////////////////
51
+ // //
52
+ // Add your customizing javaScript code above. //
53
+ // //
54
+ ///////////////////////////////////////////////////////////////////////////////////////////////
55
+
56
+ return promise;
57
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function beforeLoadAsync
29
+ * @this Lo${NAME}
30
+ * @kind listobject
31
+ * @async
32
+ * @namespace ${NAMESPACE}
33
+ * @param {Object} context
34
+ * @returns promise
35
+ */
36
+ function beforeLoadAsync(context){
37
+ var me = this;
38
+ ///////////////////////////////////////////////////////////////////////////////////////////////
39
+ // //
40
+ // Add your customizing javaScript code below. //
41
+ // //
42
+ ///////////////////////////////////////////////////////////////////////////////////////////////
43
+
44
+
45
+ var promise=when.resolve(context);
46
+
47
+
48
+
49
+ ///////////////////////////////////////////////////////////////////////////////////////////////
50
+ // //
51
+ // Add your customizing javaScript code above. //
52
+ // //
53
+ ///////////////////////////////////////////////////////////////////////////////////////////////
54
+
55
+ return promise;
56
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function afterSaveAsync
29
+ * @this Lo${NAME}
30
+ * @kind listobject
31
+ * @async
32
+ * @namespace ${NAMESPACE}
33
+ * @param {Object} result
34
+ * @param {Object} context
35
+ * @returns promise
36
+ */
37
+ function afterSaveAsync(result, context){
38
+ var me = this;
39
+ ///////////////////////////////////////////////////////////////////////////////////////////////
40
+ // //
41
+ // Add your customizing javaScript code below. //
42
+ // //
43
+ ///////////////////////////////////////////////////////////////////////////////////////////////
44
+
45
+
46
+ var promise=when.resolve(result);
47
+
48
+
49
+
50
+ ///////////////////////////////////////////////////////////////////////////////////////////////
51
+ // //
52
+ // Add your customizing javaScript code above. //
53
+ // //
54
+ ///////////////////////////////////////////////////////////////////////////////////////////////
55
+
56
+ return promise;
57
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function beforeSaveAsync
29
+ * @this Lo${NAME}
30
+ * @kind listobject
31
+ * @async
32
+ * @namespace ${NAMESPACE}
33
+ * @param {Object} context
34
+ * @returns promise
35
+ */
36
+ function beforeSaveAsync(context){
37
+ var me = this;
38
+ ///////////////////////////////////////////////////////////////////////////////////////////////
39
+ // //
40
+ // Add your customizing javaScript code below. //
41
+ // //
42
+ ///////////////////////////////////////////////////////////////////////////////////////////////
43
+
44
+
45
+ var promise=when.resolve(context);
46
+
47
+
48
+
49
+ ///////////////////////////////////////////////////////////////////////////////////////////////
50
+ // //
51
+ // Add your customizing javaScript code above. //
52
+ // //
53
+ ///////////////////////////////////////////////////////////////////////////////////////////////
54
+
55
+ return promise;
56
+ }
@@ -0,0 +1 @@
1
+ <SimpleProperty name="${#Name#}" type="${#Domain#}" dataSourceProperty="${#DataSourceProperty#}" />
@@ -0,0 +1,97 @@
1
+ # LookupObject (LU) Contract Definition
2
+
3
+ ## Description
4
+ The Lookup Contract specifies the Lookups used in Business Objects of the Mobility Application.
5
+ A Lookup consists of Simple Properties and Methods.
6
+
7
+ ## Contract Defintion
8
+ Hierarchical Definition of the Nodes, Attribtues and possible Subnodes
9
+
10
+ ### Root Node (ListItem Node)
11
+ ### Example
12
+ ```
13
+ <LookupObject name="LuCustomerManagementInfo" generateLoadMethod="true" >
14
+ <DataSource name="DsLuProductInformation" />
15
+ <SimpleProperties/>
16
+ <Methods />
17
+ </LookupObject>
18
+ ```
19
+
20
+ ### Properties
21
+ | name | Type | optional | Annotation | Validations/Checks|
22
+ |:---------------|:------|:---------|:----------------------------------------|:------------------|
23
+ |simpleEditorOnly|Boolean|yes (default='false')| Not used anymore. Was used in Web based modeler: If this attribute is set to true, the modeler prevents opening in tree editor. This might be necessary as an early adaptor of the modeler to use features of the framework before Editor support is available| none|
24
+ |name|String|no|Defines the name of the Lookup Object as well as the name of the JS File generated.|Name needs to be unique for all Lookups in the Model|
25
+ |generateLoadMethod|Boolean|yes (default='true')|Specifies if a load method should be generated for this Lookup. If Property is 'False', the customizer|designer has to care for the implementation on his own (in the beforeLoadAsync or afterLoadAsync Method)||
26
+
27
+ ### Sub nodes:
28
+ * DataSource references to the DataSource that is specified for the Lookup
29
+ * SimpleProperties contains all Simple Properties of the Lookup
30
+ * Methods contains the methods of the Lookup
31
+
32
+ #### DataSource Node
33
+ Each Lookup Contract has exactly one DataSource Node. It defines the relation to the Data Source. The only Attribute of the Data Source Node is the Name of the Data Source.
34
+
35
+ #### Example
36
+ ```
37
+ <DataSource name="DsLuMyBpaTEST" />
38
+ ```
39
+
40
+ #### Properties
41
+ | name | Type | optional | Annotation | Validations/Checks|
42
+ |:---------------|:------|:---------|:----------------------------------------|:------------------|
43
+ |name|String|no|Defines the name of the DataSource|DataSource with this name must exist in the model|
44
+
45
+ #### Sub Nodes:
46
+ * no Sub Nodes are available
47
+
48
+ #### SimpleProperties Node
49
+ SimpleProperties contains a list of Simple Properties (1..N) of the Lookup. The SimpleProperties Node does not have any attributes, but it has a list of SimpleProperty SubNodes.
50
+
51
+ #### Example
52
+ ```
53
+ <SimpleProperties>
54
+ <SimpleProperty id="true" name="pKey" type="DomPKey" dataSourceProperty="pKey" />
55
+ <SimpleProperty name="isManaged" type="DomBool" dataSourceProperty="isManaged" />
56
+ <SimpleProperty name="isSubstituted" type="DomBool" dataSourceProperty="isSubstituted" />
57
+ <SimpleProperty name="subMainUsrMainPKey" type="DomPKey" dataSourceProperty="subMainUsrMainPKey" />
58
+ <SimpleProperty name="subMainUsrName" type="DomString" dataSourceProperty="subMainUsrName" />
59
+ <SimpleProperty name="subValidFrom" type="DomDate" dataSourceProperty="subValidFrom" />
60
+ <SimpleProperty name="subValidThru" type="DomDate" dataSourceProperty="subValidThru" />
61
+ </SimpleProperties>
62
+ ```
63
+
64
+ #### Properties
65
+ | name | Type | optional | Annotation | Validations/Checks|
66
+ |:---------------|:------|:---------|:----------------------------------------|:------------------|
67
+ |name|String|no|Defines the name of the Simple Property|Must be unique in the List of simple Properties, (Methods and Validations?!?)|
68
+ |type|Name of a Domain or JavaScript Type (Boolean, Sting, Object,...)|no|Defines the Type of the Simple Property. Important for Validations and Constistency Checks.|Must be in the List of Domain Names or in a list of reserved JS Types.|
69
+ |id|Boolean|yes|Maximum one simple property has ID=True|Maximum one simple property has ID=True|
70
+ |dataSourceProperty|String (List of DataSource Attributes of the specified DataSource)|?|In current Contracts many Simple Properties are defined without valid dataSourceProperties (Attribute exists but content not valid)|DataSourceProperty must exist in the List of Attributes of the DataSource. Types must match|
71
+ |nullable|Boolean|yes|ability to specify empty numbers|if true, must mach related column in dbTable contract|
72
+
73
+ #### Sub Nodes:
74
+ * no Sub Nodes are available
75
+
76
+ #### Methods Node
77
+ The Methods Node has no attributes but a list of Method Sub Nodes (0..N)
78
+
79
+ #### Example
80
+ ```
81
+ <Methods>
82
+ <Method name="afterLoadAsync" />
83
+ <Method name="beforeLoadAsync" />
84
+ <Method name="loadAsync" />
85
+ </Methods>
86
+ ```
87
+
88
+ #### Properties
89
+ | name | Type | optional | Annotation | Validations/Checks|
90
+ |:---------------|:------|:---------|:----------------------------------------|:------------------|
91
+ |name|String|no|Defines the name of the Method|A Method with this name must exist in the model and this method has a relation to this Lookup|
92
+
93
+
94
+ #### Sub Nodes:
95
+ * no Sub Nodes are available
96
+
97
+
@@ -0,0 +1,12 @@
1
+ <LookupObject name="Lu${NAME}" generateLoadMethod="true" schemaVersion="1.1">
2
+ <!--In case lookup does not require datasource, let name of datasource property empty-->
3
+ <DataSource name="${DATASOURCE_REFERENCE}" />
4
+ <SimpleProperties>
5
+ <!-- You can use LookupObjectSimplePropertiesSimplePropertySnipp.xml as template (workingFolder->templates->snippets->LU_LookupObject->snippets) for your case/-->
6
+ </SimpleProperties>
7
+ <Methods>
8
+ <Method name="afterLoadAsync" />
9
+ <Method name="beforeLoadAsync" />
10
+ <Method name="loadAsync" />
11
+ </Methods>
12
+ </LookupObject>
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function afterLoadAsync
29
+ * @this Lu${NAME}
30
+ * @kind lookupobject
31
+ * @async
32
+ * @namespace ${NAMESPACE}
33
+ * @param {Object} result
34
+ * @param {Object} context
35
+ * @returns promise
36
+ */
37
+ function afterLoadAsync(result, context){
38
+ var me = this;
39
+ ///////////////////////////////////////////////////////////////////////////////////////////////
40
+ // //
41
+ // Add your customizing javaScript code below. //
42
+ // //
43
+ ///////////////////////////////////////////////////////////////////////////////////////////////
44
+
45
+
46
+ var promise=when.resolve(result);
47
+
48
+
49
+
50
+ ///////////////////////////////////////////////////////////////////////////////////////////////
51
+ // //
52
+ // Add your customizing javaScript code above. //
53
+ // //
54
+ ///////////////////////////////////////////////////////////////////////////////////////////////
55
+
56
+ return promise;
57
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function beforeLoadAsync
29
+ * @this Lu${NAME}
30
+ * @kind lookupobject
31
+ * @async
32
+ * @namespace ${NAMESPACE}
33
+ * @param {Object} context
34
+ * @returns promise
35
+ */
36
+ function beforeLoadAsync(context){
37
+ var me = this;
38
+ ///////////////////////////////////////////////////////////////////////////////////////////////
39
+ // //
40
+ // Add your customizing javaScript code below. //
41
+ // //
42
+ ///////////////////////////////////////////////////////////////////////////////////////////////
43
+
44
+
45
+ var promise=when.resolve(context);
46
+
47
+
48
+
49
+ ///////////////////////////////////////////////////////////////////////////////////////////////
50
+ // //
51
+ // Add your customizing javaScript code above. //
52
+ // //
53
+ ///////////////////////////////////////////////////////////////////////////////////////////////
54
+
55
+ return promise;
56
+ }
@@ -0,0 +1 @@
1
+ <SimpleProperty name="${#Name#}" type="${#Domain#}" dataSourceProperty="${#DataSourceProperty#}" />
@@ -0,0 +1,4 @@
1
+ <PrintLayout name="${#Name#}PDF" xmlns="https://www.salesforce.com/cgcloud/xsds" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Declarations></Declarations>
3
+ <ReportLayout></ReportLayout>
4
+ </PrintLayout>
@@ -0,0 +1,4 @@
1
+ <UIDescription name="${#ModuleName#}::${#Name#}UI" schemaVersion="0.0.0.5">
2
+ <Page pagePattern="" onBackDiscard="">
3
+ </Page>
4
+ </UIDescription>
@@ -0,0 +1,12 @@
1
+ <Process name="${#ModuleName#}::${#Name#}Process" defaultAction="" schemaVersion="0.0.0.5">
2
+ <Entry>
3
+ <ProcessContext>
4
+ <Declarations></Declarations>
5
+ <Parameters></Parameters>
6
+ </ProcessContext>
7
+ <EntryActions></EntryActions>
8
+ </Entry>
9
+ <Body>
10
+ <Actions></Actions>
11
+ </Body>
12
+ </Process>