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 Object
implements ValidateInterceptor, InitDefaultsInterceptor
Deprecated, for removal: This API element is subject to removal in a future version.
Validates that specific attributes of
CleanUpCronJobModel are not empty or negative and sets defaults for
some attributes-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidonInitDefaults(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(Object model, InterceptorContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Called in themodelService.saveAll()method.
-
Constructor Details
-
CleanUpCronJobInterceptor
public CleanUpCronJobInterceptor()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
onValidate
Deprecated, 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
Deprecated, 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.
-
MaintenanceCleanupStrategy/GenericMaintenanceJobPerformable