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
boolean
fieldAvailable
protected
Set
fieldCatalogs
protected
boolean
fieldCustomPrice
protected
Category
fieldDefaultCatalog
protected
String
fieldDeliveryType
protected
String
fieldDepartment
protected
String
fieldDescription
protected
String
fieldHandlingChargeLevel
protected
String
fieldId
protected
List
fieldInventoryItems
protected
List
fieldKeywords
protected
String
fieldName
protected
List
fieldOptions
protected
int
fieldOrdering
protected
PriceSupport
fieldPriceSupport
protected
Map
fieldProperties
protected
List
fieldRelatedProductIds
protected
String
fieldShippingMethodId
protected
boolean
fieldTaxExempt
Constructor Summary
public
Product
()
public
Product
(
String
inName)
Method Summary
public
void
addCatalog
(
Category
inCatid)
public
void
addCategory
(
Category
inCatid)
public
void
addInventoryItem
(
InventoryItem
inItem)
public
void
addKeyword
(
String
inString)
public
void
addOption
(
Option
inOption)
public
void
addProperty
(
String
inKey,
String
inValue)
public
void
addRelatedProductId
(
String
inProductId)
public
void
addTierPrice
(int inQuantity,
Price
inPrice)
public
void
clearCatalogs
()
public
void
clearItems
()
public
void
clearKeywords
()
public
void
clearOptions
()
public
void
clearRelatedProductIds
()
public
void
clearUserCatalogs
()
public
List
colorsInSize
(
Option
inSize)
public
Product
copy
(
String
newId)
public
Product
copy
()
public
String
get
(
String
inAttribute)
public
List
getAllOptions
()
public
Set
getCatalogs
()
public
InventoryItem
getCloseInventoryItemByOptions
(
Set
inOptions)
public
List
getColors
()
public
Date
getDate
(
String
inField,
String
inDateFormat)
public
Category
getDefaultCatalog
()
public
Category
getDefaultCategory
()
public
Option
getDefaultColor
()
public
Option
getDefaultSize
()
public
String
getDeliveryType
()
public
String
getDepartment
()
public
String
getDescription
()
public
String
getHandlingChargeLevel
()
public
String
getId
()
public
InventoryItem
getInventoryItem
(int inI)
public
InventoryItem
getInventoryItemByOptions
(
Collection
inOptions)
public
InventoryItem
getInventoryItemBySku
(
String
inSku)
public
int
getInventoryItemCount
()
public
List
getInventoryItems
()
public
List
getKeywords
()
public
String
getName
()
public
Option
getOption
(
String
inOptionId)
public
List
getOptions
()
public
int
getOrdering
()
public
PriceSupport
getPriceSupport
()
public
Map
getProperties
()
public
String
getProperty
(
String
inKey)
public
Collection
getRelatedCatalogs
()
public
String
getRelatedProductId
()
public
List
getRelatedProductIds
()
public
Money
getRetailPrice
()
public
Money
getRetailUnitPrice
()
public
String
getShippingMethodId
()
public
String
getShortDescription
()
public
List
getSizes
()
public
List
getSizesSorted
()
public
Money
getYourPrice
()
public
boolean
hasColor
()
public
boolean
hasColors
()
public
boolean
hasKeywords
()
public
boolean
hasProductLevelPricing
()
public
boolean
hasProperty
(
String
inKey)
public
boolean
hasRelatedProducts
()
public
boolean
hasSize
()
public
boolean
hasSizes
()
public
void
incrementProperty
(
String
property, int delta)
public
boolean
isAvailable
()
public
boolean
isCustomPrice
()
public
boolean
isInCatalog
(
Category
inCat)
public
boolean
isInStock
()
public
boolean
isOnSale
()
public
boolean
isPartlyOutOfStock
()
public
boolean
isRelated
(
String
inId)
public
boolean
isTaxExempt
()
public
void
putAttribute
(
String
inKey,
String
inValue)
public
void
putProperty
(
String
inKey,
String
inValue)
public
void
removeCatalog
(
Category
inCatid)
public
void
removeOption
(
String
id)
public
void
removeProperty
(
String
inKey)
public
void
removeRelatedProductId
(
String
inProductId)
public
void
setAvailable
(boolean inAvailable)
public
void
setCatalogs
(
Set
inCatalogs)
public
void
setCustomPrice
(boolean inCustomPrice)
public
void
setDefaultCatalog
(
Category
inDefaultCatalog)
public
void
setDeliveryType
(
String
inDeliveryType)
public
void
setDepartment
(
String
fieldDepartment)
public
void
setDescription
(
String
inDescription)
public
void
setHandlingChargeLevel
(
String
inHandlingChargeLevel)
public
void
setId
(
String
inString)
public
void
setInventoryItems
(
List
inItems)
public
void
setKeywords
(
List
inKeywords)
public
void
setName
(
String
inName)
public
void
setOptions
(
List
inOptions)
public
void
setOrdering
(int inOrdering)
public
void
setPriceSupport
(
PriceSupport
priceSupport)
public
void
setProperties
(
Map
inAttributes)
public
void
setShippingMethodId
(
String
inShippingMethodId)
public
void
setShortDescription
(
String
inDescription)
public
void
setTaxExempt
(boolean inTaxExempt)
public
String
toString
()
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.