Package org.localify.dashboard
Interface DashboardService
- All Known Implementing Classes:
DashboardServiceImpl
public interface DashboardService
Service interface for dashboard-related operations.
-
Method Summary
Modifier and TypeMethodDescriptionGets newly created artists statistics.Gets scraped artists statistics.Gets crowdsourcing statistics.Gets discovered artists statistics.Gets newly created events statistics.Gets scraped events statistics.Gets favorite statistics.Gets user feedback.Gets landing page statistics.Gets recommendation system statistics.Gets upcoming events statistics.Gets user statistics.Gets view statistics.voidScrapeArtistFromId(UUID localifyId) Triggers a scrape for an artist.voidScrapeCityFromId(UUID localifyId) Triggers a scrape for a city.
-
Method Details
-
getUserStats
DashUserStatsResponse getUserStats()Gets user statistics.- Returns:
- The user statistics.
-
getFavoriteStats
DashFavoriteStatsResponse getFavoriteStats()Gets favorite statistics.- Returns:
- The favorite statistics.
-
getCrowdsourcingStats
DashCrowdsourcingStatsResponse getCrowdsourcingStats()Gets crowdsourcing statistics.- Returns:
- The crowdsourcing statistics.
-
getRecStats
DashRecStatsResponse getRecStats()Gets recommendation system statistics.- Returns:
- The recommendation system statistics.
-
getViewStats
DashViewStatsResponse getViewStats()Gets view statistics.- Returns:
- The view statistics.
-
getEventsScrapedStats
DashEventsCreatedResponse getEventsScrapedStats()Gets scraped events statistics.- Returns:
- The scraped events statistics.
-
getEventsCreatedStats
DashEventsCreatedResponse getEventsCreatedStats()Gets newly created events statistics.- Returns:
- The newly created events statistics.
-
getArtistsScrapedStats
DashArtistsCreatedResponse getArtistsScrapedStats()Gets scraped artists statistics.- Returns:
- The scraped artists statistics.
-
getArtistsCreatedStats
DashArtistsCreatedResponse getArtistsCreatedStats()Gets newly created artists statistics.- Returns:
- The newly created artists statistics.
-
getUpcomingEvents
TimeStatsContainer getUpcomingEvents()Gets upcoming events statistics.- Returns:
- The upcoming events statistics.
-
getFeedback
List<UserFeedbackResponse> getFeedback()Gets user feedback.- Returns:
- A list of user feedback responses.
-
getLandingStats
LandingStatsResponse getLandingStats()Gets landing page statistics.- Returns:
- The landing page statistics.
-
getDiscoveredArtists
DiscoveredArtistsResponse getDiscoveredArtists()Gets discovered artists statistics.- Returns:
- The discovered artists statistics.
-
ScrapeCityFromId
Triggers a scrape for a city.- Parameters:
localifyId- The ID of the city to scrape.
-
ScrapeArtistFromId
Triggers a scrape for an artist.- Parameters:
localifyId- The ID of the artist to scrape.
-