Interface UCSBDateRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<UCSBDate,Long>, org.springframework.data.repository.Repository<UCSBDate,Long>

@Repository public interface UCSBDateRepository extends org.springframework.data.repository.CrudRepository<UCSBDate,Long>
The UCSBDateRepository is a repository for UCSBDate entities.
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns all UCSBDate entities with a given quarterYYYYQ.

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
  • Method Details

    • findAllByQuarterYYYYQ

      Iterable<UCSBDiningCommonsMenuItem> findAllByQuarterYYYYQ(String quarterYYYYQ)
      This method returns all UCSBDate entities with a given quarterYYYYQ.
      Parameters:
      quarterYYYYQ - quarter in the format YYYYQ (e.g. 20241 for Winter 2024, 20242 for Spring 2024, 20243 for Summer 2024, 20244 for Fall 2024)
      Returns:
      all UCSBDate entities with a given quarterYYYYQ