Class TmaCompatibilityPolicyActionStrategy
java.lang.Object
de.hybris.platform.b2ctelcoservices.compatibility.impl.TmaCompatibilityPolicyActionStrategy
- All Implemented Interfaces:
TmaPolicyActionStrategy
- Direct Known Subclasses:
TmaAutopickPolicyActionStrategy
Strategy to process compatibility actions
- Since:
- 1911
-
Constructor Summary
ConstructorsConstructorDescriptionTmaCompatibilityPolicyActionStrategy(TmaPolicyActionResolver policyActionResolver, de.hybris.platform.servicelayer.model.ModelService modelService, de.hybris.platform.order.EntryGroupService entryGroupService, TmaValidationMessagesStrategy validationMessagesStrategy) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.order.EntryGroupServiceDeprecated, for removal: This API element is subject to removal in a future version.since 2102protected TmaPolicyContextgetInitialContext(Set<RuleEvaluationResult> results) protected de.hybris.platform.servicelayer.model.ModelServiceDeprecated, for removal: This API element is subject to removal in a future version.since 2011 - saving the validation messages has been moved to TmaValidationMessageStrategyprotected AbstractOrderEntryModelReturns the master entry of the entry, if there is one.protected TmaPolicyActionResolverprotected TmaValidationMessagesStrategyvoidprocessActions(Set<RuleEvaluationResult> results) Process the actions corresponding to the given results
-
Constructor Details
-
TmaCompatibilityPolicyActionStrategy
public TmaCompatibilityPolicyActionStrategy(TmaPolicyActionResolver policyActionResolver, de.hybris.platform.servicelayer.model.ModelService modelService, de.hybris.platform.order.EntryGroupService entryGroupService, TmaValidationMessagesStrategy validationMessagesStrategy)
-
-
Method Details
-
processActions
Description copied from interface:TmaPolicyActionStrategyProcess the actions corresponding to the given results- Specified by:
processActionsin interfaceTmaPolicyActionStrategy- Parameters:
results- the given rule evaluation results
-
getInitialContext
-
getParentEntry
Returns the master entry of the entry, if there is one. If not, it is returning null.- Parameters:
entry- The entry- Returns:
- The parent entry
-
getPolicyActionResolver
-
getModelService
@Deprecated(since="2011", forRemoval=true) protected de.hybris.platform.servicelayer.model.ModelService getModelService()Deprecated, for removal: This API element is subject to removal in a future version.since 2011 - saving the validation messages has been moved to TmaValidationMessageStrategy -
getEntryGroupService
@Deprecated(since="2011", forRemoval=true) protected de.hybris.platform.order.EntryGroupService getEntryGroupService()Deprecated, for removal: This API element is subject to removal in a future version.since 2102 -
getValidationMessagesStrategy
-