Class RecurringChargeEntryModelSortService
java.lang.Object
de.hybris.platform.subscriptionservices.model.impl.RecurringChargeEntryModelSortService
- All Implemented Interfaces:
ModelSortService<RecurringChargeEntryModel>
public class RecurringChargeEntryModelSortService
extends Object
implements ModelSortService<RecurringChargeEntryModel>
This service provides functionality for sorting collections of
RecurringChargeEntryModel instances by their
"cycleStart" attribute (ascending).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetIntValue(Integer value) sort(Collection<RecurringChargeEntryModel> unsorted) Returns a sortedListof the elements in the givenCollection.
-
Constructor Details
-
RecurringChargeEntryModelSortService
public RecurringChargeEntryModelSortService()
-
-
Method Details
-
sort
@Nullable public List<RecurringChargeEntryModel> sort(@Nullable Collection<RecurringChargeEntryModel> unsorted) Description copied from interface:ModelSortServiceReturns a sortedListof the elements in the givenCollection.- Specified by:
sortin interfaceModelSortService<RecurringChargeEntryModel>- Parameters:
unsorted- a Collection of elements to be sorted- Returns:
- the sorted List of elements
-
getIntValue
-