Package de.hybris.platform.util
Class PartOfHandler<T>
java.lang.Object
de.hybris.platform.util.PartOfHandler<T>
Generic partOf handler to wrap arbitrary value setters into some code which automatically removes all items which has
been previous value(s) but are not part of the new value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TdoGetValue(SessionContext ctx) protected abstract voiddoSetValue(SessionContext ctx, T value) extractItems(Object value) protected voidextractItems(Set<Item> ret, Object value) voidsetValue(SessionContext ctx, T value)
-
Constructor Details
-
PartOfHandler
public PartOfHandler()
-
-
Method Details
-
setValue
-
extractItems
-
extractItems
-
doGetValue
-
doSetValue
-