Class VariantAttributePropertyAccessor
- java.lang.Object
-
- de.hybris.platform.platformbackoffice.variant.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.OrderedProperty accessor used to operate on Variant Attributes.- Since:
- 5.7
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description VariantAttributePropertyAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanHandle(java.lang.Object target, java.lang.String qualifier)booleancanRead(org.springframework.expression.EvaluationContext evaluationContext, java.lang.Object target, java.lang.String qualifier)booleancanWrite(org.springframework.expression.EvaluationContext evaluationContext, java.lang.Object target, java.lang.String qualifier)BackofficeVariantsServicegetBackofficeVariantsService()protected java.util.Map<java.util.Locale,java.lang.Object>getEnabledLocalization(java.lang.Object locales)intgetOrder()java.lang.Class<?>[]getSpecificTargetClasses()VariantsServicegetVariantsService()Deprecated.since 1808 - usegetBackofficeVariantsService()org.springframework.expression.TypedValueread(org.springframework.expression.EvaluationContext evaluationContext, java.lang.Object target, java.lang.String qualifier)voidsetBackofficeVariantsService(BackofficeVariantsService backofficeVariantsService)voidsetCockpitLocaleService(com.hybris.cockpitng.i18n.CockpitLocaleService cockpitLocaleService)voidsetCockpitUserService(com.hybris.cockpitng.core.user.CockpitUserService cockpitUserService)voidsetCommonI18NService(CommonI18NService commonI18NService)Deprecated.since 1808 - this bean is not used in this class anymorevoidsetModelService(ModelService modelService)Deprecated.since 1808 - this bean is not used in this class anymorevoidsetSessionService(SessionService sessionService)Deprecated.since 1808 - this bean is not used in this class anymorevoidsetTypeFacade(com.hybris.cockpitng.dataaccess.facades.type.TypeFacade typeFacade)voidsetUserService(UserService userService)Deprecated.since 1808 - this bean is not used in this class anymorevoidsetVariantService(VariantsService variantService)Deprecated.since 1808 - this bean is not used in this class anymorevoidsetVariantsService(VariantsService variantsService)Deprecated.since 1808 - this bean is not used in this class anymorevoidwrite(org.springframework.expression.EvaluationContext evaluationContext, java.lang.Object target, java.lang.String qualifier, java.lang.Object value)
-
-
-
Method Detail
-
getSpecificTargetClasses
public java.lang.Class<?>[] getSpecificTargetClasses()
- Specified by:
getSpecificTargetClassesin interfaceorg.springframework.expression.PropertyAccessor
-
canRead
public boolean canRead(org.springframework.expression.EvaluationContext evaluationContext, java.lang.Object target, java.lang.String qualifier)- Specified by:
canReadin interfaceorg.springframework.expression.PropertyAccessor
-
canWrite
public boolean canWrite(org.springframework.expression.EvaluationContext evaluationContext, java.lang.Object target, java.lang.String qualifier)- Specified by:
canWritein interfaceorg.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:
readin interfaceorg.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:
writein interfaceorg.springframework.expression.PropertyAccessor
-
getEnabledLocalization
protected java.util.Map<java.util.Locale,java.lang.Object> getEnabledLocalization(java.lang.Object locales)
-
getVariantsService
@Deprecated public VariantsService getVariantsService()
Deprecated.since 1808 - usegetBackofficeVariantsService()
-
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:
getOrderin interfaceorg.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)
-
getBackofficeVariantsService
public BackofficeVariantsService getBackofficeVariantsService()
-
-