sapcrmibasefacades Extension

The Facade layer is the front most API to which the controller has access. The facade layer is called from controller of sapcrmibaseaddon. Once the facade layer receives the request from controller, it communicates with the service layer and forwards calls to the appropriate services and packs the data returned from the services into a data transfer object. The sapcrmibaseaddon extension requires the acceleratorstorefrontcommons AddOn and sapcrmibaseservices extension.

The sapcrmibaseaddon has the following files:

File Name

Path

Description

sapcrmibasefacades-beans.xml

sapcrmibasefacades\resources\

For generating IBase data objects

sapcrmibasefacades-spring.xml

sapcrmibasefacades\resources\

For injecting new beans for IBase populators and facade

IBaseDataPopulator.java

sapcrmibasefacades\src\com\sap\hybris\crm\sapcrmibasefacades\converters\populator\

For populating IBaseData from IBaseModel

IBaseDetailDataPopulator.java

sapcrmibasefacades\src\com\sap\hybris\crm\sapcrmibasefacades\converters\populator\

For populating IBaseDetailData from IBaseModel having detailed information for particular ibase

IBasePartnerPopulator.java

sapcrmibasefacades\src\com\sap\hybris\crm\sapcrmibasefacades\converters\populator\

For populating IBasePartnerData from IBasePartnerModel having information about sold-to party, ship-to party, and so on

IBaseFacade.java

sapcrmibasefacades\src\com\sap\hybris\crm\sapcrmibasefacades\ibase\

IBaseService for providing API to get IBase data object for particular b2bunit or to get all the IBase data objects for particular b2bunit

DefaultIBaseFacade.java

sapcrmibasefacades\src\com\sap\hybris\crm\sapcrmibasefacades\ibase\impl

Implementation of IBaseFacade