Package com.sap.sapodmservices.utils
Class SapOdmExternalIdUtil
java.lang.Object
com.sap.sapodmservices.utils.SapOdmExternalIdUtil
Util Class for ODM External Ids.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetchGigyaIdIfExists(CustomerModel customerModel) This method checks if Gigya Uid is available inCustomerModelstatic SAPExternalIdModelfetchSAPExternalId(CustomerModel customerModel, String application, String tenant, String externalId) This method is used to populate SAP External Id.de.hybris.platform.servicelayer.model.ModelServicevoidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) voidupdateExternalId(CustomerModel customerModel, Collection<SAPExternalIdModel> externalIds, String application, String tenant, String externalId) This method updates sapExternalId if it already exits in the list otherwise creates a new sapExternalId
-
Constructor Details
-
SapOdmExternalIdUtil
public SapOdmExternalIdUtil()
-
-
Method Details
-
fetchGigyaIdIfExists
This method checks if Gigya Uid is available in
CustomerModel -
updateExternalId
public void updateExternalId(CustomerModel customerModel, Collection<SAPExternalIdModel> externalIds, String application, String tenant, String externalId) This method updates sapExternalId if it already exits in the list otherwise creates a new sapExternalId
-
fetchSAPExternalId
public static SAPExternalIdModel fetchSAPExternalId(CustomerModel customerModel, String application, String tenant, String externalId) This method is used to populate SAP External Id.
-
getModelService
public de.hybris.platform.servicelayer.model.ModelService getModelService() -
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
-