Class DefaultTmaChecklistService

    • Constructor Detail

      • DefaultTmaChecklistService

        public DefaultTmaChecklistService()
    • Method Detail

      • areActionsFulfilled

        public boolean areActionsFulfilled​(AbstractOrderModel order)
        Description copied from interface: TmaChecklistService
        Verifies if checklist actions corresponding to the order are fulfilled or not
        Specified by:
        areActionsFulfilled in interface TmaChecklistService
        Parameters:
        order - the order for which the actions are verified
        Returns:
        true, if the checklist actions for the order are fulfilled, otherwise false
      • cleanUpCartEntriesValidation

        protected void cleanUpCartEntriesValidation​(AbstractOrderModel order)
      • getRequestParamsFromContext

        protected java.util.List<TmaPolicyContext> getRequestParamsFromContext​(TmaChecklistContext checklistContext)
        This method creates a list of request params from a checklist context.
        Parameters:
        checklistContext - the context containing the data
        Returns:
        list of TmaPolicyContext
      • getPolicies

        protected java.util.Set<RuleEvaluationResult> getPolicies​(java.util.List<TmaPolicyContext> compatibilityRequestParams)
        Finds policies compatible with the request parameters and Checklist policy action type.
        Parameters:
        compatibilityRequestParams - request parameters
        Returns:
        list of RuleEvaluationResult
      • setPolicyEngine

        public void setPolicyEngine​(TmaPolicyEngine policyEngine)
      • getModelService

        protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      • setModelService

        public void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)