io.sphere.sdk.search.model.LocalizedStringSortSearchModel Maven / Gradle / Ivy
package io.sphere.sdk.search.model;
import javax.annotation.Nullable;
import java.util.Locale;
public class LocalizedStringSortSearchModel> extends SortableSearchModel {
LocalizedStringSortSearchModel(@Nullable final SearchModel parent, @Nullable final String pathSegment, final SearchSortFactory searchSortFactory) {
super(parent, pathSegment, searchSortFactory);
}
public S locale(final Locale locale) {
return sorted(locale.toLanguageTag());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy