Class LocalizedModelPropertyAccessor

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

public class LocalizedModelPropertyAccessor extends Object implements org.springframework.expression.PropertyAccessor, org.springframework.core.Ordered
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
    • USE_SESSION_LANGUAGE_FOR_LOCALIZED

      public static final String USE_SESSION_LANGUAGE_FOR_LOCALIZED
      See Also:
  • Constructor Details

    • LocalizedModelPropertyAccessor

      public LocalizedModelPropertyAccessor()
  • 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
    • 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
    • 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
    • getLocales

      protected Collection<Locale> getLocales(org.springframework.expression.EvaluationContext context)
    • 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
    • validateWrite

      protected void validateWrite(Object newValue)
    • setTypeFacade

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

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

      public void setModelService(ModelService modelService)
    • setCockpitUserService

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