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
AddDataItem(string, FormElementField, int)
[HttpPost]
public IActionResult AddDataItem(string elementName, FormElementField field, int qtdRowsToAdd)
Parameters
elementName
stringfield
FormElementFieldqtdRowsToAdd
int
Returns
AddElementMapFilter(string, FormElementField, DataElementMapFilter)
[HttpPost]
public Task<IActionResult> AddElementMapFilter(string elementName, FormElementField field, DataElementMapFilter elementMapFilter)
Parameters
elementName
stringfield
FormElementFieldelementMapFilter
DataElementMapFilter
Returns
Copy(string, FormElementField?)
[HttpPost]
public Task<IActionResult> Copy(string elementName, FormElementField? field)
Parameters
elementName
stringfield
FormElementField
Returns
Delete(string, string)
public Task<IActionResult> Delete(string elementName, string fieldName)
Parameters
Returns
Detail(string, string)
public Task<IActionResult> Detail(string elementName, string fieldName)
Parameters
Returns
Index(string, string?)
public Task<IActionResult> Index(string elementName, string? fieldName)
Parameters
Returns
Index(string, string?, FormElementField?)
[HttpPost]
public Task<IActionResult> Index(string elementName, string? fieldName, FormElementField? field)
Parameters
elementName
stringfieldName
stringfield
FormElementField
Returns
RemoveAllDataItem(string, FormElementField)
[HttpPost]
public IActionResult RemoveAllDataItem(string elementName, FormElementField field)
Parameters
elementName
stringfield
FormElementField
Returns
RemoveDataItem(string, FormElementField, int)
[HttpPost]
public IActionResult RemoveDataItem(string elementName, FormElementField field, int dataItemIndex)
Parameters
elementName
stringfield
FormElementFielddataItemIndex
int
Returns
RemoveElementMapFilter(string, FormElementField, string)
[HttpPost]
public IActionResult RemoveElementMapFilter(string elementName, FormElementField field, string elementMapFieldName)
Parameters
elementName
stringfield
FormElementFieldelementMapFieldName
string
Returns
Save(string, FormElementField, string?)
[HttpPost]
public Task<IActionResult> Save(string elementName, FormElementField field, string? originalName)
Parameters
elementName
stringfield
FormElementFieldoriginalName
string
Returns
Sort(string, string)
[HttpPost]
public Task<IActionResult> Sort(string elementName, string fieldsOrder)