Class TmaServiceProviderActionResolver
- java.lang.Object
-
- de.hybris.platform.b2ctelcoservices.checklist.impl.DefaultTmaAbstractChecklistActionResolver
-
- de.hybris.platform.b2ctelcoservices.checklist.impl.TmaServiceProviderActionResolver
-
- All Implemented Interfaces:
TmaChecklistActionResolver
public class TmaServiceProviderActionResolver extends DefaultTmaAbstractChecklistActionResolver
Implementation ofTmaChecklistActionResolverto resolveTmaChecklistActionType#SWITCH_SERVICE_PROVIDERactions- Since:
- 2003
-
-
Constructor Summary
Constructors Constructor Description TmaServiceProviderActionResolver(de.hybris.platform.servicelayer.model.ModelService modelService, TmaCartValidationBuilder cartValidationBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetInvalidMessage()Retrieves 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 not-
Methods inherited from class de.hybris.platform.b2ctelcoservices.checklist.impl.DefaultTmaAbstractChecklistActionResolver
getCartValidationBuilder, getModelService, resolveAction
-
-
-
-
Constructor Detail
-
TmaServiceProviderActionResolver
public TmaServiceProviderActionResolver(de.hybris.platform.servicelayer.model.ModelService modelService, TmaCartValidationBuilder cartValidationBuilder)
-
-
Method Detail
-
isActionFulfilled
protected boolean isActionFulfilled(TmaPolicyActionModel action, CartEntryModel cartEntry)
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
protected java.lang.String getInvalidMessage()
Description copied from class:DefaultTmaAbstractChecklistActionResolverRetrieves the invalid message to be set on the validation object- Specified by:
getInvalidMessagein classDefaultTmaAbstractChecklistActionResolver- Returns:
- the invalid message
-
-