com.dotmarketing.portlets.product.model
Class ProductFormat

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.portlets.product.model.ProductFormat
All Implemented Interfaces:
UUIDable, Permissionable, Versionable, Categorizable, java.io.Serializable, java.lang.Comparable

public class ProductFormat
extends Inode

Author:
David
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode, owner
 
Constructor Summary
ProductFormat()
           
ProductFormat(java.lang.String productInode, java.lang.String formatName, java.lang.String format)
           
ProductFormat(java.lang.String productInode, java.lang.String formatName, java.lang.String itemNum, java.lang.String format, int inventoryQuantity, int reorderTrigger, float weight, int width, int height, int depth)
           
 
Method Summary
 java.util.List<ProductPrice> getBulkPrices()
           
 int getDepth()
           
 java.lang.String getFormat()
           
 java.lang.String getFormatName()
           
 boolean getHasBulkPrices()
           
 int getHeight()
           
 int getInventoryQuantity()
           
 java.lang.String getItemNum()
           
 Product getProduct()
           
 java.lang.String getProductInode()
           
 ProductPrice getQuantityPrice(int quantity)
           
 ProductPrice getQuantityPrice(int quantity, java.util.List<DiscountCode> discounts)
           
 int getReorderTrigger()
           
 float getWeight()
           
 int getWidth()
           
 void setDepth(int depth)
           
 void setFormat(java.lang.String format)
           
 void setFormatName(java.lang.String formatName)
           
 void setHeight(int height)
           
 void setInventoryQuantity(int inventoryQuantity)
           
 void setItemNum(java.lang.String itemNum)
           
 void setProductInode(java.lang.String productInode)
           
 void setReorderTrigger(int reorderTrigger)
           
 void setWeight(float weight)
           
 void setWidth(int width)
           
 
Methods inherited from class com.dotmarketing.beans.Inode
acceptedPermissions, addChild, addChild, addChild, addParent, addParent, compareTo, deleteChild, deleteChild, deleteParent, deleteParent, equals, getCategoryId, getiDate, getIDate, getIdentifier, getInode, getMap, getModDate, getModUser, getOwner, getParentPermissionable, getPermissionId, getPermissionType, getTitle, getType, getVersionId, getVersionType, hasChildren, hashCode, hasParents, isArchived, isLive, isLocked, isNew, isParentPermissionable, isWorking, permissionDependencies, setiDate, setIDate, setIDate, setIdentifier, setInode, setOwner, setParents, setType, setVersionId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductFormat

public ProductFormat(java.lang.String productInode,
                     java.lang.String formatName,
                     java.lang.String itemNum,
                     java.lang.String format,
                     int inventoryQuantity,
                     int reorderTrigger,
                     float weight,
                     int width,
                     int height,
                     int depth)

ProductFormat

public ProductFormat()

ProductFormat

public ProductFormat(java.lang.String productInode,
                     java.lang.String formatName,
                     java.lang.String format)
Method Detail

getProductInode

public java.lang.String getProductInode()

setProductInode

public void setProductInode(java.lang.String productInode)

getFormatName

public java.lang.String getFormatName()

setFormatName

public void setFormatName(java.lang.String formatName)

getItemNum

public java.lang.String getItemNum()

setItemNum

public void setItemNum(java.lang.String itemNum)

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

getInventoryQuantity

public int getInventoryQuantity()

setInventoryQuantity

public void setInventoryQuantity(int inventoryQuantity)

getReorderTrigger

public int getReorderTrigger()

setReorderTrigger

public void setReorderTrigger(int reorderTrigger)

getWeight

public float getWeight()

setWeight

public void setWeight(float weight)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

getProduct

public Product getProduct()

getHasBulkPrices

public boolean getHasBulkPrices()

getBulkPrices

public java.util.List<ProductPrice> getBulkPrices()

getQuantityPrice

public ProductPrice getQuantityPrice(int quantity)

getQuantityPrice

public ProductPrice getQuantityPrice(int quantity,
                                     java.util.List<DiscountCode> discounts)


Copyright © 2010 dotCMS Inc. All Rights Reserved.