Class CommerceUtils
- java.lang.Object
-
- de.hybris.platform.commercefacades.util.CommerceUtils
-
public final class CommerceUtils extends java.lang.ObjectUtility class for commerce facades.
-
-
Constructor Summary
Constructors Constructor Description CommerceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <S,T>
SearchPageData<T>convertPageData(SearchPageData<S> source, Converter<S,T> converter)Converts aSearchPageDataof type <S> into one of type <T> using the converter provided.
-
-
-
Method Detail
-
convertPageData
public static <S,T> SearchPageData<T> convertPageData(SearchPageData<S> source, Converter<S,T> converter)
Converts aSearchPageDataof 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.
-
-