Class CommerceUtils

java.lang.Object
de.hybris.platform.commercefacades.util.CommerceUtils

public final class CommerceUtils extends Object
Utility class for commerce facades.
  • Constructor Details

    • CommerceUtils

      public CommerceUtils()
  • Method Details

    • convertPageData

      public static <S, T> SearchPageData<T> convertPageData(SearchPageData<S> source, Converter<S,T> converter)
      Converts a SearchPageData of type <S> into one of type <T> using the converter provided.
      Type Parameters:
      S - The source type.
      T - The target type.
      Parameters:
      source -
      converter -
      Returns:
      The new SearchPageData.