use of org.olat.modules.wiki.WikiPageSort.WikiPageNameComparator in project OpenOLAT by OpenOLAT.
the class WikiMainController method updateFileAndLinkList.
private void updateFileAndLinkList(Wiki wiki) {
List<VFSItem> mediaFiles = wiki.getMediaFileList();
Collections.sort(mediaFiles, new WikiFileComparator(getLocale()));
editContent.contextPut("fileList", mediaFiles);
List<String> allPages = wiki.getListOfAllPageNames();
Collections.sort(allPages, new WikiPageNameComparator(getLocale()));
editContent.contextPut("linkList", allPages);
}
use of org.olat.modules.wiki.WikiPageSort.WikiPageNameComparator in project openolat by klemens.
the class WikiMainController method updateFileAndLinkList.
private void updateFileAndLinkList(Wiki wiki) {
List<VFSItem> mediaFiles = wiki.getMediaFileList();
Collections.sort(mediaFiles, new WikiFileComparator(getLocale()));
editContent.contextPut("fileList", mediaFiles);
List<String> allPages = wiki.getListOfAllPageNames();
Collections.sort(allPages, new WikiPageNameComparator(getLocale()));
editContent.contextPut("linkList", allPages);
}
Aggregations