*/
@SuppressWarnings("unchecked")
public PresentationFileHistory getHistory()
{
FileHistory fileHistory = fileListContentService.getHistory();
PresentationFileHistory presentationFileHistory = new PresentationFileHistory();
for (File file : fileHistory) {
presentationFileHistory.add(new PresentationFile(
file.getName(),
file.getPath(),
FileType.getFileTypeByFileName(file.getName())));
}
return presentationFileHistory;