Class DefaultEditorAttributesFilteringService
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.utility.DefaultEditorAttributesFilteringService
- All Implemented Interfaces:
EditorAttributesFilteringService
public class DefaultEditorAttributesFilteringService
extends Object
implements EditorAttributesFilteringService
Editor Filtering Service is a bean used to filter attribute models.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultEditorAttributesFilteringService(ReadService readService) Constructor -
Method Summary
Modifier and TypeMethodDescriptionfilterAttributesForAttributesMap(ComposedTypeModel parentType) Filters a set of attribute descriptors for types that are not on the blacklistfilterAttributesForTree(ComposedTypeModel parentType) Filters a set of attribute descriptors for Composed and Enumeration types that are not on the blacklist
-
Constructor Details
-
DefaultEditorAttributesFilteringService
Constructor- Parameters:
readService- readService bean passed in.
-
-
Method Details
-
filterAttributesForTree
Filters a set of attribute descriptors for Composed and Enumeration types that are not on the blacklist- Specified by:
filterAttributesForTreein interfaceEditorAttributesFilteringService- Parameters:
parentType- the parent ComposedTypeModel to get the attribute descriptors to filter- Returns:
- a filtered set of AttributeDescriptorModel
-
filterAttributesForAttributesMap
Filters a set of attribute descriptors for types that are not on the blacklist- Specified by:
filterAttributesForAttributesMapin interfaceEditorAttributesFilteringService- Parameters:
parentType- the parent ComposedTypeModel to get the attribute descriptors to filter- Returns:
- a filtered and sorted set of AttributeDescriptorModel
-