Class TmaIdentificationValidator

  • All Implemented Interfaces:
    org.springframework.validation.Validator

    public class TmaIdentificationValidator
    extends java.lang.Object
    implements org.springframework.validation.Validator
    Since:
    1911
    • Constructor Summary

      Constructors 
      Constructor Description
      TmaIdentificationValidator​(de.hybris.platform.enumeration.EnumerationService enumerationService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()  
      boolean supports​(java.lang.Class<?> arg0)  
      void validate​(java.lang.Object target, org.springframework.validation.Errors errors)
      Validates if the given TmaIdentificationWsDTO is valid
      • Methods inherited from class java.lang.Object

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

      • TmaIdentificationValidator

        public TmaIdentificationValidator​(de.hybris.platform.enumeration.EnumerationService enumerationService)
    • Method Detail

      • supports

        public boolean supports​(java.lang.Class<?> arg0)
        Specified by:
        supports in interface org.springframework.validation.Validator
      • validate

        public void validate​(java.lang.Object target,
                             org.springframework.validation.Errors errors)
        Validates if the given TmaIdentificationWsDTO is valid
        Specified by:
        validate in interface org.springframework.validation.Validator
        Parameters:
        target - the TmaIdentificationWsDTO
        errors - the list of errors
      • getEnumerationService

        protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()