Workflow Engine .NET  2
Public Member Functions | List of all members
OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium > Class Template Referenceabstract

Base workflow parser, which parses not parsed process scheme SchemeDefinition<T> to the object model of a scheme of a process ProcessDefinition More...

Inheritance diagram for OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >:
OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >

Public Member Functions

abstract List< TimerDefinitionParseTimers (TSchemeMedium schemeMedium)
 Parses timers from not parsed scheme in theirs object model More...
 
abstract List< ActorDefinitionParseActors (TSchemeMedium schemeMedium)
 Parses actors from not parsed scheme in theirs object model More...
 
abstract List< LocalizeDefinitionParseLocalization (TSchemeMedium schemeMedium)
 Parses localization items from not parsed scheme in theirs object model More...
 
abstract List< ParameterDefinitionParseParameters (TSchemeMedium schemeMedium)
 Parses parameters from not parsed scheme in theirs object model More...
 
abstract List< CommandDefinitionParseCommands (TSchemeMedium schemeMedium, List< ParameterDefinition > parameterDefinitions)
 Parses commands from not parsed scheme in theirs object model More...
 
abstract List< ActivityDefinitionParseActivities (TSchemeMedium schemeMedium)
 Parses activities from not parsed scheme in theirs object model More...
 
abstract List< CodeActionDefinitionParseCodeActions (TSchemeMedium schemeMedium)
 Parses code actions from not parsed scheme in theirs object model More...
 
abstract List< TransitionDefinitionParseTransitions (TSchemeMedium schemeMedium, List< ActorDefinition > actorDefinitions, List< CommandDefinition > commandDefinitions, List< ActivityDefinition > activityDefinitions, List< TimerDefinition > timerDefinitions)
 Parses transitions from not parsed scheme in theirs object model More...
 
abstract string GetSchemeCode (TSchemeMedium schemeMedium)
 Gets the code of the scheme from not parsed scheme More...
 
abstract DesignerSettings GetDesignerSettings (TSchemeMedium schemeMedium)
 Gets designer settings from not parsed scheme More...
 
abstract ProcessDefinition Parse (string scheme)
 Returns object model of the scheme of a process More...
 
abstract TSchemeMedium SerializeToSchemeMedium (ProcessDefinition processDefinition)
 Serializes object model of the scheme to not parsed scheme More...
 
virtual string SerializeToString (ProcessDefinition processDefinition)
 Serializes object model of the scheme to string More...
 
ProcessDefinition Parse (TSchemeMedium schemeMedium)
 Returns object model of the scheme of a process More...
 

Detailed Description

Base workflow parser, which parses not parsed process scheme SchemeDefinition<T> to the object model of a scheme of a process ProcessDefinition

Template Parameters
TSchemeMediumType of not parsed scheme
Type Constraints
TSchemeMedium :class 

Member Function Documentation

◆ GetDesignerSettings()

abstract DesignerSettings OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.GetDesignerSettings ( TSchemeMedium  schemeMedium)
pure virtual

Gets designer settings from not parsed scheme

Parameters
schemeMediumNot parsed scheme
Returns
Designer settings

◆ GetSchemeCode()

abstract string OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.GetSchemeCode ( TSchemeMedium  schemeMedium)
pure virtual

Gets the code of the scheme from not parsed scheme

Parameters
schemeMediumNot parsed scheme
Returns
Code of the scheme

◆ Parse() [1/2]

abstract ProcessDefinition OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.Parse ( string  scheme)
pure virtual

Returns object model of the scheme of a process

Parameters
schemeString representation of not parsed sheme
Returns
ProcessDefinition object

Implements OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.

Implemented in OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.

◆ Parse() [2/2]

ProcessDefinition OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.Parse ( TSchemeMedium  schemeMedium)

Returns object model of the scheme of a process

Parameters
schemeMediumNot parsed scheme
Returns
ProcessDefinition object

Implements OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.

◆ ParseActivities()

abstract List<ActivityDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseActivities ( TSchemeMedium  schemeMedium)
pure virtual

Parses activities from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of ActivityDefinition objects

◆ ParseActors()

abstract List<ActorDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseActors ( TSchemeMedium  schemeMedium)
pure virtual

Parses actors from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of ActorDefinition objects

◆ ParseCodeActions()

abstract List<CodeActionDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseCodeActions ( TSchemeMedium  schemeMedium)
pure virtual

Parses code actions from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of CodeActionDefinition objects

◆ ParseCommands()

abstract List<CommandDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseCommands ( TSchemeMedium  schemeMedium,
List< ParameterDefinition parameterDefinitions 
)
pure virtual

Parses commands from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
parameterDefinitionsList of parsed parameters ParameterDefinition
Returns
List of CommandDefinition objects

◆ ParseLocalization()

abstract List<LocalizeDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseLocalization ( TSchemeMedium  schemeMedium)
pure virtual

Parses localization items from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of LocalizeDefinition objects

◆ ParseParameters()

abstract List<ParameterDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseParameters ( TSchemeMedium  schemeMedium)
pure virtual

Parses parameters from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of ParameterDefinition objects

◆ ParseTimers()

abstract List<TimerDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseTimers ( TSchemeMedium  schemeMedium)
pure virtual

Parses timers from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of TimerDefinition objects

◆ ParseTransitions()

abstract List<TransitionDefinition> OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.ParseTransitions ( TSchemeMedium  schemeMedium,
List< ActorDefinition actorDefinitions,
List< CommandDefinition commandDefinitions,
List< ActivityDefinition activityDefinitions,
List< TimerDefinition timerDefinitions 
)
pure virtual

Parses transitions from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
actorDefinitionsList of parsed actors ActorDefinition
commandDefinitionsList of parsed commands CommandDefinition
activityDefinitionsList of parsed activities ActivityDefinition
timerDefinitionsList of parsed timers TimerDefinition
Returns
List of TransitionDefinition objects

◆ SerializeToSchemeMedium()

abstract TSchemeMedium OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.SerializeToSchemeMedium ( ProcessDefinition  processDefinition)
pure virtual

Serializes object model of the scheme to not parsed scheme

Parameters
processDefinitionProcessDefinition object
Returns
Not parsed scheme

Implements OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.

◆ SerializeToString()

virtual string OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.SerializeToString ( ProcessDefinition  processDefinition)
virtual

Serializes object model of the scheme to string

Parameters
processDefinitionProcessDefinition object
Returns
String representation of not parsed scheme

Implements OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.