Class CommerceUtils
java.lang.Object
de.hybris.platform.commercefacades.util.CommerceUtils
Utility class for commerce facades.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <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.
-
Constructor Details
-
CommerceUtils
public CommerceUtils()
-
-
Method Details
-
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.
-