Class DefaultTmaChecklistService
java.lang.Object
de.hybris.platform.b2ctelcoservices.checklist.impl.DefaultTmaChecklistService
- All Implemented Interfaces:
TmaChecklistService
Default implementation of
TmaChecklistService- Since:
- 1907
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanVerifies if checklist actions corresponding to the order are fulfilled or notprotected voidprotected List<TmaPolicyContext>createContexts(List<AbstractOrderEntryModel> orderEntries) findActions(TmaChecklistContext checklistContext) Finds the checklist actions for a specific checklistContextprotected de.hybris.platform.servicelayer.model.ModelServiceprotected Set<RuleEvaluationResult>getPolicies(List<TmaPolicyContext> compatibilityRequestParams) Finds policies compatible with the request parameters and Checklist policy action type.protected TmaPolicyEngineprotected List<TmaPolicyContext>getRequestParamsFromContext(TmaChecklistContext checklistContext) This method creates a list of request params from a checklist context.voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) voidsetPolicyEngine(TmaPolicyEngine policyEngine)
-
Constructor Details
-
DefaultTmaChecklistService
public DefaultTmaChecklistService()
-
-
Method Details
-
findActions
Description copied from interface:TmaChecklistServiceFinds the checklist actions for a specific checklistContext- Specified by:
findActionsin interfaceTmaChecklistService- Parameters:
checklistContext- the checklistContext- Returns:
- the
RuleEvaluationResults for the given checklistContext
-
areActionsFulfilled
Description copied from interface:TmaChecklistServiceVerifies if checklist actions corresponding to the order are fulfilled or not- Specified by:
areActionsFulfilledin interfaceTmaChecklistService- Parameters:
order- the order for which the actions are verified- Returns:
- true, if the checklist actions for the order are fulfilled, otherwise false
-
createContexts
-
cleanUpCartEntriesValidation
-
getRequestParamsFromContext
This method creates a list of request params from a checklist context.- Parameters:
checklistContext- the context containing the data- Returns:
- list of
TmaPolicyContext
-
getPolicies
Finds policies compatible with the request parameters and Checklist policy action type.- Parameters:
compatibilityRequestParams- request parameters- Returns:
- list of
RuleEvaluationResult
-
getPolicyEngine
-
setPolicyEngine
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService() -
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
-