Table of Contents

Class FieldService

Namespace
JJMasterData.Core.DataDictionary.Services
Assembly
JJMasterData.Core.dll
public class FieldService : DataDictionaryServiceBase
Inheritance
FieldService
Inherited Members

Constructors

FieldService(IValidationDictionary, IDataDictionaryRepository, IEnumerable<IExpressionProvider>, IStringLocalizer<MasterDataResources>)

public FieldService(IValidationDictionary validationDictionary, IDataDictionaryRepository dataDictionaryRepository, IEnumerable<IExpressionProvider> expressionProviders, IStringLocalizer<MasterDataResources> stringLocalizer)

Parameters

validationDictionary IValidationDictionary
dataDictionaryRepository IDataDictionaryRepository
expressionProviders IEnumerable<IExpressionProvider>
stringLocalizer IStringLocalizer<MasterDataResources>

Methods

AddElementMapFilterAsync(FormElementField, DataElementMapFilter)

public Task<bool> AddElementMapFilterAsync(FormElementField field, DataElementMapFilter elementMapFilter)

Parameters

field FormElementField
elementMapFilter DataElementMapFilter

Returns

Task<bool>

CopyFieldAsync(FormElement, FormElementField)

public Task<bool> CopyFieldAsync(FormElement formElement, FormElementField field)

Parameters

formElement FormElement
field FormElementField

Returns

Task<bool>

DeleteField(string, string)

public Task<bool> DeleteField(string elementName, string fieldName)

Parameters

elementName string
fieldName string

Returns

Task<bool>

GetElementFieldListAsync(string)

public Task<Dictionary<string, string>> GetElementFieldListAsync(string elementName)

Parameters

elementName string

Returns

Task<Dictionary<string, string>>

GetNextFieldNameAsync(string, string)

public Task<string> GetNextFieldNameAsync(string elementName, string fieldName)

Parameters

elementName string
fieldName string

Returns

Task<string>

SaveFieldAsync(string, FormElementField, string)

public Task<bool> SaveFieldAsync(string elementName, FormElementField field, string originalName)

Parameters

elementName string
field FormElementField
originalName string

Returns

Task<bool>

SetFormElementAsync(FormElement)

public Task SetFormElementAsync(FormElement formElement)

Parameters

formElement FormElement

Returns

Task

SortFieldsAsync(string, string[])

public Task<bool> SortFieldsAsync(string elementName, string[] fieldsOrder)

Parameters

elementName string
fieldsOrder string[]

Returns

Task<bool>