Package de.hybris.platform.jobs
Class CleanUpCronJobInterceptor
- java.lang.Object
-
- de.hybris.platform.jobs.CleanUpCronJobInterceptor
-
- All Implemented Interfaces:
InitDefaultsInterceptor,Interceptor,ValidateInterceptor
@Deprecated(since="ages", forRemoval=true) public class CleanUpCronJobInterceptor extends java.lang.Object implements ValidateInterceptor, InitDefaultsInterceptorDeprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidonInitDefaults(java.lang.Object model, InterceptorContext ctx)Deprecated, for removal: This API element is subject to removal in a future version.Called byModelService.initDefaults(Object)after instantiate a new model.voidonValidate(java.lang.Object model, InterceptorContext ctx)Deprecated, for removal: This API element is subject to removal in a future version.Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDeprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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.
-
-