|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.cmweb.ajaxbean.impl.ProductInfoAjaxBeanImpl
public class ProductInfoAjaxBeanImpl
This bean provides access to product-related data needed for display in the Javascript UI. Some data are the result of invoking a method on the categroy domain object.
Constructor Summary | |
---|---|
ProductInfoAjaxBeanImpl()
|
Method Summary | |
---|---|
java.lang.String |
getDefaultBrandName()
Get the default brand name of the product represented. |
java.lang.String |
getDefaultDisplayName()
Get the default display name of the product represented. |
java.lang.String |
getDefaultDisplayPrice()
Get the display price of the product represented in the default currency. |
java.lang.String |
getDefaultParentCategoryPath()
Get the default parent category path. |
java.util.Map |
getLocaleDependantFieldsMap()
Get the category locale dependant fields map. |
java.lang.String |
getProductTypeName()
Get the prodcut type name of the product represented. |
long |
getUidPk()
Gets the unique identifier for this domain model object. |
boolean |
isActive()
Get the flag to indicate whether the product is active. |
void |
setActive(boolean active)
Set a flag to indicate whether the product is active. |
void |
setDefaultBrandName(java.lang.String defaultBrandName)
Set the default brand name of the product represented. |
void |
setDefaultDisplayName(java.lang.String defaultDisplayName)
Set the default display name of the product represented. |
void |
setDefaultDisplayPrice(java.lang.String displayPrice)
Set the price of the product represented in the default currency. |
void |
setDefaultParentCategoryPath(java.lang.String defaultParentCategoryPath)
Set the default parent category path. |
void |
setlocaleDependantFieldsMap(java.util.Map localeDependantFieldsMap)
Set the category locale dependant fields map. |
void |
setProductTypeName(java.lang.String productTypeName)
Set the prodcut type name of the product represented. |
void |
setUidPk(long uidPk)
Sets the unique identifier for this domain model object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProductInfoAjaxBeanImpl()
Method Detail |
---|
public java.lang.String getDefaultBrandName()
getDefaultBrandName
in interface ProductInfoAjaxBean
public java.lang.String getDefaultDisplayName()
getDefaultDisplayName
in interface ProductInfoAjaxBean
public java.lang.String getDefaultDisplayPrice()
getDefaultDisplayPrice
in interface ProductInfoAjaxBean
public java.lang.String getDefaultParentCategoryPath()
getDefaultParentCategoryPath
in interface ProductInfoAjaxBean
public java.util.Map getLocaleDependantFieldsMap()
getLocaleDependantFieldsMap
in interface ProductInfoAjaxBean
public java.lang.String getProductTypeName()
getProductTypeName
in interface ProductInfoAjaxBean
public final long getUidPk()
getUidPk
in interface ProductInfoAjaxBean
public boolean isActive()
isActive
in interface ProductInfoAjaxBean
public void setActive(boolean active)
setActive
in interface ProductInfoAjaxBean
active
- the flag to indicate whether the product is active or not.public void setDefaultBrandName(java.lang.String defaultBrandName)
setDefaultBrandName
in interface ProductInfoAjaxBean
defaultBrandName
- the default brand name of the product represented.public void setDefaultDisplayName(java.lang.String defaultDisplayName)
setDefaultDisplayName
in interface ProductInfoAjaxBean
defaultDisplayName
- the default display name of the product represented.public void setDefaultDisplayPrice(java.lang.String displayPrice)
setDefaultDisplayPrice
in interface ProductInfoAjaxBean
displayPrice
- the price of the product represented in the default currency.public void setDefaultParentCategoryPath(java.lang.String defaultParentCategoryPath)
setDefaultParentCategoryPath
in interface ProductInfoAjaxBean
defaultParentCategoryPath
- the default parent category path.public void setlocaleDependantFieldsMap(java.util.Map localeDependantFieldsMap)
setlocaleDependantFieldsMap
in interface ProductInfoAjaxBean
localeDependantFieldsMap
- the category locale dependant fields mappublic void setProductTypeName(java.lang.String productTypeName)
setProductTypeName
in interface ProductInfoAjaxBean
productTypeName
- the product type name of the product represented.public final void setUidPk(long uidPk)
setUidPk
in interface ProductInfoAjaxBean
uidPk
- the new unique identifier.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |