Class VoidInterceptor
java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.VoidInterceptor
- All Implemented Interfaces:
InitDefaultsInterceptor,Interceptor,LoadInterceptor,PrepareInterceptor,RemoveInterceptor,ValidateInterceptor
public class VoidInterceptor
extends Object
implements PrepareInterceptor, ValidateInterceptor, RemoveInterceptor, LoadInterceptor, InitDefaultsInterceptor
Void interceptor. Does nothing. May be used for switching off other interceptors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonInitDefaults(Object model, InterceptorContext ctx) This VoidInterceptor do nothing herevoidonLoad(Object model, InterceptorContext ctx) This VoidInterceptor do nothing herevoidonPrepare(Object model, InterceptorContext ctx) This VoidInterceptor do nothing herevoidonRemove(Object model, InterceptorContext ctx) This VoidInterceptor do nothing herevoidonValidate(Object model, InterceptorContext ctx) This VoidInterceptor do nothing here
-
Constructor Details
-
VoidInterceptor
public VoidInterceptor()
-
-
Method Details
-
onPrepare
This VoidInterceptor do nothing here- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
onValidate
This VoidInterceptor do nothing here- 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.
-
onRemove
This VoidInterceptor do nothing here- Specified by:
onRemovein interfaceRemoveInterceptor- Parameters:
model- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
onLoad
This VoidInterceptor do nothing here- Specified by:
onLoadin interfaceLoadInterceptor- Parameters:
model- the model to be loadedctx- theInterceptorContext- Throws:
InterceptorException- if the model could not be loaded
-
onInitDefaults
This VoidInterceptor do nothing here- Specified by:
onInitDefaultsin interfaceInitDefaultsInterceptor- Parameters:
model- the model which values should be set to the default valuesctx- theInterceptorContext- Throws:
InterceptorException- if the loading of the default value reports an error.
-