use of org.mycore.datamodel.classifications2.MCRCategory in project mycore by MyCoRe-Org.
the class MCRSolrCategoryDAO method addCategory.
@Override
public MCRCategory addCategory(MCRCategoryID parentID, MCRCategory category, int position) {
MCRCategory parent = super.addCategory(parentID, category, position);
MCRSolrClassificationUtil.reindex(category, parent);
return parent;
}
use of org.mycore.datamodel.classifications2.MCRCategory in project mycore by MyCoRe-Org.
the class MCRSolrCategoryDAO method removeLabel.
@Override
public MCRCategory removeLabel(MCRCategoryID id, String lang) {
MCRCategory category = super.removeLabel(id, lang);
MCRSolrClassificationUtil.reindex(category);
return category;
}
use of org.mycore.datamodel.classifications2.MCRCategory in project mycore by MyCoRe-Org.
the class MCRSolrCategoryDAO method setURI.
@Override
public MCRCategory setURI(MCRCategoryID id, URI uri) {
MCRCategory category = super.setURI(id, uri);
MCRSolrClassificationUtil.reindex(category);
return category;
}
Aggregations