|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.AbstractJoblet
org.torweg.pulse.bundle.AbstractConfigurableJoblet
org.torweg.pulse.component.shop.StockUpdaterJoblet
public class StockUpdaterJoblet
Updates the inventory of a shop by parsing an XML-file that contains the
amount of items on stock. For every ShopItem to be updated, the
XML-file needs to hold an element named "item" with the two attributes "ean"
and "available".
| Nested Class Summary | |
|---|---|
static class |
StockUpdaterJoblet.Item
Represents a shop item to be updated by the StockUpdaterJoblet. |
static class |
StockUpdaterJoblet.ItemCollection
Represents the shop items to be updated by the StockUpdaterJoblet
. |
| Constructor Summary | |
|---|---|
StockUpdaterJoblet()
|
|
| Method Summary | |
|---|---|
protected void |
run(Bundle bundle)
Updates the inventory of a shop by parsing an XML-file that contains the amount of items on stock. |
| Methods inherited from class org.torweg.pulse.bundle.AbstractConfigurableJoblet |
|---|
getConfig, getConfiguration |
| Methods inherited from class org.torweg.pulse.bundle.AbstractJoblet |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StockUpdaterJoblet()
| Method Detail |
|---|
protected final void run(Bundle bundle)
ShopItem to be updated, the
XML-file needs to hold an element named "item" with the two attributes
"ean" and "available".
run in class AbstractJobletbundle - the Bundle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||