com.konakart.appif
Interface CategoryIf

All Known Implementing Classes:
Category

public interface CategoryIf

Describes a category of products. A product may belong to more than one category.


Method Summary
 CategoryIf[] getChildren()
           
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getDescription()
           
 int getId()
           
 java.lang.String getImage()
           
 int getLevel()
          Top level = 0.
 MiscItemIf[] getMiscItems()
          Returns the array of Miscellaneous Items associated with this category.
 java.lang.String getName()
           
 int getNumberOfProducts()
           
 CategoryIf getParent()
           
 int getParentId()
           
 int getSortOrder()
           
 boolean isInvisible()
          When invisible, a category is not returned in the category tree.
 boolean isSelected()
           
 void setChildren(CategoryIf[] children)
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setDescription(java.lang.String description)
           
 void setId(int id)
           
 void setImage(java.lang.String image)
           
 void setInvisible(boolean invisible)
          When invisible, a category is not returned in the category tree.
 void setLevel(int level)
          Top level = 0.
 void setMiscItems(MiscItemIf[] miscItems)
           
 void setName(java.lang.String name)
           
 void setNumberOfProducts(int numberOfProducts)
           
 void setParent(CategoryIf parent)
           
 void setParentId(int parentId)
           
 void setSelected(boolean selected)
           
 void setSortOrder(int sortOrder)
           
 

Method Detail

getChildren

CategoryIf[] getChildren()
Returns:
Returns the children.

setChildren

void setChildren(CategoryIf[] children)
Parameters:
children - The children to set.

getId

int getId()
Returns:
Returns the id.

setId

void setId(int id)
Parameters:
id - The id to set.

getImage

java.lang.String getImage()
Returns:
Returns the image.

setImage

void setImage(java.lang.String image)
Parameters:
image - The image to set.

getName

java.lang.String getName()
Returns:
Returns the name.

setName

void setName(java.lang.String name)
Parameters:
name - The name to set.

getNumberOfProducts

int getNumberOfProducts()
Returns:
Returns the numberOfProducts.

setNumberOfProducts

void setNumberOfProducts(int numberOfProducts)
Parameters:
numberOfProducts - The numberOfProducts to set.

getParentId

int getParentId()
Returns:
Returns the parentId.

setParentId

void setParentId(int parentId)
Parameters:
parentId - The parentId to set.

getSortOrder

int getSortOrder()
Returns:
Returns the sortOrder.

setSortOrder

void setSortOrder(int sortOrder)
Parameters:
sortOrder - The sortOrder to set.

getParent

CategoryIf getParent()
Returns:
Returns the parent.

setParent

void setParent(CategoryIf parent)
Parameters:
parent - The parent to set.

isSelected

boolean isSelected()
Returns:
Returns the selected.

setSelected

void setSelected(boolean selected)
Parameters:
selected - The selected to set.

getLevel

int getLevel()
Top level = 0.

Returns:
Returns the level.

setLevel

void setLevel(int level)
Top level = 0.

Parameters:
level - The level to set.

getCustom1

java.lang.String getCustom1()
Returns:
Returns the custom1.

setCustom1

void setCustom1(java.lang.String custom1)
Parameters:
custom1 - The custom1 to set.

getCustom2

java.lang.String getCustom2()
Returns:
Returns the custom2.

setCustom2

void setCustom2(java.lang.String custom2)
Parameters:
custom2 - The custom2 to set.

getCustom3

java.lang.String getCustom3()
Returns:
Returns the custom3.

setCustom3

void setCustom3(java.lang.String custom3)
Parameters:
custom3 - The custom3 to set.

isInvisible

boolean isInvisible()
When invisible, a category is not returned in the category tree.

Returns:
the invisible

setInvisible

void setInvisible(boolean invisible)
When invisible, a category is not returned in the category tree.

Parameters:
invisible - the invisible to set

getDescription

java.lang.String getDescription()
Returns:
the description

setDescription

void setDescription(java.lang.String description)
Parameters:
description - the description to set

getMiscItems

MiscItemIf[] getMiscItems()
Returns the array of Miscellaneous Items associated with this category.

Returns:
the miscItems associated with this product.

setMiscItems

void setMiscItems(MiscItemIf[] miscItems)
Parameters:
miscItems - the miscItems to set


Copyright © 2011 DS Data Systems UK Ltd.