Class DeeplinkUrlValidateInterceptor

java.lang.Object
de.hybris.platform.deeplink.servicelayer.interceptors.DeeplinkUrlValidateInterceptor
All Implemented Interfaces:
Interceptor, ValidateInterceptor

public class DeeplinkUrlValidateInterceptor extends Object implements ValidateInterceptor
The Class DeeplinkUrlValidateInterceptor. Validates DeeplinkUrlModel model.
  • Constructor Details

    • DeeplinkUrlValidateInterceptor

      public DeeplinkUrlValidateInterceptor()
  • Method Details

    • onValidate

      public void onValidate(Object model, InterceptorContext ctx) throws InterceptorException
      Description copied from interface: ValidateInterceptor
      Called in the modelService.saveAll() method. Validates the values of the given model.
      Specified by:
      onValidate in interface ValidateInterceptor
      Parameters:
      model - the model which values has to be validated
      ctx - the InterceptorContext
      Throws:
      InterceptorException - if any values of the model are not valid.
    • getDeeplinkUrlDao

      public DeeplinkUrlDao getDeeplinkUrlDao()
      Gets the deeplink url dao.
      Returns:
      the deeplinkUrlDao
    • setDeeplinkUrlDao

      public void setDeeplinkUrlDao(DeeplinkUrlDao deeplinkUrlDao)
      Sets the deeplink url dao.
      Parameters:
      deeplinkUrlDao - the deeplinkUrlDao to set
    • getLocalizedString

      protected String getLocalizedString(String key, Object... arguments)
      Gets the localized string.
      Parameters:
      key - the key
      arguments - the arguments
      Returns:
      the localized string