Class DatabaseChecks

java.lang.Object
clickDetector.offlineFuncs.DatabaseChecks

public class DatabaseChecks extends Object
  • Constructor Details

  • Method Details

    • runChecks

      public boolean runChecks(boolean repair)
    • checkEvent

      public boolean checkEvent(int eventId, boolean repair)
      Check a single event. Basically, can just query all the clicks for this event, check the start and end times and total number of clicks are all correct.
      Parameters:
      repair - repair the event if there is an error.
      anEvent - event
      Returns:
      true if event OK / repaired.