Uses of Interface
org.mycore.datamodel.classifications2.MCRCategory
Package
Description
Mail events
-
Uses of MCRCategory in org.mycore.common.events
Modifier and TypeMethodDescriptionprotected void
MCREventHandlerBase.handleClassificationCreated
(MCREvent evt, MCRCategory obj) Handles classification created events.protected void
MCREventHandlerBase.handleClassificationDeleted
(MCREvent evt, MCRCategory obj) Handles classification deleted events.protected void
MCREventHandlerBase.handleClassificationRepaired
(MCREvent evt, MCRCategory obj) Handles classification repair events.protected void
MCREventHandlerBase.handleClassificationUpdated
(MCREvent evt, MCRCategory obj) Handles classification updated events.protected void
MCREventHandlerBase.undoClassificationCreated
(MCREvent evt, MCRCategory obj) Handles undo of classification created events.protected void
MCREventHandlerBase.undoClassificationDeleted
(MCREvent evt, MCRCategory obj) Handles undo of classification deleted events.protected void
MCREventHandlerBase.undoClassificationRepaired
(MCREvent evt, MCRCategory obj) Handles undo of classification repaired events.protected void
MCREventHandlerBase.undoClassificationUpdated
(MCREvent evt, MCRCategory obj) Handles undo of classification updated events. -
Uses of MCRCategory in org.mycore.datamodel.classifications2
Modifier and TypeMethodDescriptionMCRCategoryDAO.addCategory
(MCRCategoryID parentID, MCRCategory category) Adds a category as child of another category.MCRCategoryDAO.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) Adds a category as child of another category.MCRCategoryDAO.getCategory
(MCRCategoryID id, int childLevel) Returns MCRCategory with this id and childLevel levels of subcategories.MCRCategoryLink.getCategory()
MCRCategory.getParent()
Returns the parent elementMCRCategory.getRoot()
Returns root category (the classification).MCRCategoryDAO.getRootCategory
(MCRCategoryID baseID, int childLevel) Returns the root Category with ancestor axis of the specified category and childLevel levels of subcategories.MCRCategoryDAO.removeLabel
(MCRCategoryID id, String lang) Removes a label from a Category.MCRCategoryDAO.setLabel
(MCRCategoryID id, MCRLabel label) Sets or updates a label from a Category.MCRCategoryDAO.setLabels
(MCRCategoryID id, SortedSet<MCRLabel> labels) Sets a new set of labels from a Category.MCRCategoryDAO.setURI
(MCRCategoryID id, URI uri) Sets or updates the URI from a Category.Modifier and TypeMethodDescriptionMCRCategoryDAO.getCategoriesByLabel
(String lang, String text) Retrieve all Categories tagged by a specific label in a specific lang.MCRCategoryDAO.getCategoriesByLabel
(MCRCategoryID baseID, String lang, String text) Retrieve all Categories tagged by a specific label in a specific lang.MCRCategory.getChildren()
Returns a list of subcategories.MCRCategoryDAO.getChildren
(MCRCategoryID id) Returns the list of child categories for the specified category.MCRCategoryDAO.getParents
(MCRCategoryID id) Returns the parent of the given category and its parent and so on.MCRCategoryDAO.getRootCategories()
Returns all categories that do not have a parent category.Collection<? extends MCRCategory>
MCRCategoryDAO.replaceCategory
(MCRCategory newCategory) Replaces aMCRCategory
by a new version of the same category.Modifier and TypeMethodDescriptionMCRCategoryDAO.addCategory
(MCRCategoryID parentID, MCRCategory category) Adds a category as child of another category.MCRCategoryDAO.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) Adds a category as child of another category.MCRCategLinkService.countLinks
(MCRCategory category, boolean childrenOnly) Counts links to a collection of categories.MCRCategLinkService.countLinksForType
(MCRCategory category, String type, boolean childrenOnly) Counts links to a collection of categories.boolean
MCRCategLinkService.hasLink
(MCRCategory classif) Checks if the category with the given id is liked with an objectMCRCategLinkService.hasLinks
(MCRCategory category) Checks if a categories id refered by objects.Collection<? extends MCRCategory>
MCRCategoryDAO.replaceCategory
(MCRCategory newCategory) Replaces aMCRCategory
by a new version of the same category. -
Uses of MCRCategory in org.mycore.datamodel.classifications2.impl
Modifier and TypeFieldDescriptionprotected MCRCategory
MCRAbstractCategoryImpl.parent
protected MCRCategory
MCRAbstractCategoryImpl.root
Modifier and TypeMethodDescriptionMCRCategoryDAOImpl.addCategory
(MCRCategoryID parentID, MCRCategory category) MCRCategoryDAOImpl.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) MCREventedCategoryDAOImpl.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) MCRCategoryDAOImpl.getCategory
(MCRCategoryID id, int childLevel) MCRCategoryLinkImpl.getCategory()
MCRAbstractCategoryImpl.getParent()
MCRCategoryImpl.getParent()
MCRAbstractCategoryImpl.getRoot()
MCRCategoryDAOImpl.getRootCategory
(MCRCategoryID baseID, int childLevel) MCRCategoryDAOImpl.removeLabel
(MCRCategoryID id, String lang) MCREventedCategoryDAOImpl.removeLabel
(MCRCategoryID id, String lang) MCRCategoryDAOImpl.setLabel
(MCRCategoryID id, MCRLabel label) MCREventedCategoryDAOImpl.setLabel
(MCRCategoryID id, MCRLabel label) MCRCategoryDAOImpl.setLabels
(MCRCategoryID id, SortedSet<MCRLabel> labels) MCREventedCategoryDAOImpl.setLabels
(MCRCategoryID id, SortedSet<MCRLabel> labels) MCRCategoryDAOImpl.setURI
(MCRCategoryID id, URI uri) Modifier and TypeMethodDescriptionMCRCategoryDAOImpl.getCategoriesByLabel
(String lang, String text) MCRCategoryDAOImpl.getCategoriesByLabel
(MCRCategoryID baseID, String lang, String text) MCRAbstractCategoryImpl.getChildren()
MCRCategoryDAOImpl.getChildren
(MCRCategoryID cid) MCRCategoryImpl.getChildren()
MCRCategoryDAOImpl.getParents
(MCRCategoryID id) MCRCategoryDAOImpl.getRootCategories()
Modifier and TypeMethodDescriptionMCRCategoryDAOImpl.addCategory
(MCRCategoryID parentID, MCRCategory category) MCRCategoryDAOImpl.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) MCREventedCategoryDAOImpl.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) MCRCategLinkServiceImpl.countLinks
(MCRCategory parent, boolean childrenOnly) MCRCategLinkServiceImpl.countLinksForType
(MCRCategory parent, String type, boolean childrenOnly) boolean
MCRCategLinkServiceImpl.hasLink
(MCRCategory mcrCategory) MCRCategLinkServiceImpl.hasLinks
(MCRCategory category) MCRCategoryDAOImpl.replaceCategory
(MCRCategory newCategory) MCREventedCategoryDAOImpl.replaceCategory
(MCRCategory newCategory) void
MCRAbstractCategoryImpl.setParent
(MCRCategory parent) void
MCRCategoryImpl.setRoot
(MCRCategory root) Modifier and TypeMethodDescriptionvoid
MCRCategoryImpl.setChildren
(List<MCRCategory> children) protected abstract void
MCRAbstractCategoryImpl.setChildrenUnlocked
(List<MCRCategory> children) protected void
MCRCategoryImpl.setChildrenUnlocked
(List<MCRCategory> children) -
Uses of MCRCategory in org.mycore.datamodel.classifications2.model
Modifier and TypeMethodDescriptionstatic MCRCategory
MCRClass.buildCategory
(String classID, MCRClassCategory e, MCRCategory parent) MCRClass.toCategory()
Modifier and TypeMethodDescriptionstatic MCRCategory
MCRClass.buildCategory
(String classID, MCRClassCategory e, MCRCategory parent) static MCRClass
MCRClass.getClassification
(MCRCategory rootCategory) static MCRClassCategory
MCRClassCategory.getInstance
(MCRCategory from) Modifier and TypeMethodDescriptionstatic List<MCRClassCategory>
MCRClassCategory.getInstance
(List<MCRCategory> children) -
Uses of MCRCategory in org.mycore.datamodel.classifications2.utils
Modifier and TypeMethodDescriptionstatic MCRCategory
MCRXMLTransformer.buildCategory
(String classID, Element e, MCRCategory parent) static MCRCategory
MCRXMLTransformer.getCategory
(Document xml) Modifier and TypeMethodDescriptionstatic MCRCategory
MCRXMLTransformer.buildCategory
(String classID, Element e, MCRCategory parent) static Element
MCRCategoryTransformer.getEditorItems
(MCRCategory cl, boolean sort, boolean emptyLeaves, boolean completeId) transforms aClassification
into a MCR Editor definition (<items>
).static Element
MCRCategoryTransformer.getEditorItems
(MCRCategory cl, String labelFormat, boolean sort, boolean emptyLeaves, boolean completeId) transforms aClassification
into a MCR Editor definition (<items>
).static Document
MCRCategoryTransformer.getMetaDataDocument
(MCRCategory cl, boolean withCounter) transforms aMCRCategory
into a JDOM Document.static Element
MCRCategoryTransformer.getMetaDataElement
(MCRCategory category, boolean withCounter) transforms aMCRCategory
into a JDOM Element.static Document
MCRSkosTransformer.getSkosInRDFXML
(MCRCategory categ, MCRCategoryID current) return a classification tree as SKOS XMLstatic String
MCRStringTransformer.getString
(MCRCategory category) -
Uses of MCRCategory in org.mycore.frontend.classeditor.json
Modifier and TypeMethodDescriptionvoid
MCRJSONCategoriesSaveList.add
(MCRCategory categ, MCRCategoryID parentID, int index, String status) void
MCRJSONCategory.setParent
(MCRCategory parent) -
Uses of MCRCategory in org.mycore.frontend.classeditor.utils
Modifier and TypeMethodDescriptionstatic MCRCategory
MCRCategUtils.newCategory
(MCRCategoryID id, SortedSet<MCRLabel> labels, MCRCategoryID mcrCategoryID) -
Uses of MCRCategory in org.mycore.frontend.classeditor.wrapper
ModifierConstructorDescriptionMCRCategoryListWrapper
(List<MCRCategory> categList) MCRCategoryListWrapper
(List<MCRCategory> categList, Map<MCRCategoryID, Boolean> linkMap) -
Uses of MCRCategory in org.mycore.solr.classification
Modifier and TypeMethodDescriptionMCRSolrCategoryDAO.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) MCRSolrCategoryDAO.removeLabel
(MCRCategoryID id, String lang) MCRSolrCategoryDAO.setLabel
(MCRCategoryID id, MCRLabel label) MCRSolrCategoryDAO.setLabels
(MCRCategoryID id, SortedSet<MCRLabel> labels) MCRSolrCategoryDAO.setURI
(MCRCategoryID id, URI uri) Modifier and TypeMethodDescriptionstatic LinkedList<MCRCategory>
MCRSolrClassificationUtil.getAncestors
(MCRCategory category) Returns a list of all ancestors.static List<MCRCategory>
MCRSolrClassificationUtil.getDescendants
(MCRCategory category) Returns a list of all descendants.Modifier and TypeMethodDescriptionMCRSolrCategoryDAO.addCategory
(MCRCategoryID parentID, MCRCategory category, int position) static LinkedList<MCRCategory>
MCRSolrClassificationUtil.getAncestors
(MCRCategory category) Returns a list of all ancestors.static List<MCRCategory>
MCRSolrClassificationUtil.getDescendants
(MCRCategory category) Returns a list of all descendants.static void
MCRSolrClassificationUtil.reindex
(MCRCategory... categories) Reindex a bunch ofMCRCategory
.MCRSolrCategoryDAO.replaceCategory
(MCRCategory newCategory) protected void
MCRSolrCategoryDAO.solrDelete
(MCRCategoryID id, MCRCategory parent) Modifier and TypeMethodDescriptionstatic List<org.apache.solr.common.SolrInputDocument>
MCRSolrClassificationUtil.toSolrDocument
(Collection<MCRCategory> categoryList) Creates a new list ofSolrInputDocument
based on the given category list. -
Uses of MCRCategory in org.mycore.wfc.mail
Modifier and TypeMethodDescriptionprotected void
MCRMailEventHandler.handleClassificationCreated
(MCREvent evt, MCRCategory obj) protected void
MCRMailEventHandler.handleClassificationDeleted
(MCREvent evt, MCRCategory obj) protected void
MCRMailEventHandler.handleClassificationUpdated
(MCREvent evt, MCRCategory obj)