Changes between Version 3 and Version 4 of Advanced Application Development


Ignore:
Timestamp:
04/24/26 14:12:07 (8 days ago)
Author:
231035
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Advanced Application Development

    v3 v4  
    11= Advanced Application Development
    22== Transactional
     3=== Getting similar listings based on liked ones
     4{{{
     5@Transactional(readOnly = true)
     6    public List<RecommendedListingProjection> getRecommendedListings(Long userId) {
     7        return recommendationRepository.getRecommendedListings(userId);
     8    }
     9}}}
     10=== Getting the top 10 most active users
     11{{{
     12@Transactional(readOnly = true)
     13    public List<UserActivityRankingProjection> getTopActiveUsers(
     14            LocalDateTime startTs,
     15            LocalDateTime endTs
     16    ) {
     17        return analyticsRepository.getTopActiveUsers(startTs, endTs);
     18    }
     19}}}
    320=== Adding a listing as a favorite
    421{{{