MutableProductItem Interface

com.beasys.commerce.ebusiness.catalog
MutableProductItem Interface

public interface MutableProductItem

    extends MutableCatalogItem, ProductItem

This is the mutable interface for all product items contained by the Catalog. This interface exposes data accessors and mutators for product item data conforming to the Dublin Core Metadata. Refer to the DCM spec for details: Dublin Core Element Set


All Known Implementing Classes
MutableProductItemImpl
All Superinterfaces
CatalogItem, ConfigurableEntity, MutableCatalogItem, ProductItem, Serializable

Field Summary

   
Fields from interface com.beasys.commerce.ebusiness.catalog.CatalogItem
LARGE_IMAGE_INDEX, LONG_DESCRIPTION_INDEX, MAX_DESCRIPTION, MAX_IMAGES, SHORT_DESCRIPTION_INDEX, SMALL_IMAGE_INDEX
 
Fields from interface com.bea.p13n.property.ConfigurableEntity
RESERVED_PROPERTY_SET
 
Fields from interface com.beasys.commerce.ebusiness.catalog.ProductItem
DETAILED_DISPLAY_JSP_INDEX, INVISIBLE_ITEM, MAX_JSP, SUMMARY_DISPLAY_JSP_INDEX, VISIBLE_ITEM
 

Method Summary

public void
setAvailability(InventoryInfo inventoryInfo)
Set the inventory/availability information for the product item.
public void
setCurrentPrice(Money price)
Set the current price for the product item.
public void
setFormat(String format)
Set the format information for the product item.
public void
setJsp(int index, JspInfo jspInfo)
Set the JSP information for the product item.
public void
setMsrp(Money price)
Set the MSRP price for the product item.
public void
setShippingCode(String shippingCode)
Set the shipping code for the product item.
public void
setTaxCode(String taxCode)
Set the tax code for the product item.
public void
setType(String type)
Set the type information for the product item.
public void
setVisible(char visible)
Set the visiblity mode for this item.
 
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.bea.p13n.property.ConfigurableEntity
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty
 
Methods from interface com.beasys.commerce.ebusiness.catalog.MutableCatalogItem
setContributor, setCoverage, setCreationDate, setCreator, setDescription, setImage, setLanguage, setModifiedDate, setName, setPublisher, setRelation, setRights, setSource
 
Methods from interface com.beasys.commerce.ebusiness.catalog.ProductItem
getAvailability, getCurrentPrice, getFormat, getJsp, getMsrp, getShippingCode, getTaxCode, getType, getVisible
   

Method Detail

setAvailability(InventoryInfo) Method

public void setAvailability(InventoryInfo inventoryInfo)
Set the inventory/availability information for the product item.

Parameters

inventoryInfo
the new inventory information for the product item.

setCurrentPrice(Money) Method

public void setCurrentPrice(Money price)
Set the current price for the product item.

Parameters

price
the new price for the product item.

setFormat(String) Method

public void setFormat(String format)
Set the format information for the product item.

Name: Format

Identifier: Format

Definition: The physical or digital manifestation of the resource.

Comment: Typically, Format may include the media-type or dimensions of the resource. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. Examples of dimensions include size and duration. Recommended best practice is to select a value from a controlled vocabulary (for example, the list of Internet Media Types [MIME] defining computer media formats).

Parameters

format
the new format

setJsp(int, JspInfo) Method

public void setJsp(int index, 
                   JspInfo jspInfo)
Set the JSP information for the product item.

Parameters

index
one of SUMMARY_DISPLAY_JSP_INDEX or DETAILED_DISPLAY_JSP_INDEX.
jspInfo
the new JSP information.

setMsrp(Money) Method

public void setMsrp(Money price)
Set the MSRP price for the product item.

Parameters

price
the new price for the product item.

setShippingCode(String) Method

public void setShippingCode(String shippingCode)
Set the shipping code for the product item.

Parameters

shippingCode
the new shipping code

setTaxCode(String) Method

public void setTaxCode(String taxCode)
Set the tax code for the product item. The tax code used should reference the WLCS tax calculation system currently being used.

Parameters

taxCode
the new tax code

setType(String) Method

public void setType(String type)
Set the type information for the product item.

Name: Resource Type

Identifier: Type

Definition: The nature or genre of the content of the resource.

Comment: Type includes terms describing general categories, functions, genres, or aggregation levels for content. Recommended best practice is to select a value from a controlled vocabulary (for example, the working draft list of Dublin Core Types [DCT1]). To describe the physical or digital manifestation of the resource, use the FORMAT element.

Parameters

type
the new type

setVisible(char) Method

public void setVisible(char visible)
Set the visiblity mode for this item.

Parameters

visible
one of ProductItem.VISIBLE_ITEM or ProductItem.INVISIBLE_ITEM