Interface SAPConfigurationService
- All Superinterfaces:
ConfigurationPropertyAccess
- All Known Subinterfaces:
ModuleConfigurationAccess
- All Known Implementing Classes:
DefaultSAPConfigurationService,ModuleConfigurationAccessImpl,SAPConfigurationServiceImpl
Interface to access the SAP runtime configuration.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the SAP backend type (e.g.getBaseStoreProperty(String property) Returns the value of the requested Base Store property.Returns the RFC destination.Returns the SAP configuration name.booleanChecks if currently a Base Store is active.booleanChecks if currently an SAP configuration is active.Methods inherited from interface de.hybris.platform.sap.core.configuration.ConfigurationPropertyAccess
getAllProperties, getAllPropertyAccessCollections, getAllPropertyAccesses, getProperty, getPropertyAccess, getPropertyAccessCollection
-
Method Details
-
isSAPConfigurationActive
boolean isSAPConfigurationActive()Checks if currently an SAP configuration is active.- Returns:
- true, if an SAP configuration is active
-
isBaseStoreActive
boolean isBaseStoreActive()Checks if currently a Base Store is active.- Returns:
- true, if a Base Store is active
-
getSAPConfigurationName
String getSAPConfigurationName()Returns the SAP configuration name.- Returns:
- Name of the SAPConfiguration
-
getBaseStoreProperty
Returns the value of the requested Base Store property.- Parameters:
property- Property name- Returns:
- Property value
-
getBackendType
String getBackendType()Returns the SAP backend type (e.g. ERP).- Returns:
- backend type
-
getRFCDestination
RFCDestination getRFCDestination()Returns the RFC destination.- Returns:
- RFC destination
-