Uses of Interface
org.mycore.datamodel.classifications2.MCRCategory

Packages that use MCRCategory
org.mycore.common.events   
org.mycore.datamodel.classifications   
org.mycore.datamodel.classifications2   
org.mycore.datamodel.classifications2.impl   
org.mycore.datamodel.classifications2.utils   
 

Uses of MCRCategory in org.mycore.common.events
 

Methods in org.mycore.common.events with parameters of type MCRCategory
protected  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.classifications
 

Methods in org.mycore.datamodel.classifications that return MCRCategory
 MCRCategory MCRClassificationEditor.findCategory(MCRCategory classification, MCRCategoryID ID)
          Here come private methods
 MCRCategory MCRClassificationBrowserData.getClassification()
           
 MCRCategory MCRClassificationPool.getClassificationAsPojo(MCRCategoryID clid, boolean writeAccess)
          This method checks to see if the classification which is expected is in the Session (when edited) or it takes the classification from the database
 

Methods in org.mycore.datamodel.classifications with parameters of type MCRCategory
 MCRCategory MCRClassificationEditor.findCategory(MCRCategory classification, MCRCategoryID ID)
          Here come private methods
 void MCRClassificationPool.updateClassification(MCRCategory cl)
          Put the classification in the Session.
 

Uses of MCRCategory in org.mycore.datamodel.classifications2
 

Methods in org.mycore.datamodel.classifications2 that return MCRCategory
 MCRCategory MCRCategoryDAO.getCategory(MCRCategoryID id, int childLevel)
          Returns MCRCategory with this id and childLevel levels of subcategories.
 MCRCategory MCRCategory.getParent()
          Returns the parent element
 MCRCategory MCRCategory.getRoot()
          Returns root category (the classification).
 MCRCategory MCRCategoryDAO.getRootCategory(MCRCategoryID baseID, int childLevel)
          Returns the root Category with ancestor axis of the specified category and childLevel levels of subcategories.
 

Methods in org.mycore.datamodel.classifications2 that return types with arguments of type MCRCategory
 List<MCRCategory> MCRCategoryDAO.getCategoriesByLabel(MCRCategoryID baseID, String lang, String text)
          Retrieve all Categories tagged by a specific label in a specific lang.
 List<MCRCategory> MCRCategory.getChildren()
          Returns a list of subcategories.
 List<MCRCategory> MCRCategoryDAO.getChildren(MCRCategoryID id)
          Returns the list of child categories for the specified category.
 List<MCRCategory> MCRCategoryDAO.getParents(MCRCategoryID id)
          Returns the parent of the given category and its parent and so on.
 List<MCRCategory> MCRCategoryDAO.getRootCategories()
          Returns all categories that do not have a parent category.
 

Methods in org.mycore.datamodel.classifications2 with parameters of type MCRCategory
 void MCRCategoryDAO.addCategory(MCRCategoryID parentID, MCRCategory category)
          Adds a category as child of another category.
 Map<MCRCategoryID,Number> MCRCategLinkService.countLinks(MCRCategory category, boolean childrenOnly)
          Counts links to a collection of categories.
 Map<MCRCategoryID,Number> MCRCategLinkService.countLinksForType(MCRCategory category, String type, boolean childrenOnly)
          Counts links to a collection of categories.
 Map<MCRCategoryID,Boolean> MCRCategLinkService.hasLinks(MCRCategory category)
          Checks if a categories id refered by objects.
 void MCRCategoryDAO.replaceCategory(MCRCategory newCategory)
          Replaces a MCRCategory by a new version of the same category.
 

Uses of MCRCategory in org.mycore.datamodel.classifications2.impl
 

Classes in org.mycore.datamodel.classifications2.impl that implement MCRCategory
 class MCRAbstractCategoryImpl
           
 class MCRCategoryImpl
           
 

Fields in org.mycore.datamodel.classifications2.impl declared as MCRCategory
protected  MCRCategory MCRAbstractCategoryImpl.parent
           
protected  MCRCategory MCRAbstractCategoryImpl.root
           
 

Fields in org.mycore.datamodel.classifications2.impl with type parameters of type MCRCategory
protected  List<MCRCategory> MCRAbstractCategoryImpl.children
           
 

Methods in org.mycore.datamodel.classifications2.impl that return MCRCategory
 MCRCategory MCRCategoryDAOImpl.getCategory(MCRCategoryID id, int childLevel)
           
 MCRCategory MCRAbstractCategoryImpl.getParent()
           
 MCRCategory MCRAbstractCategoryImpl.getRoot()
           
 MCRCategory MCRCategoryDAOImpl.getRootCategory(MCRCategoryID baseID, int childLevel)
           
 MCRCategory MCRCategoryChildList.remove(int index)
           
 MCRCategory MCRCategoryChildList.set(int index, MCRCategory element)
           
 

Methods in org.mycore.datamodel.classifications2.impl that return types with arguments of type MCRCategory
 List<MCRCategory> MCRCategoryDAOImpl.getCategoriesByLabel(MCRCategoryID baseID, String lang, String text)
           
 List<MCRCategory> MCRAbstractCategoryImpl.getChildren()
           
 List<MCRCategory> MCRCategoryDAOImpl.getChildren(MCRCategoryID cid)
           
 List<MCRCategory> MCRCategoryDAOImpl.getParents(MCRCategoryID id)
           
 List<MCRCategory> MCRCategoryDAOImpl.getRootCategories()
           
 

Methods in org.mycore.datamodel.classifications2.impl with parameters of type MCRCategory
 void MCRCategoryChildList.add(int index, MCRCategory element)
           
 boolean MCRCategoryChildList.add(MCRCategory e)
           
 void MCRCategoryDAOImpl.addCategory(MCRCategoryID parentID, MCRCategory category)
           
 Map<MCRCategoryID,Number> MCRCategLinkServiceImpl.countLinks(MCRCategory parent, boolean childrenOnly)
           
 Map<MCRCategoryID,Number> MCRCategLinkServiceImpl.countLinksForType(MCRCategory parent, String type, boolean childrenOnly)
           
 Map<MCRCategoryID,Boolean> MCRCategLinkServiceImpl.hasLinks(MCRCategory category)
           
 void MCRCategoryDAOImpl.replaceCategory(MCRCategory newCategory)
           
 MCRCategory MCRCategoryChildList.set(int index, MCRCategory element)
           
 void MCRAbstractCategoryImpl.setParent(MCRCategory parent)
           
 void MCRCategoryImpl.setRoot(MCRCategory root)
           
(package private) static Collection<MCRCategoryImpl> MCRCategoryImpl.wrapCategories(Collection<? extends MCRCategory> categories, MCRCategory parent, MCRCategory root)
           
(package private) static MCRCategoryImpl MCRCategoryImpl.wrapCategory(MCRCategory category, MCRCategory parent, MCRCategory root)
           
 

Method parameters in org.mycore.datamodel.classifications2.impl with type arguments of type MCRCategory
 boolean MCRCategoryChildList.addAll(Collection<? extends MCRCategory> c)
           
 boolean MCRCategoryChildList.addAll(int index, Collection<? extends MCRCategory> c)
           
 void MCRCategoryImpl.setChildren(List<MCRCategory> children)
           
protected abstract  void MCRAbstractCategoryImpl.setChildren(List<MCRCategory> children)
           
(package private) static Collection<MCRCategoryImpl> MCRCategoryImpl.wrapCategories(Collection<? extends MCRCategory> categories, MCRCategory parent, MCRCategory root)
           
 

Constructors in org.mycore.datamodel.classifications2.impl with parameters of type MCRCategory
MCRCategoryChildList(MCRCategory root, MCRCategory thisCategory)
           
 

Uses of MCRCategory in org.mycore.datamodel.classifications2.utils
 

Methods in org.mycore.datamodel.classifications2.utils that return MCRCategory
static MCRCategory MCRXMLTransformer.buildCategory(String classID, Element e, MCRCategory parent)
           
static MCRCategory MCRXMLTransformer.getCategory(Document xml)
           
 

Methods in org.mycore.datamodel.classifications2.utils with parameters of type MCRCategory
static MCRCategory MCRXMLTransformer.buildCategory(String classID, Element e, MCRCategory parent)
           
static Element MCRCategoryTransformer.getEditorItems(MCRCategory cl, boolean sort, boolean emptyLeaves)
          transforms a Classification into a MCR Editor definition ( <items>).
static Element MCRCategoryTransformer.getEditorItems(MCRCategory cl, String labelFormat, boolean sort, boolean emptyLeaves)
          transforms a Classification into a MCR Editor definition (<items>).
static Document MCRCategoryTransformer.getMetaDataDocument(MCRCategory cl, boolean withCounter)
          transforms a MCRCategory into a JDOM Document.
static Element MCRCategoryTransformer.getMetaDataElement(MCRCategory category, boolean withCounter)
          transforms a MCRCategory into a JDOM Element.
static String MCRStringTransformer.getString(MCRCategory category)