MaintenanceCleanupStrategy / GenericMaintenanceJobPerformable@Deprecated public class CleanUpCronJobInterceptor extends java.lang.Object implements ValidateInterceptor, InitDefaultsInterceptor
CleanUpCronJobModel are not empty or negative and sets defaults for
some attributes| Constructor and Description |
|---|
CleanUpCronJobInterceptor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onInitDefaults(java.lang.Object model,
InterceptorContext ctx)
Deprecated.
Called by
ModelService.initDefaults(Object) after instantiate a new model. |
void |
onValidate(java.lang.Object model,
InterceptorContext ctx)
Deprecated.
Called in the
modelService.saveAll() method. |
public void onValidate(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.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 onInitDefaults(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
InitDefaultsInterceptorModelService.initDefaults(Object) after instantiate a new model.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.