@Immutable final class PreselectedSetImpl extends java.lang.Object implements PreselectedSet
Constructor and Description |
---|
PreselectedSetImpl() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
attributesAreEqual(CustomAttribute attr1,
CustomAttribute attr2) |
private boolean |
contains(java.util.Collection<CustomAttribute> attributes,
CustomAttribute customAttribute) |
(package private) java.util.Collection<CustomAttribute> |
getPreselectedAttributes(java.util.Collection<SubProduct> subProducts) |
java.util.Map<java.lang.String,java.util.Collection<CustomAttribute>> |
getPreselectedSetByLanguages(java.util.Collection<SubProduct> subProducts) |
private void |
intersectAll(java.util.Collection<CustomAttribute> results,
java.util.Collection<CustomAttribute> customAttributes) |
(package private) java.util.Map<java.lang.String,java.util.Collection<CustomAttribute>> |
mapAttributesByLanguage(java.util.Collection<CustomAttribute> attributes) |
public java.util.Map<java.lang.String,java.util.Collection<CustomAttribute>> getPreselectedSetByLanguages(java.util.Collection<SubProduct> subProducts)
getPreselectedSetByLanguages
in interface PreselectedSet
java.util.Map<java.lang.String,java.util.Collection<CustomAttribute>> mapAttributesByLanguage(java.util.Collection<CustomAttribute> attributes)
java.util.Collection<CustomAttribute> getPreselectedAttributes(java.util.Collection<SubProduct> subProducts)
private void intersectAll(java.util.Collection<CustomAttribute> results, java.util.Collection<CustomAttribute> customAttributes)
private boolean contains(java.util.Collection<CustomAttribute> attributes, CustomAttribute customAttribute)
private static boolean attributesAreEqual(CustomAttribute attr1, CustomAttribute attr2)