import java.util.ArrayList; import java.sql.*; import com.adeptia.indigo.monitoring.*; import com.adeptia.indigo.utils.*; import com.adeptia.indigo.security.AuthUtil; String query = "Select AU_TRANSACTIONDOMAINID from AU_TRANSACTIONDATA where AU_ACTIVITYSTATUS = 'Waiting'"; ArrayList tranDomain_IDList = DeleteRecoveryFiles.fetchDataLogDB(query, MonitorLog.getConnection()); DeleteRecoveryFiles.deleteTask(tranDomain_IDList, BackendDatabaseConnection.getBackendConnection()); DeleteRecoveryFiles.deleteRecoveryFiles(tranDomain_IDList); DeleteRecoveryFiles.updateTransactionTable(tranDomain_IDList, MonitorLog.getConnection());