|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openedit.store.BaseArchive
org.openedit.store.xmldb.BaseXmlArchive
org.openedit.store.xmldb.XmlProductArchive
public class XmlProductArchive
A product archive that stores the data about each product in an
.xconf file in the storehome/products directory (as
determined by its ProductPathFinder).
| Constructor Summary | |
|---|---|
XmlProductArchive()
|
|
| Method Summary | |
|---|---|
java.lang.String |
buildXconfPath(Product inProduct)
|
void |
clearProduct(Product inProduct)
|
void |
clearProducts()
|
void |
deleteProduct(Product inProduct)
|
IntCounter |
getIntCounter()
|
PageManager |
getPageManager()
|
Product |
getProduct(java.lang.String inId)
|
Product |
getProductBySourcePath(java.lang.String inSourcePath)
|
ProductPathFinder |
getProductPathFinder()
Returns the product path finder. |
PropertyDetails |
getPropertyDetails()
|
Store |
getStore()
|
java.io.File |
getStoreDirectory()
|
XmlUtil |
getXmlUtil()
|
boolean |
isUpdateExistingRecord()
|
java.lang.String |
loadDescription(Product inProduct)
|
java.lang.String |
nextProductNumber()
|
void |
saveBlankProductDescription(Product inProduct)
|
void |
saveProduct(Product inProduct)
|
void |
saveProduct(Product inProduct,
Element rootElement)
|
void |
saveProduct(Product inProduct,
User inUser)
|
void |
saveProductDescription(Product inProduct,
java.lang.String inDescription)
|
void |
setIntCounter(IntCounter inIntCounter)
|
void |
setPageManager(PageManager inPageManager)
|
void |
setStore(Store inStore)
|
void |
setUpdateExistingRecord(boolean inUpdateExistingRecord)
|
void |
setXmlUtil(XmlUtil inUtil)
|
| Methods inherited from class org.openedit.store.BaseArchive |
|---|
getCatalogId, getWebEventListener, setCatalogId, setWebEventListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openedit.store.ProductArchive |
|---|
getCatalogId, setCatalogId |
| Constructor Detail |
|---|
public XmlProductArchive()
| Method Detail |
|---|
public void clearProducts()
clearProducts in interface ProductArchivepublic void deleteProduct(Product inProduct) throws StoreException
deleteProduct in interface ProductArchiveStoreExceptionpublic void clearProduct(Product inProduct)
clearProduct in interface ProductArchivepublic Product getProduct(java.lang.String inId) throws StoreException
getProduct in interface ProductArchiveStoreExceptionpublic Product getProductBySourcePath(java.lang.String inSourcePath) throws StoreException
getProductBySourcePath in interface ProductArchiveStoreExceptionpublic java.lang.String buildXconfPath(Product inProduct)
buildXconfPath in interface ProductArchivepublic void saveProduct(Product inProduct) throws StoreException
saveProduct in interface ProductArchiveStoreExceptionpublic void saveProduct(Product inProduct, User inUser) throws StoreException
saveProduct in interface ProductArchiveStoreExceptionpublic void saveProduct(Product inProduct, Element rootElement)
saveProduct in interface ProductArchivepublic PageManager getPageManager()
public void setPageManager(PageManager inPageManager)
public java.lang.String loadDescription(Product inProduct) throws StoreException
loadDescription in interface ProductArchiveStoreException
public java.lang.String nextProductNumber()
throws StoreException
nextProductNumber in interface ProductArchiveStoreExceptionpublic void saveProductDescription(Product inProduct, java.lang.String inDescription) throws StoreException
saveProductDescription in interface ProductArchiveStoreExceptionpublic void saveBlankProductDescription(Product inProduct) throws StoreException
saveBlankProductDescription in interface ProductArchiveStoreExceptionpublic ProductPathFinder getProductPathFinder()
ProductArchive
getProductPathFinder in interface ProductArchivepublic PropertyDetails getPropertyDetails()
getPropertyDetails in interface ProductArchivepublic Store getStore()
getStore in interface ProductArchivepublic void setStore(Store inStore)
setStore in interface ProductArchivepublic java.io.File getStoreDirectory()
public XmlUtil getXmlUtil()
public void setXmlUtil(XmlUtil inUtil)
public boolean isUpdateExistingRecord()
public void setUpdateExistingRecord(boolean inUpdateExistingRecord)
public IntCounter getIntCounter()
public void setIntCounter(IntCounter inIntCounter)
|
|||||||||
| 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
