Class Spec11ThreatMatchDao

java.lang.Object
google.registry.model.reporting.Spec11ThreatMatchDao

public class Spec11ThreatMatchDao extends Object
Data access object for Spec11ThreatMatch.

The transaction manager is passed as a parameter because this could be called either from a BEAM pipeline or standard non-BEAM code.

  • Constructor Details

    • Spec11ThreatMatchDao

      public Spec11ThreatMatchDao()
  • Method Details

    • deleteEntriesByDate

      public static void deleteEntriesByDate(JpaTransactionManager jpaTm, org.joda.time.LocalDate date)
      Delete all entries with the specified date from the database.
    • loadEntriesByDate

      public static com.google.common.collect.ImmutableList<Spec11ThreatMatch> loadEntriesByDate(JpaTransactionManager jpaTm, org.joda.time.LocalDate date)
      Query the database and return a list of domain names with the specified date.