|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.oness.common.all.BaseObject
net.sf.oness.inventory.model.facade.InventorySpringFacadeDelegate
| Field Summary |
| Fields inherited from class net.sf.oness.common.all.BaseObject |
log |
| Constructor Summary | |
InventorySpringFacadeDelegate()
|
|
| Method Summary | |
Model |
createModel(Model model,
Long sizeGroupId,
Collection colorIds)
Create a model and a product for each size and color. |
void |
deleteModel(Long id)
|
Model |
editPrices(Long modelId)
Get a model for editing its prices |
Model |
findModel(Long id)
Find a model without its products nor sizes of its sizeGroup |
PaginatedList |
findModel(Model model,
int firstElement,
int maxElements)
Find a model without products |
Model |
findModelWithDetails(Long id)
Find a model with all its products and sizes of its sizeGroup |
Map |
findProducts(Collection productIds)
Find products by ids |
Product |
findProductWithDetails(Long id)
Find a product with all its stocks and prices |
List |
getAllColors()
Get all colors |
List |
getAllFares()
Get all fares |
List |
getAllSizeGroups()
Get all size groups with its sizes |
List |
getAllWarehouses()
Get all Warehouses |
Dao |
getColorDao()
|
Dao |
getFareDao()
|
Dao |
getModelDao()
|
Dao |
getPriceDao()
|
Dao |
getProductDao()
|
Dao |
getSizeGroupDao()
|
Dao |
getStockDao()
|
Dao |
getWarehouseDao()
|
void |
setColorDao(Dao colorDao)
|
void |
setFareDao(Dao fareDao)
|
void |
setModelDao(Dao modelDao)
|
void |
setPriceDao(Dao priceDao)
|
void |
setProductDao(Dao productDao)
|
void |
setSizeGroupDao(Dao sizeGroupDao)
|
void |
setStockDao(Dao stockDao)
|
void |
setWarehouseDao(Dao warehouseDao)
|
Model |
updateModel(Model model)
|
Model |
updatePrices(Map productPrices)
Update the prices for some products. |
| Methods inherited from class net.sf.oness.common.all.BaseObject |
clone, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public InventorySpringFacadeDelegate()
| Method Detail |
public void setModelDao(Dao modelDao)
modelDao - The modelDao to set.public Dao getModelDao()
public void setSizeGroupDao(Dao sizeGroupDao)
sizeGroupDao - The sizeGroupDao to set.public Dao getSizeGroupDao()
public void setColorDao(Dao colorDao)
colorDao - The colorDao to set.public Dao getColorDao()
public void setProductDao(Dao productDao)
productDao - The productDao to set.public Dao getProductDao()
public void setStockDao(Dao stockDao)
stockDao - The stockDao to set.public Dao getStockDao()
public void setPriceDao(Dao priceDao)
priceDao - The priceDao to set.public Dao getPriceDao()
public void setWarehouseDao(Dao warehouseDao)
warehouseDao - The warehouseDao to set.public Dao getWarehouseDao()
public void setFareDao(Dao fareDao)
fareDao - The fareDao to set.public Dao getFareDao()
public Model createModel(Model model,
Long sizeGroupId,
Collection colorIds)
InventoryFacadeDelegate
createModel in interface InventoryFacadeDelegatemodel - sizeGroupId - colorIds -
public Model updateModel(Model model)
updateModel in interface InventoryFacadeDelegatemodel -
InventoryFacadeDelegate.updateModel(net.sf.oness.inventory.model.product.bo.Model)public void deleteModel(Long id)
deleteModel in interface InventoryFacadeDelegateid - InventoryFacadeDelegate.deleteModel(java.lang.Long)public Model findModel(Long id)
InventoryFacadeDelegate
findModel in interface InventoryFacadeDelegateid -
InventoryFacadeDelegate.findModel(java.lang.Long)public Model findModelWithDetails(Long id)
InventoryFacadeDelegate
findModelWithDetails in interface InventoryFacadeDelegateid -
InventoryFacadeDelegate.findModelWithDetails(java.lang.Long)public Product findProductWithDetails(Long id)
InventoryFacadeDelegate
findProductWithDetails in interface InventoryFacadeDelegateid -
InventoryFacadeDelegate.findProductWithDetails(java.lang.Long)
public PaginatedList findModel(Model model,
int firstElement,
int maxElements)
InventoryFacadeDelegate
findModel in interface InventoryFacadeDelegatemodel - firstElement - maxElements -
InventoryFacadeDelegate.findModel(net.sf.oness.inventory.model.product.bo.Model,
int, int)public List getAllSizeGroups()
InventoryFacadeDelegate
getAllSizeGroups in interface InventoryFacadeDelegateInventoryFacadeDelegate.getAllSizeGroups()public List getAllColors()
InventoryFacadeDelegate
getAllColors in interface InventoryFacadeDelegateInventoryFacadeDelegate.getAllColors()public List getAllFares()
InventoryFacadeDelegate
getAllFares in interface InventoryFacadeDelegateInventoryFacadeDelegate.getAllFares()public List getAllWarehouses()
InventoryFacadeDelegate
getAllWarehouses in interface InventoryFacadeDelegateInventoryFacadeDelegate.getAllWarehouses()public Model editPrices(Long modelId)
InventoryFacadeDelegate
editPrices in interface InventoryFacadeDelegatemodelId - id of the model
InventoryFacadeDelegate.editPrices(java.lang.Long)public Model updatePrices(Map productPrices)
InventoryFacadeDelegate
updatePrices in interface InventoryFacadeDelegateproductPrices - Map with product ids as keys and a map (fare id, price amount
as BigDecimal) as value.
InventoryFacadeDelegate.updatePrices(java.util.Map)public Map findProducts(Collection productIds)
InventoryFacadeDelegate
findProducts in interface InventoryFacadeDelegateproductIds -
InventoryFacadeDelegate.findProducts(java.util.Collection)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||