MutableProductItemImpl Class
- public class MutableProductItemImpl
extends MutableCatalogItemImpl
implements MutableProductItem
This is the implentation class for all mutable product items contained by
the Catalog. This class exposes data accessors and mutators for product
item data conforming to the Dublin Core Metadata. Refer to the DCM spec
for details.
-
Hierarchy
-
Object
MutableCatalogItemImpl
MutableProductItemImpl
-
All Implemented Interfaces
-
CatalogItem
, ConfigurableEntity
, MutableCatalogItem
, MutableProductItem
, ProductItem
, Serializable
Methods from com.beasys.commerce.ebusiness.catalog.MutableCatalogItemImpl |
addBusinessPolicy , addPropertyValue , addPropertyValueMapped , clearPropertyModifications , getBusinessPolicy , getContributor , getCoverage , getCreationDate , getCreator , getDescription , getImage , getJndiName , getKey , getLanguage , getModificationMap , getModifiedDate , getName , getPkString , getProperties , getProperties , getProperty , getProperty , getProperty , getPropertyAsString , getPropertyAsString , getPropertyDefault , getPropertyNoDefault , getPropertyNoDefault , getPublisher , getRelation , getRights , getSource , getSuccessor , getUniqueId , initPropertyModifications , isPropertyExplicit , isPropertyModified , modifyProperty , removeBusinessPolicy , removeProperties , removeProperty , removeProperty , removePropertyValue , removePropertyValueMapped , removeSuccessor , setContributor , setCoverage , setCreationDate , setCreator , setDescription , setImage , setLanguage , setModifiedDate , setName , setProperty , setProperty , setPublisher , setRelation , setRights , setSource , setSuccessor ,
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.beasys.commerce.ebusiness.catalog.CatalogItem |
getContributor , getCoverage , getCreationDate , getCreator , getDescription , getImage , getKey , getLanguage , getModifiedDate , getName , getPublisher , getRelation , getRights , getSource
|
Methods from interface com.beasys.commerce.ebusiness.catalog.MutableCatalogItem |
setContributor , setCoverage , setCreationDate , setCreator , setDescription , setImage , setLanguage , setModifiedDate , setName , setPublisher , setRelation , setRights , setSource
|
getAvailability() Method
public InventoryInfo
getAvailability()
Gets the availibility for a product item
Returns
- the current availability for the product item
getCurrentPrice() Method
public Money
getCurrentPrice()
Gets the current price for a product item
Returns
- the current price for the product item
getFormat() Method
public String
getFormat()
Gets the format for a product item
Returns
- the format for the product item
getJsp(int) Method
public JspInfo
getJsp(int index)
Gets the JSP for a product item
Parameters
-
index
- the JSP to retrieve, should be either SUMMARY_DISPLAY_JSP_INDEX or DETAILED_DISPLAY_JSP_INDEX
Returns
- the JspInfo object for the JSP
getMsrp() Method
public Money
getMsrp()
Gets the MSRP for a product item
Returns
- the Msrp for the product item
getShippingCode() Method
public String
getShippingCode()
Gets the shipping code for a product item
Returns
- the shipping code for the product item
getTaxCode() Method
public String
getTaxCode()
Gets the tax code for a product item
Returns
- the tax code for the product item
getType() Method
public String
getType()
Gets the type for a product item
Returns
- the type for the product item
getVisible() Method
public char getVisible()
Gets the visilbity code for a product item
Returns
- the visiblity code for the product item
setAvailability(InventoryInfo) Method
public void setAvailability(InventoryInfo
inventoryInfo)
Sets the availibility for a product item
Parameters
-
inventoryInfo
- the new availability for the product item
setCurrentPrice(Money) Method
public void setCurrentPrice(Money
price)
Sets the current price for a product item
Parameters
-
price
- the current price for the product item
setFormat(String) Method
public void setFormat(String
format)
Sets the format for a product item
Parameters
-
format
- the new format for the product item
setJsp(int, JspInfo) Method
public void setJsp(int index,
JspInfo
jspInfo)
Sets the JSP for a product item
Parameters
-
index
- the JSP to set, should be either SUMMARY_DISPLAY_JSP_INDEX or DETAILED_DISPLAY_JSP_INDEX
-
jspInfo
- the new JspInfo object for the JSP
setMsrp(Money) Method
public void setMsrp(Money
price)
Sets the MSRP for a product item
Parameters
-
price
- the new Msrp for the product item
setShippingCode(String) Method
public void setShippingCode(String
shippingCode)
Sets the shipping code for a product item
Parameters
-
shippingCode
- the new shipping code for the product item
setTaxCode(String) Method
public void setTaxCode(String
taxCode)
Sets the tax code for a product item
Parameters
-
taxCode
- the new tax code for the product item
setType(String) Method
public void setType(String
type)
Sets the type for a product item
Parameters
-
type
- the new type for the product item
setVisible(char) Method
public void setVisible(char visible)
Sets the visilbity code for a product item
Parameters
-
visible
- the new visiblity code for the product item
toString() Method
public String
toString()
Builds a string representation of this object.
-
Overrides
-
MutableCatalogItemImpl.toString()
Returns
- the string