![]() |
Workflow Engine .NET
2
|
Interface of a workflow builder, which convert not parsed process scheme SchemeDefinition<T> to the object model of a scheme of a process ProcessDefinition More...
Public Member Functions | |
ProcessInstance | CreateNewProcess (Guid processId, string schemeCode, IDictionary< string, object > parameters) |
Create new instance of the process. More... | |
ProcessInstance | CreateNewSubprocess (Guid processId, ProcessInstance parentProcessInstance, TransitionDefinition startingTransition) |
ProcessDefinition | CreateNewProcessScheme (string schemeCode, IDictionary< string, object > parameters) |
Create new scheme for existing process More... | |
ProcessDefinition | CreateNewSubprocessScheme (ProcessDefinition parentProcessScheme, TransitionDefinition startingTransition) |
ProcessInstance | GetProcessInstance (Guid processId) |
Returns existing process instance More... | |
ProcessDefinition | GetProcessScheme (Guid schemeId) |
Returns process scheme by specific id, if scheme not exists creates it More... | |
void | SetCache (IParsedProcessCache cache) |
Sets the cache to store parsed ProcessDefinition objects ProcessDefinition More... | |
void | RemoveCache () |
Removes the cache to store parsed ProcessDefinition objects ProcessDefinition More... | |
ProcessDefinition | GetProcessScheme (string schemeCode) |
Returns process scheme by specific name, if scheme not exists creates it More... | |
ProcessDefinition | GetProcessScheme (string schemeCode, IDictionary< string, object > parameters) |
Returns process scheme by specific name and parameters for creating the scheme of the process, if scheme not exists creates it More... | |
void | SetSchemeIsObsolete (string schemeCode, Dictionary< string, object > parameters) |
Set IsObsolete sign to the scheme with specific name and parameters for creating the scheme of the process More... | |
void | SetSchemeIsObsolete (string schemeCode) |
Set IsObsolete sign to the scheme with specific name More... | |
ProcessDefinition | GetProcessSchemeForDesigner (string code) |
Returns existing process scheme directly from scheme persistence store More... | |
void | SaveProcessScheme (string schemecode, ProcessDefinition pd) |
Saves process scheme to scheme persistence store More... | |
ProcessDefinition | Parse (string scheme) |
Parses process scheme from the string More... | |
string | Serialize (ProcessDefinition processDefinition) |
Serialize process scheme to the string More... | |
Interface of a workflow builder, which convert not parsed process scheme SchemeDefinition<T> to the object model of a scheme of a process ProcessDefinition
ProcessInstance OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.CreateNewProcess | ( | Guid | processId, |
string | schemeCode, | ||
IDictionary< string, object > | parameters | ||
) |
Create new instance of the process.
processId | Process id |
schemeCode | Code of the scheme |
parameters | The parameters for creating the scheme of the process |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
ProcessDefinition OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.CreateNewProcessScheme | ( | string | schemeCode, |
IDictionary< string, object > | parameters | ||
) |
Create new scheme for existing process
schemeCode | Code of the scheme |
parameters | The parameters for creating scheme of process |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
ProcessInstance OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.GetProcessInstance | ( | Guid | processId | ) |
Returns existing process instance
processId | Process id |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
ProcessDefinition OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.GetProcessScheme | ( | Guid | schemeId | ) |
Returns process scheme by specific id, if scheme not exists creates it
schemeId | Id of the scheme |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
ProcessDefinition OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.GetProcessScheme | ( | string | schemeCode | ) |
Returns process scheme by specific name, if scheme not exists creates it
schemeCode | Name of the scheme |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
ProcessDefinition OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.GetProcessScheme | ( | string | schemeCode, |
IDictionary< string, object > | parameters | ||
) |
Returns process scheme by specific name and parameters for creating the scheme of the process, if scheme not exists creates it
schemeCode | Name of the scheme |
parameters | The parameters for creating the scheme of the process |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
ProcessDefinition OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.GetProcessSchemeForDesigner | ( | string | code | ) |
Returns existing process scheme directly from scheme persistence store
code | Name of the scheme |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
ProcessDefinition OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.Parse | ( | string | scheme | ) |
Parses process scheme from the string
scheme | String representation of not parsed scheme |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
void OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.RemoveCache | ( | ) |
Removes the cache to store parsed ProcessDefinition objects ProcessDefinition
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
void OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.SaveProcessScheme | ( | string | schemecode, |
ProcessDefinition | pd | ||
) |
Saves process scheme to scheme persistence store
schemecode | Code of the scheme |
pd | Object representation of the scheme |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
string OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.Serialize | ( | ProcessDefinition | processDefinition | ) |
Serialize process scheme to the string
processDefinition | SProcessDefinition object |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
void OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.SetCache | ( | IParsedProcessCache | cache | ) |
Sets the cache to store parsed ProcessDefinition objects ProcessDefinition
cache | Instance of cache object |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
void OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.SetSchemeIsObsolete | ( | string | schemeCode, |
Dictionary< string, object > | parameters | ||
) |
Set IsObsolete sign to the scheme with specific name and parameters for creating the scheme of the process
schemeCode | Name of the scheme |
parameters | The parameters for creating the scheme of the process |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.
void OptimaJet.Workflow.Core.Builder.IWorkflowBuilder.SetSchemeIsObsolete | ( | string | schemeCode | ) |
Set IsObsolete sign to the scheme with specific name
schemeCode | Name of the scheme |
Implemented in OptimaJet.Workflow.Core.Builder.WorkflowBuilder< TSchemeMedium >.