Class CommerceUtils


  • public final class CommerceUtils
    extends java.lang.Object
    Utility class for commerce facades.
    • Constructor Detail

      • CommerceUtils

        public CommerceUtils()
    • Method Detail

      • 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.