Namespace: Consultingwerk.Studio.LegacyGuiMigration.LeaveTrigger
Class 
LeaveTriggerParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:LeaveTriggerParser
Purpose:Converts the Leave Trigger in the Parse Unit into
Validation methods
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Oct 25 22:07:33 CEST 2019



Top Method Summary
Options Name Purpose
+ LONGCHAR ConvertParseUnit (ParseUnit, character) Converts the Leave Trigger in the Parse Unit into Validation methods
# Consultingwerk.Studio.LegacyCodeMigration.MethodReference ConvertTriggerBlock (JPNode, character) Convertes a single trigger block
# LONGCHAR RemoveAppBuilderMarkup (longchar) Removes the leading _UIB-CODE-BLOCK-END comment


Method Detail
Top

PUBLIC LONGCHAR ConvertParseUnit (ParseUnit, character)

Purpose: Converts the Leave Trigger in the Parse Unit into Validation methods
Notes:

Parameters:
poParseUnit org.prorefactor.treeparser.ParseUnit
pcEntityName CHARACTER
Returns LONGCHAR
Top

PROTECTED Consultingwerk.Studio.LegacyCodeMigration.MethodReference ConvertTriggerBlock (JPNode, character)

Purpose: Convertes a single trigger block
Notes:

Parameters:
poTriggerNode org.prorefactor.core.JPNode
The JPNode prepresenting the ON block
pcEntityName CHARACTER
The name of the Business Entity which is used to map database fields to temp-table fields
Returns Consultingwerk.Studio.LegacyCodeMigration.MethodReference
The converted source code
Top

PROTECTED LONGCHAR RemoveAppBuilderMarkup (longchar)

Purpose: Removes the leading _UIB-CODE-BLOCK-END comment
Notes:

Parameters:
plcCode LONGCHAR
The code block to remove the comment in
Returns LONGCHAR
The resulting code block


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:37:40