com.elasticpath.cmweb.ajaxbean.impl
Class ProductSkuAjaxBeanImpl

java.lang.Object
  extended by com.elasticpath.cmweb.ajaxbean.impl.ProductSkuAjaxBeanImpl
All Implemented Interfaces:
ProductSkuAjaxBean

public class ProductSkuAjaxBeanImpl
extends java.lang.Object
implements ProductSkuAjaxBean

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
ProductSkuAjaxBeanImpl()
           
 
Method Summary
 java.util.Map getFullAttributeValuesByLanguage()
          Get a map of language codes to full lists of attribute values for that language code.
 long getProductSkuUid()
          Get the uid of the associated product sku.
 java.lang.String getSkuCode()
          Get the skuCode of the associated product sku.
 java.lang.String getSkuConfiguration()
          Get the string representation of the SkuOptionValues for the associated product sku.
 void setFullAttributeValuesByLanguage(java.util.Map fullAttributeValuesByLanguage)
          Set a map of language codes to full lists of attribute values for that language code.
 void setProductSkuUid(long skuUid)
          Set a reference to the uid of the product sku represented.
 void setSkuCode(java.lang.String skuCode)
          Set the skuCode of the product sku represented.
 void setSkuConfiguration(java.lang.String skuConfiguration)
          Set the string representation of the SkuOptionValues for the associated product sku.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductSkuAjaxBeanImpl

public ProductSkuAjaxBeanImpl()
Method Detail

getFullAttributeValuesByLanguage

public java.util.Map getFullAttributeValuesByLanguage()
Get a map of language codes to full lists of attribute values for that language code.

Specified by:
getFullAttributeValuesByLanguage in interface ProductSkuAjaxBean
Returns:
fullAttributeValueMap the map

getProductSkuUid

public long getProductSkuUid()
Get the uid of the associated product sku.

Specified by:
getProductSkuUid in interface ProductSkuAjaxBean
Returns:
the product sku uid

getSkuCode

public java.lang.String getSkuCode()
Get the skuCode of the associated product sku.

Specified by:
getSkuCode in interface ProductSkuAjaxBean
Returns:
the product sku's sku Code

getSkuConfiguration

public java.lang.String getSkuConfiguration()
Get the string representation of the SkuOptionValues for the associated product sku.

Specified by:
getSkuConfiguration in interface ProductSkuAjaxBean
Returns:
the string representation of the SkuOptionValues.

setFullAttributeValuesByLanguage

public void setFullAttributeValuesByLanguage(java.util.Map fullAttributeValuesByLanguage)
Set a map of language codes to full lists of attribute values for that language code.

Specified by:
setFullAttributeValuesByLanguage in interface ProductSkuAjaxBean
Parameters:
fullAttributeValuesByLanguage - the map

setProductSkuUid

public void setProductSkuUid(long skuUid)
Set a reference to the uid of the product sku represented.

Specified by:
setProductSkuUid in interface ProductSkuAjaxBean
Parameters:
skuUid - the uid of the associated prouduct sku.

setSkuCode

public void setSkuCode(java.lang.String skuCode)
Set the skuCode of the product sku represented.

Specified by:
setSkuCode in interface ProductSkuAjaxBean
Parameters:
skuCode - the uid of the associated prouduct sku.

setSkuConfiguration

public void setSkuConfiguration(java.lang.String skuConfiguration)
Set the string representation of the SkuOptionValues for the associated product sku.

Specified by:
setSkuConfiguration in interface ProductSkuAjaxBean
Parameters:
skuConfiguration - the string representation of the SkuOptionValues for the associated product sku.