Package org.adempiere.webui.util
Class GridTabDataBinder
- java.lang.Object
-
- org.adempiere.webui.util.GridTabDataBinder
-
- All Implemented Interfaces:
ValueChangeListener
public class GridTabDataBinder extends Object implements ValueChangeListener
Transfer data from editor to GridTab- Author:
- hengsin
-
-
Constructor Summary
Constructors Constructor Description GridTabDataBinder(GridTab gridTab)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
saveMultipleRecords(Properties ctx, String tableName, String columnName, int recordId, Integer[] values, String trxName)
Save Multiple records - Clone a record and assign new values to each clone for a specific column.void
valueChange(ValueChangeEvent e)
-
-
-
Constructor Detail
-
GridTabDataBinder
public GridTabDataBinder(GridTab gridTab)
- Parameters:
gridTab
-
-
-
Method Detail
-
valueChange
public void valueChange(ValueChangeEvent e)
- Specified by:
valueChange
in interfaceValueChangeListener
- Parameters:
e
-
-
saveMultipleRecords
protected void saveMultipleRecords(Properties ctx, String tableName, String columnName, int recordId, Integer[] values, String trxName) throws Exception
Save Multiple records - Clone a record and assign new values to each clone for a specific column.- Parameters:
ctx
- contexttableName
- Table NamecolumnName
- Column for which value need to be changedrecordId
- Record to clonevalues
- Values to be assigned to clones for the specified columntrxName
- Transaction- Throws:
Exception
- If error is occured when loading the PO or saving clones author ashley
-
-