public class DefaultRecurringChargeEntryValidationService extends java.lang.Object implements RecurringChargeEntryValidationService
| Constructor and Description |
|---|
DefaultRecurringChargeEntryValidationService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addErrorIfTermOfServiceNumberExceeded(java.util.Collection<java.lang.String> errors,
SubscriptionTermModel term,
RecurringChargeEntryModel rcEntry) |
protected void |
addErrorIfTermOfServiceNumberNotReached(java.util.Collection<java.lang.String> errors,
SubscriptionTermModel term,
RecurringChargeEntryModel lastRecurringChargeEntry) |
protected RecurringChargeEntryModelSortService |
getSortService() |
void |
setSortService(RecurringChargeEntryModelSortService sortService) |
java.util.Collection<java.lang.String> |
validate(java.util.Collection<RecurringChargeEntryModel> recurringChargeEntries)
Validates the given collection of
RecurringChargeEntryModel instances. |
public DefaultRecurringChargeEntryValidationService()
public java.util.Collection<java.lang.String> validate(java.util.Collection<RecurringChargeEntryModel> recurringChargeEntries)
RecurringChargeEntryValidationServiceRecurringChargeEntryModel instances.validate in interface RecurringChargeEntryValidationServicerecurringChargeEntries - the recurring charge entries to validateprotected void addErrorIfTermOfServiceNumberExceeded(java.util.Collection<java.lang.String> errors,
SubscriptionTermModel term,
RecurringChargeEntryModel rcEntry)
protected void addErrorIfTermOfServiceNumberNotReached(java.util.Collection<java.lang.String> errors,
SubscriptionTermModel term,
RecurringChargeEntryModel lastRecurringChargeEntry)
protected RecurringChargeEntryModelSortService getSortService()
public void setSortService(RecurringChargeEntryModelSortService sortService)
Copyright © 2018 SAP SE. All Rights Reserved.