Table of Contents

Class FieldController

Namespace
JJMasterData.Web.Areas.DataDictionary.Controllers
Assembly
JJMasterData.Web.dll
public class FieldController : DataDictionaryController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
Inheritance
FieldController
Implements
Inherited Members

Constructors

FieldController(FieldService)

public FieldController(FieldService fieldService)

Parameters

fieldService FieldService

Methods

Add(string)

public Task<IActionResult> Add(string elementName)

Parameters

elementName string

Returns

Task<IActionResult>

AddDataItem(string, FormElementField, int)

[HttpPost]
public IActionResult AddDataItem(string elementName, FormElementField field, int qtdRowsToAdd)

Parameters

elementName string
field FormElementField
qtdRowsToAdd int

Returns

IActionResult

AddElementMapFilter(string, FormElementField, DataElementMapFilter)

[HttpPost]
public Task<IActionResult> AddElementMapFilter(string elementName, FormElementField field, DataElementMapFilter elementMapFilter)

Parameters

elementName string
field FormElementField
elementMapFilter DataElementMapFilter

Returns

Task<IActionResult>

Copy(string, FormElementField?)

[HttpPost]
public Task<IActionResult> Copy(string elementName, FormElementField? field)

Parameters

elementName string
field FormElementField

Returns

Task<IActionResult>

Delete(string, string)

public Task<IActionResult> Delete(string elementName, string fieldName)

Parameters

elementName string
fieldName string

Returns

Task<IActionResult>

Detail(string, string)

public Task<IActionResult> Detail(string elementName, string fieldName)

Parameters

elementName string
fieldName string

Returns

Task<IActionResult>

Index(string, string?)

public Task<IActionResult> Index(string elementName, string? fieldName)

Parameters

elementName string
fieldName string

Returns

Task<IActionResult>

Index(string, string?, FormElementField?)

[HttpPost]
public Task<IActionResult> Index(string elementName, string? fieldName, FormElementField? field)

Parameters

elementName string
fieldName string
field FormElementField

Returns

Task<IActionResult>

RemoveAllDataItem(string, FormElementField)

[HttpPost]
public IActionResult RemoveAllDataItem(string elementName, FormElementField field)

Parameters

elementName string
field FormElementField

Returns

IActionResult

RemoveDataItem(string, FormElementField, int)

[HttpPost]
public IActionResult RemoveDataItem(string elementName, FormElementField field, int dataItemIndex)

Parameters

elementName string
field FormElementField
dataItemIndex int

Returns

IActionResult

RemoveElementMapFilter(string, FormElementField, string)

[HttpPost]
public IActionResult RemoveElementMapFilter(string elementName, FormElementField field, string elementMapFieldName)

Parameters

elementName string
field FormElementField
elementMapFieldName string

Returns

IActionResult

Save(string, FormElementField, string?)

[HttpPost]
public Task<IActionResult> Save(string elementName, FormElementField field, string? originalName)

Parameters

elementName string
field FormElementField
originalName string

Returns

Task<IActionResult>

Sort(string, string)

[HttpPost]
public Task<IActionResult> Sort(string elementName, string fieldsOrder)

Parameters

elementName string
fieldsOrder string

Returns

Task<IActionResult>