Class RecurringChargeEntryModelSortService
- java.lang.Object
-
- de.hybris.platform.subscriptionservices.model.impl.RecurringChargeEntryModelSortService
-
- All Implemented Interfaces:
ModelSortService<RecurringChargeEntryModel>
public class RecurringChargeEntryModelSortService extends java.lang.Object implements ModelSortService<RecurringChargeEntryModel>
This service provides functionality for sorting collections ofRecurringChargeEntryModelinstances by their "cycleStart" attribute (ascending).
-
-
Constructor Summary
Constructors Constructor Description RecurringChargeEntryModelSortService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetIntValue(java.lang.Integer value)java.util.List<RecurringChargeEntryModel>sort(java.util.Collection<RecurringChargeEntryModel> unsorted)Returns a sortedListof the elements in the givenCollection.
-
-
-
Method Detail
-
sort
@Nullable public java.util.List<RecurringChargeEntryModel> sort(@Nullable java.util.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
protected int getIntValue(java.lang.Integer value)
-
-