Java Doc for Product.java in  » Content-Management-System » openedit » org » openedit » store » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » openedit » org.openedit.store 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openedit.store.Product

Product
public class Product (Code)

author:
   cburkey


Field Summary
protected  booleanfieldAvailable
    
protected  SetfieldCatalogs
    
protected  booleanfieldCustomPrice
    
protected  CategoryfieldDefaultCatalog
    
protected  StringfieldDeliveryType
    
protected  StringfieldDepartment
    
protected  StringfieldDescription
    
protected  StringfieldHandlingChargeLevel
    
protected  StringfieldId
    
protected  ListfieldInventoryItems
    
protected  ListfieldKeywords
    
protected  StringfieldName
    
protected  ListfieldOptions
    
protected  intfieldOrdering
    
protected  PriceSupportfieldPriceSupport
    
protected  MapfieldProperties
    
protected  ListfieldRelatedProductIds
    
protected  StringfieldShippingMethodId
    
protected  booleanfieldTaxExempt
    

Constructor Summary
public  Product()
    
public  Product(String inName)
    

Method Summary
public  voidaddCatalog(Category inCatid)
    
public  voidaddCategory(Category inCatid)
    
public  voidaddInventoryItem(InventoryItem inItem)
    
public  voidaddKeyword(String inString)
    
public  voidaddOption(Option inOption)
    
public  voidaddProperty(String inKey, String inValue)
    
public  voidaddRelatedProductId(String inProductId)
    
public  voidaddTierPrice(int inQuantity, Price inPrice)
    
public  voidclearCatalogs()
    
public  voidclearItems()
    
public  voidclearKeywords()
    
public  voidclearOptions()
    
public  voidclearRelatedProductIds()
    
public  voidclearUserCatalogs()
    
public  ListcolorsInSize(Option inSize)
    
public  Productcopy(String newId)
    
public  Productcopy()
    
public  Stringget(String inAttribute)
    
public  ListgetAllOptions()
    
public  SetgetCatalogs()
    
public  InventoryItemgetCloseInventoryItemByOptions(Set inOptions)
    
public  ListgetColors()
    
public  DategetDate(String inField, String inDateFormat)
    
public  CategorygetDefaultCatalog()
    
public  CategorygetDefaultCategory()
    
public  OptiongetDefaultColor()
    
public  OptiongetDefaultSize()
    
public  StringgetDeliveryType()
    
public  StringgetDepartment()
    
public  StringgetDescription()
    
public  StringgetHandlingChargeLevel()
    
public  StringgetId()
    
public  InventoryItemgetInventoryItem(int inI)
    
public  InventoryItemgetInventoryItemByOptions(Collection inOptions)
    
public  InventoryItemgetInventoryItemBySku(String inSku)
    
public  intgetInventoryItemCount()
    
public  ListgetInventoryItems()
    
public  ListgetKeywords()
    
public  StringgetName()
    
public  OptiongetOption(String inOptionId)
    
public  ListgetOptions()
    
public  intgetOrdering()
    
public  PriceSupportgetPriceSupport()
    
public  MapgetProperties()
    
public  StringgetProperty(String inKey)
    
public  CollectiongetRelatedCatalogs()
    
public  StringgetRelatedProductId()
    
public  ListgetRelatedProductIds()
    
public  MoneygetRetailPrice()
    
public  MoneygetRetailUnitPrice()
    
public  StringgetShippingMethodId()
    
public  StringgetShortDescription()
    
public  ListgetSizes()
    
public  ListgetSizesSorted()
    
public  MoneygetYourPrice()
    
public  booleanhasColor()
    
public  booleanhasColors()
    
public  booleanhasKeywords()
    
public  booleanhasProductLevelPricing()
    
public  booleanhasProperty(String inKey)
    
public  booleanhasRelatedProducts()
    
public  booleanhasSize()
    
public  booleanhasSizes()
    
public  voidincrementProperty(String property, int delta)
    
public  booleanisAvailable()
    
public  booleanisCustomPrice()
    
public  booleanisInCatalog(Category inCat)
    
public  booleanisInStock()
    
public  booleanisOnSale()
    
public  booleanisPartlyOutOfStock()
    
public  booleanisRelated(String inId)
    
public  booleanisTaxExempt()
    
public  voidputAttribute(String inKey, String inValue)
    
public  voidputProperty(String inKey, String inValue)
    
public  voidremoveCatalog(Category inCatid)
    
public  voidremoveOption(String id)
    
public  voidremoveProperty(String inKey)
    
public  voidremoveRelatedProductId(String inProductId)
    
public  voidsetAvailable(boolean inAvailable)
    
public  voidsetCatalogs(Set inCatalogs)
    
public  voidsetCustomPrice(boolean inCustomPrice)
    
public  voidsetDefaultCatalog(Category inDefaultCatalog)
    
public  voidsetDeliveryType(String inDeliveryType)
    
public  voidsetDepartment(String fieldDepartment)
    
public  voidsetDescription(String inDescription)
    
public  voidsetHandlingChargeLevel(String inHandlingChargeLevel)
    
public  voidsetId(String inString)
    
public  voidsetInventoryItems(List inItems)
    
public  voidsetKeywords(List inKeywords)
    
public  voidsetName(String inName)
    
public  voidsetOptions(List inOptions)
    
public  voidsetOrdering(int inOrdering)
    
public  voidsetPriceSupport(PriceSupport priceSupport)
    
public  voidsetProperties(Map inAttributes)
    
public  voidsetShippingMethodId(String inShippingMethodId)
    
public  voidsetShortDescription(String inDescription)
    
public  voidsetTaxExempt(boolean inTaxExempt)
    
public  StringtoString()
    

Field Detail
fieldAvailable
protected boolean fieldAvailable(Code)



fieldCatalogs
protected Set fieldCatalogs(Code)



fieldCustomPrice
protected boolean fieldCustomPrice(Code)



fieldDefaultCatalog
protected Category fieldDefaultCatalog(Code)



fieldDeliveryType
protected String fieldDeliveryType(Code)



fieldDepartment
protected String fieldDepartment(Code)



fieldDescription
protected String fieldDescription(Code)



fieldHandlingChargeLevel
protected String fieldHandlingChargeLevel(Code)



fieldId
protected String fieldId(Code)



fieldInventoryItems
protected List fieldInventoryItems(Code)



fieldKeywords
protected List fieldKeywords(Code)



fieldName
protected String fieldName(Code)



fieldOptions
protected List fieldOptions(Code)



fieldOrdering
protected int fieldOrdering(Code)



fieldPriceSupport
protected PriceSupport fieldPriceSupport(Code)



fieldProperties
protected Map fieldProperties(Code)



fieldRelatedProductIds
protected List fieldRelatedProductIds(Code)



fieldShippingMethodId
protected String fieldShippingMethodId(Code)



fieldTaxExempt
protected boolean fieldTaxExempt(Code)




Constructor Detail
Product
public Product()(Code)



Product
public Product(String inName)(Code)




Method Detail
addCatalog
public void addCatalog(Category inCatid)(Code)

Parameters:
  inCatid -



addCategory
public void addCategory(Category inCatid)(Code)



addInventoryItem
public void addInventoryItem(InventoryItem inItem)(Code)



addKeyword
public void addKeyword(String inString)(Code)



addOption
public void addOption(Option inOption)(Code)



addProperty
public void addProperty(String inKey, String inValue)(Code)



addRelatedProductId
public void addRelatedProductId(String inProductId)(Code)



addTierPrice
public void addTierPrice(int inQuantity, Price inPrice)(Code)

Parameters:
  inQuantity -
Parameters:
  money -



clearCatalogs
public void clearCatalogs()(Code)



clearItems
public void clearItems()(Code)



clearKeywords
public void clearKeywords()(Code)



clearOptions
public void clearOptions()(Code)



clearRelatedProductIds
public void clearRelatedProductIds()(Code)



clearUserCatalogs
public void clearUserCatalogs()(Code)



colorsInSize
public List colorsInSize(Option inSize)(Code)
List all the colors available in this size
Parameters:
  inSize -



copy
public Product copy(String newId)(Code)



copy
public Product copy()(Code)



get
public String get(String inAttribute)(Code)



getAllOptions
public List getAllOptions()(Code)



getCatalogs
public Set getCatalogs()(Code)



getCloseInventoryItemByOptions
public InventoryItem getCloseInventoryItemByOptions(Set inOptions)(Code)



getColors
public List getColors()(Code)



getDate
public Date getDate(String inField, String inDateFormat)(Code)



getDefaultCatalog
public Category getDefaultCatalog()(Code)



getDefaultCategory
public Category getDefaultCategory()(Code)



getDefaultColor
public Option getDefaultColor()(Code)



getDefaultSize
public Option getDefaultSize()(Code)



getDeliveryType
public String getDeliveryType()(Code)



getDepartment
public String getDepartment()(Code)



getDescription
public String getDescription()(Code)



getHandlingChargeLevel
public String getHandlingChargeLevel()(Code)



getId
public String getId()(Code)



getInventoryItem
public InventoryItem getInventoryItem(int inI)(Code)

Parameters:
  inI -



getInventoryItemByOptions
public InventoryItem getInventoryItemByOptions(Collection inOptions)(Code)



getInventoryItemBySku
public InventoryItem getInventoryItemBySku(String inSku)(Code)



getInventoryItemCount
public int getInventoryItemCount()(Code)



getInventoryItems
public List getInventoryItems()(Code)



getKeywords
public List getKeywords()(Code)



getName
public String getName()(Code)



getOption
public Option getOption(String inOptionId)(Code)



getOptions
public List getOptions()(Code)



getOrdering
public int getOrdering()(Code)



getPriceSupport
public PriceSupport getPriceSupport()(Code)



getProperties
public Map getProperties()(Code)



getProperty
public String getProperty(String inKey)(Code)



getRelatedCatalogs
public Collection getRelatedCatalogs()(Code)



getRelatedProductId
public String getRelatedProductId()(Code)



getRelatedProductIds
public List getRelatedProductIds()(Code)



getRetailPrice
public Money getRetailPrice()(Code)



getRetailUnitPrice
public Money getRetailUnitPrice()(Code)



getShippingMethodId
public String getShippingMethodId()(Code)



getShortDescription
public String getShortDescription()(Code)
This is an optional field



getSizes
public List getSizes()(Code)



getSizesSorted
public List getSizesSorted()(Code)



getYourPrice
public Money getYourPrice()(Code)



hasColor
public boolean hasColor()(Code)



hasColors
public boolean hasColors()(Code)



hasKeywords
public boolean hasKeywords()(Code)



hasProductLevelPricing
public boolean hasProductLevelPricing()(Code)



hasProperty
public boolean hasProperty(String inKey)(Code)



hasRelatedProducts
public boolean hasRelatedProducts()(Code)



hasSize
public boolean hasSize()(Code)



hasSizes
public boolean hasSizes()(Code)



incrementProperty
public void incrementProperty(String property, int delta) throws Exception(Code)



isAvailable
public boolean isAvailable()(Code)



isCustomPrice
public boolean isCustomPrice()(Code)



isInCatalog
public boolean isInCatalog(Category inCat)(Code)



isInStock
public boolean isInStock()(Code)



isOnSale
public boolean isOnSale()(Code)



isPartlyOutOfStock
public boolean isPartlyOutOfStock()(Code)



isRelated
public boolean isRelated(String inId)(Code)



isTaxExempt
public boolean isTaxExempt()(Code)



putAttribute
public void putAttribute(String inKey, String inValue)(Code)



putProperty
public void putProperty(String inKey, String inValue)(Code)



removeCatalog
public void removeCatalog(Category inCatid)(Code)



removeOption
public void removeOption(String id)(Code)



removeProperty
public void removeProperty(String inKey)(Code)



removeRelatedProductId
public void removeRelatedProductId(String inProductId)(Code)



setAvailable
public void setAvailable(boolean inAvailable)(Code)



setCatalogs
public void setCatalogs(Set inCatalogs)(Code)



setCustomPrice
public void setCustomPrice(boolean inCustomPrice)(Code)



setDefaultCatalog
public void setDefaultCatalog(Category inDefaultCatalog)(Code)



setDeliveryType
public void setDeliveryType(String inDeliveryType)(Code)



setDepartment
public void setDepartment(String fieldDepartment)(Code)



setDescription
public void setDescription(String inDescription)(Code)



setHandlingChargeLevel
public void setHandlingChargeLevel(String inHandlingChargeLevel)(Code)



setId
public void setId(String inString)(Code)



setInventoryItems
public void setInventoryItems(List inItems)(Code)



setKeywords
public void setKeywords(List inKeywords)(Code)



setName
public void setName(String inName)(Code)



setOptions
public void setOptions(List inOptions)(Code)



setOrdering
public void setOrdering(int inOrdering)(Code)



setPriceSupport
public void setPriceSupport(PriceSupport priceSupport)(Code)



setProperties
public void setProperties(Map inAttributes)(Code)



setShippingMethodId
public void setShippingMethodId(String inShippingMethodId)(Code)



setShortDescription
public void setShortDescription(String inDescription)(Code)



setTaxExempt
public void setTaxExempt(boolean inTaxExempt)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.