Package org.compiere.model
Class BatchUpdate<T extends PO>
java.lang.Object
org.compiere.model.BatchUpdate<T>
- Type Parameters:
T- PO type
- All Implemented Interfaces:
IBatchOperation<T>
Batch Update PO.
Difference from individual PO update - no auto reload of PO after successful save.
Difference from individual PO update - no auto reload of PO after successful save.
- Author:
- iDempiere
-
Constructor Details
-
BatchUpdate
-
-
Method Details
-
add
Description copied from interface:IBatchOperationAdd PO to batch- Specified by:
addin interfaceIBatchOperation<T extends PO>
-
executeBatch
Description copied from interface:IBatchOperationExecute batch operation.
Throw RuntimeException if failed- Specified by:
executeBatchin interfaceIBatchOperation<T extends PO>- Parameters:
trxName- transaction name
-
isEmpty
public boolean isEmpty()Description copied from interface:IBatchOperationGet is batch empty- Specified by:
isEmptyin interfaceIBatchOperation<T extends PO>- Returns:
- true if batch is empty
-
getCount
public int getCount()Description copied from interface:IBatchOperationGet count of PO in batch- Specified by:
getCountin interfaceIBatchOperation<T extends PO>- Returns:
- count of PO in batch
-