C# Class Dev2.Studio.ViewModels.Workflow.WorkflowInputDataViewModel

Inheritance: Dev2.Studio.Core.ViewModels.Base.SimpleBaseViewModel
Show file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Private Properties

Property Type Description
AddBlankRowToRecordset bool
DoRecordSetAppending void
DoScalarAppending void
OnDebugExecutionFinished void
OnDebugExecutionStart void
SendFinishedMessage void

Public Methods

Method Description
AddBlankRow ( IDataListItem selectedItem, int &indexToSelect ) : bool

Used for just adding a blank row to a recordset

AddRow ( IDataListItem itemToAdd ) : void

Used for intelligently determining if a extra row should be added for the selected recordset

BuildWebPayLoad ( ) : string
Cancel ( ) : void

Used for saving the data input by the user to the file system when the cacel button is clicked

Create ( IContextualResourceModel resourceModel ) : WorkflowInputDataViewModel
Create ( IContextualResourceModel resourceModel, System.Guid sessionId, DebugMode debugMode ) : WorkflowInputDataViewModel
DoSaveActions ( ) : void
ExecuteWorkflow ( ) : void
LoadWorkflowInputs ( ) : void

Used for loading all the inputs from the saved data or the data list

RemoveRow ( IDataListItem itemToRemove, int &indexToSelect ) : bool

Used for removing a row for the collection

Save ( ) : void

Used for saving the data input by the user to the file system and pushing the data back at the workflow

SetWorkflowInputData ( ) : void

Used to transform the XML into WorkflowInputs

SetXmlData ( ) : void

Used to transform the WorkflowInputs into XML

ViewClosed ( ) : void
ViewInBrowser ( ) : void
WorkflowInputDataViewModel ( IServiceDebugInfoModel input, System.Guid sessionId ) : System

Protected Methods

Method Description
OnDispose ( ) : void
OnViewAttached ( object view, object context ) : void
SendExecuteRequest ( System.Xml.Linq.XElement payload ) : void
SendViewInBrowserRequest ( string payload ) : void

Private Methods

Method Description
AddBlankRowToRecordset ( IDataListItem dlItem, IList columns, int indexToInsertAt, int indexNum ) : bool
DoRecordSetAppending ( IRecordSet recordSet, System.StringBuilder result ) : void
DoScalarAppending ( System.StringBuilder result, IDataListItem val ) : void
OnDebugExecutionFinished ( ) : void
OnDebugExecutionStart ( ) : void
SendFinishedMessage ( ) : void

Method Details

AddBlankRow() public method

Used for just adding a blank row to a recordset
public AddBlankRow ( IDataListItem selectedItem, int &indexToSelect ) : bool
selectedItem IDataListItem The item that is currently selected
indexToSelect int
return bool

AddRow() public method

Used for intelligently determining if a extra row should be added for the selected recordset
public AddRow ( IDataListItem itemToAdd ) : void
itemToAdd IDataListItem The item that is currently selected
return void

BuildWebPayLoad() public method

public BuildWebPayLoad ( ) : string
return string

Cancel() public method

Used for saving the data input by the user to the file system when the cacel button is clicked
public Cancel ( ) : void
return void

Create() public static method

public static Create ( IContextualResourceModel resourceModel ) : WorkflowInputDataViewModel
resourceModel IContextualResourceModel
return WorkflowInputDataViewModel

Create() public static method

public static Create ( IContextualResourceModel resourceModel, System.Guid sessionId, DebugMode debugMode ) : WorkflowInputDataViewModel
resourceModel IContextualResourceModel
sessionId System.Guid
debugMode DebugMode
return WorkflowInputDataViewModel

DoSaveActions() public method

public DoSaveActions ( ) : void
return void

ExecuteWorkflow() public method

public ExecuteWorkflow ( ) : void
return void

LoadWorkflowInputs() public method

Used for loading all the inputs from the saved data or the data list
public LoadWorkflowInputs ( ) : void
return void

OnDispose() protected method

protected OnDispose ( ) : void
return void

OnViewAttached() protected method

protected OnViewAttached ( object view, object context ) : void
view object
context object
return void

RemoveRow() public method

Used for removing a row for the collection
public RemoveRow ( IDataListItem itemToRemove, int &indexToSelect ) : bool
itemToRemove IDataListItem The item that will be removed from the collection
indexToSelect int
return bool

Save() public method

Used for saving the data input by the user to the file system and pushing the data back at the workflow
public Save ( ) : void
return void

SendExecuteRequest() protected method

protected SendExecuteRequest ( System.Xml.Linq.XElement payload ) : void
payload System.Xml.Linq.XElement
return void

SendViewInBrowserRequest() protected method

protected SendViewInBrowserRequest ( string payload ) : void
payload string
return void

SetWorkflowInputData() public method

Used to transform the XML into WorkflowInputs
public SetWorkflowInputData ( ) : void
return void

SetXmlData() public method

Used to transform the WorkflowInputs into XML
public SetXmlData ( ) : void
return void

ViewClosed() public method

public ViewClosed ( ) : void
return void

ViewInBrowser() public method

public ViewInBrowser ( ) : void
return void

WorkflowInputDataViewModel() public method

public WorkflowInputDataViewModel ( IServiceDebugInfoModel input, System.Guid sessionId ) : System
input IServiceDebugInfoModel
sessionId System.Guid
return System