com.ibm.commerce.tools.contract.beans
Class ProductSearchDataBean

java.lang.Object
  com.ibm.commerce.tools.contract.beans.ProductSearchDataBean
All Implemented Interfaces:
java.io.Serializable

public class ProductSearchDataBean
extends java.lang.Object
implements java.io.Serializable

Retrieve all the data associated with a Catalog Entry or a Category

See Also:
Serialized Form

Field Summary
protected java.lang.String _published
protected java.lang.String _quantityUnit
protected java.lang.String _searchType
protected java.math.BigDecimal catalogEntryID
protected java.lang.String catentryType
protected CommandContext m_CommandContext
protected java.lang.Long m_nNumOfSKUs
protected java.lang.String m_strCategoryName
protected java.lang.String m_strLanguageId
protected java.lang.String m_strStoreId
protected java.math.BigDecimal memberID
protected java.lang.String name
protected java.lang.String partNumber
protected java.lang.String shortDescription
Constructor Summary
ProductSearchDataBean()
Create a ProductSearchDataBean
Method Summary
java.lang.String getCategoryName()
Get the name of the category the product is in
java.lang.String getCatentryType()
Get the type of the catalog entry
CommandContext getCommandContext()
Get the command context
java.math.BigDecimal getID()
Get the unique identifier of the entry
java.lang.String getIdentifier()
Gets the identifier of the entry.
java.lang.String getLanguageId()
Get the languague in which to return the data
java.math.BigDecimal getMemberID()
Get the member identifier of the owner of the entry
java.lang.String getName()
Get the name of the entry
java.lang.Long getNumOfSKUs()
Get the number of SKUs under this product
java.lang.String getPublished()
Get the published state of the product
java.lang.String getQuantityUnit()
Get the inventory of the product
java.lang.String getShortDescription()
Get the short description of the entry
java.lang.String getStoreId()
Get the store identifier in which to find entries
void populate()
Populate the data using the unique identifier and the language identifier
void setCatentryType(java.lang.String newCatentryType)
Set the type of the entry
void setCommandContext(CommandContext newCommandContext)
Set the command context
void setID(java.math.BigDecimal newCatalogEntryID)
Set the unique identifier of the entry
void setIdentifier(java.lang.String newPartNumber)
Set the identifier of the entry
void setLanguageId(java.lang.String astrLanguageId)
Set the language identifier in which to find entries
void setMemberID(java.math.BigDecimal newMemberID)
Set the member identifier of the owner of the entry
void setName(java.lang.String newName)
Set the name of the entry
void setSearchType(java.lang.String searchType)
Set the type of search to perform
void setShortDescription(java.lang.String newShortDescription)
Set the short description of the entry
void setStoreId(java.lang.String newM_strStoreId)
Set the store identifier in which to find entries
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

catalogEntryID

protected java.math.BigDecimal catalogEntryID

memberID

protected java.math.BigDecimal memberID

partNumber

protected java.lang.String partNumber

name

protected java.lang.String name

shortDescription

protected java.lang.String shortDescription

catentryType

protected java.lang.String catentryType

_published

protected java.lang.String _published

_quantityUnit

protected java.lang.String _quantityUnit

m_nNumOfSKUs

protected java.lang.Long m_nNumOfSKUs

m_strCategoryName

protected java.lang.String m_strCategoryName

m_strStoreId

protected java.lang.String m_strStoreId

m_strLanguageId

protected java.lang.String m_strLanguageId

m_CommandContext

protected CommandContext m_CommandContext

_searchType

protected java.lang.String _searchType
Constructor Detail

ProductSearchDataBean

public ProductSearchDataBean()
Create a ProductSearchDataBean
Method Detail

getCategoryName

public java.lang.String getCategoryName()
Get the name of the category the product is in
Returns:
java.lang.String

getCatentryType

public java.lang.String getCatentryType()
Get the type of the catalog entry
Returns:
java.lang.String

getCommandContext

public CommandContext getCommandContext()
Get the command context
Returns:
com.ibm.commerce.command.CommandContext

getID

public java.math.BigDecimal getID()
Get the unique identifier of the entry
Returns:
java.math.BigDecimal

getIdentifier

public java.lang.String getIdentifier()
Gets the identifier of the entry. This is the SKU or part number for a catalog entry. This is the identifier for a category.
Returns:
java.lang.String

getLanguageId

public java.lang.String getLanguageId()
Get the languague in which to return the data
Returns:
java.lang.String

getMemberID

public java.math.BigDecimal getMemberID()
Get the member identifier of the owner of the entry
Returns:
java.math.BigDecimal

getName

public java.lang.String getName()
Get the name of the entry
Returns:
java.lang.String

getNumOfSKUs

public java.lang.Long getNumOfSKUs()
Get the number of SKUs under this product
Returns:
java.lang.Long

getPublished

public java.lang.String getPublished()
Get the published state of the product
Returns:
String

getQuantityUnit

public java.lang.String getQuantityUnit()
Get the inventory of the product
Returns:
String

getShortDescription

public java.lang.String getShortDescription()
Get the short description of the entry
Returns:
java.lang.String

getStoreId

public java.lang.String getStoreId()
Get the store identifier in which to find entries
Returns:
java.lang.String

populate

public void populate()
Populate the data using the unique identifier and the language identifier

setCatentryType

public void setCatentryType(java.lang.String newCatentryType)
Set the type of the entry
Parameters:
newCatentryType - java.lang.String

setCommandContext

public void setCommandContext(CommandContext newCommandContext)
Set the command context
Parameters:
newCommandContext - com.ibm.commerce.command.CommandContext

setID

public void setID(java.math.BigDecimal newCatalogEntryID)
Set the unique identifier of the entry
Parameters:
newCatalogEntryID - java.math.BigDecimal

setIdentifier

public void setIdentifier(java.lang.String newPartNumber)
Set the identifier of the entry
Parameters:
newPartNumber - java.lang.String

setLanguageId

public void setLanguageId(java.lang.String astrLanguageId)
Set the language identifier in which to find entries

setMemberID

public void setMemberID(java.math.BigDecimal newMemberID)
Set the member identifier of the owner of the entry
Parameters:
newMemberID - java.math.BigDecimal

setName

public void setName(java.lang.String newName)
Set the name of the entry
Parameters:
newName - java.lang.String

setSearchType

public void setSearchType(java.lang.String searchType)
Set the type of search to perform
Parameters:
searchType - String

setShortDescription

public void setShortDescription(java.lang.String newShortDescription)
Set the short description of the entry
Parameters:
newShortDescription - java.lang.String

setStoreId

public void setStoreId(java.lang.String newM_strStoreId)
Set the store identifier in which to find entries
Parameters:
newM_strStoreId - java.lang.String

Feedback