|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.cmweb.ajaxbean.impl.ProductAjaxBeanImpl
public class ProductAjaxBeanImpl
This bean provides access to product-related data needed for display in the Javascript UI. The product domain model object itself is available through this bean as well as other data that may be required on the UI such as the result of invoking a method on the product domain object.
Constructor Summary | |
---|---|
ProductAjaxBeanImpl()
|
Method Summary | |
---|---|
java.util.Map |
getFullAttributeValuesByLanguage()
Get a map of language codes to full lists of attribute values for that language code. |
java.lang.String[] |
getMerchandizingTypeNames()
Get the names of merchandizing types that may be associated with this product. |
Product |
getProduct()
Get the domain model object representing a product. |
java.util.List |
getProductAssociationsByType()
Get a list structure of product associations for this product. |
void |
setFullAttributeValuesByLanguage(java.util.Map fullAttributeValuesByLanguage)
Set a map of language codes to full lists of attribute values for that language code. |
void |
setMerchandizingTypeNames(java.lang.String[] merchandizingTypeNames)
Set the names of merchandizing types that may be associated with this product. |
void |
setProduct(Product product)
Set a reference to the domain model object representing a product. |
void |
setProductAssociationsByType(java.util.List productAssociationsByType)
Set a structure of product associations for this product. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProductAjaxBeanImpl()
Method Detail |
---|
public java.util.Map getFullAttributeValuesByLanguage()
getFullAttributeValuesByLanguage
in interface ProductAjaxBean
public java.lang.String[] getMerchandizingTypeNames()
getMerchandizingTypeNames
in interface ProductAjaxBean
public Product getProduct()
getProduct
in interface ProductAjaxBean
public java.util.List getProductAssociationsByType()
ProductAssociations
of a particular association type.
getProductAssociationsByType
in interface ProductAjaxBean
public void setFullAttributeValuesByLanguage(java.util.Map fullAttributeValuesByLanguage)
setFullAttributeValuesByLanguage
in interface ProductAjaxBean
fullAttributeValuesByLanguage
- the mappublic void setMerchandizingTypeNames(java.lang.String[] merchandizingTypeNames)
setMerchandizingTypeNames
in interface ProductAjaxBean
merchandizingTypeNames
- a String arraypublic void setProduct(Product product)
setProduct
in interface ProductAjaxBean
product
- the DO-layer product.public void setProductAssociationsByType(java.util.List productAssociationsByType)
setProductAssociationsByType
in interface ProductAjaxBean
productAssociationsByType
- a list structure as described above
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |