@Test public void testFindAllPublishedUpdatedRecently() { }
@Override @Cacheable("recentPost") public List<Entry> findAllPublishedUpdatedRecently() { List<Entry> entries = entryRepository .findAllPublishedOrderByLastModifiedDateDesc(recentPageable); return entries; }
EntryServiceImpl implements EntryService { @Override @Cacheable("recentPost") public List<Entry> findAllPublishedUpdatedRecently() { List<Entry> entries = entryRepository .findAllPublishedOrderByLastModifiedDateDesc(recentPageable); return entries; } }
EntryServiceImpl implements EntryService { @Override @Cacheable("recentPost") public List<Entry> findAllPublishedUpdatedRecently() { List<Entry> entries = entryRepository .findAllPublishedOrderByLastModifiedDateDesc(recentPageable); return entries; }  }
EntryServiceImpl implements EntryService { @Override @Cacheable("recentPost") public List<Entry> findAllPublishedUpdatedRecently() { List<Entry> entries = entryRepository .findAllPublishedOrderByLastModifiedDateDesc(recentPageable); return entries; }  @Override Entry findOne(Integer entryId); @Override @Cacheable("entry") Entry findOnePublished(Integer entryId); @Override Page<Entry> findPage(Pageable pageable); @Override @Cacheable("entry") Page<Entry> findPagePublished(Pageable pageable); @Override @Cacheable("recentPost") List<Entry> findAllPublishedUpdatedRecently(); @Override Page<Entry> findPagePublishedByCategoryNameAndCategoryOrder(
            String categoryName, Integer categoryOrder, Pageable pageable); @Override Page<Entry> findPagePublishedByCreatedBy(String createdBy, Pageable pageable); @Override Page<Entry> findPagePublishedByTagName(String tagName, Pageable pageable); @Override Page<Entry> findPageByTagName(String tagName, Pageable pageable); @Override Page<Entry> searchPageByKeyword(String keyword, Pageable pageable); @Override Page<Entry> searchPagePublishedByKeyword(String keyword, Pageable pageable); @Override @Transactional @CacheEvict(value = {"recentPost", "entry"}, allEntries = true) Entry create(Entry entry, List<Category> category); @Override @Transactional @CacheEvict(value = {"recentPost", "entry"}, allEntries = true) Entry update(Integer entryId, Entry updatedEntry,
                        boolean updateLastModifiedDate, boolean saveInHistory); @Override @Transactional @CacheEvict(value = {"recentPost", "entry"}, allEntries = true) void delete(Integer entryId); }
EntryServiceImpl implements EntryService { @Override @Cacheable("recentPost") public List<Entry> findAllPublishedUpdatedRecently() { List<Entry> entries = entryRepository .findAllPublishedOrderByLastModifiedDateDesc(recentPageable); return entries; }  @Override Entry findOne(Integer entryId); @Override @Cacheable("entry") Entry findOnePublished(Integer entryId); @Override Page<Entry> findPage(Pageable pageable); @Override @Cacheable("entry") Page<Entry> findPagePublished(Pageable pageable); @Override @Cacheable("recentPost") List<Entry> findAllPublishedUpdatedRecently(); @Override Page<Entry> findPagePublishedByCategoryNameAndCategoryOrder(
            String categoryName, Integer categoryOrder, Pageable pageable); @Override Page<Entry> findPagePublishedByCreatedBy(String createdBy, Pageable pageable); @Override Page<Entry> findPagePublishedByTagName(String tagName, Pageable pageable); @Override Page<Entry> findPageByTagName(String tagName, Pageable pageable); @Override Page<Entry> searchPageByKeyword(String keyword, Pageable pageable); @Override Page<Entry> searchPagePublishedByKeyword(String keyword, Pageable pageable); @Override @Transactional @CacheEvict(value = {"recentPost", "entry"}, allEntries = true) Entry create(Entry entry, List<Category> category); @Override @Transactional @CacheEvict(value = {"recentPost", "entry"}, allEntries = true) Entry update(Integer entryId, Entry updatedEntry,
                        boolean updateLastModifiedDate, boolean saveInHistory); @Override @Transactional @CacheEvict(value = {"recentPost", "entry"}, allEntries = true) void delete(Integer entryId);  }