com.elasticpath.cmweb.ajaxbean
Interface CategoryInfoAjaxBean

All Known Implementing Classes:
CategoryInfoAjaxBeanImpl

public interface CategoryInfoAjaxBean

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
 boolean getActiveIdr()
          Get the flag to indicate whether the category is active.
 boolean getHasProductIdr()
          Get the flag to indicate whether the category has products.
 boolean getHasSubCategories()
          Return the flag to indicate whether this category has subCategories or not.
 java.util.Map getLocaleDependantFieldsMap()
          Get the category locale dependant fields map.
 java.lang.String getParentName()
          Get the parent category system name.
 long getUidPk()
          Gets the unique identifier for this domain model object.
 void setActiveIdr(boolean activeIdr)
          Set a flag to indicate whether the category is active.
 void setHasProductIdr(boolean hasProductIdr)
          Set a flag to indicate whether the category has products.
 void setHasSubCategories(boolean hasSubCategories)
          Set the flag to indicate whether this category has subCategories or not.
 void setlocaleDependantFieldsMap(java.util.Map localeDependantFieldsMap)
          Set the category locale dependant fields map.
 void setParentName(java.lang.String parentName)
          Set the parent category system name.
 void setUidPk(long uidPk)
          Sets the unique identifier for this domain model object.
 

Method Detail

getActiveIdr

boolean getActiveIdr()
Get the flag to indicate whether the category is active.

Returns:
true if category is active, otherwise false

getHasProductIdr

boolean getHasProductIdr()
Get the flag to indicate whether the category has products.

Returns:
true if category has product, otherwise false

getHasSubCategories

boolean getHasSubCategories()
Return the flag to indicate whether this category has subCategories or not.

Returns:
the flag to indicate whether this category has subCategories or not.

getLocaleDependantFieldsMap

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

Returns:
the category locale dependant fields map

getParentName

java.lang.String getParentName()
Get the parent category system name.

Returns:
the parent category system name

getUidPk

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

Returns:
the unique identifier.

setActiveIdr

void setActiveIdr(boolean activeIdr)
Set a flag to indicate whether the category is active.

Parameters:
activeIdr - the flag to indicate whether the category is active

setHasProductIdr

void setHasProductIdr(boolean hasProductIdr)
Set a flag to indicate whether the category has products.

Parameters:
hasProductIdr - the flag to indicate whether the category has products

setHasSubCategories

void setHasSubCategories(boolean hasSubCategories)
Set the flag to indicate whether this category has subCategories or not.

Parameters:
hasSubCategories - the flag to indicate whether this category has subCategories

setlocaleDependantFieldsMap

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

Parameters:
localeDependantFieldsMap - the category locale dependant fields map

setParentName

void setParentName(java.lang.String parentName)
Set the parent category system name.

Parameters:
parentName - the parent category system name

setUidPk

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

Parameters:
uidPk - the new unique identifier.