Package mc.core.domain.base.aspect
Class ClassificationBean
java.lang.Object
mc.core.system.base.BaseBean
mc.core.domain.base.aspect.ClassificationBean
public class ClassificationBean
extends mc.core.system.base.BaseBean
centralize handling of classification attribute loading
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributesOfClassification(List<Node> nodes, List<Node> nodesWithParents, Classification selectedClassification) loads all attributes of classification(s) and their classification parents that are assigned to given nodes.
-
Method Details
-
getAttributesOfClassification
public Map<Node,List<IAttributeAssignment>> getAttributesOfClassification(List<Node> nodes, List<Node> nodesWithParents, Classification selectedClassification) loads all attributes of classification(s) and their classification parents that are assigned to given nodes. NOTE: if a node has the same attribute assignment more than once the first mandatory assignment found is returned, no duplicates.- Parameters:
selectedClassification- optional, if given only returns attributes of classification and their parents to which node is assigned. By default returns all attributes of all classification classes, filter duplicate attributes
-