Class ReservedListDao


public class ReservedListDao extends Object
A ReservedList DAO for Cloud SQL.
  • Method Details

    • save

      public static void save(ReservedList reservedList)
      Persist a new reserved list to Cloud SQL.
    • delete

      public static void delete(ReservedList reservedList)
      Deletes a reserved list from Cloud SQL.
    • getLatestRevision

      public static Optional<ReservedList> getLatestRevision(String reservedListName)
      Returns the most recent revision of the ReservedList with the specified name, if it exists.
    • checkExists

      public static boolean checkExists(String reservedListName)
      Returns whether the reserved list of the given name exists.

      This means that at least one reserved list revision must exist for the given name.