use of org.olat.modules.portfolio.MediaInformations in project openolat by klemens.
the class WikiMediaHandler method getInformations.
@Override
public MediaInformations getInformations(Object mediaObject) {
String title = null;
if (mediaObject instanceof WikiPage) {
WikiPage page = (WikiPage) mediaObject;
title = page.getPageName();
}
return new Informations(title, null);
}
use of org.olat.modules.portfolio.MediaInformations in project openolat by klemens.
the class ForumMediaHandler method getInformations.
@Override
public MediaInformations getInformations(Object mediaObject) {
String title = null;
if (mediaObject instanceof MessageLight) {
MessageLight messageLight = (MessageLight) mediaObject;
title = messageLight.getTitle();
}
return new Informations(title, null);
}
Aggregations