Class TmaAppointmentActionResolver
java.lang.Object
de.hybris.platform.b2ctelcoservices.checklist.impl.DefaultTmaAbstractChecklistActionResolver
de.hybris.platform.b2ctelcoservices.checklist.impl.TmaAppointmentActionResolver
- All Implemented Interfaces:
TmaChecklistActionResolver
Implementation of
TmaChecklistActionResolver to resolve TmaChecklistActionType.APPOINTMENT actions- Since:
- 1911
-
Constructor Summary
ConstructorsConstructorDescriptionTmaAppointmentActionResolver(de.hybris.platform.servicelayer.model.ModelService modelService, TmaCartValidationBuilder cartValidationBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringRetrieves the invalid message to be set on the validation objectprotected booleanisActionFulfilled(TmaPolicyActionModel action, CartEntryModel cartEntry) Verifies if the action for the given cart entry is fulfilled or notMethods inherited from class de.hybris.platform.b2ctelcoservices.checklist.impl.DefaultTmaAbstractChecklistActionResolver
getCartValidationBuilder, getModelService, resolveAction
-
Constructor Details
-
TmaAppointmentActionResolver
public TmaAppointmentActionResolver(de.hybris.platform.servicelayer.model.ModelService modelService, TmaCartValidationBuilder cartValidationBuilder)
-
-
Method Details
-
isActionFulfilled
Description copied from class:DefaultTmaAbstractChecklistActionResolverVerifies if the action for the given cart entry is fulfilled or not- Specified by:
isActionFulfilledin classDefaultTmaAbstractChecklistActionResolver- Parameters:
action- the action to be verifiedcartEntry- the given cart entry- Returns:
- true if the action for the given car entry is fulfilled, otherwise false
-
getInvalidMessage
Description copied from class:DefaultTmaAbstractChecklistActionResolverRetrieves the invalid message to be set on the validation object- Specified by:
getInvalidMessagein classDefaultTmaAbstractChecklistActionResolver- Returns:
- the invalid message
-