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

Inheritance: Dev2.Studio.Core.ViewModels.Base.SimpleBaseViewModel
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Private Properties

Свойство Type Description
AddBlankRowToRecordset bool
DoRecordSetAppending void
DoScalarAppending void
OnDebugExecutionFinished void
OnDebugExecutionStart void
SendFinishedMessage void

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

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
Résultat bool

AddRow() public méthode

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
Résultat void

BuildWebPayLoad() public méthode

public BuildWebPayLoad ( ) : string
Résultat string

Cancel() public méthode

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

Create() public static méthode

public static Create ( IContextualResourceModel resourceModel ) : WorkflowInputDataViewModel
resourceModel IContextualResourceModel
Résultat WorkflowInputDataViewModel

Create() public static méthode

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

DoSaveActions() public méthode

public DoSaveActions ( ) : void
Résultat void

ExecuteWorkflow() public méthode

public ExecuteWorkflow ( ) : void
Résultat void

LoadWorkflowInputs() public méthode

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

OnDispose() protected méthode

protected OnDispose ( ) : void
Résultat void

OnViewAttached() protected méthode

protected OnViewAttached ( object view, object context ) : void
view object
context object
Résultat void

RemoveRow() public méthode

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
Résultat bool

Save() public méthode

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

SendExecuteRequest() protected méthode

protected SendExecuteRequest ( System.Xml.Linq.XElement payload ) : void
payload System.Xml.Linq.XElement
Résultat void

SendViewInBrowserRequest() protected méthode

protected SendViewInBrowserRequest ( string payload ) : void
payload string
Résultat void

SetWorkflowInputData() public méthode

Used to transform the XML into WorkflowInputs
public SetWorkflowInputData ( ) : void
Résultat void

SetXmlData() public méthode

Used to transform the WorkflowInputs into XML
public SetXmlData ( ) : void
Résultat void

ViewClosed() public méthode

public ViewClosed ( ) : void
Résultat void

ViewInBrowser() public méthode

public ViewInBrowser ( ) : void
Résultat void

WorkflowInputDataViewModel() public méthode

public WorkflowInputDataViewModel ( IServiceDebugInfoModel input, System.Guid sessionId ) : System
input IServiceDebugInfoModel
sessionId System.Guid
Résultat System