@Transactional public List<Album> getAllOfGenre( MDOUser user, long genreSid, boolean authorInfo, boolean songsInfo, boolean resourcesInfo, int fromResult, int maxResults, boolean orderDesc, boolean orderByAuthor ) { List<MDOAlbum> albums = daoAlbum.getAllOfGenre( genreSid, user.getLogin(), fromResult, maxResults, orderDesc, orderByAuthor ); return Album.transform( albums, authorInfo, songsInfo, resourcesInfo ); }