Class BatchDelete<T extends PO>

java.lang.Object
org.compiere.model.BatchDelete<T>
Type Parameters:
T - PO type
All Implemented Interfaces:
IBatchOperation<T>

public class BatchDelete<T extends PO> extends Object implements IBatchOperation<T>
Batch Delete PO
Author:
iDempiere
  • Constructor Details

    • BatchDelete

      public BatchDelete(Class<T> type)
  • Method Details

    • add

      public void add(T po)
      Description copied from interface: IBatchOperation
      Add PO to batch
      Specified by:
      add in interface IBatchOperation<T extends PO>
    • executeBatch

      public void executeBatch(String trxName)
      Description copied from interface: IBatchOperation
      Execute batch operation.
      Throw RuntimeException if failed
      Specified by:
      executeBatch in interface IBatchOperation<T extends PO>
      Parameters:
      trxName - transaction name
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: IBatchOperation
      Get is batch empty
      Specified by:
      isEmpty in interface IBatchOperation<T extends PO>
      Returns:
      true if batch is empty
    • getCount

      public int getCount()
      Description copied from interface: IBatchOperation
      Get count of PO in batch
      Specified by:
      getCount in interface IBatchOperation<T extends PO>
      Returns:
      count of PO in batch