Package de.hybris.platform.jobs
Class CleanUpCronJobInterceptor
- java.lang.Object
-
- de.hybris.platform.jobs.CleanUpCronJobInterceptor
-
- All Implemented Interfaces:
InitDefaultsInterceptor,Interceptor,ValidateInterceptor
@Deprecated public class CleanUpCronJobInterceptor extends java.lang.Object implements ValidateInterceptor, InitDefaultsInterceptor
Deprecated.since ages - please use theMaintenanceCleanupStrategy/GenericMaintenanceJobPerformableValidates that specific attributes ofCleanUpCronJobModelare not empty or negative and sets defaults for some attributes
-
-
Constructor Summary
Constructors Constructor Description CleanUpCronJobInterceptor()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidonInitDefaults(java.lang.Object model, InterceptorContext ctx)Deprecated.Called byModelService.initDefaults(Object)after instantiate a new model.voidonValidate(java.lang.Object model, InterceptorContext ctx)Deprecated.Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDeprecated.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.
-
onInitDefaults
public void onInitDefaults(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDeprecated.Description copied from interface:InitDefaultsInterceptorCalled byModelService.initDefaults(Object)after instantiate a new model.- 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.
-
-