com.elasticpath.cmweb.ajaxbean
Interface CategoryAjaxBean

All Known Implementing Classes:
CategoryAjaxBeanImpl

public interface CategoryAjaxBean

This bean provides access to category-related data needed for display in the Javascript UI. The category 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 category domain object.


Method Summary
 Category getCategory()
          Get the domain model object representing a category.
 java.util.Map getFullAttributeValuesByLanguage()
          Get a map of language codes to full lists of attribute values for that language code.
 void setCategory(Category category)
          Set a reference to the domain model object representing a category.
 void setFullAttributeValuesByLanguage(java.util.Map fullAttributeValuesByLanguage)
          Set a map of language codes to full lists of attribute values for that language code.
 

Method Detail

getCategory

Category getCategory()
Get the domain model object representing a category.

Returns:
the category

getFullAttributeValuesByLanguage

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

Returns:
fullAttributeValueMap the map

setCategory

void setCategory(Category category)
Set a reference to the domain model object representing a category.

Parameters:
category - the DO-layer category.

setFullAttributeValuesByLanguage

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

Parameters:
fullAttributeValuesByLanguage - the map