Class SapOdmExternalIdUtil

java.lang.Object
com.sap.sapodmservices.utils.SapOdmExternalIdUtil

public class SapOdmExternalIdUtil extends Object

Util Class for ODM External Ids.

  • Constructor Details

    • SapOdmExternalIdUtil

      public SapOdmExternalIdUtil()
  • Method Details

    • fetchGigyaIdIfExists

      public String fetchGigyaIdIfExists(CustomerModel customerModel)

      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)