Class DefaultTmaInvalidMessagesStrategy

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultTmaInvalidMessagesStrategy()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void setValidationMessagesOn​(CartModel cart, java.util.List<java.lang.String> messages)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets validation messages on cart.
      void setValidationMessagesOn​(EntryGroup entryGroup, java.util.List<java.lang.String> messages)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets validation messages on entry group.
      boolean shouldUpdateValidationMessages​(EntryGroup entryGroup, java.util.List<java.lang.String> errorMessages)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a boolean that states whether the validation messages should be updated or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTmaInvalidMessagesStrategy

        public DefaultTmaInvalidMessagesStrategy()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • setValidationMessagesOn

        public void setValidationMessagesOn​(CartModel cart,
                                            java.util.List<java.lang.String> messages)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: TmaValidationMessagesStrategy
        Sets validation messages on cart.
        Specified by:
        setValidationMessagesOn in interface TmaValidationMessagesStrategy
        Parameters:
        cart - the cart to be updated
        messages - list of messages
      • shouldUpdateValidationMessages

        public boolean shouldUpdateValidationMessages​(EntryGroup entryGroup,
                                                      java.util.List<java.lang.String> errorMessages)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: TmaValidationMessagesStrategy
        Returns a boolean that states whether the validation messages should be updated or not.
        Specified by:
        shouldUpdateValidationMessages in interface TmaValidationMessagesStrategy
        Parameters:
        entryGroup - the entry group to be checked
        errorMessages - list of messages
        Returns:
        a boolean specifying if it should be updated or not
      • setValidationMessagesOn

        public void setValidationMessagesOn​(EntryGroup entryGroup,
                                            java.util.List<java.lang.String> messages)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: TmaValidationMessagesStrategy
        Sets validation messages on entry group.
        Specified by:
        setValidationMessagesOn in interface TmaValidationMessagesStrategy
        Parameters:
        entryGroup - the entry group to be updated
        messages - list of messages