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

File:TriggerParser
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Nov 15 23:21:50 CET 2014



Top Method Summary
Options Name Purpose
# CHARACTER FindId (JPNode) Returns the Text of the ID Node under the given Node
+ GetTriggerCode (character, dataset) Parses the given file for the trigger subscriptions and returns a dataset containing all triggers including their source code
+ GetTriggerCode (ParseUnit) Parses the given file for the trigger subscriptions and returns a dataset containing all triggers including their source code
# Initialize () Initializes the Proparse environment
# OnProcessTriggerNode (ProcessTriggerNodeEventArgs) Raises the ProcessTriggerNode
# OnStatusChanged (StatusChangedEventArgs) Raises the StatusChanged
+ org.prorefactor.treeparser.ParseUnit ParseFile (character) Parses the file
# ParseTriggerNode (JPNode, RefactorSession) Parses a JPNode representing a trigger (ON Statement)
# PublishStatus (character) Publishes the a status message

Top Event Summary
Options Name Purpose
+ ProcessTriggerNode (Object, ProcessTriggerNodeEventArgs) Raised when processing a Trigger Node
+ StatusChanged (Object, StatusChangedEventArgs) Raised when the status of the class has changed


Method Detail
Top

PROTECTED CHARACTER FindId (JPNode)

Purpose: Returns the Text of the ID Node under the given Node
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The parent node to locate the ID under
Returns CHARACTER
The ID value
Top

PUBLIC GetTriggerCode (character, dataset)

Purpose: Parses the given file for the trigger subscriptions and returns a dataset
containing all triggers including their source code
Notes:

Parameters:
pcFileName CHARACTER
The name of the file to parse
dsTrigger DATASET dsTrigger
OUTPUT DATASET The ProDataset with the Trigger subscriptions and source code
Top

PUBLIC GetTriggerCode (ParseUnit)

Purpose: Parses the given file for the trigger subscriptions and returns a dataset
containing all triggers including their source code
Notes:

Parameters:
poParseUnit org.prorefactor.treeparser.ParseUnit
The Proparse ParseUnit
Top

PROTECTED Initialize ()

Purpose: Initializes the Proparse environment
Notes:

Top

PROTECTED OnProcessTriggerNode (ProcessTriggerNodeEventArgs)

Purpose: Raises the ProcessTriggerNode
Notes:

Parameters:
e Consultingwerk.Studio.LegacyGuiMigration.Frame.ProcessTriggerNodeEventArgs
The ProcessTriggerNodeEventArgs with the data for the event
Top

PROTECTED OnStatusChanged (StatusChangedEventArgs)

Purpose: Raises the StatusChanged
Notes:

Parameters:
e Consultingwerk.StatusChangedEventArgs
The StatusChangedEventArgs with the data for the event
Top

PUBLIC org.prorefactor.treeparser.ParseUnit ParseFile (character)

Purpose: Parses the file
Notes:

Parameters:
pcFileName CHARACTER
: character
Returns org.prorefactor.treeparser.ParseUnit
The Proparse ParseUnit
Top

PROTECTED ParseTriggerNode (JPNode, RefactorSession)

Purpose: Parses a JPNode representing a trigger (ON Statement)
Notes: Creates records in the temp-tables

Parameters:
poNode org.prorefactor.core.JPNode
The JPNode representing the ON Statement
poRefactorSession Consultingwerk.Studio.SmartRefactor.RefactorSession
Top

PROTECTED PublishStatus (character)

Purpose: Publishes the a status message
Notes:

Parameters:
pcStatus CHARACTER
The status to publish


Event Detail
Top

PUBLIC ProcessTriggerNode (Object, ProcessTriggerNodeEventArgs)

Purpose: Raised when processing a Trigger Node
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the ProcessTriggerNode event
e Consultingwerk.Studio.LegacyGuiMigration.Frame.ProcessTriggerNodeEventArgs
The ProcessTriggerNodeEventArgs with the data for the event
Top

PUBLIC StatusChanged (Object, StatusChangedEventArgs)

Purpose: Raised when the status of the class has changed
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the StatusChanged event
e Consultingwerk.StatusChangedEventArgs
The StatusChangedEventArgs with the data for the event


ProDataset Detail

ProDataset dsTrigger

Member tables: ttTriggerEvent, ttTriggerCode


Temp-Table Detail

Temp-Table ttTriggerCode

Defined in:

Temp-Table ttTriggerEvent

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:15:36