@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.
- package/LICENSE.md +37 -0
- package/README.md +756 -0
- package/lib/commands/modeler/workspace/add.js +1 -0
- package/lib/commands/modeler/workspace/build.js +1 -0
- package/lib/commands/modeler/workspace/cleanup.js +1 -0
- package/lib/commands/modeler/workspace/create.js +1 -0
- package/lib/commands/modeler/workspace/package.js +1 -0
- package/lib/commands/modeler/workspace/refreshLocale.js +1 -0
- package/lib/commands/modeler/workspace/server/start.js +1 -0
- package/lib/commands/modeler/workspace/upgrade.js +1 -0
- package/lib/commands/modeler/workspace/utils/base64encode.js +1 -0
- package/lib/commands/modeler/workspace/utils/generateManifest.js +1 -0
- package/lib/commands/modeler/workspace/utils/migrateContracts.js +1 -0
- package/lib/commands/modeler/workspace/validate.js +1 -0
- package/lib/constants.js +1 -0
- package/lib/hooks/init/updateCheck.js +1 -0
- package/lib/model/buildStatus.js +1 -0
- package/lib/model/workspace.js +1 -0
- package/lib/model/workspaceCommand.js +1 -0
- package/lib/shared/commandBuilder.js +1 -0
- package/lib/shared/commandExecutor.js +1 -0
- package/lib/shared/commandOutput.js +1 -0
- package/lib/types/config.js +1 -0
- package/lib/types/errors.js +1 -0
- package/lib/types/messages.js +1 -0
- package/lib/types/package.js +1 -0
- package/lib/types/results.js +1 -0
- package/lib/utils/componentHelper.js +1 -0
- package/lib/utils/errorHelper.js +1 -0
- package/lib/utils/fsHelper.js +1 -0
- package/lib/utils/generateManifestHelper.js +1 -0
- package/lib/utils/messageHelper.js +1 -0
- package/lib/utils/packageHelper.js +1 -0
- package/lib/utils/serverHelper.js +1 -0
- package/lib/utils/templateEngine.js +1 -0
- package/lib/utils/templateHelper.js +1 -0
- package/lib/utils/updateChecker.js +1 -0
- package/lib/utils/validationHelper.js +1 -0
- package/messages/modeler-workspace-add.md +45 -0
- package/messages/modeler-workspace-build.md +29 -0
- package/messages/modeler-workspace-cleanup.md +17 -0
- package/messages/modeler-workspace-create.md +21 -0
- package/messages/modeler-workspace-package.md +21 -0
- package/messages/modeler-workspace-refresh-locale.md +27 -0
- package/messages/modeler-workspace-server-start.md +37 -0
- package/messages/modeler-workspace-upgrade.md +21 -0
- package/messages/modeler-workspace-utils-base64encode.md +25 -0
- package/messages/modeler-workspace-utils-generateManifest.md +15 -0
- package/messages/modeler-workspace-utils-migrateContracts.md +23 -0
- package/messages/modeler-workspace-validate.md +29 -0
- package/messages/modeler-workspace.md +19 -0
- package/oclif.manifest.json +429 -0
- package/package.json +108 -0
- package/templates/.gitignore.tmp +4 -0
- package/templates/README.md.tmp +77 -0
- package/templates/contractTemplates/#ModuleName#/BO/README.md +1 -0
- package/templates/contractTemplates/#ModuleName#/DS/README.md +1 -0
- package/templates/contractTemplates/#ModuleName#/PL/README.md +1 -0
- package/templates/contractTemplates/#ModuleName#/PR/README.md +1 -0
- package/templates/contractTemplates/#ModuleName#/TB/README.md +1 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Bo${NAME}.businessobject.xml +22 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/CreateAsync/Bo${NAME}.AfterCreateAsync.bl.js +54 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/CreateAsync/Bo${NAME}.BeforeCreateAsync.bl.js +56 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/DoValidateAsync/Bo${NAME}.AfterDoValidateAsync.bl.js +57 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/DoValidateAsync/Bo${NAME}.BeforeDoValidateAsync.bl.js +56 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/Initialize/Bo${NAME}.AfterInitialize.bl.js +54 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/Initialize/Bo${NAME}.BeforeInitialize.bl.js +54 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/LoadAsync/Bo${NAME}.AfterLoadAsync.bl.js +57 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/LoadAsync/Bo${NAME}.BeforeLoadAsync.bl.js +56 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/SaveAsync/Bo${NAME}.AfterSaveAsync.bl.js +57 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/Bo${NAME}/Mv2/SaveAsync/Bo${NAME}.BeforeSaveAsync.bl.js +56 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/BusinessObject.md +186 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectListObjectsListObjectEventsSnipp.xml +3 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectListObjectsListObjectSnipp.xml +1 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectNestedObjectsNestedObjectSnipp.xml +1 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectObjectLookupsObjectLookupEventsSnipp.xml +3 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectObjectLookupsObjectLookupSnipp.xml +1 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectSimplePropertiesSimplePropertyEventsSnipp.xml +3 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobject/snippets/BusinessObjectSimplePropertiesSimplePropertySnipp.xml +1 -0
- package/templates/contractTemplates/BO_BusinessObject/businessobjecthelper/snippets/BusinessObjectHelperSimplePropertiesSimplePropertySnipp.xml +1 -0
- package/templates/contractTemplates/BO_BusinessObject/validationmessages/ValidationMessage.md +38 -0
- package/templates/contractTemplates/BO_BusinessObject/validationmessages/snippets/ValidationMessagesValidationMessageSnipp.xml +1 -0
- package/templates/contractTemplates/DS_DataSource/DataSource.md +319 -0
- package/templates/contractTemplates/DS_DataSource/Ds${NAME}_sf.datasource.xml +11 -0
- package/templates/contractTemplates/DS_DataSource/snippets/DataSourceAttributesAttributeSnipp.xml +1 -0
- package/templates/contractTemplates/DS_DataSource/snippets/DataSourceAttributesDerivedAttributeSnipp.xml +1 -0
- package/templates/contractTemplates/DS_DataSource/snippets/DataSourceEntitiesEntityJoinSimpleJoinConditionAttributeSnipp.xml +1 -0
- package/templates/contractTemplates/DS_DataSource/snippets/DataSourceEntitiesEntityJoinSimpleJoinConditionLiteralSnipp.xml +1 -0
- package/templates/contractTemplates/DS_DataSource/snippets/DataSourceEntitiesEntitySnipp.xml +1 -0
- package/templates/contractTemplates/ExternalFiles/#Name#.externalfile.xml +6 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Li${NAME}.listitem.xml +5 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/ListItem.md +114 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/ListObject.md +354 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Lo${NAME}.listobject.xml +12 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/DoValidateAsync/Lo${NAME}.AfterDoValidateAsync.bl.js +57 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/DoValidateAsync/Lo${NAME}.BeforeDoValidateAsync.bl.js +56 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/LoadAsync/Lo${NAME}.AfterLoadAsync.bl.js +57 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/LoadAsync/Lo${NAME}.BeforeLoadAsync.bl.js +56 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/SaveAsync/Lo${NAME}.AfterSaveAsync.bl.js +57 -0
- package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Mv2/SaveAsync/Lo${NAME}.BeforeSaveAsync.bl.js +56 -0
- package/templates/contractTemplates/LO_ListObject/snippets/ListItemSimplePropertiesSimplepropertySnipp.xml +1 -0
- package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/LookupObject.md +97 -0
- package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/Lu${NAME}.lookupobject.xml +12 -0
- package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/Mv2/LoadAsync/Lu${NAME}.AfterLoadAsync.bl.js +57 -0
- package/templates/contractTemplates/LU_LookupObject/Lu${NAME}/Mv2/LoadAsync/Lu${NAME}.BeforeLoadAsync.bl.js +56 -0
- package/templates/contractTemplates/LU_LookupObject/snippets/LookupObjectSimplePropertiesSimplePropertySnipp.xml +1 -0
- package/templates/contractTemplates/PL_PrintLayout/#Name#PDF/#Name#PDF.printlayoutv2.xml +4 -0
- package/templates/contractTemplates/PR_Process_&_UI/#ModuleName#_#Name#/#ModuleName#_#Name#.userinterface.xml +4 -0
- package/templates/contractTemplates/PR_Process_&_UI/#ModuleName#_#Name#/#ModuleName#_#Name#Process.processflow.xml +12 -0
- package/templates/contractTemplates/PR_Process_&_UI/Process.md +790 -0
- package/templates/contractTemplates/PR_Process_&_UI/UserInterface.md +1545 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionConfirmSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionCreateSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionDecisionSnipp.xml +5 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionEndSnipp.xml +5 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionLoadSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionLogicSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionMasterDetailSnipp.xml +24 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionNavigationSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionPrintSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionPrintV2Snipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionProcessSnipp.xml +9 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionValidationSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessBodyActionsActionViewSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessEntryEntryActionsActionCreateSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessEntryEntryActionsActionLoadSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/Process/ProcessEntryEntryActionsActionLogicSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Attachment/AttachmentFolderInfoSectionSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Attachment/AttachmentFolderSnipp.xml +24 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Banner/BannerFilterSnipp.xml +19 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Banner/Banner_WithFilterSnipp.xml +25 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Banner/Banner_WithoutFilterSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BindingList/BindingsList_DecisionsSnipp.xml +9 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BindingList/BindingsList_GroupsSnipp.xml +11 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BindingList/BindingsList_ResultsSnipp.xml +13 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlEventsSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingAddItemSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingCategoriesSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingShowCategorySnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlHierarchyDataSourcesSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingButtonSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingComboSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDateSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDecimalSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDynamicSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingImageSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingStepperSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingStepper_CorrelationIdSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingTextSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsResourceImageSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsResourceLabelSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlItemsContextMenuSnipp.xml +13 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlSearchAttributesSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/BreadCrumbControlSnipp.xml +22 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/BreadCrumbControl/MultiSelectionBreadCrumbControlSnipp.xml +23 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlEventsSnipp.xml +11 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingDateSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingDecimalSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingImageSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingLabelSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlItemsBindingsBindingTextSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlSettingsSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Calendar/CalendarControlSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/CheckBox/CheckBoxEventsSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/CheckBox/CheckBoxSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Cockpit/CockpitSectionsSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/DataImportWizard/DataImportWizardSnipp.xml +12 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/DatePicker/DatePickerFieldSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/EmbededList/EmbeddedListSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/EnhanceDecisionList/EnhancedDecisionListSnipp.xml +52 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/FastEntry/FastDataEntryGridSnipp.xml +69 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GoogleMaps/GoogleMapDetailsSnipp.xml +20 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GoogleMaps/GoogleMapSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupElement/GroupElementSnipp.xml +5 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedButtonList/GroupedButtonListEventsSnipp.xml +5 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedButtonList/GroupedButtonListFooterSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedButtonList/GroupedButtonListSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/GroupedListEventsSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/GroupedListSnipp.xml +5 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/MultiSelectionGroupedListEventsSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/GroupedList/MultiSelectionGroupedListSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ImageButton/ImageButtonSnipp.xml +10 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ImageSelector/ImageSelectorSnipp.xml +16 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/InputArea/InputAreaMultiLineSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/InputArea/InputAreaSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ItemListLayout/ItemListLayout_ComplexSnipp.xml +13 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ItemListLayout/ItemListLayout_GridSnipp.xml +10 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ItemListLayout/ItemListLayout_TwoRowsSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/LinkBar/LinkBarSnipp.xml +12 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Lookup/LookupEventSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Lookup/LookupSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaControl/MediaControlSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingDescriptionSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingIsTaggedSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingMediaPathSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlBindingsBindingTypeSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlEventsSnipp.xml +4 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/MediaListControl/MediaListControlSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Menu/LongPressMenuSnipp.xml +8 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Menu/MenuItemSnipp.xml +9 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerOneInputControlTwoButtonsMaxSnipp.xml +2 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerTwoInputControlsCombinedSnipp.xml +2 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerTwoInputControlsNoneSnipp.xml +2 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Merger/MergerTwoInputControlsOwnSnipp.xml +5 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/NoDataMessageSnipp.xml +9 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailGroupsSnipp.xml +43 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailListSnipp.xml +44 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailTabsSnipp.xml +61 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithExtendedDetailSnipp.xml +44 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_GroupedElementsSnipp.xml +33 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_ListSnipp.xml +41 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_TabSnipp.xml +39 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_WizardSnipp.xml +34 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Page/SplitScreen/Page_SplitScreenSnipp.xml +27 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SelectionBox/SelectionBoxBindingSnipp.xml +13 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SelectionBox/SelectionBoxEventsSnipp.xml +4 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SelectionBox/SelectionBoxToggleSnipp.xml +13 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingEditableParametersSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingEditableSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingVisibleParametersSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlBindingsBindingVisibleSnipp.xml +1 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlEditabilityRolesSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/SignatureControl/SignatureControlVisibilityRolesSnipp.xml +3 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/Stepper/StepperSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/TextBar/TextBarSnipp.xml +7 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/ThemeSelection/ThemeSelectionSnipp.xml +5 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/TimePicker/TimePickerFieldSnipp.xml +6 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/UserWelcomeSnipp.xml +24 -0
- package/templates/contractTemplates/PR_Process_&_UI/snippets/UI/VisitDetailsSnipp.xml +21 -0
- package/templates/contractTemplates/TB_Table/#Name#_T.temptable.xml +11 -0
- package/templates/contractTemplates/TB_Table/snippets/#Name#.dbtable.xml +10 -0
- package/templates/contractTemplates/TB_Table/snippets/dbtable/DBTablecolumnscolumnSnipp.xml +1 -0
- package/templates/contractTemplates/TB_Table/snippets/dbtable/DBTableindexesindexSnipp.xml +3 -0
- package/templates/contractTemplates/TB_Table/snippets/temptable/TempTableColumnsColumnIsDeletedSnipp.xml +1 -0
- package/templates/contractTemplates/TB_Table/snippets/temptable/TempTableColumnsColumnSnipp.xml +1 -0
- package/templates/contractTemplates/TB_Table/snippets/temptable/TempTableindexesindexSnipp.xml +3 -0
- package/templates/contractTemplates/UI_Plugins/#Name#UiPluginV2.uipluginv2.xml +16 -0
- package/templates/templateDefinitions.json +167 -0
package/templates/contractTemplates/DS_DataSource/snippets/DataSourceAttributesAttributeSnipp.xml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<Attribute name="${#name#}" table="${#table#}" column="${#column#}" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<DerivedAttribute name="${#name#}" value="${#value#}" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<Condition leftSideValue="${#leftSideValue#}" comparator="${#comparator#}" rightSideType="Attribute" rightSideValue="${#rightSideValue#}" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<Condition leftSideValue="${#leftSideValue#}" comparator="${#comparator#}" rightSideType="Literal" rightSideValue="${#rightSideValue#}" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<Entity name="${#name#}" alias="" />
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# ListItem (LI) Contract Definition
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
Hierarchical Definition of the Nodes, Attributes and possible Subnodes.
|
|
5
|
+
|
|
6
|
+
### Root Node (ListItem Node)
|
|
7
|
+
### Example
|
|
8
|
+
```
|
|
9
|
+
<ListItem name="LiMyBpaTEST">
|
|
10
|
+
<SimpleProperties />
|
|
11
|
+
<NestedListObjects />
|
|
12
|
+
</ListItem>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
17
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
18
|
+
|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|
|
|
19
|
+
|name|String|no|Defines the name of the List Item as well as the name of the JS File generated. |Name needs to be unique for all LIs in the Model|
|
|
20
|
+
|
|
21
|
+
### Sub nodes:
|
|
22
|
+
* SimpleProperties contains all Simple Properties of the List Object
|
|
23
|
+
* NestedListObjects contains all nested ListObjects of the List Object
|
|
24
|
+
|
|
25
|
+
#### SimpleProperties Node
|
|
26
|
+
SimpleProperties contains a list of Simple Properties (1..N) of the List Item. The SimpleProperties Node does not have any attributes, but it has a list of SimpleProperty SubNodes.
|
|
27
|
+
|
|
28
|
+
#### Example
|
|
29
|
+
```
|
|
30
|
+
<SimpleProperties>
|
|
31
|
+
<SimpleProperty id="true" name="pKey" type="DomPKey" dataSourceProperty="pKey" />
|
|
32
|
+
<SimpleProperty name="name" type="DomBpaName" dataSourceProperty="name" />
|
|
33
|
+
<SimpleProperty name="customerId" type="DomId" dataSourceProperty="customerId" />
|
|
34
|
+
<SimpleProperty name="mainAddress" type="DomText" dataSourceProperty="mainAddress" />
|
|
35
|
+
<SimpleProperty name="street" type="DomText" dataSourceProperty="street" />
|
|
36
|
+
<SimpleProperty name="zipCode" type="DomText" dataSourceProperty="zipCode" />
|
|
37
|
+
<SimpleProperty name="city" type="DomText" dataSourceProperty="city" />
|
|
38
|
+
<SimpleProperty name="countryState" type="DomText" dataSourceProperty="countryState" />
|
|
39
|
+
<SimpleProperty name="prio" type="DomText" dataSourceProperty="prio" />
|
|
40
|
+
<SimpleProperty name="classOfTrade" type="DomText" dataSourceProperty="classOfTrade" />
|
|
41
|
+
<SimpleProperty name="tradeOrg" type="DomText" dataSourceProperty="tradeOrg" />
|
|
42
|
+
<SimpleProperty name="tradeOrgPKey" type="DomText" dataSourceProperty="tradeOrgPKey" />
|
|
43
|
+
<SimpleProperty name="grouping1" type="DomText" dataSourceProperty="grouping1" />
|
|
44
|
+
<SimpleProperty name="substitutedUsrPKey" type="DomPKey" dataSourceProperty="substitutedUsrPKey" />
|
|
45
|
+
<SimpleProperty name="subValidFrom" type="DomDate" dataSourceProperty="subValidFrom" />
|
|
46
|
+
<SimpleProperty name="subValidThru" type="DomValidThru" dataSourceProperty="subValidThru" />
|
|
47
|
+
<SimpleProperty name="substituted" type="DomBool" dataSourceProperty="isSubstituted" />
|
|
48
|
+
<SimpleProperty name="managed" type="DomBool" dataSourceProperty="managed" />
|
|
49
|
+
</SimpleProperties>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### Properties
|
|
53
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
54
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
55
|
+
|name|String|no|Defines the name of the Simple Property|Must be unique in the List of simple Properties, (Methods and Validations?!?)|
|
|
56
|
+
|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.|
|
|
57
|
+
|id|Boolean|no|One of the Simple Properities has to be defined as id Property|Exactly one of the Simple Properties needs to be specified as ID Property|
|
|
58
|
+
|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|
|
|
59
|
+
|blobTable|String|yes|||
|
|
60
|
+
|blobPKeyField|String|yes|||
|
|
61
|
+
|nullable|Boolean|yes|ability to specify empty numbers|if true, must mach related column in dbTable contract|
|
|
62
|
+
|
|
63
|
+
Sub Nodes:
|
|
64
|
+
* no Sub Nodes are available
|
|
65
|
+
|
|
66
|
+
#### NestedListObjects Node
|
|
67
|
+
The NestedListObjects Node has no attributes but a list of ListObject Sub Nodes (0..N)
|
|
68
|
+
|
|
69
|
+
(warning) The NestedListObjects definition must match between the ListObject and its ListItem.
|
|
70
|
+
|
|
71
|
+
#### Example
|
|
72
|
+
```
|
|
73
|
+
<NestedListObjects>
|
|
74
|
+
<ListObject name="nestedLO" objectClass="LoNestedList" />
|
|
75
|
+
</NestedListObjects>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### Properties
|
|
79
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
80
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
81
|
+
|name|String|no|Defines the name of the reference to the nested ListObject|Name must be unique for this LO|
|
|
82
|
+
|objectClass|String|no|Defines the Type of the nested ListObject. Important for Validations and Constistency Checks.|Must be a valid LO of the model|
|
|
83
|
+
|
|
84
|
+
Sub Nodes:
|
|
85
|
+
* no Sub Nodes are available
|
|
86
|
+
|
|
87
|
+
## Example Contract List Item
|
|
88
|
+
```
|
|
89
|
+
<ListItem name="LiMyBpaTEST">
|
|
90
|
+
<SimpleProperties>
|
|
91
|
+
<SimpleProperty id="true" name="pKey" type="DomPKey" dataSourceProperty="pKey" />
|
|
92
|
+
<SimpleProperty name="name" type="DomBpaName" dataSourceProperty="name" />
|
|
93
|
+
<SimpleProperty name="customerId" type="DomId" dataSourceProperty="customerId" />
|
|
94
|
+
<SimpleProperty name="mainAddress" type="DomText" dataSourceProperty="mainAddress" />
|
|
95
|
+
<SimpleProperty name="street" type="DomText" dataSourceProperty="street" />
|
|
96
|
+
<SimpleProperty name="zipCode" type="DomText" dataSourceProperty="zipCode" />
|
|
97
|
+
<SimpleProperty name="city" type="DomText" dataSourceProperty="city" />
|
|
98
|
+
<SimpleProperty name="countryState" type="DomText" dataSourceProperty="countryState" />
|
|
99
|
+
<SimpleProperty name="prio" type="DomText" dataSourceProperty="prio" />
|
|
100
|
+
<SimpleProperty name="classOfTrade" type="DomText" dataSourceProperty="classOfTrade" />
|
|
101
|
+
<SimpleProperty name="tradeOrg" type="DomText" dataSourceProperty="tradeOrg" />
|
|
102
|
+
<SimpleProperty name="tradeOrgPKey" type="DomText" dataSourceProperty="tradeOrgPKey" />
|
|
103
|
+
<SimpleProperty name="grouping1" type="DomText" dataSourceProperty="grouping1" />
|
|
104
|
+
<SimpleProperty name="substitutedUsrPKey" type="DomPKey" dataSourceProperty="substitutedUsrPKey" />
|
|
105
|
+
<SimpleProperty name="subValidFrom" type="DomDate" dataSourceProperty="subValidFrom" />
|
|
106
|
+
<SimpleProperty name="subValidThru" type="DomValidThru" dataSourceProperty="subValidThru" />
|
|
107
|
+
<SimpleProperty name="substituted" type="DomBool" dataSourceProperty="isSubstituted" />
|
|
108
|
+
<SimpleProperty name="managed" type="DomBool" dataSourceProperty="managed" />
|
|
109
|
+
</SimpleProperties>
|
|
110
|
+
<NestedListObjects>
|
|
111
|
+
<ListObject name="nestedLO" objectClass="LoNestedList" />
|
|
112
|
+
</NestedListObjects>
|
|
113
|
+
</ListItem>
|
|
114
|
+
```
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
# ListObject (LO) Contract Definition
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
The List Object Contract specifies the List Objects used in the Mobility Application. A List Object consists of a referenced List Item (containing its Simple Properties), Methods and optionally Advanced Search Objects.
|
|
5
|
+
|
|
6
|
+
## List Object Contract Defintion
|
|
7
|
+
Hierarchical Definition of the Nodes, Attributes and possible Subnodes.
|
|
8
|
+
|
|
9
|
+
### Root Node (ListObject Node)
|
|
10
|
+
### Example
|
|
11
|
+
```
|
|
12
|
+
<ListObject name="LoMyBpaTEST" simpleEditorOnly="false" generateLoadMethod="false" filter="InDatabase" paging="true" initialLoadPageSize="500" reloadPageSize="100">
|
|
13
|
+
<DataSource name="DsLoMyBpaTEST" />
|
|
14
|
+
<Item objectClass="LiMyBpaTEST" />
|
|
15
|
+
<Methods />
|
|
16
|
+
<AdvancedSearchObjects />
|
|
17
|
+
<NestedListObjects />
|
|
18
|
+
</ListObject>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Properties
|
|
22
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
23
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
24
|
+
|simpleEditorOnly|Boolean|yes (default='false')| 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|
|
|
25
|
+
|name|String|no|Defines the name of the List Object as well as the name of the JS File generated.|Name needs to be unique for all LOs in the Model|
|
|
26
|
+
|generateLoadMethod|Boolean|yes (default='true')|Specifies if a load method should be generated for this LO. If Property is 'False', the customizer|designer has to care for the implementation on his own (in the beforeLoadAsync or afterLoadAsync Method)|
|
|
27
|
+
|filter|String|yes|||
|
|
28
|
+
|paging|Boolean|yes|Indicator to determine whether the ListObject data should be loaded using paging|Boolean value|
|
|
29
|
+
|initialLoadPageSize|Integer|yes (only applicable when paging='true')| Describing the number of records fetched from the SQLite db using the datasource for the first load operation when paging|Integer value|
|
|
30
|
+
|reloadPageSize|Integer|yes(only applicable when paging='true')|Describing the number of records fetched from the SQLite db for any further load operations when paging|Integer value|
|
|
31
|
+
|lightWeight|String|yes (default = 'false')||allowed values : [false, only, combined]. When lightWeight property is in [only,combined], then - property paging must be 'false' - Advanced search attributes are not allowed|
|
|
32
|
+
|
|
33
|
+
### Sub nodes:
|
|
34
|
+
* DataSource references to the DataSource that is specified for the List Object
|
|
35
|
+
* Item references the assiciated List Item containing the Simple Properties
|
|
36
|
+
* Methods contains the methods of the Business Object
|
|
37
|
+
* AdvancedSearchObjects contains specifications and profiles to support advanced search options in the application
|
|
38
|
+
* NestedListObjects contains references to other list objects including specifications about the reference conditions
|
|
39
|
+
|
|
40
|
+
#### DataSource Node
|
|
41
|
+
Each List Object 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.
|
|
42
|
+
|
|
43
|
+
#### Example
|
|
44
|
+
```
|
|
45
|
+
<DataSource name="DsLoMyBpaTEST" />
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
#### Properties
|
|
49
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
50
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
51
|
+
|name|String|no|Defines the name of the DataSource|DataSource with this name must exist in the model|
|
|
52
|
+
|
|
53
|
+
Sub Nodes:
|
|
54
|
+
* no Sub Nodes are available
|
|
55
|
+
|
|
56
|
+
#### Item Node
|
|
57
|
+
Each List Object 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.
|
|
58
|
+
|
|
59
|
+
#### Example
|
|
60
|
+
```
|
|
61
|
+
<Item objectClass="LiMyBpaTEST" />
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
#### Properties
|
|
65
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
66
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
67
|
+
|objectClass|String|no|Defines the name of the List Item|List Item with this name must exist in the model|
|
|
68
|
+
|
|
69
|
+
Sub Nodes:
|
|
70
|
+
* no Sub Nodes are available
|
|
71
|
+
|
|
72
|
+
#### Methods Node
|
|
73
|
+
The Methods Node has no attributes but a list of Method Sub Nodes (0..N)
|
|
74
|
+
|
|
75
|
+
#### Example
|
|
76
|
+
```
|
|
77
|
+
<Methods>
|
|
78
|
+
<Method name="beforeSaveAsync" />
|
|
79
|
+
<Method name="afterSaveAsync" />
|
|
80
|
+
<Method name="afterLoadAsync" />
|
|
81
|
+
<Method name="beforeLoadAsync" />
|
|
82
|
+
<Method name="afterDoValidateAsync" />
|
|
83
|
+
<Method name="beforeDoValidateAsync" />
|
|
84
|
+
<Method name="loadAsync" />
|
|
85
|
+
<Method name="saveAsync" />
|
|
86
|
+
</Methods>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
#### Properties
|
|
90
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
91
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
92
|
+
|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 LO|
|
|
93
|
+
|
|
94
|
+
Sub Nodes:
|
|
95
|
+
* no Sub Nodes are available
|
|
96
|
+
|
|
97
|
+
#### AdvancedSearchObjects Node
|
|
98
|
+
The AdvancedSearchObjects Node has no attributes but a list of AdvancedSearchObject Sub Nodes (0..N)
|
|
99
|
+
|
|
100
|
+
#### Example
|
|
101
|
+
```
|
|
102
|
+
<AdvancedSearchObjects>
|
|
103
|
+
<AdvancedSearchObject name="AsoCustomerOverview">
|
|
104
|
+
<AdvancedSearchAttributes profileId="default">
|
|
105
|
+
<AdvancedSearchAttribute label="Customer_Id" property="customerId" type="Text" />
|
|
106
|
+
<AdvancedSearchAttribute label="Customer_Name" property="name" type="Text" />
|
|
107
|
+
<AdvancedSearchAttribute label="Customer_Street" property="street" type="Text" />
|
|
108
|
+
<AdvancedSearchAttribute label="Customer_ZipCode" property="zipCode" type="Text" />
|
|
109
|
+
<AdvancedSearchAttribute label="Customer_City" property="city" type="Text" />
|
|
110
|
+
<AdvancedSearchAttribute label="Customer_State" property="countryState" type="Selection" toggleId="CountryState" editable="true" />
|
|
111
|
+
<AdvancedSearchAttribute label="Customer_Prio" property="prio" type="Selection" toggleId="ABC" editable="true" />
|
|
112
|
+
<AdvancedSearchAttribute label="Customer_ClassOfTrade" property="classOfTrade" type="Selection" toggleId="BpaClassOfTrade" editable="true" />
|
|
113
|
+
<AdvancedSearchAttribute label="Customer_Substitution" property="substituted" type="Boolean" />
|
|
114
|
+
<AdvancedSearchAttribute label="Customer_TradeOrg" property="tradeOrgPKey" lookupProcess="Customer::CustomerTradeOrgLookupProcess" lookupProcessReturnValue="pKey" lookupObject="LuCustomerTradeOrgAdvSearch" lookupObjectDisplayValue="name" type="Lookup" />
|
|
115
|
+
</AdvancedSearchAttributes>
|
|
116
|
+
</AdvancedSearchObject>
|
|
117
|
+
</AdvancedSearchObjects>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
#### Properties
|
|
121
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
122
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
123
|
+
|name|String|no|Defines the name of the Validation|A Method with this name must exist in the model and this method has a relation to this LO|
|
|
124
|
+
|
|
125
|
+
Sub Nodes:
|
|
126
|
+
* AdvancedSearchAttributes
|
|
127
|
+
|
|
128
|
+
#### AdvancedSearchAttributes Node
|
|
129
|
+
The AdvancedSearchAttributes Node has one attribute profileId and a list of AdvancedSearchAttribute Sub Nodes (1..N)
|
|
130
|
+
|
|
131
|
+
#### Example
|
|
132
|
+
```
|
|
133
|
+
<AdvancedSearchObject name="AsoCustomerOverview">
|
|
134
|
+
<AdvancedSearchAttributes profileId="default">
|
|
135
|
+
<AdvancedSearchAttribute label="Customer_Id" property="customerId" type="Text" />
|
|
136
|
+
</AdvancedSearchAttributes>
|
|
137
|
+
</AdvancedSearchObject>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
#### Properties
|
|
141
|
+
| name | Type | optional | Annotation | Validations/Checks|
|
|
142
|
+
|:---------------|:------|:---------|:----------------------------------------|:------------------|
|
|
143
|
+
|profileId|String|no|||
|
|
144
|
+
|
|
145
|
+
#### AdvancedSearchAttribute Node
|
|
146
|
+
The AdvancedSearchAttribute Node has multiple attributes describing the Advanced Search layout.
|
|
147
|
+
|
|
148
|
+
#### Example
|
|
149
|
+
```
|
|
150
|
+
<AdvancedSearchAttributes profileId="default">
|
|
151
|
+
<AdvancedSearchAttribute label="Customer_Id" property="customerId" type="Text" />
|
|
152
|
+
<AdvancedSearchAttribute label="Customer_Name" property="name" type="Text" />
|
|
153
|
+
<AdvancedSearchAttribute label="Customer_Street" property="street" type="Text" />
|
|
154
|
+
<AdvancedSearchAttribute label="Customer_ZipCode" property="zipCode" type="Text" />
|
|
155
|
+
<AdvancedSearchAttribute label="Customer_City" property="city" type="Text" />
|
|
156
|
+
<AdvancedSearchAttribute label="Customer_State" property="countryState" type="Selection" toggleId="CountryState" editable="true" />
|
|
157
|
+
<AdvancedSearchAttribute label="Customer_Prio" property="prio" type="Selection" toggleId="ABC" editable="true" />
|
|
158
|
+
<AdvancedSearchAttribute label="Customer_ClassOfTrade" property="classOfTrade" type="Selection" toggleId="BpaClassOfTrade" editable="true" />
|
|
159
|
+
<AdvancedSearchAttribute label="Customer_Substitution" property="substituted" type="Boolean" />
|
|
160
|
+
<AdvancedSearchAttribute label="Customer_TradeOrg" property="tradeOrgPKey" lookupProcess="Customer::CustomerTradeOrgLookupProcess" lookupProcessReturnValue="pKey" lookupObject="LuCustomerTradeOrgAdvSearch" lookupObjectDisplayValue="name" type="Lookup" />
|
|
161
|
+
</AdvancedSearchAttributes>
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
#### Properties
|
|
165
|
+
| name | Type | Annotation|
|
|
166
|
+
|:---------------|:------|:----------|
|
|
167
|
+
|name|String|no|Defines the name of the Validation|A Method with this name must exist in the model and this method has a relation to this LO|
|
|
168
|
+
|label|Any String|Identification of this element|
|
|
169
|
+
|property|Any SimpleProperty Name|In case of "in memory" search: *List attribute on which search is executed *In case of "in database" search *Name of the conditional parameter|
|
|
170
|
+
|type|Possible values: *Boolean, *Date, *Lookup, *Number, *Selection, *Text|Data type of the search property|
|
|
171
|
+
|defaultValue|Any String|Default value pre-displayed|
|
|
172
|
+
|defaultOperator|See Grid below*|Default operator depending on the value in type|
|
|
173
|
+
|toggleId|Any String|Toggle code used to determine possible selection values|
|
|
174
|
+
|dataSource|Any valid datasource from the model|The data source used to determine possible selection values|
|
|
175
|
+
|call|* ProcessContext::<Object>.<Method>, * ApplicationContext::<Object>.<Method>|BL Method executed to determine possible selection values|
|
|
176
|
+
|lookupProcess|Process name, e.g.DeliveryRecipient::LookupProcess|lookup process used to determine available values|
|
|
177
|
+
|lookupProcessReturnValue|Process return value, e.g. bpaMainPKey|return value of the specified lookup process|
|
|
178
|
+
|lookupObject|Lookup Object name, e.g. LuCustomer|lookup object used by advanced search attribute|
|
|
179
|
+
|lookupObjectDisplayValue|Lookup Object display value, e.g.name|display value for the lookup object in advanced search attribute|
|
|
180
|
+
|visible|Boolean|Indicates whether this search attribute is visible or not|
|
|
181
|
+
|editable|Boolean|Indicates whether this search attribute is editable or not|
|
|
182
|
+
|alwaysToday|Boolean|Indicates whether this date type attribute is fixed to the current date|
|
|
183
|
+
|dateOffset|Integer|The number of days to add to any given date set for this date type attribute.Negative numbers are subtracted from the date.|
|
|
184
|
+
|numberFormat|String|The number format to be used for a number type parameter|
|
|
185
|
+
|stepSize|Integer|The step size for the number type parameter|
|
|
186
|
+
|
|
187
|
+
#### Required and optional properties by parameter type
|
|
188
|
+
The following table lists the required and optional attributes depending on the type of the advanced search parameter.
|
|
189
|
+
|
|
190
|
+
|Property\Type|Boolean|Date|Lookup|Number|Selection|Text|
|
|
191
|
+
|:------------|:------|:---|:-----|:-----|:--------|:---|
|
|
192
|
+
|label|required|required|required|required|required|required|
|
|
193
|
+
|property|required|required|required|required|required|required|
|
|
194
|
+
|type|required|required|required|required|required|required|
|
|
195
|
+
|defaultValue|optional|optional|optional|optional|optional|optional|
|
|
196
|
+
|defaultOperator|optional|optional|optional|optional|optional|optional|
|
|
197
|
+
|toggleId|prohibited|prohibited|prohibited|prohibited|Group A: One required|prohibited|
|
|
198
|
+
|dataSource|prohibited|prohibited|prohibited|prohibited|Group A: One required|prohibited|
|
|
199
|
+
|call|prohibited|prohibited|prohibited|prohibited|Group A: One required|prohibited|
|
|
200
|
+
|lookupProcess|prohibited|prohibited|required|prohibited|prohibited|prohibited|
|
|
201
|
+
|lookupProcessReturnValue|prohibited|prohibited|required|prohibited|prohibited|prohibited|
|
|
202
|
+
|lookupObject|prohibited|prohibited|required|prohibited|prohibited|prohibited|
|
|
203
|
+
|lookupObjectDisplayValue|prohibited|prohibited|required|prohibited|prohibited|prohibited|
|
|
204
|
+
|Parameters/Input|prohibited|prohibited|optional|prohibited|prohibited|prohibited|
|
|
205
|
+
|visible|optional|optional|optional|optional|optional|optional|
|
|
206
|
+
|editable|optional|optional|optional|optional|optional|optional|
|
|
207
|
+
|alwaysToday|prohibited|optional|prohibited|prohibited|prohibited|prohibited|
|
|
208
|
+
|dateOffset|prohibited|optional|prohibited|prohibited|prohibited|prohibited|
|
|
209
|
+
|numberFormat|prohibited|prohibited|prohibited|optional|prohibited|prohibited|
|
|
210
|
+
|stepSize|prohibited|prohibited|prohibited|optional|prohibited|prohibited|
|
|
211
|
+
|
|
212
|
+
#### AdvancedSearchAttribute DefaultValue macros
|
|
213
|
+
The following makros can be used as default values where applicable:
|
|
214
|
+
|Macro|Meaning|
|
|
215
|
+
|:----|:------|
|
|
216
|
+
|#SalesOrg#|Sales organisation of currently logged in user|
|
|
217
|
+
|#Language#|Language of currently logged in user|
|
|
218
|
+
|#Client#|Client id of currently logged in user|
|
|
219
|
+
|#UserPKey#|PKey of currently logged in user|
|
|
220
|
+
|#Today#|Current date without time|
|
|
221
|
+
|#MaxDate#|System wide maximum date|
|
|
222
|
+
|#MinDate#|System wide minimum date|
|
|
223
|
+
|#Now#|Current date and time|
|
|
224
|
+
|
|
225
|
+
#### AdvancedSearchAttribute Comparators
|
|
226
|
+
|Search field type| Operator| Meaning|
|
|
227
|
+
|:----------------|:--------|:-------|
|
|
228
|
+
|Text|CT|Contains|
|
|
229
|
+
||CN|Contains not|
|
|
230
|
+
||EQ|Equals|
|
|
231
|
+
||NE|Not equals|
|
|
232
|
+
||LT|Smaller|
|
|
233
|
+
||GT|Greater|
|
|
234
|
+
|Number|EQ|Equals|
|
|
235
|
+
||NE|Not equals|
|
|
236
|
+
||LT|Smaller|
|
|
237
|
+
||GT|Greater|
|
|
238
|
+
|Date|EQ|Is|
|
|
239
|
+
||NE|Is not|
|
|
240
|
+
||LT|Before|
|
|
241
|
+
||GT|After|
|
|
242
|
+
|Selection|EQ|Is|
|
|
243
|
+
||NE|Is not|
|
|
244
|
+
|Lookup|EQ|Is|
|
|
245
|
+
||NE|Is not|
|
|
246
|
+
|
|
247
|
+
Sub Nodes:
|
|
248
|
+
* For Lookup Objects one Parameters Node can exist
|
|
249
|
+
|
|
250
|
+
#### Parameters
|
|
251
|
+
The Parameters element is applicable for Type Lookup It describes the parameters passed to a certain Process.
|
|
252
|
+
|
|
253
|
+
|Node/Atttribute Name|Type|Optional|Description/Annotation|Validations/Checks|
|
|
254
|
+
|:-------------------|:---|:-------|:---------------------|:-----------------|
|
|
255
|
+
|Parameters||no|Parameters node, multiplicity 1||
|
|
256
|
+
|Parameters.Input||no|Input node, multiplicity 1..N||
|
|
257
|
+
|Parameters.Input.@name||no|name of the input parameter|check for unique parameter name|
|
|
258
|
+
|Parameters.Input.@type||yes|type of the input parameter: <ul><li>applicable for unbound variables only ("Literal") <li>not used for all referenced variables from ProcessContext</ul> / ApplicationContext|check for valid type|
|
|
259
|
+
Parameters.Input.@value||no|reference to a ProcessContext / ApplicationContext / Event variable or Literal value|check for valid reference?|
|
|
260
|
+
|
|
261
|
+
#### Example
|
|
262
|
+
```
|
|
263
|
+
<Parameters>
|
|
264
|
+
<Input name="metaType" type="Literal" value="ContractPayment" />
|
|
265
|
+
</Parameters>
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
#### NestedListObjects Node
|
|
269
|
+
The NestedListObjects Node has no attributes but a list of ListObject Sub Nodes (0..N)
|
|
270
|
+
|
|
271
|
+
(warning) The NestedListObjects definition must match between the ListObject and its ListItem.
|
|
272
|
+
|
|
273
|
+
Representation in the Contract:
|
|
274
|
+
|
|
275
|
+
#### Example
|
|
276
|
+
```
|
|
277
|
+
<NestedListObjects>
|
|
278
|
+
<ListObject name="nestedLO" objectClass="LoNestedList" parentReferenceProperty="pKey" nestedReferenceProperty="refPKey">
|
|
279
|
+
<Events>
|
|
280
|
+
<Event name="listItemChanged" eventHandler="onNestedLiChanged" />
|
|
281
|
+
</Events>
|
|
282
|
+
</ListObject>
|
|
283
|
+
</NestedListObjects>
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
##### Properties of the ListObject Node:
|
|
287
|
+
|Attribute Name|Type|optional|Annotation|Validations/Checks|
|
|
288
|
+
|:-------------|:---|:-------|:---------|:-----------------|
|
|
289
|
+
|name|String|no|Defines the name of the reference to the nested ListObject|Name must be unique for this LO|
|
|
290
|
+
|objectClass|String|no|Defines the Type of the nested ListObject. Important for Validations and Constistency Checks.|Must be a valid LO of the model|
|
|
291
|
+
|parentReferenceProperty|String|no|This Property is used as input to load the nested ListObject|parentReferenceProperty is available as Simple Property of the ListObject / ListItem|
|
|
292
|
+
|nestedReferenceProperty|String|no|This Property is used to load the nested ListObject|nestedReferenceProperty is available as SimpleProperty of the nested ListObject/ ListItem|
|
|
293
|
+
|
|
294
|
+
##### Sub Nodes:
|
|
295
|
+
* Events Node
|
|
296
|
+
The Events node is optional and contains exactly one "Event" Subnode.
|
|
297
|
+
|
|
298
|
+
#### Example
|
|
299
|
+
```
|
|
300
|
+
<Events>
|
|
301
|
+
<Event name="listItemChanged" eventHandler="onNestedLiChanged" />
|
|
302
|
+
</Events>
|
|
303
|
+
```
|
|
304
|
+
##### Properties of a Event Node
|
|
305
|
+
|Name|Type|optional|Annotation|Validations/Checks|
|
|
306
|
+
|:---|:---|:-------|:---------|:-----------------|
|
|
307
|
+
|name|String|no|Fixed "listItemChanged" for nested ListObject Events|Event name must be unique for this|
|
|
308
|
+
|eventHandler|String|no|Defines the Method which should be called if the value of the simple property changes|Must be part of the defined Methods of this LO|
|
|
309
|
+
|
|
310
|
+
##### Sub Nodes:
|
|
311
|
+
* An Event Node has no further Subnodes
|
|
312
|
+
|
|
313
|
+
## Example Contract
|
|
314
|
+
### List Object
|
|
315
|
+
```
|
|
316
|
+
<ListObject name="LoMyBpaMED" simpleEditorOnly="false" generateLoadMethod="false" filter="InDatabase" paging="true">
|
|
317
|
+
<DataSource name="DsLoMyBpaMED" />
|
|
318
|
+
<Item objectClass="LiMyBpaMED" />
|
|
319
|
+
<Methods>
|
|
320
|
+
<Method name="beforeSaveAsync" />
|
|
321
|
+
<Method name="afterSaveAsync" />
|
|
322
|
+
<Method name="afterLoadAsync" />
|
|
323
|
+
<Method name="beforeLoadAsync" />
|
|
324
|
+
<Method name="afterDoValidateAsync" />
|
|
325
|
+
<Method name="beforeDoValidateAsync" />
|
|
326
|
+
<Method name="loadAsync" />
|
|
327
|
+
<Method name="saveAsync" />
|
|
328
|
+
<Method name="onNestedLiChanged" />
|
|
329
|
+
</Methods>
|
|
330
|
+
<AdvancedSearchObjects>
|
|
331
|
+
<AdvancedSearchObject name="AsoMyBpaMED">
|
|
332
|
+
<AdvancedSearchAttributes profileId="default">
|
|
333
|
+
<AdvancedSearchAttribute label="Customer_Id" property="customerId" type="Text" />
|
|
334
|
+
<AdvancedSearchAttribute label="Customer_Name" property="name" type="Text" />
|
|
335
|
+
<AdvancedSearchAttribute label="Customer_Street" property="street" type="Text" />
|
|
336
|
+
<AdvancedSearchAttribute label="Customer_ZipCode" property="zipCode" type="Text" />
|
|
337
|
+
<AdvancedSearchAttribute label="Customer_City" property="city" type="Text" />
|
|
338
|
+
<AdvancedSearchAttribute label="Customer_State" property="countryState" type="Selection" toggleId="CountryState" editable="true" />
|
|
339
|
+
<AdvancedSearchAttribute label="Customer_Prio" property="prio" type="Selection" toggleId="ABC" editable="true" />
|
|
340
|
+
<AdvancedSearchAttribute label="Customer_ClassOfTrade" property="classOfTrade" type="Selection" toggleId="BpaClassOfTrade" editable="true" />
|
|
341
|
+
<AdvancedSearchAttribute label="Customer_Substitution" property="substituted" type="Boolean" />
|
|
342
|
+
<AdvancedSearchAttribute label="Customer_TradeOrg" property="tradeOrgPKey" lookupProcess="Customer::CustomerTradeOrgLookupProcess" lookupProcessReturnValue="pKey" lookupObject="LuCustomerTradeOrgAdvSearch" lookupObjectDisplayValue="name" type="Lookup" />
|
|
343
|
+
</AdvancedSearchAttributes>
|
|
344
|
+
</AdvancedSearchObject>
|
|
345
|
+
</AdvancedSearchObjects>
|
|
346
|
+
<NestedListObjects>
|
|
347
|
+
<ListObject name="nestedLO" objectClass="LoNestedList" parentReferenceProperty="pKey" nestedReferenceProperty="refPKey">
|
|
348
|
+
<Events>
|
|
349
|
+
<Event name="listItemChanged" eventHandler="onNestedLiChanged" />
|
|
350
|
+
</Events>
|
|
351
|
+
</ListObject>
|
|
352
|
+
</NestedListObjects>
|
|
353
|
+
</ListObject>
|
|
354
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<ListObject name="Lo${NAME}" generateLoadMethod="true" schemaVersion="1.1">
|
|
2
|
+
<DataSource name="${DATASOURCE_REFERENCE}" />
|
|
3
|
+
<Item objectClass="Li${NAME}" />
|
|
4
|
+
<Methods>
|
|
5
|
+
<Method name="beforeSaveAsync" />
|
|
6
|
+
<Method name="afterSaveAsync" />
|
|
7
|
+
<Method name="afterLoadAsync" />
|
|
8
|
+
<Method name="beforeLoadAsync" />
|
|
9
|
+
<Method name="afterDoValidateAsync" />
|
|
10
|
+
<Method name="beforeDoValidateAsync" />
|
|
11
|
+
</Methods>
|
|
12
|
+
</ListObject>
|
|
@@ -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 afterDoValidateAsync
|
|
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 afterDoValidateAsync(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 beforeDoValidateAsync
|
|
29
|
+
* @this Lo${NAME}
|
|
30
|
+
* @kind listobject
|
|
31
|
+
* @async
|
|
32
|
+
* @namespace ${NAMESPACE}
|
|
33
|
+
* @param {Object} context
|
|
34
|
+
* @returns promise
|
|
35
|
+
*/
|
|
36
|
+
function beforeDoValidateAsync(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
|
+
}
|