use of org.xwiki.wiki.properties.WikiPropertyGroupProvider in project xwiki-platform by xwiki.
the class DefaultWikiPropertyGroupManager method saveForDescriptor.
@Override
public void saveForDescriptor(WikiDescriptor descriptor) throws WikiPropertyGroupException {
String wikiId = descriptor.getId();
for (String propertyGroupName : propertyGroupProviders.keySet()) {
WikiPropertyGroup group = descriptor.getPropertyGroup(propertyGroupName);
if (group != null) {
WikiPropertyGroupProvider provider = propertyGroupProviders.get(propertyGroupName);
provider.save(group, wikiId);
}
}
}
Aggregations