Interface VenueService

All Known Implementing Classes:
VenueServiceImpl

public interface VenueService
Service for handling venue-related operations.
  • Method Details

    • getResponse

      VenueResponseExtended getResponse(UUID venueId, UUID actingUserId)
      Gets a venue response by its ID.
      Parameters:
      venueId - The ID of the venue.
      actingUserId - The ID of the user performing the action.
      Returns:
      The venue response.
    • patchById

      Venue patchById(UUID valueId, VenuePatchRequest request, UUID actingUserId)
      Patches a venue by its ID.
      Parameters:
      valueId - The ID of the venue.
      request - The patch request.
      actingUserId - The ID of the user performing the action.
      Returns:
      The updated venue.
    • deleteById

      void deleteById(UUID venueId, UUID actingUserId)
      Deletes a venue by its ID.
      Parameters:
      venueId - The ID of the venue.
      actingUserId - The ID of the user performing the action.
    • createPlaylist

      PlaylistDto createPlaylist(Venue venue)
      Creates a playlist for a venue.
      Parameters:
      venue - The venue.
      Returns:
      The playlist DTO.
    • getOrCreatePlaylist

      PlaylistDto getOrCreatePlaylist(UUID venueId)
      Gets or creates a playlist for a venue.
      Parameters:
      venueId - The ID of the venue.
      Returns:
      The playlist DTO.
    • getUpcomingEvents

      List<EventResponseExtendedLocal> getUpcomingEvents(UUID venueId, PageOptions pageOptions, UUID userId)
      Gets the upcoming events for a venue.
      Parameters:
      venueId - The ID of the venue.
      pageOptions - The pagination options.
      userId - The ID of the user.
      Returns:
      A list of event responses.
    • getPreviousEvents

      List<EventResponseExtendedLocal> getPreviousEvents(UUID venueId, PageOptions pageOptions, UUID userId)
      Gets the past events for a venue.
      Parameters:
      venueId - The ID of the venue.
      pageOptions - The pagination options.
      userId - The ID of the user.
      Returns:
      A list of event responses.