com.elasticpath.cmweb.ajaxbean
Interface ProductInfoAjaxBean

All Known Implementing Classes:
ProductInfoAjaxBeanImpl

public interface ProductInfoAjaxBean

This bean provides access to category-related data needed for display in the Javascript UI. Some data are the result of invoking a method on the category domain object. Note that the category itself is not in this bean to keep the bean light-weight and suitable for search functionality.


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.
 

Method Detail

getDefaultBrandName

java.lang.String getDefaultBrandName()
Get the default brand name of the product represented.

Returns:
the default brand name of the product represented.

getDefaultDisplayName

java.lang.String getDefaultDisplayName()
Get the default display name of the product represented.

Returns:
the default display name of the product represented.

getDefaultDisplayPrice

java.lang.String getDefaultDisplayPrice()
Get the display price of the product represented in the default currency.

Returns:
the display price.

getDefaultParentCategoryPath

java.lang.String getDefaultParentCategoryPath()
Get the default parent category path.

Returns:
the default parent category path.

getLocaleDependantFieldsMap

java.util.Map getLocaleDependantFieldsMap()
Get the category locale dependant fields map.

Returns:
the category locale dependant fields map

getProductTypeName

java.lang.String getProductTypeName()
Get the prodcut type name of the product represented.

Returns:
the prodcut type name of the product represented.

getUidPk

long getUidPk()
Gets the unique identifier for this domain model object.

Returns:
the unique identifier.

isActive

boolean isActive()
Get the flag to indicate whether the product is active.

Returns:
true if product is active, otherwise false

setActive

void setActive(boolean active)
Set a flag to indicate whether the product is active.

Parameters:
active - the flag to indicate whether the product is active or not.

setDefaultBrandName

void setDefaultBrandName(java.lang.String defaultBrandName)
Set the default brand name of the product represented.

Parameters:
defaultBrandName - the default brand name of the product represented.

setDefaultDisplayName

void setDefaultDisplayName(java.lang.String defaultDisplayName)
Set the default display name of the product represented.

Parameters:
defaultDisplayName - the default display name of the product represented.

setDefaultDisplayPrice

void setDefaultDisplayPrice(java.lang.String displayPrice)
Set the price of the product represented in the default currency.

Parameters:
displayPrice - the price of the product represented in the default currency.

setDefaultParentCategoryPath

void setDefaultParentCategoryPath(java.lang.String defaultParentCategoryPath)
Set the default parent category path.

Parameters:
defaultParentCategoryPath - the default parent category path.

setlocaleDependantFieldsMap

void setlocaleDependantFieldsMap(java.util.Map localeDependantFieldsMap)
Set the category locale dependant fields map.

Parameters:
localeDependantFieldsMap - the category locale dependant fields map

setProductTypeName

void setProductTypeName(java.lang.String productTypeName)
Set the prodcut type name of the product represented.

Parameters:
productTypeName - the product type name of the product represented.

setUidPk

void setUidPk(long uidPk)
Sets the unique identifier for this domain model object.

Parameters:
uidPk - the new unique identifier.