Class RDBMSDeleteAction

java.lang.Object
com.kingsrook.qqq.backend.module.rdbms.actions.AbstractRDBMSAction
com.kingsrook.qqq.backend.module.rdbms.actions.RDBMSDeleteAction
All Implemented Interfaces:
DeleteInterface

public class RDBMSDeleteAction extends AbstractRDBMSAction implements DeleteInterface
  • Constructor Details

    • RDBMSDeleteAction

      public RDBMSDeleteAction()
  • Method Details

    • supportsQueryFilterInput

      public boolean supportsQueryFilterInput()
      Description copied from interface: DeleteInterface
      Specify whether this particular module's delete action natively supports receiving a queryFilter as input (e.g., SQL does). If the module doesn't support a query filter, then the qqq framework (DeleteAction) will, if it receives a queryFilter in its input, it will execute the query, and pass the list of primary keys down into the module's delete implementation.
      Specified by:
      supportsQueryFilterInput in interface DeleteInterface
    • execute

      public DeleteOutput execute(DeleteInput deleteInput) throws QException
      Specified by:
      execute in interface DeleteInterface
      Throws:
      QException
    • doDeleteOne

      public void doDeleteOne(Connection connection, QTableMetaData table, Serializable primaryKey, DeleteOutput deleteOutput)
    • doDeleteList

      public void doDeleteList(Connection connection, QTableMetaData table, List<Serializable> primaryKeys, DeleteOutput deleteOutput) throws QException
      Throws:
      QException
    • setPageSize

      public static void setPageSize(Integer pageSize)
      Change the global page size used for delete in-lists. Default is 1000.
    • getPageSize

      public static Integer getPageSize()
      Get the global page size value for delete in-lists.