Class MediaContainerForQualifierAttributePresetPredicate
- java.lang.Object
-
- de.hybris.platform.cms2.cloning.service.predicate.MediaContainerForQualifierAttributePresetPredicate
-
- All Implemented Interfaces:
java.util.function.BiPredicate<ItemModel,java.lang.String>,java.util.function.Supplier<java.lang.String>
public class MediaContainerForQualifierAttributePresetPredicate extends java.lang.Object implements java.util.function.BiPredicate<ItemModel,java.lang.String>, java.util.function.Supplier<java.lang.String>
Predicate to test if theQUALIFIERqualifier of theMediaContainerModelcomponent has a preset value during the deep cloning process.When the expression evaluates to
TRUE, the deep cloning process will detect that a new preset value (e.g. UID) needs to be generated for the qualifier of the component and the process will call#get()to retrieve the generated preset value.
-
-
Constructor Summary
Constructors Constructor Description MediaContainerForQualifierAttributePresetPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget()protected CMSItemDeepCloningServicegetCmsItemDeepCloningService()voidsetCmsItemDeepCloningService(CMSItemDeepCloningService cmsItemDeepCloningService)booleantest(ItemModel component, java.lang.String qualifier)
-
-
-
Method Detail
-
test
public boolean test(ItemModel component, java.lang.String qualifier)
- Specified by:
testin interfacejava.util.function.BiPredicate<ItemModel,java.lang.String>
-
get
public java.lang.String get()
- Specified by:
getin interfacejava.util.function.Supplier<java.lang.String>
-
getCmsItemDeepCloningService
protected CMSItemDeepCloningService getCmsItemDeepCloningService()
-
setCmsItemDeepCloningService
public void setCmsItemDeepCloningService(CMSItemDeepCloningService cmsItemDeepCloningService)
-
-