Package de.hybris.platform.jalo.type
Class ConstantAttributeAccess
java.lang.Object
de.hybris.platform.jalo.type.AbstractNonChangeableAttributeAccess
de.hybris.platform.jalo.type.ConstantAttributeAccess
- All Implemented Interfaces:
AttributeAccess
internal use only!
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue(SessionContext ctx, Item item) Retrieves the attribute data from a given item.Methods inherited from class de.hybris.platform.jalo.type.AbstractNonChangeableAttributeAccess
setValue
-
Constructor Details
-
ConstantAttributeAccess
-
-
Method Details
-
getValue
public Object getValue(SessionContext ctx, Item item) throws JaloTypeException, JaloInvalidParameterException, JaloSecurityException Description copied from interface:AttributeAccessRetrieves the attribute data from a given item. Primitive data types likeintare wrapped into their object instances.- Parameters:
ctx- the current session context - e.g. specifies the session languageitem- the item to get data from- Returns:
- the data value
- Throws:
JaloTypeException- in case the attribute type does not allow reading this valueJaloInvalidParameterException- in some data required for reading the value is missing or not as expected ( like missing session language )JaloSecurityException- in case there are security constraints which do not allow reding this value
-