Class TransactionConfigurationBase
java.lang.Object
de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
de.hybris.platform.sap.core.bol.backend.jco.BackendBusinessObjectBaseJCo
de.hybris.platform.sap.sapordermgmtbol.transaction.misc.backend.impl.TransactionConfigurationBase
- All Implemented Interfaces:
BackendBusinessObject,BackendBusinessObjectJCo,TransactionConfigurationBackend
- Direct Known Subclasses:
TransactionConfigurationERP
public abstract class TransactionConfigurationBase
extends BackendBusinessObjectBaseJCo
implements TransactionConfigurationBackend
Base class for backend implementation of TransactionConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CacheAccessCache access for retrieving delivery type customizingMap of delivery typesprotected static final Log4JWrapperLogging instanceprotected CheckoutConfigurationBackendToolsFields inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
genericFactory, moduleConfigurationAccess -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRead delivery types from cache (or from back-end, if cache is not ready) CRM table crmc_ship_cond, value help crm_ship_cond ERP table tvsb, value help h_tvsbprotected abstract StringGet cached delivery types via newly introduced FM ERP_WEC_CUST_SHIPCOND .Get delivery types from backend via newly introduced FM ERP_WEC_CUST_SHIPCOND .Initializes delivery type storagevoidThis method is called by the SessionObjectManager to initialize object after all properties have been injected.protected booleanMethods inherited from class de.hybris.platform.sap.core.bol.backend.jco.BackendBusinessObjectBaseJCo
getDefaultConnectionName, getDefaultDestinationName, getDefaultJCoConnection, getJCoConnection, getJCoConnection, getModuleId, setDefaultConnectionName, setDefaultDestinationName, setManagedConnectionContainer, toStringMethods inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
destroyBackendObject, getModuleConfigurationAccess, setGenericFactory, setModuleConfigurationAccessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObjectMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.misc.backend.interf.TransactionConfigurationBackend
getAllowedDeliveryTypesFromBackend
-
Field Details
-
sapLogger
Logging instance -
tools
-
deliverTypeCacheAccess
Cache access for retrieving delivery type customizing -
deliveryTypes
Map of delivery types
-
-
Constructor Details
-
TransactionConfigurationBase
public TransactionConfigurationBase()
-
-
Method Details
-
getAllowedDeliveryTypes
Description copied from interface:TransactionConfigurationBackendRead delivery types from cache (or from back-end, if cache is not ready)- CRM table crmc_ship_cond, value help crm_ship_cond
- ERP table tvsb, value help h_tvsb
- Specified by:
getAllowedDeliveryTypesin interfaceTransactionConfigurationBackend- Returns:
- Map with < value(char 3), description>
- Throws:
BackendException- in case of issues with the JCO-Connection or ABAP-errors in the back-end
-
initAllowedDeliveryTypes
Initializes delivery type storage- Returns:
- List of delivery types
- Throws:
BackendException
-
getCacheRegionForCustomizing
- Returns:
- Key of cache region for delivery type customizing
-
initBackendObject
Description copied from interface:BackendBusinessObjectThis method is called by the SessionObjectManager to initialize object after all properties have been injected.- Specified by:
initBackendObjectin interfaceBackendBusinessObject- Overrides:
initBackendObjectin classBackendBusinessObjectBase- Throws:
BackendException-BackendException
-
isLanguageSwitchDelivCustomizingAvailable
- Parameters:
connection- JCO connection to the back end- Returns:
- Is FM ERP_WEC_CUST_SHIPCOND available?
-
getDeliveryTypes
Get cached delivery types via newly introduced FM ERP_WEC_CUST_SHIPCOND . If nothing is part of the cache yet, backend will be invoked.- Returns:
- Map of delivery types with code as key and language dependent description as value
-
getDeliveryTypesFromBackend
Get delivery types from backend via newly introduced FM ERP_WEC_CUST_SHIPCOND .- Returns:
- Map of delivery types with code as key and language dependent description as value
-