C# 클래스 Dev2.Studio.ViewModels.DataList.DataListViewModel

상속: Dev2.Studio.Core.ViewModels.Base.BaseViewModel, IDataListViewModel
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 메소드들

메소드 설명
AddBlankRow ( IDataListItemModel item ) : void
AddMissingDataListItems ( IList parts ) : void
AddMissingDataListItems ( IList parts, bool async ) : void
AddRecordsetNamesIfMissing ( ) : void
ClearCollections ( ) : void
ConvertDataListStringToCollections ( string dataList ) : void
CreateListsOfIDataListItemModelToBindTo ( string &errorString ) : void

Creates the list of data list item view model to bind to.

DataListViewModel ( ) : System
DataListViewModel ( IEventAggregator eventPublisher ) : System
GetDataListString ( ) : string
InitializeDataListViewModel ( ) : void
InitializeDataListViewModel ( IResourceModel resourceModel ) : void
MissingDataListParts ( IList partsToVerify ) : List
MissingWorkflowItems ( IList partsToVerify, bool excludeUnusedItems = false ) : List

Finds the missing workflow data regions.

RemoveBlankRecordsetFields ( ) : void
RemoveBlankRecordsets ( ) : void
RemoveBlankRows ( IDataListItemModel item ) : void
RemoveBlankScalars ( ) : void
RemoveDataListItem ( IDataListItemModel itemToRemove ) : void
RemoveUnusedDataListItems ( ) : void
SetIsUsedDataListItems ( IList parts, bool isUsed ) : void
UpdateDataListItems ( IResourceModel resourceModel, IList workflowFields ) : List
ValidateNames ( IDataListItemModel item ) : void
WriteToResourceModel ( ) : string

보호된 메소드들

메소드 설명
OnDispose ( ) : void

비공개 메소드들

메소드 설명
AddColumnsToRecordSet ( IEnumerable cols, IDataListItemModel recset ) : void
AddItemPropertyChangeEvent ( NotifyCollectionChangedEventArgs args ) : void
AddItemToBuilder ( System.StringBuilder result, IDataListItemModel recSet ) : void
AddRecordSet ( ) : void

Adds a record set.

AddRecordSets ( XmlNode c ) : void
AddRowToRecordsets ( ) : void
AddRowToScalars ( ) : void
AddScalars ( XmlNode c ) : void
BuildErrorMessage ( IDataListItemModel model ) : string
BuildRecordSetErrorMessages ( IDataListItemModel model, string &errorMessage ) : bool
CheckDataListItemsForDuplicates ( IEnumerable itemsToCheck ) : void
CheckForEmptyRecordset ( ) : void
CheckForFixedEmptyRecordsets ( ) : void
CreateColumns ( XmlNode subc, List cols ) : void
CreateFullDataList ( ) : OptomizedObservableCollection

Creates the full data list.

CreateRecordSet ( XmlNode c ) : IDataListItemModel
FilterItems ( ) : void
FindMissingForScalar ( IDataListVerifyPart part, List missingDataParts ) : void
FindMissingPartsForRecordset ( IDataListVerifyPart part, List missingDataParts ) : void
FixCommonNamingProblems ( IDataListItemModel recset ) : void
FixNamingForRecset ( IDataListItemModel recset ) : void
FixNamingForScalar ( IDataListItemModel scalar ) : void
HasAnyUnusedItems ( ) : bool
HasItems ( ) : bool

Determines whether this instance has items in either calar or recset collection.

ItemPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
ParseColumnIODirection ( XmlAttribute attr ) : enDev2ColumnArgumentDirection
ParseDescription ( XmlAttribute attr ) : string
ParseIsEditable ( XmlAttribute attr ) : bool
ProcessFoundRecordSets ( IDataListVerifyPart part, IDataListItemModel recsetToRemove, bool isUsed ) : void
RecordSetHasChildren ( IDataListItemModel model ) : bool
RemoveItemPropertyChangeEvent ( NotifyCollectionChangedEventArgs args ) : void
SetRecordSetItemsAsUsed ( ) : void
SetRecordSetPartIsUsed ( IDataListVerifyPart part, bool isUsed ) : void
SetScalarItemsAsUsed ( ) : void
SetScalarPartIsUsed ( IDataListVerifyPart part, bool isUsed ) : void
ShowUnusedDataListVariables ( IResourceModel resourceModel, IList listOfUnused, IList listOfUsed ) : void
SortItems ( ) : void

Sorts the items.

SortRecset ( bool ascending ) : void

Sorts the recordsets.

SortScalars ( bool ascending ) : void

Sorts the scalars.

UpdateDataListItemsAsUsed ( ) : void
ValidateRecordset ( ) : void
ValidateRecordsetChildren ( IDataListItemModel recset ) : void
ValidateScalar ( ) : void

메소드 상세

AddBlankRow() 공개 메소드

public AddBlankRow ( IDataListItemModel item ) : void
item IDataListItemModel
리턴 void

AddMissingDataListItems() 공개 메소드

public AddMissingDataListItems ( IList parts ) : void
parts IList
리턴 void

AddMissingDataListItems() 공개 메소드

public AddMissingDataListItems ( IList parts, bool async ) : void
parts IList
async bool
리턴 void

AddRecordsetNamesIfMissing() 공개 메소드

public AddRecordsetNamesIfMissing ( ) : void
리턴 void

ClearCollections() 공개 메소드

public ClearCollections ( ) : void
리턴 void

ConvertDataListStringToCollections() 공개 메소드

public ConvertDataListStringToCollections ( string dataList ) : void
dataList string
리턴 void

CreateListsOfIDataListItemModelToBindTo() 공개 메소드

Creates the list of data list item view model to bind to.
public CreateListsOfIDataListItemModelToBindTo ( string &errorString ) : void
errorString string The error string.
리턴 void

DataListViewModel() 공개 메소드

public DataListViewModel ( ) : System
리턴 System

DataListViewModel() 공개 메소드

public DataListViewModel ( IEventAggregator eventPublisher ) : System
eventPublisher IEventAggregator
리턴 System

GetDataListString() 공개 메소드

public GetDataListString ( ) : string
리턴 string

InitializeDataListViewModel() 공개 메소드

public InitializeDataListViewModel ( ) : void
리턴 void

InitializeDataListViewModel() 공개 메소드

public InitializeDataListViewModel ( IResourceModel resourceModel ) : void
resourceModel IResourceModel
리턴 void

MissingDataListParts() 공개 메소드

public MissingDataListParts ( IList partsToVerify ) : List
partsToVerify IList
리턴 List

MissingWorkflowItems() 공개 메소드

Finds the missing workflow data regions.
public MissingWorkflowItems ( IList partsToVerify, bool excludeUnusedItems = false ) : List
partsToVerify IList The parts to verify.
excludeUnusedItems bool
리턴 List

OnDispose() 보호된 메소드

protected OnDispose ( ) : void
리턴 void

RemoveBlankRecordsetFields() 공개 메소드

public RemoveBlankRecordsetFields ( ) : void
리턴 void

RemoveBlankRecordsets() 공개 메소드

public RemoveBlankRecordsets ( ) : void
리턴 void

RemoveBlankRows() 공개 메소드

public RemoveBlankRows ( IDataListItemModel item ) : void
item IDataListItemModel
리턴 void

RemoveBlankScalars() 공개 메소드

public RemoveBlankScalars ( ) : void
리턴 void

RemoveDataListItem() 공개 메소드

public RemoveDataListItem ( IDataListItemModel itemToRemove ) : void
itemToRemove IDataListItemModel
리턴 void

RemoveUnusedDataListItems() 공개 메소드

public RemoveUnusedDataListItems ( ) : void
리턴 void

SetIsUsedDataListItems() 공개 메소드

public SetIsUsedDataListItems ( IList parts, bool isUsed ) : void
parts IList
isUsed bool
리턴 void

UpdateDataListItems() 공개 메소드

public UpdateDataListItems ( IResourceModel resourceModel, IList workflowFields ) : List
resourceModel IResourceModel
workflowFields IList
리턴 List

ValidateNames() 공개 메소드

public ValidateNames ( IDataListItemModel item ) : void
item IDataListItemModel
리턴 void

WriteToResourceModel() 공개 메소드

public WriteToResourceModel ( ) : string
리턴 string