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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRead(org.springframework.expression.EvaluationContext evaluationContext, Object currentObject, String attribute) booleancanWrite(org.springframework.expression.EvaluationContext evaluationContext, Object currentObject, String attribute) Class<?>[]protected booleanisTypeSupported(Object object) org.springframework.expression.TypedValueread(org.springframework.expression.EvaluationContext evaluationContext, Object target, String attribute) voidwrite(org.springframework.expression.EvaluationContext evaluationContext, Object target, String attributeName, Object attributeValue)
-
Constructor Details
-
CustomerCartsPropertyAccessor
public CustomerCartsPropertyAccessor()
-
-
Method Details
-
getSpecificTargetClasses
- Specified by:
getSpecificTargetClassesin interfaceorg.springframework.expression.PropertyAccessor
-
canRead
public boolean canRead(org.springframework.expression.EvaluationContext evaluationContext, Object currentObject, String attribute) throws org.springframework.expression.AccessException - Specified by:
canReadin interfaceorg.springframework.expression.PropertyAccessor- Throws:
org.springframework.expression.AccessException
-
isTypeSupported
-
read
public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext evaluationContext, Object target, String attribute) throws org.springframework.expression.AccessException - Specified by:
readin interfaceorg.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:
canWritein interfaceorg.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:
writein interfaceorg.springframework.expression.PropertyAccessor- Throws:
org.springframework.expression.AccessException
-