Class VariantAttributePropertyAccessor

  • All Implemented Interfaces:
    org.springframework.core.Ordered, org.springframework.expression.PropertyAccessor

    public class VariantAttributePropertyAccessor
    extends java.lang.Object
    implements org.springframework.expression.PropertyAccessor, org.springframework.core.Ordered
    Property accessor used to operate on Variant Attributes.
    Since:
    5.7
    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • VariantAttributePropertyAccessor

        public VariantAttributePropertyAccessor()
    • Method Detail

      • getSpecificTargetClasses

        public java.lang.Class<?>[] getSpecificTargetClasses()
        Specified by:
        getSpecificTargetClasses in interface org.springframework.expression.PropertyAccessor
      • canRead

        public boolean canRead​(org.springframework.expression.EvaluationContext evaluationContext,
                               java.lang.Object target,
                               java.lang.String qualifier)
        Specified by:
        canRead in interface org.springframework.expression.PropertyAccessor
      • canWrite

        public boolean canWrite​(org.springframework.expression.EvaluationContext evaluationContext,
                                java.lang.Object target,
                                java.lang.String qualifier)
        Specified by:
        canWrite in interface org.springframework.expression.PropertyAccessor
      • canHandle

        protected boolean canHandle​(java.lang.Object target,
                                    java.lang.String qualifier)
      • read

        public org.springframework.expression.TypedValue read​(org.springframework.expression.EvaluationContext evaluationContext,
                                                              java.lang.Object target,
                                                              java.lang.String qualifier)
        Specified by:
        read in interface org.springframework.expression.PropertyAccessor
      • write

        public void write​(org.springframework.expression.EvaluationContext evaluationContext,
                          java.lang.Object target,
                          java.lang.String qualifier,
                          java.lang.Object value)
        Specified by:
        write in interface org.springframework.expression.PropertyAccessor
      • getEnabledLocalization

        protected java.util.Map<java.util.Locale,​java.lang.Object> getEnabledLocalization​(java.lang.Object locales)
      • setVariantsService

        @Deprecated
        public void setVariantsService​(VariantsService variantsService)
        Deprecated.
        since 1808 - this bean is not used in this class anymore
      • setTypeFacade

        public void setTypeFacade​(com.hybris.cockpitng.dataaccess.facades.type.TypeFacade typeFacade)
      • setVariantService

        @Deprecated
        public void setVariantService​(VariantsService variantService)
        Deprecated.
        since 1808 - this bean is not used in this class anymore
      • setCockpitLocaleService

        public void setCockpitLocaleService​(com.hybris.cockpitng.i18n.CockpitLocaleService cockpitLocaleService)
      • setModelService

        @Deprecated
        public void setModelService​(ModelService modelService)
        Deprecated.
        since 1808 - this bean is not used in this class anymore
      • setCockpitUserService

        public void setCockpitUserService​(com.hybris.cockpitng.core.user.CockpitUserService cockpitUserService)
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setSessionService

        @Deprecated
        public void setSessionService​(SessionService sessionService)
        Deprecated.
        since 1808 - this bean is not used in this class anymore
      • setUserService

        @Deprecated
        public void setUserService​(UserService userService)
        Deprecated.
        since 1808 - this bean is not used in this class anymore
      • setCommonI18NService

        @Deprecated
        public void setCommonI18NService​(CommonI18NService commonI18NService)
        Deprecated.
        since 1808 - this bean is not used in this class anymore
      • setBackofficeVariantsService

        public void setBackofficeVariantsService​(BackofficeVariantsService backofficeVariantsService)