use of com.enonic.xp.content.ExtraData in project xp by enonic.
the class HtmlAreaContentProcessor method processExtraData.
private void processExtraData(final ExtraDatas extraDatas, final ContentIds.Builder processedIds) {
if (extraDatas != null) {
final XDatas xDatas = xDataService.getByNames(extraDatas.getNames());
if (xDatas.getSize() > 0) {
xDatas.forEach(xData -> {
if (extraDatas == null) {
return;
}
final ExtraData extraData = extraDatas.getMetadata(xData.getName());
if (extraData != null) {
final Collection<Property> properties = getProperties(extraData.getData(), xData.getForm().getFormItems());
processDataTree(properties, processedIds);
}
});
}
}
}
Aggregations