use of org.olat.modules.portfolio.MediaInformations in project OpenOLAT by OpenOLAT.
the class VideoHandler method getInformations.
@Override
public MediaInformations getInformations(Object mediaObject) {
String title = null;
String description = null;
if (mediaObject instanceof MetaTagged) {
MetaInfo meta = ((MetaTagged) mediaObject).getMetaInfo();
title = meta.getTitle();
description = meta.getComment();
}
return new Informations(title, description);
}
use of org.olat.modules.portfolio.MediaInformations in project openolat by klemens.
the class BlogEntryMediaHandler method getInformations.
@Override
public MediaInformations getInformations(Object mediaObject) {
BlogEntryMedia entry = (BlogEntryMedia) mediaObject;
Item item = entry.getItem();
return new Informations(item.getTitle(), item.getDescription());
}
use of org.olat.modules.portfolio.MediaInformations in project openolat by klemens.
the class FileHandler method getInformations.
@Override
public MediaInformations getInformations(Object mediaObject) {
String title = null;
String description = null;
if (mediaObject instanceof MetaTagged) {
MetaInfo meta = ((MetaTagged) mediaObject).getMetaInfo();
title = meta.getTitle();
description = meta.getComment();
}
return new Informations(title, description);
}
use of org.olat.modules.portfolio.MediaInformations in project openolat by klemens.
the class ImageHandler method getInformations.
@Override
public MediaInformations getInformations(Object mediaObject) {
String title = null;
String description = null;
if (mediaObject instanceof MetaTagged) {
MetaInfo meta = ((MetaTagged) mediaObject).getMetaInfo();
title = meta.getTitle();
description = meta.getComment();
}
return new Informations(title, description);
}
use of org.olat.modules.portfolio.MediaInformations in project OpenOLAT by OpenOLAT.
the class BlogEntryMediaHandler method getInformations.
@Override
public MediaInformations getInformations(Object mediaObject) {
BlogEntryMedia entry = (BlogEntryMedia) mediaObject;
Item item = entry.getItem();
return new Informations(item.getTitle(), item.getDescription());
}
Aggregations