atg.commerce.catalog.comparison
Class ProductComparisonList.Entry.InventoryData

java.lang.Object
  extended by atg.commerce.catalog.comparison.ProductComparisonList.Entry.InventoryData
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ProductComparisonList.Entry

public static class ProductComparisonList.Entry.InventoryData
extends java.lang.Object
implements java.io.Serializable

Inner class to capture and hold inventory data; returns the same readable properties as atg.commerce.inventory.InventoryInfo, but is serializable so it can participate in session failover.

See Also:
InventoryInfo, Serialized Form

Constructor Summary
ProductComparisonList.Entry.InventoryData()
          Construct an empty InventoryData object
ProductComparisonList.Entry.InventoryData(InventoryInfo pInfo)
          Construct an InventoryData, copying values from an InventoryInfo object.
 
Method Summary
 java.util.Date getAvailabilityDate()
          Return the inventory availability date for this item.
 java.lang.Integer getAvailabilityStatus()
          Return the inventory availability status code for this item.
 java.lang.String getAvailabilityStatusMsg()
          Return the inventory availability status message for this item.
 java.lang.Long getBackorderLevel()
          Return the inventory backorder level for this item.
 java.lang.Long getPreorderLevel()
          Return the inventory preorder level for this item.
 java.lang.Long getStockLevel()
          Return the inventory stock level for this item.
protected  void initFrom(InventoryInfo pInfo)
          Copy property values from an InventoryInfo object into this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductComparisonList.Entry.InventoryData

public ProductComparisonList.Entry.InventoryData()
Construct an empty InventoryData object


ProductComparisonList.Entry.InventoryData

public ProductComparisonList.Entry.InventoryData(InventoryInfo pInfo)
Construct an InventoryData, copying values from an InventoryInfo object.

Method Detail

initFrom

protected void initFrom(InventoryInfo pInfo)
Copy property values from an InventoryInfo object into this object.


getStockLevel

public java.lang.Long getStockLevel()
Return the inventory stock level for this item.


getBackorderLevel

public java.lang.Long getBackorderLevel()
Return the inventory backorder level for this item.


getPreorderLevel

public java.lang.Long getPreorderLevel()
Return the inventory preorder level for this item.


getAvailabilityDate

public java.util.Date getAvailabilityDate()
Return the inventory availability date for this item.


getAvailabilityStatus

public java.lang.Integer getAvailabilityStatus()
Return the inventory availability status code for this item.


getAvailabilityStatusMsg

public java.lang.String getAvailabilityStatusMsg()
Return the inventory availability status message for this item.