Interface FestivalService

All Known Implementing Classes:
FestivalServiceImpl

public interface FestivalService
Service interface for handling festival-related operations.
  • Method Details

    • createOrUpdateFestival

      FestivalCreationResponse createOrUpdateFestival(FestivalRequest festivalRequest)
      Creates or updates a festival.
      Parameters:
      festivalRequest - The festival request object.
      Returns:
      The festival creation response.
    • getFestivalById

      FestivalResponse getFestivalById(UUID userId, UUID festivalId)
      Gets a festival by its ID.
      Parameters:
      userId - The ID of the user.
      festivalId - The ID of the festival.
      Returns:
      The festival response.
    • getFestivalPerformancesById

      List<FestivalPerformanceResponse> getFestivalPerformancesById(UUID festivalId)
      Gets the performances for a festival by its ID.
      Parameters:
      festivalId - The ID of the festival.
      Returns:
      A list of festival performance responses.
    • getFestivalStagesById

      List<FestivalStageResponse> getFestivalStagesById(UUID festivalId)
      Gets the stages for a festival by its ID.
      Parameters:
      festivalId - The ID of the festival.
      Returns:
      A list of festival stage responses.
    • getFestivalArtistsById

      List<FestivalArtistResponse> getFestivalArtistsById(UUID userId, UUID festivalId)
      Gets the artists for a festival by its ID.
      Parameters:
      userId - The ID of the user.
      festivalId - The ID of the festival.
      Returns:
      A list of festival artist responses.
    • getNearbyFestivals

      List<Festival> getNearbyFestivals(UUID cityId, Double radiusInMeters)
      Gets a list of nearby festivals.
      Parameters:
      cityId - The ID of the city to search near.
      radiusInMeters - The search radius in meters.
      Returns:
      A list of festivals.
    • getBasicArtistsForFestival

      List<BasicArtistResponse> getBasicArtistsForFestival(UUID festivalId)
      Gets a list of basic artist information for a festival.
      Parameters:
      festivalId - The ID of the festival.
      Returns:
      A list of basic artist responses.