|
@@ -25,7 +25,7 @@ import de.tudarmstadt.informatik.hostage.persistence.HostageDBContract.PacketEnt
|
|
|
import de.tudarmstadt.informatik.hostage.persistence.HostageDBContract.ProfileEntry;
|
|
|
import de.tudarmstadt.informatik.hostage.persistence.HostageDBContract.SyncDeviceEntry;
|
|
|
import de.tudarmstadt.informatik.hostage.persistence.HostageDBContract.SyncInfoEntry;
|
|
|
-import de.tudarmstadt.informatik.hostage.ui2.model.LogFilter;
|
|
|
+import de.tudarmstadt.informatik.hostage.ui.model.LogFilter;
|
|
|
|
|
|
/**
|
|
|
* Database Helper class to create, read and write the database.
|
|
@@ -853,19 +853,6 @@ public class HostageDBOpenHelper extends SQLiteOpenHelper {
|
|
|
db.close();
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Deletes all records from {@link #TABLE_RECORDS} with a specific Attack ID.
|
|
|
- *
|
|
|
- * @param attackID
|
|
|
- * The Attack ID to match against.
|
|
|
- */
|
|
|
- public synchronized void deleteByAttackID(long attackID) {
|
|
|
- SQLiteDatabase db = this.getReadableDatabase();
|
|
|
- db.delete(AttackEntry.TABLE_NAME, AttackEntry.COLUMN_NAME_ATTACK_ID + " = ?", new String[] { String.valueOf(attackID) });
|
|
|
- db.delete(PacketEntry.TABLE_NAME, PacketEntry.COLUMN_NAME_ATTACK_ID + " = ?", new String[] { String.valueOf(attackID) });
|
|
|
- db.close();
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Deletes all records from {@link #TABLE_RECORDS} with a specific Attack ID.
|
|
|
*
|