RS - platform dependent record set typepublic class PrcRefreshGoodsInList<RS> extends Object implements org.beigesoft.service.IProcessor
Service that refresh webstore goods in ItemInList according current GoodsAvailiable, GoodsSpecific, GoodsPrice, GoodsRating.
| Constructor and Description |
|---|
PrcRefreshGoodsInList() |
| Modifier and Type | Method and Description |
|---|---|
protected ItemInList |
createItemInList(Map<String,Object> pAddParam,
org.beigesoft.accounting.persistable.InvItem pGoods)
Create ItemInList.
|
org.beigesoft.accounting.service.ISrvAccSettings |
getSrvAccSettings()
Getter for srvAccSettings.
|
org.beigesoft.service.ISrvDatabase<RS> |
getSrvDatabase()
Getter for srvDatabase.
|
org.beigesoft.service.ISrvOrm<RS> |
getSrvOrm()
Geter for srvOrm.
|
ISrvSettingsAdd |
getSrvSettingsAdd()
Getter for srvSettingsAdd.
|
ISrvTradingSettings |
getSrvTradingSettings()
Getter for srvTradingSettings.
|
void |
process(Map<String,Object> pAddParam,
org.beigesoft.model.IRequestData pRequestData)
Process entity request.
|
List<GoodsAvailable> |
retrieveOutdatedGoodsAvailable(Map<String,Object> pAddParam,
GoodsInListLuv pGoodsInListLuv)
Retrieve outdated GoodsAvailable.
|
List<GoodsPrice> |
retrieveOutdatedGoodsPrice(Map<String,Object> pAddParam,
GoodsInListLuv pGoodsInListLuv)
Retrieve outdated GoodsPrice.
|
List<GoodsSpecific> |
retrieveOutdatedGoodsSpecific(Map<String,Object> pAddParam,
GoodsInListLuv pGoodsInListLuv)
Retrieve outdated GoodsSpecific.
|
void |
retrieveStartData(Map<String,Object> pAddParam)
Retrieve start data.
|
void |
setSrvAccSettings(org.beigesoft.accounting.service.ISrvAccSettings pSrvAccSettings)
Setter for srvAccSettings.
|
void |
setSrvDatabase(org.beigesoft.service.ISrvDatabase<RS> pSrvDatabase)
Setter for srvDatabase.
|
void |
setSrvOrm(org.beigesoft.service.ISrvOrm<RS> pSrvOrm)
Setter for srvOrm.
|
void |
setSrvSettingsAdd(ISrvSettingsAdd pSrvSettingsAdd)
Setter for srvSettingsAdd.
|
void |
setSrvTradingSettings(ISrvTradingSettings pSrvTradingSettings)
Setter for srvTradingSettings.
|
void |
updateForGoodsAvailable(Map<String,Object> pAddParam,
GoodsAvailable pOutdGdAv)
Update ItemInList with outdated GoodsAvailable.
|
void |
updateForGoodsAvailableList(Map<String,Object> pAddParam,
List<GoodsAvailable> pOutdGdAvList,
SettingsAdd pSettingsAdd,
GoodsInListLuv pGoodsInListLuv)
Update ItemInList with outdated GoodsAvailable list.
|
void |
updateForGoodsPrice(Map<String,Object> pAddParam,
GoodsPrice pOutdGdPr)
Update ItemInList with outdated GoodsPrice.
|
void |
updateForGoodsPriceList(Map<String,Object> pAddParam,
List<GoodsPrice> pOutdGdPrList,
SettingsAdd pSettingsAdd,
GoodsInListLuv pGoodsInListLuv)
Update ItemInList with outdated GoodsPrice list.
|
void |
updateForGoodsSpecific(Map<String,Object> pAddParam,
GoodsSpecific pOutdGdSp)
Update ItemInList with outdated GoodsSpecific.
|
void |
updateForGoodsSpecificList(Map<String,Object> pAddParam,
List<GoodsSpecific> pOutdGdSpList,
SettingsAdd pSettingsAdd,
GoodsInListLuv pGoodsInListLuv)
Update ItemInList with outdated GoodsSpecific list.
|
public final void process(Map<String,Object> pAddParam, org.beigesoft.model.IRequestData pRequestData) throws Exception
Process entity request.
process in interface org.beigesoft.service.IProcessorpAddParam - additional parampRequestData - Request DataException - - an exceptionpublic final void retrieveStartData(Map<String,Object> pAddParam) throws Exception
Retrieve start data.
pAddParam - additional paramException - - an exceptionpublic final List<GoodsAvailable> retrieveOutdatedGoodsAvailable(Map<String,Object> pAddParam, GoodsInListLuv pGoodsInListLuv) throws Exception
Retrieve outdated GoodsAvailable.
pAddParam - additional parampGoodsInListLuv - GoodsInListLuvException - - an exceptionpublic final void updateForGoodsAvailable(Map<String,Object> pAddParam, GoodsAvailable pOutdGdAv) throws Exception
Update ItemInList with outdated GoodsAvailable.
pAddParam - additional parampOutdGdAv - outdated GoodsAvailableException - - an exceptionpublic final void updateForGoodsAvailableList(Map<String,Object> pAddParam, List<GoodsAvailable> pOutdGdAvList, SettingsAdd pSettingsAdd, GoodsInListLuv pGoodsInListLuv) throws Exception
Update ItemInList with outdated GoodsAvailable list. It does it with [N]-records per transaction method.
pAddParam - additional parampOutdGdAvList - outdated GoodsAvailable listpSettingsAdd - settings AddpGoodsInListLuv - goodsInListLuvException - - an exceptionpublic final List<GoodsPrice> retrieveOutdatedGoodsPrice(Map<String,Object> pAddParam, GoodsInListLuv pGoodsInListLuv) throws Exception
Retrieve outdated GoodsPrice.
pAddParam - additional parampGoodsInListLuv - GoodsInListLuvException - - an exceptionpublic final void updateForGoodsPrice(Map<String,Object> pAddParam, GoodsPrice pOutdGdPr) throws Exception
Update ItemInList with outdated GoodsPrice.
pAddParam - additional parampOutdGdPr - outdated GoodsPriceException - - an exceptionpublic final void updateForGoodsPriceList(Map<String,Object> pAddParam, List<GoodsPrice> pOutdGdPrList, SettingsAdd pSettingsAdd, GoodsInListLuv pGoodsInListLuv) throws Exception
Update ItemInList with outdated GoodsPrice list. It does it with [N]-records per transaction method.
pAddParam - additional parampOutdGdPrList - outdated GoodsPrice listpSettingsAdd - settings AddpGoodsInListLuv - goodsInListLuvException - - an exceptionpublic final List<GoodsSpecific> retrieveOutdatedGoodsSpecific(Map<String,Object> pAddParam, GoodsInListLuv pGoodsInListLuv) throws Exception
Retrieve outdated GoodsSpecific.
pAddParam - additional parampGoodsInListLuv - GoodsInListLuvException - - an exceptionpublic final void updateForGoodsSpecific(Map<String,Object> pAddParam, GoodsSpecific pOutdGdSp) throws Exception
Update ItemInList with outdated GoodsSpecific.
pAddParam - additional parampOutdGdSp - outdated GoodsSpecificException - - an exceptionpublic final void updateForGoodsSpecificList(Map<String,Object> pAddParam, List<GoodsSpecific> pOutdGdSpList, SettingsAdd pSettingsAdd, GoodsInListLuv pGoodsInListLuv) throws Exception
Update ItemInList with outdated GoodsSpecific list. It does it with [N]-records per transaction method.
pAddParam - additional parampOutdGdSpList - outdated GoodsSpecific listpSettingsAdd - settings AddpGoodsInListLuv - goodsInListLuvException - - an exceptionprotected final ItemInList createItemInList(Map<String,Object> pAddParam, org.beigesoft.accounting.persistable.InvItem pGoods) throws Exception
Create ItemInList.
pAddParam - additional parampGoods - GoodsException - - an exceptionpublic final org.beigesoft.service.ISrvDatabase<RS> getSrvDatabase()
Getter for srvDatabase.
public final void setSrvDatabase(org.beigesoft.service.ISrvDatabase<RS> pSrvDatabase)
Setter for srvDatabase.
pSrvDatabase - referencepublic final org.beigesoft.service.ISrvOrm<RS> getSrvOrm()
Geter for srvOrm.
public final void setSrvOrm(org.beigesoft.service.ISrvOrm<RS> pSrvOrm)
Setter for srvOrm.
pSrvOrm - referencepublic final org.beigesoft.accounting.service.ISrvAccSettings getSrvAccSettings()
Getter for srvAccSettings.
public final void setSrvAccSettings(org.beigesoft.accounting.service.ISrvAccSettings pSrvAccSettings)
Setter for srvAccSettings.
pSrvAccSettings - referencepublic final ISrvSettingsAdd getSrvSettingsAdd()
Getter for srvSettingsAdd.
public final void setSrvSettingsAdd(ISrvSettingsAdd pSrvSettingsAdd)
Setter for srvSettingsAdd.
pSrvSettingsAdd - referencepublic final ISrvTradingSettings getSrvTradingSettings()
Getter for srvTradingSettings.
public final void setSrvTradingSettings(ISrvTradingSettings pSrvTradingSettings)
Setter for srvTradingSettings.
pSrvTradingSettings - referenceCopyright © 2017–2018. All rights reserved.