public class VoidInterceptor extends java.lang.Object implements PrepareInterceptor, ValidateInterceptor, RemoveInterceptor, LoadInterceptor, InitDefaultsInterceptor
| Constructor and Description |
|---|
VoidInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onInitDefaults(java.lang.Object model,
InterceptorContext ctx)
This VoidInterceptor do nothing here
|
void |
onLoad(java.lang.Object model,
InterceptorContext ctx)
This VoidInterceptor do nothing here
|
void |
onPrepare(java.lang.Object model,
InterceptorContext ctx)
This VoidInterceptor do nothing here
|
void |
onRemove(java.lang.Object model,
InterceptorContext ctx)
This VoidInterceptor do nothing here
|
void |
onValidate(java.lang.Object model,
InterceptorContext ctx)
This VoidInterceptor do nothing here
|
public void onPrepare(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void onValidate(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
onValidate in interface ValidateInterceptormodel - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.public void onRemove(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
onRemove in interface RemoveInterceptormodel - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorpublic void onLoad(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
onLoad in interface LoadInterceptormodel - the model to be loadedctx - the InterceptorContextInterceptorException - if the model could not be loadedpublic void onInitDefaults(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
onInitDefaults in interface InitDefaultsInterceptormodel - the model which values should be set to the default valuesctx - the InterceptorContextInterceptorException - if the loading of the default value reports an error.Copyright © 2018 SAP SE. All Rights Reserved.