Package org.localify.festival
Interface FestivalService
- All Known Implementing Classes:
FestivalServiceImpl
public interface FestivalService
Service interface for handling festival-related operations.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateFestival(FestivalRequest festivalRequest) Creates or updates a festival.getBasicArtistsForFestival(UUID festivalId) Gets a list of basic artist information for a festival.getFestivalArtistsById(UUID userId, UUID festivalId) Gets the artists for a festival by its ID.getFestivalById(UUID userId, UUID festivalId) Gets a festival by its ID.getFestivalPerformancesById(UUID festivalId) Gets the performances for a festival by its ID.getFestivalStagesById(UUID festivalId) Gets the stages for a festival by its ID.getNearbyFestivals(UUID cityId, Double radiusInMeters) Gets a list of nearby festivals.
-
Method Details
-
createOrUpdateFestival
Creates or updates a festival.- Parameters:
festivalRequest- The festival request object.- Returns:
- The festival creation response.
-
getFestivalById
Gets a festival by its ID.- Parameters:
userId- The ID of the user.festivalId- The ID of the festival.- Returns:
- The festival response.
-
getFestivalPerformancesById
Gets the performances for a festival by its ID.- Parameters:
festivalId- The ID of the festival.- Returns:
- A list of festival performance responses.
-
getFestivalStagesById
Gets the stages for a festival by its ID.- Parameters:
festivalId- The ID of the festival.- Returns:
- A list of festival stage responses.
-
getFestivalArtistsById
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
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
Gets a list of basic artist information for a festival.- Parameters:
festivalId- The ID of the festival.- Returns:
- A list of basic artist responses.
-