class FreeMarkerController {


    private PlaylistEntryRepository playlistEntryRepository;



    public FreeMarkerController() {
        super();
    }


    @Autowired
    public void setPlaylistEntryRepository(final PlaylistEntryRepository playlistEntryRepository) {
        this.playlistEntryRepository = playlistEntryRepository;
    }



    @RequestMapping("/freemarker")
    public String index() {
        return "freemarker/index";
    }


    @RequestMapping("/smalllist.freemarker")
    public String smallList(final Model model) {
        model.addAttribute("entries", this.playlistEntryRepository.findAllPlaylistEntries());
        return "freemarker/smalllist";
    }


    @RequestMapping("/biglist.freemarker")
    public String bigListFreeMarker(final Model model) {<FILL_FUNCTION_BODY>}

}


        final Iterator<PlaylistEntry> playlistEntries = this.playlistEntryRepository.findLargeCollectionPlaylistEntries();
        model.addAttribute("dataSource", playlistEntries);

        return "freemarker/biglist";

    
<no_super_class>