|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openedit.store.edit.StoreEditor
public class StoreEditor
| Constructor Summary | |
|---|---|
StoreEditor()
|
|
| Method Summary | |
|---|---|
Category |
addNewCatalog(java.lang.String inId,
java.lang.String inName)
|
void |
addOptionToAll(Option inOption)
|
void |
addProductAffixes(Category newCatalog,
java.lang.String newPrefix,
java.lang.String newSuffix)
|
void |
addProductsToCatalog(java.lang.String[] productid,
java.lang.String prefix,
java.lang.String suffix,
Category catalog)
|
void |
addToCatalog(Product inProduct,
Category inCatalog)
|
void |
changeCatalogId(Category inCatalog,
java.lang.String inId)
|
void |
clearCatalogs()
|
Product |
copyProduct(Product inProduct,
java.lang.String inId)
|
Product |
copyProduct(Product inProduct,
java.lang.String inId,
java.lang.String inSourcePath)
|
InventoryItem |
createItem()
|
Product |
createProduct()
|
Product |
createProductWithDefaults()
|
Product |
createProductWithDefaults(Product inTemplateProduct,
java.lang.String newId)
|
void |
deleteCatalog(Category inCatalog)
|
void |
deleteImage(Image inImage)
|
void |
deleteItem(InventoryItem inItem)
|
void |
deleteProduct(Product inProduct)
|
java.util.List |
getAllOptions()
|
Category |
getCatalog(java.lang.String inString)
|
Category |
getCurrentCatalog()
Deprecated. Use getCurrentCategory() |
Category |
getCurrentCategory()
|
InventoryItem |
getCurrentItem()
|
Product |
getCurrentProduct()
|
Image |
getImage(java.lang.String inId)
|
java.util.List |
getImageList()
Returns a list of possible images (not actual images). |
java.util.List |
getImageList(java.lang.String type)
|
org.openedit.money.Money |
getItemPrice(int inQuantity,
InventoryItem inItem)
|
java.util.List |
getItemProperties()
|
PageManager |
getPageManager()
|
Category |
getPickedCatalog()
|
Product |
getProduct(java.lang.String inProductId)
|
Category |
getRootCatalog()
|
Store |
getStore()
|
void |
moveCatalogBefore(Category inCatalog,
Category inBeforeCatalog)
|
void |
moveCatalogDown(Category inCatalog)
|
void |
moveCatalogUp(Category inCatalog)
|
void |
moveProductsToCatalog(java.lang.String[] inProductid,
Category inCatalog1,
Category inCatalog2)
|
void |
reloadCatalogs()
|
void |
removeOptionFromAll(java.lang.String id)
|
void |
removeProductFromCatalog(Category catalog,
java.lang.String[] productIds)
|
void |
resizeImage(Image inOriginal,
java.lang.String inId)
|
void |
saveCatalog(Category inBlank)
|
void |
saveProduct(Product inProduct)
|
void |
saveProducts(java.util.List inProducts)
|
void |
setCurrentCatalog(Category inCurrentCatalog)
Deprecated. Use setCurrentCategory(Category) |
void |
setCurrentCategory(Category inCurrentCatalog)
|
void |
setCurrentItem(InventoryItem inCurrentItem)
|
void |
setCurrentProduct(Product inCurrentProduct)
|
void |
setPageManager(PageManager inPageManager)
|
void |
setPickedCatalog(Category inCatalog)
|
void |
setStore(Store inStore)
|
void |
sortCatalog(Category inCatalog)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoreEditor()
| Method Detail |
|---|
public Category getCurrentCategory() throws StoreException
StoreExceptionpublic void setCurrentCategory(Category inCurrentCatalog)
public Category getCurrentCatalog() throws StoreException
StoreExceptionpublic void setCurrentCatalog(Category inCurrentCatalog)
public Store getStore()
public void setStore(Store inStore)
public Category getCatalog(java.lang.String inString) throws StoreException
inString -
StoreExceptionpublic void moveCatalogUp(Category inCatalog) throws StoreException
StoreExceptionpublic void moveCatalogDown(Category inCatalog) throws StoreException
StoreExceptionpublic void moveCatalogBefore(Category inCatalog, Category inBeforeCatalog) throws StoreException
StoreExceptionpublic void sortCatalog(Category inCatalog)
public Category addNewCatalog(java.lang.String inId, java.lang.String inName) throws StoreException
inString - inString2 -
StoreExceptionpublic void saveCatalog(Category inBlank) throws StoreException
inBlank -
StoreExceptionpublic void deleteCatalog(Category inCatalog) throws OpenEditException
inCatalog -
OpenEditExceptionpublic Category getRootCatalog() throws StoreException
StoreException
public void clearCatalogs()
throws StoreException
StoreException
public void reloadCatalogs()
throws StoreException
StoreExceptionpublic Product createProduct()
public void addToCatalog(Product inProduct, Category inCatalog) throws StoreException
StoreExceptionpublic void deleteProduct(Product inProduct) throws StoreException
StoreExceptionpublic Product getProduct(java.lang.String inProductId) throws StoreException
StoreExceptionpublic void deleteItem(InventoryItem inItem) throws StoreException
StoreExceptionpublic void saveProduct(Product inProduct) throws StoreException
StoreException
public void saveProducts(java.util.List inProducts)
throws StoreException
StoreExceptionpublic Product getCurrentProduct()
public void setCurrentProduct(Product inCurrentProduct)
public Product createProductWithDefaults() throws StoreException
StoreExceptionpublic Product createProductWithDefaults(Product inTemplateProduct, java.lang.String newId) throws StoreException
StoreExceptionpublic InventoryItem createItem()
public InventoryItem getCurrentItem()
public void setCurrentItem(InventoryItem inCurrentItem)
public org.openedit.money.Money getItemPrice(int inQuantity,
InventoryItem inItem)
public void deleteImage(Image inImage)
public Image getImage(java.lang.String inId) throws StoreException
inType -
StoreExceptionpublic void resizeImage(Image inOriginal, java.lang.String inId) throws StoreException
inPath -
StoreException
public java.util.List getImageList()
throws StoreException
List of Images
StoreException
public java.util.List getImageList(java.lang.String type)
throws StoreException
StoreException
public java.util.List getAllOptions()
throws StoreException
inCurrentCatalog - inLinks -
StoreExceptionpublic void addOptionToAll(Option inOption) throws OpenEditException
inOption -
OpenEditException
public void removeOptionFromAll(java.lang.String id)
throws StoreException
StoreExceptionpublic void addProductAffixes(Category newCatalog, java.lang.String newPrefix, java.lang.String newSuffix) throws OpenEditException
OpenEditExceptionpublic PageManager getPageManager()
public void setPageManager(PageManager inPageManager)
inPageManager - The pageManager to set.public Product copyProduct(Product inProduct, java.lang.String inId)
public Product copyProduct(Product inProduct, java.lang.String inId, java.lang.String inSourcePath)
public void changeCatalogId(Category inCatalog, java.lang.String inId) throws OpenEditException
inCatalog - inId -
java.lang.Exception
OpenEditException
public java.util.List getItemProperties()
throws OpenEditException
OpenEditExceptionpublic Category getPickedCatalog()
public void setPickedCatalog(Category inCatalog)
public void removeProductFromCatalog(Category catalog, java.lang.String[] productIds) throws OpenEditException
OpenEditException
public void addProductsToCatalog(java.lang.String[] productid,
java.lang.String prefix,
java.lang.String suffix,
Category catalog)
throws OpenEditException
OpenEditException
public void moveProductsToCatalog(java.lang.String[] inProductid,
Category inCatalog1,
Category inCatalog2)
throws StoreException
StoreException
|
|||||||||
| 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 05 2009
