public class DeeplinkUrlValidateInterceptor extends java.lang.Object implements ValidateInterceptor
DeeplinkUrlModel model.| Constructor and Description |
|---|
DeeplinkUrlValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
DeeplinkUrlDao |
getDeeplinkUrlDao()
Gets the deeplink url dao.
|
protected java.lang.String |
getLocalizedString(java.lang.String key,
java.lang.Object... arguments)
Gets the localized string.
|
void |
onValidate(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setDeeplinkUrlDao(DeeplinkUrlDao deeplinkUrlDao)
Sets the deeplink url dao.
|
public void onValidate(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptormodel - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.public DeeplinkUrlDao getDeeplinkUrlDao()
public void setDeeplinkUrlDao(DeeplinkUrlDao deeplinkUrlDao)
deeplinkUrlDao - the deeplinkUrlDao to setprotected java.lang.String getLocalizedString(java.lang.String key,
java.lang.Object... arguments)
key - the keyarguments - the argumentsCopyright © 2018 SAP SE. All Rights Reserved.