|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openedit.store.Store
public class Store
| Constructor Summary | |
|---|---|
Store()
|
|
| Method Summary | |
|---|---|
void |
addCreditCardType(CreditCardType inCreditCardType)
|
void |
addNotifyAddress(java.lang.String inToAddress)
|
void |
addToAddress(java.lang.String inToAddress)
|
boolean |
areCouponsAccepted()
|
Crumb |
buildCrumb(Category inCatalog)
|
Link |
buildLink(Category inCatalog)
|
Link |
buildLink(Category inCatalog,
java.lang.String prefix)
|
void |
clear()
|
void |
clearProducts()
|
void |
clearSystemWideFilter(java.lang.String inDataLevel)
|
ConvertStatus |
convertCatalog(User inUser,
boolean inForce)
|
Product |
createProduct(java.lang.String inSourcePath)
|
boolean |
displayTermsConditions()
|
ShippingMethod |
findShippingMethod(java.lang.String inId)
|
boolean |
getAllowDuplicateAccounts()
|
java.util.List |
getAllShippingMethods()
|
Category |
getCatalog(java.lang.String inCatalogId)
Deprecated. |
CategoryArchive |
getCatalogArchive()
Deprecated. |
java.lang.String |
getCatalogId()
|
CatalogConverter |
getCatalogImportConverter()
|
Category |
getCategory(java.lang.String inCatalogId)
|
CategoryArchive |
getCategoryArchive()
|
Category |
getCategoryByName(java.lang.String inCatname)
|
java.lang.String |
getConfigValue(java.lang.String inKey)
|
CreditCardType |
getCreditCardType(java.lang.String inString)
|
java.util.Set |
getCreditCardTypes()
|
CustomerArchive |
getCustomerArchive()
|
java.util.List |
getDataProperties(java.lang.String inScreenName,
User inUser)
Deprecated. Use store.getProductDetails() |
ElectronicOrderManager |
getElectronicOrderManager()
|
java.lang.String |
getEmailLayout()
|
PropertyDetailsArchive |
getFieldArchive()
|
java.lang.String |
getFromAddress()
|
java.lang.String |
getHostName()
|
AutoImageCreator |
getImageCreator()
|
java.util.List |
getImageList()
Returns a list of potential (not actual) images, valid for any catalog. |
java.util.List |
getImageList(java.lang.String inType)
|
long |
getLastModified()
|
java.lang.String |
getLinkToMedium(java.lang.String inSourcePath,
java.lang.String inFileName)
|
java.lang.String |
getLinkToMedium(java.lang.String inSourcePath,
java.lang.String inFileName,
java.lang.String inExtension)
|
java.lang.String |
getLinkToThumb(java.lang.String inSourcePath,
java.lang.String inFileName)
|
java.lang.String |
getLinkToThumb(java.lang.String inSourcePath,
java.lang.String inFileName,
java.lang.String inExtension)
|
ProductArchive |
getMirrorProductArchive()
|
ModuleManager |
getModuleManager()
|
java.lang.String |
getName()
|
java.util.List |
getNotifyAddresses()
These are used to notify people of an email |
OrderArchive |
getOrderArchive()
|
OrderGenerator |
getOrderGenerator()
|
java.lang.String |
getOrderLayout()
|
OrderProcessor |
getOrderProcessor()
|
OrderSearcher |
getOrderSearcher()
|
OrderState |
getOrderState(java.lang.String inState)
|
Product |
getProduct(java.lang.String inItem)
|
ProductArchive |
getProductArchive()
|
Product |
getProductBySourcePath(Page inPage)
|
Product |
getProductBySourcePath(java.lang.String inSourcePath)
|
java.util.List |
getProductDetails(java.lang.String inPropertiesName,
User inUser)
This returns a particular set of properties, which is a subset of the properties found in store/configuration/productproperties.xml |
ProductExport |
getProductExport()
|
ProductPathFinder |
getProductPathFinder()
|
ProductSearcher |
getProductSearch()
Deprecated. |
ProductSearcher |
getProductSearcher()
|
ProductSecurityArchive |
getProductSecurityArchive()
|
java.util.List |
getProductsInCatalog(Category inCatalog)
|
ProductPathFinder |
getProductSourcePathFinder()
|
HitTracker |
getProperties(java.lang.String inName)
|
java.util.Map |
getRelatedProductMap(java.lang.String inProductId)
|
java.util.List |
getRelatedProductsInCategory(java.lang.String inProductId,
java.lang.String inCatalogId)
|
java.io.File |
getRootDirectory()
|
SearcherManager |
getSearcherManager()
|
SearchFilterArchive |
getSearchFilterArchive()
|
java.lang.String |
getSmtpServer()
|
java.lang.String |
getSourcePathForPage(WebPageRequest inPage)
|
java.lang.String |
getStatusEmailLayout()
|
java.io.File |
getStoreDirectory()
|
java.lang.String |
getStoreHome()
|
org.openedit.money.Fraction |
getTaxRateFor(java.lang.String inString)
|
java.util.List |
getToAddresses()
|
XmlArchive |
getXmlArchive()
|
boolean |
isAllowSpecialRequest()
|
boolean |
isAssignShippingMethod()
|
boolean |
isAutoCapture()
|
boolean |
isUseSearchSecurity()
|
java.util.Collection |
listAllKnownProductIds()
|
java.util.List |
listAllSortByFields()
|
void |
processOrder(WebPageRequest inPageRequest,
Order order)
|
void |
putTaxRate(java.lang.String inState,
org.openedit.money.Fraction inRate)
|
void |
reindexAll()
|
void |
reloadSearchIndex()
|
void |
removeCreditCardType(CreditCardType inCreditCardType)
|
void |
save()
|
void |
saveCustomer(Customer customer)
|
void |
saveOrder(Order inOrder)
Save the order to the order archive system |
void |
saveProduct(Product inProduct)
|
void |
saveProduct(Product inProduct,
User inUser)
|
void |
saveProducts(java.util.List inProducts)
|
HitTracker |
search(java.lang.String inSearch)
|
HitTracker |
search(java.lang.String inFinalq,
java.lang.String inOrdering)
|
void |
setAllowDuplicateAccounts(boolean inAllowDuplicateAccounts)
|
void |
setAllowSpecialRequest(boolean inAllowSpecialRequest)
|
void |
setAllShippingMethods(java.util.List inAllShippingMethods)
|
void |
setAssignShippingMethod(boolean inAssignShippingMethod)
|
void |
setAutoCapture(boolean inAutoCapture)
|
void |
setCatalogId(java.lang.String inString)
|
void |
setCatalogImportConverter(CatalogConverter inCatalogImportConverter)
|
void |
setCategoryArchive(CategoryArchive inCatalogArchive)
|
void |
setConfiguration(Configuration inConfiguration)
|
void |
setCouponsAccepted(boolean inCouponsAccepted)
|
void |
setCustomerArchive(CustomerArchive inCustomerArchive)
|
void |
setDisplayTermsConditions(boolean inDisplayTermsConditions)
|
void |
setElectronicOrderManager(ElectronicOrderManager inElectronicOrderManager)
|
void |
setEmailLayout(java.lang.String inEmailLayout)
|
void |
setFromAddress(java.lang.String inFromAddress)
|
void |
setHostName(java.lang.String inHostName)
|
void |
setImageCreator(AutoImageCreator inImageCreator)
|
void |
setLastModified(long inLastModified)
|
void |
setMirrorProductArchive(ProductArchive inMirrorProductArchive)
|
void |
setModuleManager(ModuleManager inModuleManager)
|
void |
setName(java.lang.String inName)
|
void |
setNotifyAddresses(java.util.List inBccAddresses)
|
void |
setOrderArchive(OrderArchive inOrderArchive)
|
void |
setOrderGenerator(OrderGenerator inOrderGenerator)
|
void |
setOrderLayout(java.lang.String inThanksLayout)
|
void |
setOrderProcessor(OrderProcessor inOrderProcessor)
|
void |
setProductArchive(ProductArchive inArchive)
|
void |
setProductExport(ProductExport inProductExport)
|
void |
setProductPathFinder(ProductPathFinder inProductPathFinder)
|
void |
setProductSecurityArchive(ProductSecurityArchive inProductSecurityArchive)
|
void |
setRootDirectory(java.io.File inRoot)
|
void |
setSearcherManager(SearcherManager inSearcherManager)
|
void |
setSearchFilterArchive(SearchFilterArchive inSearchFilterArchive)
|
void |
setSmtpServer(java.lang.String inString)
|
void |
setStatusEmailLayout(java.lang.String inStatusLayout)
|
void |
setStoreDirectory(java.io.File inHome)
|
void |
setToAddresses(java.util.List inList)
|
void |
setUsesBillMeLater(boolean inUsesBillMeLater)
|
void |
setUseSearchSecurity(boolean inUseSearchSecurity)
|
void |
setUsesPoNumbers(boolean inUsesPoNumbers)
|
void |
setXmlArchive(XmlArchive inXmlArchive)
|
java.lang.String |
showMedium(java.lang.String inId)
|
java.lang.String |
showThumb(java.lang.String inId)
|
boolean |
usesBillMeLater()
|
boolean |
usesPoNumbers()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Store()
| Method Detail |
|---|
public ProductSecurityArchive getProductSecurityArchive()
public void setProductSecurityArchive(ProductSecurityArchive inProductSecurityArchive)
public ElectronicOrderManager getElectronicOrderManager()
public void setElectronicOrderManager(ElectronicOrderManager inElectronicOrderManager)
public java.util.Set getCreditCardTypes()
public Category getCatalog(java.lang.String inCatalogId) throws StoreException
inCatalogId -
StoreExceptionpublic Category getCategory(java.lang.String inCatalogId) throws StoreException
StoreExceptionpublic Category getCategoryByName(java.lang.String inCatname) throws StoreException
StoreExceptionpublic void addCreditCardType(CreditCardType inCreditCardType)
public void removeCreditCardType(CreditCardType inCreditCardType)
public CreditCardType getCreditCardType(java.lang.String inString)
public java.lang.String getStoreHome()
public java.lang.String getCatalogId()
public void setCatalogId(java.lang.String inString)
public void clear()
throws java.lang.Exception
java.lang.Exceptionpublic void clearProducts()
public java.lang.String getSmtpServer()
public java.util.List getToAddresses()
public void setSmtpServer(java.lang.String inString)
public void setToAddresses(java.util.List inList)
public void addToAddress(java.lang.String inToAddress)
public void addNotifyAddress(java.lang.String inToAddress)
public java.lang.String getEmailLayout()
public void setEmailLayout(java.lang.String inEmailLayout)
public java.lang.String getFromAddress()
public void setFromAddress(java.lang.String inFromAddress)
public org.openedit.money.Fraction getTaxRateFor(java.lang.String inString)
inString -
public void putTaxRate(java.lang.String inState,
org.openedit.money.Fraction inRate)
public java.lang.String getOrderLayout()
public void setOrderLayout(java.lang.String inThanksLayout)
public void setStatusEmailLayout(java.lang.String inStatusLayout)
public java.lang.String getStatusEmailLayout()
public Product getProduct(java.lang.String inItem) throws StoreException
StoreExceptionpublic ProductArchive getProductArchive()
public void setProductArchive(ProductArchive inArchive)
public void saveProduct(Product inProduct) throws StoreException
inItem -
StoreExceptionpublic void saveProduct(Product inProduct, User inUser) throws StoreException
StoreException
public void saveProducts(java.util.List inProducts)
throws StoreException
StoreException
public void save()
throws StoreException
StoreException
public java.util.Map getRelatedProductMap(java.lang.String inProductId)
throws StoreException
StoreException
public java.util.List getRelatedProductsInCategory(java.lang.String inProductId,
java.lang.String inCatalogId)
throws StoreException
StoreException
public void reindexAll()
throws OpenEditException
OpenEditException
public HitTracker search(java.lang.String inSearch)
throws OpenEditException
OpenEditExceptionpublic ProductSearcher getProductSearcher()
public ProductSearcher getProductSearch()
public ShippingMethod findShippingMethod(java.lang.String inId)
public java.util.List getAllShippingMethods()
public void setAllShippingMethods(java.util.List inAllShippingMethods)
public java.io.File getStoreDirectory()
public void setStoreDirectory(java.io.File inHome)
public CatalogConverter getCatalogImportConverter()
public void setCatalogImportConverter(CatalogConverter inCatalogImportConverter)
public ConvertStatus convertCatalog(User inUser, boolean inForce) throws java.lang.Exception
java.lang.Exceptionpublic CategoryArchive getCatalogArchive()
public CategoryArchive getCategoryArchive()
public void setCategoryArchive(CategoryArchive inCatalogArchive)
public CustomerArchive getCustomerArchive()
public void setCustomerArchive(CustomerArchive inCustomerArchive)
public void saveOrder(Order inOrder) throws StoreException
inCart -
StoreExceptionpublic OrderArchive getOrderArchive()
public void setOrderArchive(OrderArchive inOrderArchive)
public void saveCustomer(Customer customer) throws StoreException
StoreExceptionpublic java.io.File getRootDirectory()
public void setRootDirectory(java.io.File inRoot)
public OrderGenerator getOrderGenerator()
public void setOrderGenerator(OrderGenerator inOrderGenerator)
public boolean isAssignShippingMethod()
public void setAssignShippingMethod(boolean inAssignShippingMethod)
public java.util.List getNotifyAddresses()
public void setNotifyAddresses(java.util.List inBccAddresses)
public java.lang.String getHostName()
public void setHostName(java.lang.String inHostName)
public boolean areCouponsAccepted()
public void setCouponsAccepted(boolean inCouponsAccepted)
public boolean usesPoNumbers()
public void setUsesPoNumbers(boolean inUsesPoNumbers)
public boolean displayTermsConditions()
public void setDisplayTermsConditions(boolean inDisplayTermsConditions)
public boolean usesBillMeLater()
public void setUsesBillMeLater(boolean inUsesBillMeLater)
public boolean getAllowDuplicateAccounts()
public void setAllowDuplicateAccounts(boolean inAllowDuplicateAccounts)
public ProductPathFinder getProductPathFinder()
public void setProductPathFinder(ProductPathFinder inProductPathFinder)
public ProductPathFinder getProductSourcePathFinder()
public java.lang.String showThumb(java.lang.String inId)
public java.lang.String showMedium(java.lang.String inId)
public HitTracker search(java.lang.String inFinalq,
java.lang.String inOrdering)
throws OpenEditException
OpenEditExceptionpublic boolean isAllowSpecialRequest()
public void setAllowSpecialRequest(boolean inAllowSpecialRequest)
public java.util.List getProductsInCatalog(Category inCatalog) throws OpenEditException
OpenEditExceptionpublic Crumb buildCrumb(Category inCatalog)
public Link buildLink(Category inCatalog)
public Link buildLink(Category inCatalog, java.lang.String prefix)
public java.lang.String getName()
public void setName(java.lang.String inName)
public boolean isAutoCapture()
public void setAutoCapture(boolean inAutoCapture)
public OrderState getOrderState(java.lang.String inState)
public ProductExport getProductExport()
public void setProductExport(ProductExport inProductExport)
public ProductArchive getMirrorProductArchive()
public void setMirrorProductArchive(ProductArchive inMirrorProductArchive)
public long getLastModified()
public void setLastModified(long inLastModified)
public void setConfiguration(Configuration inConfiguration)
public java.lang.String getConfigValue(java.lang.String inKey)
public HitTracker getProperties(java.lang.String inName)
throws OpenEditException
OpenEditException
public java.util.List getDataProperties(java.lang.String inScreenName,
User inUser)
throws java.lang.Exception
inType - inUser -
java.lang.Exception
public java.util.List getProductDetails(java.lang.String inPropertiesName,
User inUser)
throws java.lang.Exception
inSubsetProperties - Identifies the file to look in for the subset of properties to
take from those found in productproperties.xml The file is
store/configuration/fields/properties{inSubsetProperties}.xmlinUser -
java.lang.Exceptionpublic XmlArchive getXmlArchive()
public void setXmlArchive(XmlArchive inXmlArchive)
public java.util.List listAllSortByFields()
public PropertyDetailsArchive getFieldArchive()
public OrderSearcher getOrderSearcher()
public void clearSystemWideFilter(java.lang.String inDataLevel)
throws OpenEditException
OpenEditException
public void processOrder(WebPageRequest inPageRequest,
Order order)
throws StoreException
StoreExceptionpublic OrderProcessor getOrderProcessor()
public void setOrderProcessor(OrderProcessor inOrderProcessor)
public boolean isUseSearchSecurity()
public void setUseSearchSecurity(boolean inUseSearchSecurity)
public void reloadSearchIndex()
public SearcherManager getSearcherManager()
public void setSearcherManager(SearcherManager inSearcherManager)
public java.util.List getImageList()
List of Images
public java.util.List getImageList(java.lang.String inType)
throws StoreException
StoreException
public java.lang.String getLinkToThumb(java.lang.String inSourcePath,
java.lang.String inFileName,
java.lang.String inExtension)
public java.lang.String getLinkToThumb(java.lang.String inSourcePath,
java.lang.String inFileName)
public java.lang.String getLinkToMedium(java.lang.String inSourcePath,
java.lang.String inFileName,
java.lang.String inExtension)
public java.lang.String getLinkToMedium(java.lang.String inSourcePath,
java.lang.String inFileName)
public AutoImageCreator getImageCreator()
public void setImageCreator(AutoImageCreator inImageCreator)
public java.util.Collection listAllKnownProductIds()
public SearchFilterArchive getSearchFilterArchive()
public void setSearchFilterArchive(SearchFilterArchive inSearchFilterArchive)
public java.lang.String getSourcePathForPage(WebPageRequest inPage)
public Product getProductBySourcePath(java.lang.String inSourcePath)
public Product createProduct(java.lang.String inSourcePath)
public Product getProductBySourcePath(Page inPage)
public ModuleManager getModuleManager()
public void setModuleManager(ModuleManager inModuleManager)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2008 OpenEdit Inc. All rights reserved. last modified: Jan 06 2009
