Class DeeplinkUrlValidateInterceptor
java.lang.Object
de.hybris.platform.deeplink.servicelayer.interceptors.DeeplinkUrlValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
The Class DeeplinkUrlValidateInterceptor. Validates
DeeplinkUrlModel model.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the deeplink url dao.protected StringgetLocalizedString(String key, Object... arguments) Gets the localized string.voidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetDeeplinkUrlDao(DeeplinkUrlDao deeplinkUrlDao) Sets the deeplink url dao.
-
Constructor Details
-
DeeplinkUrlValidateInterceptor
public DeeplinkUrlValidateInterceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getDeeplinkUrlDao
Gets the deeplink url dao.- Returns:
- the deeplinkUrlDao
-
setDeeplinkUrlDao
Sets the deeplink url dao.- Parameters:
deeplinkUrlDao- the deeplinkUrlDao to set
-
getLocalizedString
Gets the localized string.- Parameters:
key- the keyarguments- the arguments- Returns:
- the localized string
-