Class ClassificationPropertyAccessor

java.lang.Object
de.hybris.platform.platformbackoffice.classification.ClassificationPropertyAccessor
All Implemented Interfaces:
org.springframework.core.Ordered, org.springframework.expression.PropertyAccessor

public class ClassificationPropertyAccessor extends Object implements org.springframework.expression.PropertyAccessor, org.springframework.core.Ordered
  • Constructor Details

    • ClassificationPropertyAccessor

      public ClassificationPropertyAccessor()
  • Method Details

    • getOrder

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

      public void setOrder(int order)
    • getSpecificTargetClasses

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

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

      protected boolean isClassificationAttributeCorrect(String qualifier)
      Parameters:
      qualifier -
      Returns:
      true if the qualifier represents a possibly valid classification attribute
    • read

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

      protected Feature getFeatureByCode(org.springframework.expression.EvaluationContext evaluationContext, ProductModel productModel, String qualifier)
    • readModifiedFeature

      protected Feature readModifiedFeature(org.springframework.expression.EvaluationContext evaluationContext, ProductModel productModel, String qualifier)
    • wrapCurrentValue

      protected org.springframework.expression.TypedValue wrapCurrentValue(Object currentValue)
    • canWrite

      public boolean canWrite(org.springframework.expression.EvaluationContext evaluationContext, Object target, String qualifier) 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 qualifier, Object newValue) throws org.springframework.expression.AccessException
      Specified by:
      write in interface org.springframework.expression.PropertyAccessor
      Throws:
      org.springframework.expression.AccessException
    • markDirty

      protected void markDirty(ItemModel target)
    • setClassificationService

      public void setClassificationService(ClassificationService classificationService)