Class CustomerCartsPropertyAccessor

java.lang.Object
de.hybris.platform.customersupportbackoffice.accessors.impl.CustomerCartsPropertyAccessor
All Implemented Interfaces:
org.springframework.expression.PropertyAccessor

public class CustomerCartsPropertyAccessor extends Object implements org.springframework.expression.PropertyAccessor
Property Accessor concrete implementation to access "carts" attribute in CustomerModel
  • Constructor Details

    • CustomerCartsPropertyAccessor

      public CustomerCartsPropertyAccessor()
  • Method Details

    • getSpecificTargetClasses

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

      public boolean canRead(org.springframework.expression.EvaluationContext evaluationContext, Object currentObject, String attribute) throws org.springframework.expression.AccessException
      Specified by:
      canRead in interface org.springframework.expression.PropertyAccessor
      Throws:
      org.springframework.expression.AccessException
    • isTypeSupported

      protected boolean isTypeSupported(Object object)
    • read

      public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext evaluationContext, Object target, String attribute) throws org.springframework.expression.AccessException
      Specified by:
      read in interface org.springframework.expression.PropertyAccessor
      Throws:
      org.springframework.expression.AccessException
    • canWrite

      public boolean canWrite(org.springframework.expression.EvaluationContext evaluationContext, Object currentObject, String attribute) throws org.springframework.expression.AccessException
      Specified by:
      canWrite in interface org.springframework.expression.PropertyAccessor
      Throws:
      org.springframework.expression.AccessException
    • write

      public void write(org.springframework.expression.EvaluationContext evaluationContext, Object target, String attributeName, Object attributeValue) throws org.springframework.expression.AccessException
      Specified by:
      write in interface org.springframework.expression.PropertyAccessor
      Throws:
      org.springframework.expression.AccessException