Class MediaForCodeAttributePresetPredicate

  • All Implemented Interfaces:
    java.util.function.BiPredicate<ItemModel,​java.lang.String>, java.util.function.Supplier<java.lang.String>

    @Deprecated(since="2105",
                forRemoval=true)
    public class MediaForCodeAttributePresetPredicate
    extends java.lang.Object
    implements java.util.function.BiPredicate<ItemModel,​java.lang.String>, java.util.function.Supplier<java.lang.String>
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 2105, please use MediaForCodeAttributePresetHandler instead.
    Predicate to test if the CODE qualifier of the MediaModel component 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
      MediaForCodeAttributePresetPredicate()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String get()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected CMSItemDeepCloningService getCmsItemDeepCloningService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setCmsItemDeepCloningService​(CMSItemDeepCloningService cmsItemDeepCloningService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean test​(ItemModel component, java.lang.String qualifier)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiPredicate

        and, negate, or
    • Constructor Detail

      • MediaForCodeAttributePresetPredicate

        public MediaForCodeAttributePresetPredicate()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • test

        public boolean test​(ItemModel component,
                            java.lang.String qualifier)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        test in interface java.util.function.BiPredicate<ItemModel,​java.lang.String>
      • get

        public java.lang.String get()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        get in interface java.util.function.Supplier<java.lang.String>
      • getCmsItemDeepCloningService

        protected CMSItemDeepCloningService getCmsItemDeepCloningService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setCmsItemDeepCloningService

        public void setCmsItemDeepCloningService​(CMSItemDeepCloningService cmsItemDeepCloningService)
        Deprecated, for removal: This API element is subject to removal in a future version.