Interface Product
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
ProductBean
Interface representing a product within the system. A product is the
purchaseable unit of the store.
When the application needs to create an instance that implements
Product
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the "productImplementer"
setting in the appComponents.properties
file.
The default "productImplementer" is
ProductBean
.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFormatting
(Locale locale, String currencyCode) getCode()
boolean
boolean
getName()
int
int
getSkus()
void
setAltPrice
(Double altPrice) void
setAttributesAndOptions
(Collection attributesAndOptions) void
void
setCreated
(String created) void
setCustomerWishListProducts
(Collection customerWishListProducts) void
setDescription
(String description) void
void
void
void
void
void
void
setFormattedAltPrice
(String formattedAltPrice) void
setFormattedCost
(String formattedCost) void
setFormattedPrice
(String formattedPrice) void
void
setIsActive
(boolean isActive) void
setIsTaxed
(boolean isTaxed) void
setKeywords
(String keywords) void
setLargeImage
(String largeImage) void
setManufacturer
(Manufacturer manufacturer) void
setManufacturerID
(Integer manufacturerID) void
setMediumImage
(String mediumImage) void
void
setPrimaryCategory
(Category primaryCategory) void
setPrimaryCategoryID
(Integer primaryCategoryID) void
setProductAttributes
(Collection productAttributes) void
setProductCategories
(Collection productCategories) void
setProductID
(int productID) void
setProductOrder
(int productOrder) void
setProductReviews
(Collection productReviews) void
setProductSettings
(Map productSettings) void
setRelatedProducts
(Collection relatedProducts) void
setRelatedProductsAdmin
(Collection relatedProductsAdmin) void
setSeoCode
(String seoCode) void
setShortDescription
(String shortDescription) void
setSkus
(Collection skus) void
setSmallImage
(String smallImage) void
setUnitCost
(Double unitCost) void
setUnitPrice
(Double unitPrice) void
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getProductID
int getProductID() -
setProductID
void setProductID(int productID) -
getCode
String getCode() -
setCode
-
getSeoCode
String getSeoCode() -
setSeoCode
-
getName
String getName() -
setName
-
getIsActive
boolean getIsActive() -
setIsActive
void setIsActive(boolean isActive) -
getKeywords
String getKeywords() -
setKeywords
-
getShortDescription
String getShortDescription() -
setShortDescription
-
getDescription
String getDescription() -
setDescription
-
getUnitCost
Double getUnitCost() -
setUnitCost
-
getUnitPrice
Double getUnitPrice() -
setUnitPrice
-
getAltPrice
Double getAltPrice() -
setAltPrice
-
getWeight
Double getWeight() -
setWeight
-
getHeader
String getHeader() -
setHeader
-
getIsTaxed
boolean getIsTaxed() -
setIsTaxed
void setIsTaxed(boolean isTaxed) -
getFormattedCost
String getFormattedCost() -
setFormattedCost
-
getFormattedPrice
String getFormattedPrice() -
setFormattedPrice
-
getFormattedAltPrice
String getFormattedAltPrice() -
setFormattedAltPrice
-
getSmallImage
String getSmallImage() -
setSmallImage
-
getMediumImage
String getMediumImage() -
setMediumImage
-
getLargeImage
String getLargeImage() -
setLargeImage
-
getExtra1
String getExtra1() -
setExtra1
-
getExtra2
String getExtra2() -
setExtra2
-
getExtra3
String getExtra3() -
setExtra3
-
getExtra4
String getExtra4() -
setExtra4
-
getExtra5
String getExtra5() -
setExtra5
-
getCreated
String getCreated() -
setCreated
-
getPrimaryCategoryID
Integer getPrimaryCategoryID() -
setPrimaryCategoryID
-
getProductOrder
int getProductOrder() -
setProductOrder
void setProductOrder(int productOrder) -
getAttributesAndOptions
Collection getAttributesAndOptions() -
setAttributesAndOptions
-
addFormatting
-
getProductSettings
Map getProductSettings() -
setProductSettings
-
getProductCategories
Collection getProductCategories() -
setProductCategories
-
getPrimaryCategory
Category getPrimaryCategory() -
setPrimaryCategory
-
getProductAttributes
Collection getProductAttributes() -
setProductAttributes
-
getSkus
Collection getSkus() -
setSkus
-
getSkuMap
Map getSkuMap() -
getRelatedProducts
Collection getRelatedProducts() -
setRelatedProducts
-
getRelatedProductsAdmin
Collection getRelatedProductsAdmin() -
setRelatedProductsAdmin
-
getManufacturerID
Integer getManufacturerID() -
setManufacturerID
-
getManufacturer
Manufacturer getManufacturer() -
setManufacturer
-
getCustomerWishListProducts
Collection getCustomerWishListProducts() -
setCustomerWishListProducts
-
getProductReviews
Collection getProductReviews() -
setProductReviews
-