Interface ClubDAO

  • All Known Implementing Classes:
    JDBCClubDAO, JPAClubDAO

    public interface ClubDAO
    This interface defines the data access methods defined for the Club portion of the League.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void createVenue​(Venue venue)
      This method will create a new venue in the DB and update the provided object with the PK of that entity.
      List<Venue> getVenues​(int start, int count)
      This method will return all venues in the DB between the start and count values.
    • Method Detail

      • createVenue

        void createVenue​(Venue venue)
                  throws ClubDAOException
        This method will create a new venue in the DB and update the provided object with the PK of that entity.
        Parameters:
        venue -
        Throws:
        ClubDAOException
      • getVenues

        List<Venue> getVenues​(int start,
                              int count)
                       throws ClubDAOException
        This method will return all venues in the DB between the start and count values. Provide 0s to turn off paging.
        Parameters:
        start -
        count -
        Throws:
        ClubDAOException