Interface TreeNodeDataSetGenerator
- All Known Implementing Classes:
DefaultTreeNodeDataSetGenerator
public interface TreeNodeDataSetGenerator
Generates a set of
TreeNodeData.-
Method Summary
Modifier and TypeMethodDescriptiongenerate(Set<AttributeDescriptorModel> attributes, List<AbstractListItemDTO> existingAttributes, Set<SubtypeData> subtypeDataSet, IntegrationMapKeyDTO parentKey) GeneratesTreeNodeDatafor provided attributes.generateInSelectedMode(List<AbstractListItemDTO> attributes, Set<SubtypeData> subtypeDataSet, IntegrationMapKeyDTO parentKey) GeneratesTreeNodeDatafor provided selected attributes.
-
Method Details
-
generate
Set<TreeNodeData> generate(Set<AttributeDescriptorModel> attributes, List<AbstractListItemDTO> existingAttributes, Set<SubtypeData> subtypeDataSet, IntegrationMapKeyDTO parentKey) GeneratesTreeNodeDatafor provided attributes.- Parameters:
attributes- the set of attributes to generateTreeNodeDatafor.existingAttributes- the list of selected attributes.subtypeDataSet- the set of all attributes'SubtypeData.parentKey- the parent type instance of the attributes. Used to find theSubtypeDataof the attributes within the subtypeDataSet.- Returns:
- a set of
TreeNodeData.
-
generateInSelectedMode
Set<TreeNodeData> generateInSelectedMode(List<AbstractListItemDTO> attributes, Set<SubtypeData> subtypeDataSet, IntegrationMapKeyDTO parentKey) GeneratesTreeNodeDatafor provided selected attributes.- Parameters:
attributes- the list of selected attributes.subtypeDataSet- the set of all attributes'SubtypeData.parentKey- the parent type instance of the attributes. Used to find theSubtypeDataof the attributes within the subtypeDataSet.- Returns:
- a set of
TreeNodeData.
-