Package de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.interf.erp.strategy
Interface GetAllStrategy
- All Known Implementing Classes:
GetAllStrategyERP,GetAllStrategyERP604,GetAllStrategyERP605
public interface GetAllStrategy
Strategy interface for reading a sales document from ERP with all aspects. Respective function module is
ConstantsR3Lrd.FM_LO_API_WEC_ORDER_GET-
Method Summary
Modifier and TypeMethodDescriptionexecute(BackendState backendState, SalesDocument salesDocument, ItemBuffer itemBuffer, JCoConnection connection) Execute the read call to fetch sales document details from the ERP backend.voidexecuteRfc(JCoConnection connection, com.sap.conn.jco.JCoFunction function) Performsm the actual JCO call
-
Method Details
-
execute
BackendCallResult execute(BackendState backendState, SalesDocument salesDocument, ItemBuffer itemBuffer, JCoConnection connection) throws BackendException Execute the read call to fetch sales document details from the ERP backend. Is able to take a buffered state of items into account to optimize performance (i.e. those items won't be requested from the backend).- Parameters:
backendState- ERP specific state of the documentsalesDocument- BO representation of the sales documentitemBuffer- State of previously read items (performance improvement)readParams- control read call (i.e. do we need to take IPC pricing into account)connection- connection to backend system- Returns:
- result of backend call
- Throws:
BackendException- exception from R/3
-
executeRfc
void executeRfc(JCoConnection connection, com.sap.conn.jco.JCoFunction function) throws BackendException Performsm the actual JCO call- Parameters:
connection- connection to the backend systemfunction- JCO function- Throws:
BackendException- exception from R/3
-